@opencode/core 0.0.0-dev-19568 → 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 +80 -80
- 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/{filesystem-5rjrjdee.js → app-09fg0r3g.js} +6 -6
- package/dist/chunks/{filesystem-pbky73a2.js → app-0artwwxx.js} +3 -3
- package/dist/chunks/{filesystem-4fbncvv5.js → app-0br9fxds.js} +5 -5
- package/dist/chunks/{filesystem-mmgf1rqt.js → app-0cgxzyp5.js} +11 -11
- package/dist/chunks/{filesystem-zdx06d9s.js → app-0cysygtg.js} +33 -33
- package/dist/chunks/{filesystem-607tc6va.js → app-0jwsre1p.js} +5 -5
- package/dist/chunks/{filesystem-8m5v51r2.js → app-0kwc5anp.js} +46 -46
- package/dist/chunks/{filesystem-xb3nqwnp.js → app-0nd20gz5.js} +65 -65
- package/dist/chunks/{filesystem-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-yrz8q0k0.js → app-0pb75hch.js} +5 -5
- package/dist/chunks/{filesystem-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-es5dr4fw.js → app-0r6zt4xr.js} +8 -8
- package/dist/chunks/{filesystem-yawef6kw.js → app-0yk09q55.js} +4 -4
- package/dist/chunks/{filesystem-85c4hbm5.js → app-197zf3mp.js} +26 -26
- package/dist/chunks/{filesystem-mhkvc446.js → app-1bbkgx8g.js} +3 -3
- package/dist/chunks/{filesystem-sf0gthgt.js → app-1cbk4m95.js} +18 -18
- package/dist/chunks/{filesystem-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-wbcpzrvz.js → app-1dbhq1b6.js} +4 -4
- package/dist/chunks/{filesystem-bjbm878y.js → app-1fv46ncp.js} +5 -5
- package/dist/chunks/{filesystem-rnfn6xxq.js → app-1r9f1gxg.js} +32 -32
- package/dist/chunks/{filesystem-mz2wz6jn.js → app-1v0gvqr8.js} +20 -20
- package/dist/chunks/app-1x11rq2a.js +18 -0
- package/dist/chunks/{filesystem-33w4ejhs.js → app-1ygqh575.js} +6 -6
- package/dist/chunks/{filesystem-gea7vc3h.js → app-219neeqh.js} +5 -5
- package/dist/chunks/{filesystem-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → app-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-84r56gr5.js → app-265kqrgy.js} +1 -1
- package/dist/chunks/{filesystem-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{filesystem-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-ethbh4z7.js → app-2yh32t8t.js} +17 -17
- package/dist/chunks/{filesystem-1xzg4q7f.js → app-30846h32.js} +8 -8
- package/dist/chunks/{filesystem-5m7h1hre.js → app-32r2zhfd.js} +6 -6
- package/dist/chunks/{filesystem-xg954myy.js → app-33n3bzdy.js} +6 -6
- package/dist/chunks/{filesystem-vywwb7xw.js → app-35wynegs.js} +2 -2
- package/dist/chunks/{filesystem-pecb0brz.js → app-3cz8rj72.js} +5 -5
- package/dist/chunks/{filesystem-0ezsa6vy.js → app-3dz6zcjs.js} +39 -39
- package/dist/chunks/{filesystem-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-5q02cxx3.js → app-3j8sdtpz.js} +4 -4
- package/dist/chunks/{filesystem-64ddj6v7.js → app-3jk7yf42.js} +1 -1
- package/dist/chunks/{filesystem-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-kfs8rg3h.js → app-3v43m9xt.js} +2 -2
- package/dist/chunks/{filesystem-7krdaasy.js → app-3z60344c.js} +6 -6
- package/dist/chunks/{filesystem-hjt4xg1x.js → app-47gsdddb.js} +7 -7
- package/dist/chunks/{filesystem-9qpqmwv0.js → app-48cm3ese.js} +11 -11
- package/dist/chunks/{filesystem-rgrjgzhx.js → app-4bdt2shk.js} +16 -16
- package/dist/chunks/{filesystem-7nwp8zja.js → app-4cqajk2a.js} +11 -11
- package/dist/chunks/{filesystem-gb4851xq.js → app-4cqdxaxy.js} +28 -28
- package/dist/chunks/{filesystem-v7t6t3ee.js → app-4hd03gdg.js} +26 -26
- package/dist/chunks/{filesystem-tm94zk3c.js → app-4m2spwb8.js} +33 -33
- package/dist/chunks/{filesystem-6gwpwpyd.js → app-4smtzgwz.js} +18 -18
- package/dist/chunks/{filesystem-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-fm98w790.js → app-5e926cyq.js} +13 -13
- package/dist/chunks/{filesystem-akfg16cj.js → app-5rvfpeh9.js} +4 -4
- package/dist/chunks/{filesystem-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-631045jg.js → app-5vtmfx0c.js} +22 -22
- package/dist/chunks/{filesystem-v4hmzr0r.js → app-5xtgfte3.js} +8 -8
- package/dist/chunks/{filesystem-x6h9ntm8.js → app-60rvf92p.js} +34 -34
- package/dist/chunks/{filesystem-nm2epvtw.js → app-64vbpm9f.js} +24 -24
- package/dist/chunks/{filesystem-p5w9prz9.js → app-655w3vh0.js} +23 -23
- package/dist/chunks/{filesystem-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-1b5k9ny0.js → app-6dk7y5gt.js} +10 -10
- package/dist/chunks/{filesystem-yx6mkdzk.js → app-6h41fqv2.js} +56 -56
- package/dist/chunks/{filesystem-w7cks01r.js → app-6jprretj.js} +9 -9
- package/dist/chunks/{filesystem-hfk3zaat.js → app-6mcq7jm9.js} +14 -14
- package/dist/chunks/{filesystem-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-06dxphr1.js → app-6p3xbzsx.js} +4 -4
- package/dist/chunks/{filesystem-975yhv65.js → app-6p8kmet2.js} +20 -20
- package/dist/chunks/{filesystem-wprd8xj9.js → app-6q9nc399.js} +18 -18
- package/dist/chunks/{filesystem-e99qm4q4.js → app-6s8jsf7y.js} +9 -9
- package/dist/chunks/{filesystem-ecd1f3mq.js → app-6y3a7z7q.js} +4 -4
- package/dist/chunks/{filesystem-p0ydpdje.js → app-70d2s7af.js} +1 -1
- package/dist/chunks/{filesystem-71q4at8m.js → app-71q4at8m.js} +1 -1
- package/dist/chunks/{filesystem-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-7061gxvt.js → app-7cmqstha.js} +26 -26
- package/dist/chunks/{filesystem-0yf7gmgh.js → app-7d2gt124.js} +3 -3
- package/dist/chunks/{filesystem-fpnq3hwf.js → app-7gbj7169.js} +13 -13
- package/dist/chunks/{filesystem-703jyx7f.js → app-7s2tn799.js} +8 -8
- package/dist/chunks/{filesystem-rph3zd4r.js → app-7yqjxrmz.js} +6 -6
- package/dist/chunks/{filesystem-yvrn8c55.js → app-80caeh49.js} +10 -10
- package/dist/chunks/{filesystem-wcy83pfm.js → app-843pd2wp.js} +12 -12
- package/dist/chunks/{filesystem-5762gc32.js → app-874ckvrc.js} +36 -36
- package/dist/chunks/{filesystem-fc5gyn3k.js → app-88hjze0t.js} +9 -9
- package/dist/chunks/{filesystem-a2hw0sqp.js → app-89jzje1y.js} +45 -45
- package/dist/chunks/{filesystem-0z4swx6k.js → app-8bkz8jq3.js} +11 -11
- package/dist/chunks/{filesystem-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-vd431jt0.js → app-8f7jysjc.js} +7 -7
- package/dist/chunks/{filesystem-dj2t23y0.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-nhj3pk2g.js → app-8vj209te.js} +17 -17
- package/dist/chunks/{filesystem-vm9edkyf.js → app-8xj0m62p.js} +17 -17
- package/dist/chunks/{filesystem-jexxy024.js → app-93hpb89x.js} +3 -3
- package/dist/chunks/{filesystem-6zp4xm1r.js → app-947nexvd.js} +24 -24
- package/dist/chunks/{filesystem-rr25vpab.js → app-98a6070c.js} +10 -10
- package/dist/chunks/{filesystem-c8266qxr.js → app-9kregr37.js} +20 -20
- package/dist/chunks/{filesystem-vcybtvp5.js → app-9vh8w842.js} +11 -11
- package/dist/chunks/{filesystem-5c4hm403.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-tkmwgdpd.js → app-a46v4e4v.js} +7 -7
- package/dist/chunks/{filesystem-mzhavs24.js → app-a63ae20j.js} +37 -37
- package/dist/chunks/{filesystem-3e73f7fn.js → app-a6n9gdfw.js} +26 -26
- package/dist/chunks/{filesystem-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-6gypj2re.js → app-aehnz2rb.js} +8 -8
- package/dist/chunks/{filesystem-rgyfsfc5.js → app-ak5w0fh7.js} +20 -20
- package/dist/chunks/{filesystem-27fbez5x.js → app-anm66war.js} +9 -9
- package/dist/chunks/{filesystem-b762qnyw.js → app-av4jxsn8.js} +32 -32
- package/dist/chunks/{filesystem-bp0xbca5.js → app-ax6xg82t.js} +43 -43
- package/dist/chunks/{filesystem-9104srmq.js → app-az4m85wh.js} +22 -22
- package/dist/chunks/{filesystem-696tvegr.js → app-b061vjp9.js} +32 -32
- package/dist/chunks/{filesystem-4skj9pjn.js → app-b11403r6.js} +4 -4
- package/dist/chunks/{filesystem-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-t000jqpf.js → app-ba9gbaff.js} +20 -20
- package/dist/chunks/{filesystem-2tfmgkzg.js → app-bajakh74.js} +4 -4
- package/dist/chunks/{filesystem-a3r4dcrj.js → app-be40ghdv.js} +2 -2
- package/dist/chunks/{filesystem-e5nv3ght.js → app-bndc73cn.js} +5 -5
- package/dist/chunks/{filesystem-0jsm5b6f.js → app-brkvv4wc.js} +19 -19
- package/dist/chunks/{filesystem-arpbwta6.js → app-bzrt576w.js} +24 -24
- package/dist/chunks/{filesystem-4v46yx8e.js → app-c0m6k9pb.js} +7 -7
- package/dist/chunks/{filesystem-7pqa36gv.js → app-c3s2gn8c.js} +12 -12
- package/dist/chunks/{filesystem-ypz4327q.js → app-c8r9g22t.js} +4 -4
- package/dist/chunks/{filesystem-m0jqrx5p.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-nyr44rzh.js → app-cgr3n6sw.js} +47 -47
- package/dist/chunks/{filesystem-h0vwgry8.js → app-cgv5bxzw.js} +8 -8
- package/dist/chunks/{filesystem-pge2bfmc.js → app-cvsx2zmm.js} +20 -20
- package/dist/chunks/{filesystem-rxjvbk8n.js → app-cvtmmhw6.js} +1 -1
- package/dist/chunks/{filesystem-wqntmd11.js → app-cw9sppwf.js} +4 -4
- package/dist/chunks/{filesystem-w2w9rvzr.js → app-cwyf4tzg.js} +43 -43
- package/dist/chunks/{filesystem-zvt5dnpc.js → app-ddt2bs9e.js} +4 -4
- package/dist/chunks/{filesystem-t15xvjkv.js → app-dxzb6m8c.js} +14 -14
- package/dist/chunks/{filesystem-p0hmzt3n.js → app-e1e2cnnw.js} +7 -7
- package/dist/chunks/{filesystem-dq26kvy6.js → app-e8ztz21q.js} +18 -18
- package/dist/chunks/app-ef5x83kb.js +15 -0
- package/dist/chunks/{filesystem-bs4q3tqg.js → app-eq20ba7x.js} +4 -4
- package/dist/chunks/{filesystem-k6z5z3xm.js → app-eq6c3fte.js} +4 -4
- package/dist/chunks/{filesystem-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-rvzfv4w1.js → app-evy5tsgm.js} +8 -8
- package/dist/chunks/{filesystem-4f92c8s9.js → app-exktqakr.js} +18 -18
- package/dist/chunks/{filesystem-8aabwx5n.js → app-f2c9c43z.js} +20 -20
- package/dist/chunks/{filesystem-hdnk95c8.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-re9amv7g.js → app-f9fxyrbg.js} +134 -134
- package/dist/chunks/{filesystem-k1j6gk9a.js → app-fak0r9cx.js} +6 -6
- package/dist/chunks/{filesystem-6j4fq2cq.js → app-fdn4qskz.js} +11 -11
- package/dist/chunks/{filesystem-ga5yzwkb.js → app-ftm7k12t.js} +17 -17
- package/dist/chunks/{filesystem-mtd6x72z.js → app-fw0n5e24.js} +6 -6
- package/dist/chunks/{filesystem-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-jxn345vr.js → app-fyygja3k.js} +15 -15
- package/dist/chunks/{filesystem-px514bpm.js → app-g0nkfm81.js} +24 -24
- package/dist/chunks/{filesystem-57v6fmny.js → app-g24jq9rf.js} +16 -16
- package/dist/chunks/{filesystem-fyvhdr9h.js → app-g6anmqeq.js} +9 -9
- package/dist/chunks/{filesystem-4p7x74p9.js → app-ga77xda9.js} +11 -11
- package/dist/chunks/{filesystem-ka7bdmkm.js → app-gb2m4tsa.js} +45 -45
- package/dist/chunks/{filesystem-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-3fc6dm20.js → app-gdvy8fx6.js} +4 -4
- package/dist/chunks/{filesystem-xez80017.js → app-gek4cbns.js} +20 -20
- package/dist/chunks/{filesystem-5whwrpxa.js → app-ggn5tyje.js} +18 -15
- package/dist/chunks/{filesystem-9j5jfgtr.js → app-gmrayv9w.js} +24 -24
- package/dist/chunks/{filesystem-t7nbeyr2.js → app-gt5v7hwy.js} +13 -13
- package/dist/chunks/{filesystem-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-h03wrkyp.js → app-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-nbvvbhgb.js → app-h7btkfkz.js} +89 -89
- package/dist/chunks/{filesystem-2bt6bea8.js → app-h7ygw6q4.js} +9 -9
- package/dist/chunks/{filesystem-e0tp7zzd.js → app-hcc3dcqg.js} +23 -23
- package/dist/chunks/{filesystem-zqngs88h.js → app-hjzkvxfk.js} +14 -14
- package/dist/chunks/{filesystem-t0x5rdq8.js → app-hrvd6t1f.js} +9 -9
- package/dist/chunks/{filesystem-thcje0ms.js → app-hte7rbq0.js} +17 -17
- package/dist/chunks/{filesystem-8et7pj57.js → app-hv8g670q.js} +11 -11
- package/dist/chunks/app-hxa7m5za.js +4 -0
- package/dist/chunks/{filesystem-y45wrhxb.js → app-hz9j0f4m.js} +8 -8
- package/dist/chunks/{filesystem-rxdk16p3.js → app-j0j00sjx.js} +14 -14
- package/dist/chunks/{filesystem-eb4y5yy0.js → app-j1t5chsy.js} +39 -39
- package/dist/chunks/{filesystem-tryb73nk.js → app-j2cafn7q.js} +6 -6
- package/dist/chunks/{filesystem-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-7rrn560x.js → app-j6e693f4.js} +11 -11
- package/dist/chunks/{filesystem-paphc93g.js → app-j935v87r.js} +2 -2
- package/dist/chunks/{filesystem-9v1c99ce.js → app-jk5d0mzv.js} +84 -84
- package/dist/chunks/{filesystem-cerc8atz.js → app-jkcmfa2v.js} +16 -16
- package/dist/chunks/{filesystem-9d82za01.js → app-jm9980x0.js} +19 -19
- package/dist/chunks/{filesystem-vjstzn3j.js → app-jng70mr7.js} +10 -10
- package/dist/chunks/{filesystem-n7ghmjtx.js → app-jpt5ba8t.js} +9 -9
- package/dist/chunks/{filesystem-z2708axn.js → app-jth5rdpp.js} +28 -28
- package/dist/chunks/{filesystem-298asx42.js → app-kacwvw93.js} +27 -27
- package/dist/chunks/{filesystem-kdsged9e.js → app-kaef12we.js} +9 -9
- package/dist/chunks/{filesystem-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{filesystem-eb2yma87.js → app-kh88907v.js} +9 -9
- package/dist/chunks/{filesystem-1q26ypmg.js → app-kp27de7n.js} +16 -16
- package/dist/chunks/{filesystem-epn31rr5.js → app-krrqw77a.js} +7 -7
- package/dist/chunks/{filesystem-b1tz6w3s.js → app-kt8w7nyt.js} +26 -26
- package/dist/chunks/{filesystem-gft05b0a.js → app-m3zza4qd.js} +8 -8
- package/dist/chunks/{filesystem-0b51tgne.js → app-m7w0f2z5.js} +20 -20
- package/dist/chunks/{filesystem-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-5ctrep3m.js → app-memqfyeh.js} +10 -10
- package/dist/chunks/{filesystem-fgsjaxv0.js → app-mh7g7new.js} +3 -3
- package/dist/chunks/{filesystem-da6kr1wx.js → app-mw1s64b6.js} +4 -4
- package/dist/chunks/{filesystem-xxj3pgp3.js → app-mz6ae2yf.js} +1 -1
- package/dist/chunks/{filesystem-ee5p72rr.js → app-n08xh122.js} +10 -10
- package/dist/chunks/{filesystem-xb7w47hd.js → app-n2ccmr4d.js} +11 -11
- package/dist/chunks/{filesystem-m87kjwf8.js → app-n32dagvk.js} +11 -11
- package/dist/chunks/{filesystem-x1cde7tm.js → app-nfsehd0f.js} +11 -11
- package/dist/chunks/{filesystem-n8v6jt5n.js → app-nkwnz0wb.js} +16 -16
- package/dist/chunks/{filesystem-4mwvkeyx.js → app-nxbcabge.js} +7 -7
- package/dist/chunks/{filesystem-vz4k8wbp.js → app-nzzz2haw.js} +4 -4
- package/dist/chunks/{filesystem-9c1k5ss1.js → app-pjedbq3k.js} +9 -9
- package/dist/chunks/{filesystem-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-erhcz2jb.js → app-ppkwfznj.js} +27 -27
- package/dist/chunks/{filesystem-9s312kc4.js → app-pt5tvm9y.js} +9 -9
- package/dist/chunks/{filesystem-75va9qk2.js → app-pv6ewt2y.js} +11 -11
- package/dist/chunks/{filesystem-6kkxyhkv.js → app-q2f8db2z.js} +4 -4
- package/dist/chunks/{filesystem-nrtb1m71.js → app-qcjwwegh.js} +13 -13
- package/dist/chunks/{filesystem-dzhcmde1.js → app-qd8wwfxt.js} +9 -9
- package/dist/chunks/{filesystem-2ah6ycde.js → app-qeb52aay.js} +17 -17
- package/dist/chunks/{filesystem-d979a45b.js → app-qnmb4df7.js} +5 -5
- package/dist/chunks/{filesystem-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-3p9h8pr0.js → app-qt529f91.js} +7 -7
- package/dist/chunks/{filesystem-k2qtg38n.js → app-qv6mxc70.js} +32 -32
- package/dist/chunks/{filesystem-4f8bfcxm.js → app-qz319qzx.js} +13 -13
- package/dist/chunks/{filesystem-myekw2gp.js → app-r9asyhme.js} +17 -17
- package/dist/chunks/{filesystem-r9mregkx.js → app-r9mregkx.js} +2 -2
- package/dist/chunks/{filesystem-xrr0m7w9.js → app-rnp7s5g0.js} +11 -11
- package/dist/chunks/{filesystem-tdk2wfqj.js → app-rnwqg9yc.js} +9 -9
- package/dist/chunks/{filesystem-fsma24dd.js → app-rtjvja3r.js} +5 -5
- package/dist/chunks/{filesystem-zshj55xc.js → app-s04efnj3.js} +23 -23
- package/dist/chunks/{filesystem-yrznvahk.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{filesystem-50mzsvk4.js → app-s8j6jbjj.js} +21 -21
- package/dist/chunks/{filesystem-yrr26vyh.js → app-s9a4f9r5.js} +31 -31
- package/dist/chunks/{filesystem-xbv0k4ba.js → app-sd7bj7eq.js} +46 -46
- package/dist/chunks/{filesystem-xwwz9aqf.js → app-shh6fz4q.js} +4 -4
- package/dist/chunks/{filesystem-y3xz725g.js → app-sm299svg.js} +28 -28
- package/dist/chunks/{filesystem-tv2fxbte.js → app-stbv4b6b.js} +13 -10
- package/dist/chunks/{filesystem-s9q5j7ef.js → app-std511v1.js} +38 -38
- package/dist/chunks/{filesystem-haa1g6we.js → app-t27ydrk5.js} +30 -30
- package/dist/chunks/{filesystem-eaj1djv9.js → app-t550f9t1.js} +8 -8
- package/dist/chunks/{filesystem-2b6sywcb.js → app-t8jgb82e.js} +11 -11
- package/dist/chunks/{filesystem-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-rfp29srv.js → app-tbcfefrg.js} +17 -17
- package/dist/chunks/{filesystem-89znhe33.js → app-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-wcft5t0g.js → app-thsenk6x.js} +18 -18
- package/dist/chunks/{filesystem-evbgk2k8.js → app-tn0aqsam.js} +5 -5
- package/dist/chunks/{filesystem-y80z5qnm.js → app-tn5dc3vv.js} +20 -20
- package/dist/chunks/{filesystem-tj8y1zy0.js → app-tss56qfk.js} +18 -18
- package/dist/chunks/{filesystem-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-4as8h3gg.js → app-twcq5tv4.js} +15 -15
- package/dist/chunks/{filesystem-efttx8x1.js → app-vcmt6bb3.js} +6 -6
- package/dist/chunks/{filesystem-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-dn7swrv3.js → app-vkfqqgrz.js} +32 -32
- package/dist/chunks/{filesystem-qjnxxf51.js → app-vmq7ehpy.js} +5 -5
- package/dist/chunks/{filesystem-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/app-w2xtz9sy.js +247 -0
- package/dist/chunks/{filesystem-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-yqtqx2tb.js → app-wavq5vqb.js} +1 -1
- package/dist/chunks/{filesystem-8akv9m9x.js → app-wb658w3t.js} +16 -16
- package/dist/chunks/{filesystem-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-ez02qrbp.js → app-wdwjsxs3.js} +1 -1
- package/dist/chunks/{filesystem-rk9hj1v7.js → app-webf8anp.js} +50 -50
- package/dist/chunks/{filesystem-f7ehr2sm.js → app-wft93wjr.js} +9 -9
- package/dist/chunks/{filesystem-mrjzwcm0.js → app-wx73y07f.js} +22 -22
- package/dist/chunks/{filesystem-ecfkvkmx.js → app-wz9vdazb.js} +13 -13
- package/dist/chunks/{filesystem-ftyr94h4.js → app-x0h4kn5x.js} +28 -28
- package/dist/chunks/{filesystem-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-p6j6tyky.js → app-x52yt50w.js} +19 -19
- package/dist/chunks/{filesystem-72jmdy6r.js → app-x6bwxbe7.js} +25 -25
- package/dist/chunks/{filesystem-yzpfgjrz.js → app-xqrmy91b.js} +6 -6
- package/dist/chunks/{filesystem-zb3fmyt6.js → app-xx3k5fjp.js} +288 -288
- package/dist/chunks/{filesystem-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-81swgkk7.js → app-y5mrfvw4.js} +9 -9
- package/dist/chunks/{filesystem-dpkg50ah.js → app-y71avatq.js} +4 -4
- package/dist/chunks/{filesystem-ky7as88a.js → app-y73wgz5k.js} +17 -17
- package/dist/chunks/{filesystem-3723sw29.js → app-ya24qazg.js} +3 -3
- package/dist/chunks/{filesystem-cpcnfgyy.js → app-ye3z464r.js} +30 -30
- package/dist/chunks/{filesystem-e7tx2v0e.js → app-ygkgm02b.js} +12 -12
- package/dist/chunks/{filesystem-6qxnajbz.js → app-ygmrnnnx.js} +26 -26
- package/dist/chunks/{filesystem-1acjjqhc.js → app-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-jjf0vtdq.js → app-yrqsvr8q.js} +7 -7
- package/dist/chunks/{filesystem-3bxse654.js → app-yy9ssmmb.js} +9 -9
- package/dist/chunks/{filesystem-qen1jmg8.js → app-yz2q2fez.js} +37 -37
- package/dist/chunks/{filesystem-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-5nrew705.js → app-za6yq9hg.js} +5 -5
- package/dist/chunks/{filesystem-7bnzk546.js → app-zcqf6png.js} +6 -6
- package/dist/chunks/{filesystem-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-y9mn02hf.js → app-znvvv44x.js} +18 -18
- package/dist/chunks/{filesystem-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-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 +84 -84
- package/dist/config/discovery.js +83 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -117
- package/dist/config/plugin/command.js +211 -210
- package/dist/config/plugin/compaction.js +159 -157
- package/dist/config/plugin/compatibility.js +137 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -119
- package/dist/config/plugin/image.js +119 -117
- package/dist/config/plugin/instruction.js +89 -87
- package/dist/config/plugin/location-watcher.js +121 -119
- package/dist/config/plugin/mcp.js +128 -126
- package/dist/config/plugin/policy.js +118 -116
- package/dist/config/plugin/provider.js +117 -115
- package/dist/config/plugin/reference.js +121 -119
- package/dist/config/plugin/shell.js +121 -120
- package/dist/config/plugin/skill-file.js +101 -99
- package/dist/config/plugin/skill.js +140 -138
- package/dist/config/plugin/snapshot.js +119 -117
- package/dist/config/plugin/source.js +121 -119
- package/dist/config/plugin/tool-output.js +121 -119
- package/dist/config/plugin/websearch.js +119 -117
- package/dist/config/plugin/worktree.js +122 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -121
- 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 -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 +90 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -88
- 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 -101
- package/dist/file-mutation.js +93 -91
- 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 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -102
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -86
- package/dist/generate.js +92 -92
- package/dist/git.js +10 -8
- 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 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- 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 -130
- package/dist/location-mutation.js +103 -101
- package/dist/location-service-map.js +85 -83
- package/dist/location-services.js +353 -352
- package/dist/location.js +88 -86
- package/dist/mcp/client.js +90 -88
- package/dist/mcp/index.js +105 -103
- package/dist/mcp/instructions.js +126 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- 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 +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -99
- package/dist/plugin/command.js +98 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -326
- 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 -99
- 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 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -116
- 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 +119 -117
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -117
- 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 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -117
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -83
- package/dist/plugin/vcs/hg.js +85 -83
- package/dist/plugin/warming.js +116 -114
- 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 +4 -4
- 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 +221 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -85
- package/dist/provider.js +5 -5
- 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 -94
- package/dist/reference/instructions.js +86 -84
- package/dist/reference.js +90 -88
- package/dist/repository-cache.js +80 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -93
- package/dist/rpc.js +85 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -131
- package/dist/session/context.js +151 -149
- package/dist/session/diff.js +87 -85
- 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 -219
- package/dist/session/execution.js +126 -124
- package/dist/session/generate.js +152 -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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -113
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -227
- 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 -112
- package/dist/session/runner/step.js +125 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -169
- package/dist/session/shell.js +134 -133
- package/dist/session/skill.js +102 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -153
- package/dist/session/to-session-error.js +111 -109
- package/dist/session/transfer.js +216 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -214
- 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 +9 -9
- package/dist/shell.js +136 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -104
- package/dist/skill.js +111 -109
- package/dist/snapshot.js +90 -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 +123 -121
- package/dist/tool/plugin/edit.js +119 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -120
- package/dist/tool/plugin/grep.js +123 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -119
- package/dist/tool/plugin/question.js +100 -98
- package/dist/tool/plugin/read.js +122 -121
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +112 -110
- package/dist/tool/plugin/subagent.js +218 -217
- package/dist/tool/plugin/webfetch.js +109 -107
- package/dist/tool/plugin/websearch.js +111 -109
- package/dist/tool/plugin/write.js +121 -119
- package/dist/tool/read-filesystem.js +97 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/util/git-executable.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +9 -0
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -6
- package/dist/worktree/refresh.js +345 -344
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -83
- package/package.json +8 -8
- package/dist/chunks/filesystem-6kdq0pjd.js +0 -4
- package/dist/chunks/filesystem-q509s3k3.js +0 -18
- package/dist/chunks/filesystem-rh7ezj45.js +0 -26
- package/dist/chunks/filesystem-v8z7968n.js +0 -247
- /package/dist/chunks/{filesystem-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-33n3bzdy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin10 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin10, generate2, exports_variant };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info33
|
|
5
|
+
} from "./app-33n3bzdy.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info32
|
|
8
|
+
} from "./app-c3s2gn8c.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-nzzz2haw.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
17
|
ID6,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service48,
|
|
19
|
+
node51
|
|
20
|
+
} from "./app-kt8w7nyt.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
|
+
Service: () => Service42,
|
|
31
|
+
node: () => node45
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event7 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service42 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service48;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info33.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info33.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info32.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service42.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node45 = makeLocationNode({ service: Service42, layer, deps: [node84, node51] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service42, node45, exports_catalog2, Event7 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info25,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info25 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info25, exports_permission2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node78
|
|
7
|
+
} from "./app-2yh32t8t.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Service71,
|
|
10
10
|
node74
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-nkwnz0wb.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./app-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service57,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer19,
|
|
29
|
+
node: () => node60,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service57 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service71;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service57.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service57.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service57.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer19 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service57, layer: layer19(options), deps: [node78, node74] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node60 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service57, ripgrepLayer2, fffLayer2, layer19, configured3, node60, exports_search };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./app-0kwc5anp.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service72
|
|
13
|
+
} from "./app-1v0gvqr8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service40
|
|
16
|
+
} from "./app-8xj0m62p.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service50
|
|
19
|
+
} from "./app-webf8anp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service46,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-6q9nc399.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service70,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-wz9vdazb.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service61
|
|
37
|
+
} from "./app-gb2m4tsa.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service16
|
|
40
|
+
} from "./app-h7btkfkz.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-5rvfpeh9.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./app-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin41,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin41 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service16;
|
|
122
|
+
const jobs = yield* Service40;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service72;
|
|
125
|
+
const access = yield* Service46;
|
|
126
|
+
const shell = yield* Service61;
|
|
127
|
+
const shellSelect = yield* Service70;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service50;
|
|
130
|
+
const config = yield* Service64;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin2 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name8,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin2 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name8,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input8,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin2 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name8,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name8];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin41, exports_shell2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin12
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin12 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin26 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin12, exports_mcp_codemode_exclusion };
|