@opencode/core 0.0.0-dev-19578 → 0.0.0-dev-19579
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 +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{ripgrep-pwks8f9a.js → form-034vs93c.js} +15 -15
- package/dist/chunks/{ripgrep-dzafb2w6.js → form-04tk5mmt.js} +8 -8
- package/dist/chunks/{ripgrep-fpwspfpn.js → form-055h4mnd.js} +7 -7
- package/dist/chunks/{ripgrep-712xqdp1.js → form-0hdj05wv.js} +11 -11
- package/dist/chunks/{ripgrep-0paq2nw3.js → form-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → form-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-mfs4nb3v.js → form-0s1e1pf5.js} +16 -16
- package/dist/chunks/{ripgrep-6se2k08w.js → form-0twxtbkf.js} +21 -21
- package/dist/chunks/{ripgrep-nfkr9082.js → form-0v53mg2y.js} +4 -4
- package/dist/chunks/{ripgrep-xadyfnvh.js → form-10ynt1h5.js} +23 -23
- package/dist/chunks/{ripgrep-gtwqd38q.js → form-11myjmvz.js} +9 -9
- package/dist/chunks/{ripgrep-3cwb9jzf.js → form-15nepkqg.js} +8 -8
- package/dist/chunks/{ripgrep-1dazxqgg.js → form-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-4786se8r.js → form-1ff0effc.js} +1 -1
- package/dist/chunks/{ripgrep-zt11me34.js → form-1p8nc3em.js} +33 -33
- package/dist/chunks/{ripgrep-makktzfn.js → form-1tkc0b12.js} +11 -11
- package/dist/chunks/{ripgrep-t3pn2srw.js → form-1vr0zdnx.js} +7 -7
- package/dist/chunks/{ripgrep-1h9cx1js.js → form-21gwcqqh.js} +17 -17
- package/dist/chunks/{ripgrep-21r38tys.js → form-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-ss0awb04.js → form-23pqda6t.js} +6 -6
- package/dist/chunks/{ripgrep-1jzhf559.js → form-2464tg96.js} +9 -9
- package/dist/chunks/{ripgrep-xv1yge4n.js → form-24emcxgn.js} +26 -26
- package/dist/chunks/{ripgrep-na5h7k4h.js → form-24vd9xje.js} +8 -8
- package/dist/chunks/{ripgrep-dj68sxah.js → form-25y9ayt4.js} +11 -11
- package/dist/chunks/{ripgrep-t0azw9td.js → form-263s9v33.js} +7 -7
- package/dist/chunks/{ripgrep-2a5m3afh.js → form-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-268vvpk8.js → form-2hjtz03m.js} +14 -14
- package/dist/chunks/{ripgrep-7dqw4kz8.js → form-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-rxd6sk90.js → form-2ns1f0yc.js} +13 -13
- package/dist/chunks/{ripgrep-g4n3hm35.js → form-2y1qhgm0.js} +18 -18
- package/dist/chunks/{ripgrep-3b3tzm4e.js → form-31ymd36f.js} +65 -65
- package/dist/chunks/{ripgrep-6kd2n8rn.js → form-3be45edw.js} +10 -10
- package/dist/chunks/{ripgrep-n7asjhxk.js → form-3e9pe5ze.js} +14 -14
- package/dist/chunks/{ripgrep-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-j4xaawr1.js → form-426fp41w.js} +21 -21
- package/dist/chunks/{ripgrep-bwawd8pb.js → form-46dv5p65.js} +13 -13
- package/dist/chunks/{ripgrep-hg8zwqn0.js → form-4g59p92v.js} +17 -17
- package/dist/chunks/{ripgrep-f3v5jz8f.js → form-4j1v6vvv.js} +4 -4
- package/dist/chunks/{ripgrep-ds2mmwsg.js → form-4jk0qxj4.js} +6 -6
- package/dist/chunks/{ripgrep-vny1gzvb.js → form-4nan19nd.js} +11 -11
- package/dist/chunks/{ripgrep-1he2dbdc.js → form-4ntvxm1s.js} +5 -5
- package/dist/chunks/{ripgrep-2mfn44ga.js → form-4xkpg0wv.js} +6 -6
- package/dist/chunks/{ripgrep-t6m9yp2a.js → form-4ykyx8vs.js} +34 -34
- package/dist/chunks/{ripgrep-g0bjhkt9.js → form-52dmf901.js} +11 -11
- package/dist/chunks/{ripgrep-tc1szqet.js → form-534t03c2.js} +17 -17
- package/dist/chunks/{ripgrep-1bzv8fr3.js → form-5514jwe9.js} +24 -24
- package/dist/chunks/{ripgrep-56gdpj1q.js → form-56gdpj1q.js} +2 -2
- package/dist/chunks/{ripgrep-d0rzr7hy.js → form-5a0rkgkm.js} +16 -16
- package/dist/chunks/{ripgrep-5c4hm403.js → form-5c4hm403.js} +3 -3
- package/dist/chunks/{ripgrep-6tmt97vh.js → form-5cd5fjqe.js} +1 -1
- package/dist/chunks/{ripgrep-5daktx2q.js → form-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-6w5z0ks3.js → form-5fw77hhz.js} +6 -6
- package/dist/chunks/{ripgrep-5t3nmthw.js → form-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-nq4q7dkj.js → form-5tr8dvhg.js} +4 -4
- package/dist/chunks/{ripgrep-fh1a0yyp.js → form-65z534qn.js} +15 -15
- package/dist/chunks/{ripgrep-669tq793.js → form-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-q49ac735.js → form-6byvmcg7.js} +25 -25
- package/dist/chunks/{ripgrep-e03kn7v5.js → form-6ge2d8aw.js} +24 -24
- package/dist/chunks/{ripgrep-gmfdakc6.js → form-6gwebs4h.js} +24 -24
- package/dist/chunks/{ripgrep-2402vzrj.js → form-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → form-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-9145vaz1.js → form-6n88yxkj.js} +11 -11
- package/dist/chunks/{ripgrep-71q4at8m.js → form-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-g99xaqfj.js → form-71xf56m3.js} +26 -26
- package/dist/chunks/{ripgrep-cw574hkw.js → form-721s8qah.js} +3 -3
- package/dist/chunks/{ripgrep-7yh4e7ss.js → form-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-szyghhdq.js → form-75s9xry6.js} +27 -27
- package/dist/chunks/{ripgrep-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-e7gbx5x9.js → form-7ek43f41.js} +22 -22
- package/dist/chunks/{ripgrep-z0dt8059.js → form-7zgmv3d0.js} +43 -43
- package/dist/chunks/{ripgrep-awbdwcvp.js → form-81swgkk7.js} +2 -2
- package/dist/chunks/{ripgrep-q7vxj98b.js → form-84hmmsmt.js} +8 -8
- package/dist/chunks/{ripgrep-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-8pcnta4s.js → form-8dx337tp.js} +30 -30
- package/dist/chunks/{ripgrep-jvvm8r5r.js → form-8hqxenar.js} +10 -10
- package/dist/chunks/{ripgrep-3ynjv8ew.js → form-8wntykbh.js} +11 -11
- package/dist/chunks/{ripgrep-fjh0an0y.js → form-8y1r9423.js} +6 -6
- package/dist/chunks/{ripgrep-hrvd6t1f.js → form-94np39z2.js} +9 -9
- package/dist/chunks/{ripgrep-jk4tj39g.js → form-950320p1.js} +18 -18
- package/dist/chunks/{ripgrep-j6rzabk6.js → form-97xtfh9v.js} +16 -16
- package/dist/chunks/{ripgrep-dqfhm7rh.js → form-98vnk7qm.js} +29 -29
- package/dist/chunks/{ripgrep-deszs1m1.js → form-9gga9nrc.js} +9 -9
- package/dist/chunks/{ripgrep-v9dmpdb3.js → form-a70ftxcy.js} +9 -9
- package/dist/chunks/{ripgrep-01c64n85.js → form-a7ytq3d6.js} +3 -3
- package/dist/chunks/{ripgrep-aaet6srn.js → form-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-7rs7k6vk.js → form-abehngfh.js} +47 -47
- package/dist/chunks/{ripgrep-dhmh7aw6.js → form-ag4rn41e.js} +4 -4
- package/dist/chunks/{ripgrep-dw1fjyb0.js → form-axryf22p.js} +5 -5
- package/dist/chunks/{ripgrep-pdxj7cr2.js → form-b447kr2a.js} +35 -35
- package/dist/chunks/{ripgrep-b6gygkdw.js → form-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-zn59mpn9.js → form-b91mn11g.js} +16 -16
- package/dist/chunks/{ripgrep-5s6q5yjh.js → form-bevp2kp2.js} +2 -2
- package/dist/chunks/{ripgrep-xzt7b96g.js → form-bfz2wy86.js} +9 -9
- package/dist/chunks/{ripgrep-8a0b7fze.js → form-bm1s3069.js} +4 -4
- package/dist/chunks/{ripgrep-e5nv3ght.js → form-bndc73cn.js} +5 -5
- package/dist/chunks/{ripgrep-j2m5b400.js → form-bpjnc74n.js} +28 -28
- package/dist/chunks/{ripgrep-45gs53qn.js → form-bppreckh.js} +11 -11
- package/dist/chunks/{ripgrep-djfy19dc.js → form-bv4kvpvk.js} +23 -23
- package/dist/chunks/{ripgrep-mcvhaj7a.js → form-bwmmvwpj.js} +11 -11
- package/dist/chunks/{ripgrep-m2frvhq9.js → form-c0gy5km3.js} +6 -6
- package/dist/chunks/{ripgrep-smkxeb0a.js → form-c2pb17nf.js} +22 -22
- package/dist/chunks/{ripgrep-mhyv4f66.js → form-c90hj8gh.js} +6 -6
- package/dist/chunks/{ripgrep-cen5daqs.js → form-cfpwp5xv.js} +12 -12
- package/dist/chunks/{ripgrep-s9p16yvn.js → form-cj6rzf7k.js} +9 -9
- package/dist/chunks/{ripgrep-q6jxhr7p.js → form-ckrmy1qx.js} +12 -12
- package/dist/chunks/{ripgrep-tqyq1b22.js → form-cp29dvgs.js} +27 -27
- package/dist/chunks/{ripgrep-0z2qs6f6.js → form-d2aac7k2.js} +5 -5
- package/dist/chunks/{ripgrep-9d8v8ke2.js → form-d45djpte.js} +12 -12
- package/dist/chunks/{ripgrep-pzt055kj.js → form-d6zg999z.js} +6 -6
- package/dist/chunks/{ripgrep-c5c0bz0t.js → form-dfzjqex4.js} +5 -5
- package/dist/chunks/{ripgrep-2y56t47p.js → form-dgdatac4.js} +25 -25
- package/dist/chunks/{ripgrep-dj2t23y0.js → form-dj2t23y0.js} +2 -2
- package/dist/chunks/{ripgrep-y71avatq.js → form-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-5htpg9r3.js → form-e1zg437k.js} +24 -24
- package/dist/chunks/{ripgrep-46wp7cve.js → form-e6hmchc5.js} +5 -5
- package/dist/chunks/{ripgrep-cvzrjv2b.js → form-e74942tb.js} +13 -13
- package/dist/chunks/{ripgrep-s8d7rejh.js → form-eaj1djv9.js} +6 -6
- package/dist/chunks/{ripgrep-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-cqnae743.js → form-en7gpa1e.js} +8 -8
- package/dist/chunks/{ripgrep-nv5vn7qx.js → form-eraanh1f.js} +6 -6
- package/dist/chunks/{ripgrep-gs64wbh5.js → form-esmaevsk.js} +17 -17
- package/dist/chunks/{ripgrep-etq0c3wd.js → form-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-j5jkef4k.js → form-ev3qxag4.js} +22 -22
- package/dist/chunks/{ripgrep-9vz03hpn.js → form-ez2razam.js} +17 -17
- package/dist/chunks/{ripgrep-t1k78tfr.js → form-f2ck635b.js} +8 -8
- package/dist/chunks/{ripgrep-vakpw0hz.js → form-f4vwxjec.js} +10 -10
- package/dist/chunks/{ripgrep-414sfh82.js → form-f8mg9gyz.js} +10 -10
- package/dist/chunks/{ripgrep-gfn6vx63.js → form-fdtqxjqf.js} +11 -11
- package/dist/chunks/{ripgrep-7s6xy3w2.js → form-fe9gw4d2.js} +28 -28
- package/dist/chunks/{ripgrep-rjdnsgyh.js → form-fgmem6tq.js} +28 -28
- package/dist/chunks/{ripgrep-dkk65xcs.js → form-fgx0j8wy.js} +24 -24
- package/dist/chunks/{ripgrep-zvepz2jd.js → form-fkrhk1yf.js} +31 -31
- package/dist/chunks/{ripgrep-jzvp32eb.js → form-fm2qvscf.js} +4 -4
- package/dist/chunks/{ripgrep-e6r6zprk.js → form-fswk7hek.js} +1 -1
- package/dist/chunks/{ripgrep-ftycp6m1.js → form-fvbmgar6.js} +23 -23
- package/dist/chunks/{ripgrep-e10xgra2.js → form-fvw5gb9z.js} +6 -6
- package/dist/chunks/{ripgrep-fxbjtjnd.js → form-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-0pjbvvr1.js → form-g4h4g9a5.js} +11 -11
- package/dist/chunks/form-gbadjzag.js +4 -0
- package/dist/chunks/{ripgrep-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-8hy4qcjc.js → form-gkfk1ff3.js} +9 -9
- package/dist/chunks/{ripgrep-89smrnyf.js → form-gnx4ytbv.js} +4 -4
- package/dist/chunks/{ripgrep-19d3sct9.js → form-gv6a8nnw.js} +5 -5
- package/dist/chunks/{ripgrep-h03wrkyp.js → form-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-c0jnvte1.js → form-h0m8g62z.js} +10 -10
- package/dist/chunks/{ripgrep-8qvgnq7a.js → form-h2fnsspk.js} +11 -11
- package/dist/chunks/{ripgrep-xfcq4ch4.js → form-h5cfkvzn.js} +15 -15
- package/dist/chunks/{ripgrep-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-kmtsy9gg.js → form-hcc73bfp.js} +7 -7
- package/dist/chunks/{ripgrep-hdnk95c8.js → form-hdnk95c8.js} +2 -2
- package/dist/chunks/{ripgrep-k30fxr3h.js → form-hdqqk1vd.js} +15 -15
- package/dist/chunks/{ripgrep-d6bvjqk2.js → form-hqgez0f8.js} +82 -82
- package/dist/chunks/{ripgrep-ydjmf6hh.js → form-hx9rn9d5.js} +24 -24
- package/dist/chunks/{ripgrep-c00yymc4.js → form-j10454sr.js} +28 -28
- package/dist/chunks/{ripgrep-2g7jz3dm.js → form-j24mk0r1.js} +11 -11
- package/dist/chunks/{ripgrep-3585dpn0.js → form-j4tst3gk.js} +17 -17
- package/dist/chunks/{ripgrep-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-xqkekxwm.js → form-j6m5np4d.js} +4 -4
- package/dist/chunks/{ripgrep-dv250zvr.js → form-j7wq2tw5.js} +3 -3
- package/dist/chunks/{ripgrep-18yd35db.js → form-jg0d4mdm.js} +7 -7
- package/dist/chunks/{ripgrep-nz9y5nma.js → form-jmezxmf7.js} +2 -2
- package/dist/chunks/{ripgrep-w6b5p79s.js → form-jrh4h7b1.js} +3 -3
- package/dist/chunks/{ripgrep-ec8389mk.js → form-jva4mgym.js} +4 -4
- package/dist/chunks/{ripgrep-qa4rp7fn.js → form-jzzy94zk.js} +9 -9
- package/dist/chunks/{ripgrep-kk00bynn.js → form-k2h4r4s0.js} +21 -21
- package/dist/chunks/{ripgrep-x4th0ycp.js → form-kbya2g6z.js} +13 -13
- package/dist/chunks/{ripgrep-kg06axw8.js → form-kg06axw8.js} +1 -1
- package/dist/chunks/{ripgrep-xr4yra30.js → form-m07et3yq.js} +14 -14
- package/dist/chunks/{ripgrep-m0jqrx5p.js → form-m0jqrx5p.js} +2 -2
- package/dist/chunks/{ripgrep-tjkkyhrm.js → form-m515h74k.js} +4 -4
- package/dist/chunks/{ripgrep-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-jeanpfns.js → form-mk5c6pca.js} +1 -1
- package/dist/chunks/{ripgrep-798sgk8w.js → form-mqqr0pb6.js} +11 -11
- package/dist/chunks/{ripgrep-eksmg0b6.js → form-mzag3zw5.js} +29 -29
- package/dist/chunks/{ripgrep-4e736qct.js → form-n1x5wxj8.js} +24 -24
- package/dist/chunks/{ripgrep-2wqaky7d.js → form-nb8hcmkq.js} +10 -10
- package/dist/chunks/{ripgrep-pjedbq3k.js → form-ndqtf2h8.js} +6 -6
- package/dist/chunks/{ripgrep-cza9j1er.js → form-nedb85dc.js} +1 -1
- package/dist/chunks/{ripgrep-nhy5jxhy.js → form-nhy5jxhy.js} +1 -1
- package/dist/chunks/{ripgrep-pfxwykwg.js → form-nj2exdv8.js} +16 -16
- package/dist/chunks/{ripgrep-htdtaedf.js → form-ntznpfwc.js} +43 -43
- package/dist/chunks/{ripgrep-eynhbbrp.js → form-nw13281a.js} +10 -10
- package/dist/chunks/{ripgrep-36f883jd.js → form-p3bcj275.js} +18 -18
- package/dist/chunks/{ripgrep-j935v87r.js → form-paphc93g.js} +2 -2
- package/dist/chunks/form-phz3h32g.js +18 -0
- package/dist/chunks/{ripgrep-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-ket1x0yc.js → form-pnv527nz.js} +8 -8
- package/dist/chunks/{ripgrep-a2vq9b6b.js → form-pq6x3deh.js} +161 -161
- package/dist/chunks/{ripgrep-xzax2bp8.js → form-prmd6100.js} +30 -30
- package/dist/chunks/{ripgrep-s1p8n3hc.js → form-pyjnsg48.js} +5 -5
- package/dist/chunks/{ripgrep-585pw9ae.js → form-q76hhjq3.js} +24 -24
- package/dist/chunks/{ripgrep-we8dmkwe.js → form-q77t93j3.js} +6 -6
- package/dist/chunks/{ripgrep-fwph3ky5.js → form-qefbaqqz.js} +23 -23
- package/dist/chunks/{ripgrep-m7y3f53v.js → form-qhhnphw5.js} +4 -4
- package/dist/chunks/{ripgrep-j0fxed5p.js → form-qjbrcyxd.js} +36 -36
- package/dist/chunks/{ripgrep-mw934p8z.js → form-qm7jrdpz.js} +5 -5
- package/dist/chunks/{ripgrep-2ve45fd6.js → form-qntdvq9j.js} +5 -5
- package/dist/chunks/{ripgrep-jtrqb7gt.js → form-qpfg8bns.js} +24 -24
- package/dist/chunks/{ripgrep-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-ea8nv0r7.js → form-qvn3tka3.js} +2 -2
- package/dist/chunks/{ripgrep-etjd8m3h.js → form-qynpn6w3.js} +9 -9
- package/dist/chunks/{ripgrep-65h5bvtz.js → form-qzenrqsn.js} +10 -10
- package/dist/chunks/{ripgrep-mhmyvv3d.js → form-r4crfyhm.js} +17 -17
- package/dist/chunks/{ripgrep-eznd2tmg.js → form-r6dxm90c.js} +5 -5
- package/dist/chunks/{ripgrep-r9mregkx.js → form-r9mregkx.js} +2 -2
- package/dist/chunks/{ripgrep-hvy35nny.js → form-raec4cfz.js} +5 -5
- package/dist/chunks/{ripgrep-f0yd4j3s.js → form-rcjb3hxv.js} +24 -24
- package/dist/chunks/{ripgrep-0p9rw7fw.js → form-reen7spn.js} +43 -43
- package/dist/chunks/{ripgrep-v8c9gd7q.js → form-rh2xq39j.js} +20 -20
- package/dist/chunks/{ripgrep-g14zqp48.js → form-rk93ytwn.js} +8 -8
- package/dist/chunks/{ripgrep-s14mecf9.js → form-s0w6xev2.js} +16 -16
- package/dist/chunks/{ripgrep-jvfkqhd3.js → form-s9pykxaw.js} +9 -9
- package/dist/chunks/{ripgrep-gq59ghnw.js → form-sh5yaj5r.js} +287 -287
- package/dist/chunks/{ripgrep-nxnrmdqj.js → form-sw3tg7qr.js} +48 -48
- package/dist/chunks/{ripgrep-ryg87dec.js → form-szd1nzgf.js} +23 -23
- package/dist/chunks/{ripgrep-gveqyzmn.js → form-t3g6pxg0.js} +76 -76
- package/dist/chunks/{ripgrep-22rpdhdr.js → form-t56yk56z.js} +12 -12
- package/dist/chunks/{ripgrep-e17bkqjz.js → form-t6nyzhp3.js} +1 -1
- package/dist/chunks/{ripgrep-m2gt5keg.js → form-t82d6hjp.js} +2 -2
- package/dist/chunks/{ripgrep-8cnq3wn4.js → form-t8a3bn55.js} +38 -38
- package/dist/chunks/{ripgrep-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-f1ve4zk0.js → form-tfx62rqv.js} +20 -20
- package/dist/chunks/{ripgrep-5vwjczgq.js → form-tkqggtee.js} +20 -20
- package/dist/chunks/{ripgrep-sthpyd6y.js → form-tnbypbhe.js} +17 -17
- package/dist/chunks/{ripgrep-7b15y959.js → form-tpw6cwsb.js} +6 -6
- package/dist/chunks/{ripgrep-tvtrv512.js → form-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-vc4e6k4r.js → form-vc4e6k4r.js} +1 -1
- package/dist/chunks/{ripgrep-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-2eq8yyrv.js → form-vhmnsspb.js} +47 -47
- package/dist/chunks/{ripgrep-tgqjfyja.js → form-vm4ppm64.js} +3 -3
- package/dist/chunks/{ripgrep-fbkm4yfd.js → form-vnsejen8.js} +8 -8
- package/dist/chunks/{ripgrep-vzcthcp8.js → form-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-hrndf12w.js → form-w1k39n5e.js} +4 -4
- package/dist/chunks/{ripgrep-6vktdcs3.js → form-w1xzjbfc.js} +32 -32
- package/dist/chunks/{ripgrep-whf5bmpn.js → form-w2sm5ssb.js} +4 -4
- package/dist/chunks/{ripgrep-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-3zykk5as.js → form-w4zk9745.js} +8 -8
- package/dist/chunks/{ripgrep-48e7pka3.js → form-wb5drhdh.js} +7 -7
- package/dist/chunks/{ripgrep-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-0bps82y7.js → form-wmnxc830.js} +6 -6
- package/dist/chunks/{ripgrep-wjbwmtb7.js → form-wn0tjn2g.js} +10 -10
- package/dist/chunks/{ripgrep-xdxsk56r.js → form-wnbmemrg.js} +13 -13
- package/dist/chunks/{ripgrep-qmy7xtej.js → form-wq47cn3q.js} +1 -1
- package/dist/chunks/{ripgrep-rq7d8v6q.js → form-wtzp478w.js} +11 -11
- package/dist/chunks/{ripgrep-gnrgb9v9.js → form-x0e6qwje.js} +12 -12
- package/dist/chunks/{ripgrep-q2m2cwvs.js → form-x0wd78c0.js} +41 -41
- package/dist/chunks/{ripgrep-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-bn56f23d.js → form-x25rkjwp.js} +11 -11
- package/dist/chunks/{ripgrep-e2jp6j8q.js → form-x5xbzaa3.js} +12 -12
- package/dist/chunks/{ripgrep-czavtrqb.js → form-x8sv5g7y.js} +9 -9
- package/dist/chunks/{ripgrep-djdwb08p.js → form-xcs4r9b9.js} +9 -9
- package/dist/chunks/{ripgrep-a4twc4z9.js → form-xe7fems8.js} +40 -40
- package/dist/chunks/{ripgrep-n6mbs687.js → form-xeshd39k.js} +15 -15
- package/dist/chunks/{ripgrep-zpd6x7fe.js → form-xg9t41r3.js} +2 -2
- package/dist/chunks/form-xkp71aat.js +247 -0
- package/dist/chunks/{ripgrep-10vf47fy.js → form-xm6ck93a.js} +16 -16
- package/dist/chunks/{ripgrep-vmz2bp6p.js → form-xpb882n5.js} +28 -28
- package/dist/chunks/{ripgrep-7b78ctkg.js → form-xv4vzzz6.js} +13 -13
- package/dist/chunks/{ripgrep-2kxpmhy3.js → form-xz722xdc.js} +15 -15
- package/dist/chunks/{ripgrep-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-9pf502c0.js → form-y3e2hzgf.js} +12 -12
- package/dist/chunks/{ripgrep-vfefw32n.js → form-y4gz4htj.js} +4 -4
- package/dist/chunks/{ripgrep-08zrd5pp.js → form-y85e4phv.js} +15 -15
- package/dist/chunks/{ripgrep-d5akq3tm.js → form-ymgtrn6d.js} +29 -29
- package/dist/chunks/{ripgrep-yp2x3t23.js → form-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-60ffd1gb.js → form-yqp46f6p.js} +17 -17
- package/dist/chunks/{ripgrep-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → form-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-6k1124w6.js → form-z31g4fd5.js} +40 -40
- package/dist/chunks/{ripgrep-635pgx6n.js → form-z3pw5915.js} +5 -5
- package/dist/chunks/{ripgrep-29x78va6.js → form-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-cw1j9y4w.js → form-za6hx6wm.js} +7 -7
- package/dist/chunks/{ripgrep-p04d36qx.js → form-zc81rp9a.js} +20 -20
- package/dist/chunks/{ripgrep-rq775frq.js → form-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-th5yjcm2.js → form-zrhjfbn0.js} +11 -11
- package/dist/chunks/{ripgrep-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- package/dist/git.js +6 -6
- 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 +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +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 +112 -112
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -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 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- 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 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +83 -83
- 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 +170 -170
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 -136
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-5vrjdqzc.js +0 -247
- package/dist/chunks/ripgrep-9sh4wc5j.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → form-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → form-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → form-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → form-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → form-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → form-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-m515h74k.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-t82d6hjp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node64
|
|
12
|
+
} from "./form-426fp41w.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service55,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node59
|
|
20
|
+
} from "./form-m07et3yq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service74,
|
|
23
|
+
node79
|
|
24
|
+
} from "./form-w4zk9745.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service39,
|
|
27
|
+
node42
|
|
28
|
+
} from "./form-15nepkqg.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-j7wq2tw5.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service62,
|
|
35
|
+
node67
|
|
36
|
+
} from "./form-z31g4fd5.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./form-ckrmy1qx.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./form-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError3,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service38,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node41
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service38 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service38, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
91
|
const location = yield* Service76;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service55;
|
|
94
|
+
const environment = yield* Service60;
|
|
95
|
+
const hooks = yield* Service74;
|
|
96
|
+
const environments = yield* Service39;
|
|
97
|
+
const config = yield* Service62;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError3({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError3({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service38.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node41 = makeLocationNode({
|
|
320
|
+
service: Service38,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
324
|
node81,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node59,
|
|
327
|
+
node64,
|
|
328
|
+
node79,
|
|
329
|
+
node42,
|
|
330
|
+
node67,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError3, RETENTION2, DIRECTORY2, Service38, cleanup2, node41, exports_shell4 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./form-q76hhjq3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service63;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-721s8qah.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-m515h74k.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info23,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service65,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node70
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID9 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event14 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service65 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service65.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info23({
|
|
80
|
+
id: ID9.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node70 = makeGlobalNode({ service: Service65, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event14, Info23, Service65, node70, exports_credential };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./form-z31g4fd5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./form-vhmnsspb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin7,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin7 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service62;
|
|
28
|
+
const mcp = yield* Service26;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin7, register2, exports_mcp };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service33
|
|
3
|
+
} from "./form-yqp46f6p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service14
|
|
6
|
+
} from "./form-t3g6pxg0.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make7
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make7 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service14;
|
|
24
|
+
const jobs = yield* Service33;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make7, exports_subagent_job };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-m515h74k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service41,
|
|
6
|
+
Event5
|
|
7
|
+
} from "./form-1p8nc3em.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service41;
|
|
33
33
|
const bus = yield* Service79;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event5.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
})
|
|
71
71
|
});
|
|
72
72
|
function environmentNames(provider) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node7, exports_location_watcher_policy };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-m515h74k.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node71
|
|
9
|
+
} from "./form-nb8hcmkq.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node69,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service64 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service66;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event13.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service64.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event13.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event13.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node69 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node71, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event13, inspect2, resolve3, node69, exports_wellknown };
|