@opencode/core 0.0.0-dev-19873 → 0.0.0-dev-19876
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 +88 -88
- package/dist/aisdk.js +91 -91
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{workspace-cq37gk0t.js → websearch-022zszfk.js} +4 -4
- package/dist/chunks/{workspace-6j725dzc.js → websearch-07pztq71.js} +8 -8
- package/dist/chunks/{workspace-amzgw2q1.js → websearch-0fp5f3pp.js} +32 -32
- package/dist/chunks/{workspace-5qp4g9kd.js → websearch-0hs9h1h1.js} +22 -22
- package/dist/chunks/{workspace-036p5t1s.js → websearch-0m0tvs7x.js} +4 -4
- package/dist/chunks/{workspace-h9kkq3gw.js → websearch-0mpmkbvk.js} +26 -26
- package/dist/chunks/{workspace-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-ecemc3e9.js → websearch-0rj2ab4p.js} +43 -43
- package/dist/chunks/{workspace-p4tc3cb6.js → websearch-0v4g7ykw.js} +4 -4
- package/dist/chunks/{workspace-y3gpcn7q.js → websearch-12cff98h.js} +21 -21
- package/dist/chunks/{workspace-2r5z2msy.js → websearch-1342j4sv.js} +9 -9
- package/dist/chunks/{workspace-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-4xk002vj.js → websearch-1f39afds.js} +28 -28
- package/dist/chunks/{workspace-pp7vavzt.js → websearch-1fn7qv1v.js} +4 -4
- package/dist/chunks/{workspace-ak9t2d76.js → websearch-1qrhy71f.js} +18 -18
- package/dist/chunks/{workspace-dn7ft6sh.js → websearch-20rkawgy.js} +6 -6
- package/dist/chunks/{workspace-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → websearch-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-b9x402gy.js → websearch-24r4tnx8.js} +12 -12
- package/dist/chunks/{workspace-5c0f1prt.js → websearch-26k5bknw.js} +4 -4
- package/dist/chunks/{workspace-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-f870ndqn.js → websearch-2ddqzwtn.js} +11 -11
- package/dist/chunks/{workspace-c78bbtc9.js → websearch-2f0bjgcj.js} +5 -5
- package/dist/chunks/{workspace-w8hedpe6.js → websearch-2hzd43g2.js} +12 -12
- package/dist/chunks/{workspace-qgn6gcr1.js → websearch-2k8khapm.js} +5 -5
- package/dist/chunks/{workspace-wzz0kxab.js → websearch-2y34zzjz.js} +7 -7
- package/dist/chunks/{workspace-zt9b931x.js → websearch-31kpg2hv.js} +13 -13
- package/dist/chunks/{workspace-mtmnqesv.js → websearch-3259xwv7.js} +27 -27
- package/dist/chunks/{workspace-6zf41970.js → websearch-32fc7y0z.js} +16 -16
- package/dist/chunks/{workspace-j7apm612.js → websearch-3d0jer83.js} +1 -1
- package/dist/chunks/{workspace-h33b861t.js → websearch-3drga6ng.js} +33 -33
- package/dist/chunks/{workspace-h90v2x9d.js → websearch-3ewed21c.js} +4 -4
- package/dist/chunks/{workspace-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-y60ttyad.js → websearch-3tapbz30.js} +50 -50
- package/dist/chunks/{workspace-vn84xtv1.js → websearch-3tsc6jw1.js} +5 -5
- package/dist/chunks/{workspace-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-fsx0v75m.js → websearch-3vfws0k7.js} +11 -11
- package/dist/chunks/{workspace-tb34wgbf.js → websearch-3x4ghmxy.js} +20 -20
- package/dist/chunks/{workspace-r03g5xpg.js → websearch-40qeew11.js} +11 -11
- package/dist/chunks/{workspace-h6r3nrb9.js → websearch-44h5tttr.js} +4 -4
- package/dist/chunks/{workspace-3gkgte7t.js → websearch-4946q93p.js} +13 -13
- package/dist/chunks/{workspace-5pq41k6y.js → websearch-4hbbf1we.js} +17 -17
- package/dist/chunks/{workspace-6rwaq330.js → websearch-4mmncdms.js} +3 -3
- package/dist/chunks/{workspace-tch7kx0e.js → websearch-4pzrhk0q.js} +37 -37
- package/dist/chunks/{workspace-xf7akdj3.js → websearch-4wtw1vks.js} +9 -9
- package/dist/chunks/{workspace-ag0051rk.js → websearch-52fqhwf1.js} +46 -46
- package/dist/chunks/{workspace-mfqp6xfm.js → websearch-56gdpj1q.js} +6 -6
- package/dist/chunks/{workspace-57ez7d0k.js → websearch-57ez7d0k.js} +2 -2
- package/dist/chunks/{workspace-jexxy024.js → websearch-5cmxdwv8.js} +3 -3
- package/dist/chunks/{workspace-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-t85sgt19.js → websearch-5ft3mfbx.js} +23 -23
- package/dist/chunks/{workspace-a9x56jpx.js → websearch-5g37xssw.js} +25 -25
- package/dist/chunks/{workspace-f46kx12j.js → websearch-5jz4t8qk.js} +32 -32
- package/dist/chunks/{workspace-q3xw2crg.js → websearch-5qydrcv1.js} +8 -8
- package/dist/chunks/{workspace-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-31hf238s.js → websearch-63asdtk1.js} +8 -8
- package/dist/chunks/{workspace-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{workspace-pmjbhseb.js → websearch-68p33881.js} +15 -15
- package/dist/chunks/{workspace-zjd4nskf.js → websearch-6b87tbfq.js} +315 -315
- package/dist/chunks/{workspace-sk9ksbs2.js → websearch-6c3b8enr.js} +15 -15
- package/dist/chunks/{workspace-7r0jg88s.js → websearch-6gjv58vr.js} +4 -4
- package/dist/chunks/{workspace-y7q3kmd2.js → websearch-6hzx84tq.js} +7 -7
- package/dist/chunks/{workspace-n624v759.js → websearch-6jz0pjc8.js} +30 -14
- package/dist/chunks/{workspace-ftdzjz2b.js → websearch-6kg1vfnr.js} +8 -8
- package/dist/chunks/{workspace-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-tdhe5xga.js → websearch-6n88yxkj.js} +8 -8
- package/dist/chunks/{workspace-qnkbfq4a.js → websearch-73d1g9dn.js} +11 -11
- package/dist/chunks/{workspace-ejb8p0fe.js → websearch-75mzrq4c.js} +47 -47
- package/dist/chunks/{workspace-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-g64y4927.js → websearch-7cdvpqbm.js} +5 -5
- package/dist/chunks/{workspace-vwbfz043.js → websearch-7p5004hk.js} +25 -25
- package/dist/chunks/{workspace-htw1ycyk.js → websearch-7z9tkqw1.js} +14 -14
- package/dist/chunks/{workspace-ehxvdgv8.js → websearch-87r11qxp.js} +7 -7
- package/dist/chunks/{workspace-nmxvyzm3.js → websearch-8cn9axm6.js} +35 -35
- package/dist/chunks/{workspace-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-h9fjvtgb.js → websearch-8js6bpd4.js} +22 -22
- package/dist/chunks/{workspace-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-hqxy7w3z.js → websearch-90p8v5nb.js} +32 -32
- package/dist/chunks/{workspace-w6mrc2hv.js → websearch-922qjc4n.js} +5 -5
- package/dist/chunks/{workspace-xa3hwzcs.js → websearch-9apbawma.js} +43 -43
- package/dist/chunks/{workspace-299n82gd.js → websearch-9c9zbnn4.js} +8 -8
- package/dist/chunks/{workspace-y5df08dr.js → websearch-9g3kc011.js} +12 -12
- package/dist/chunks/{workspace-c29k628a.js → websearch-9mtfc2c3.js} +14 -14
- package/dist/chunks/{workspace-fqqtw36s.js → websearch-9ymbn572.js} +18 -18
- package/dist/chunks/{workspace-yv3kt0hr.js → websearch-a0z3rh9n.js} +3 -3
- package/dist/chunks/{workspace-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-j7vmjvz2.js → websearch-a2mrgm08.js} +11 -11
- package/dist/chunks/{workspace-gbt3acfc.js → websearch-a4jd9ae5.js} +41 -41
- package/dist/chunks/{workspace-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-j1tmabxy.js → websearch-am1fxjt6.js} +16 -16
- package/dist/chunks/{workspace-z3nmskby.js → websearch-aq93d8cp.js} +40 -40
- package/dist/chunks/{workspace-2nysdb6c.js → websearch-b0nyhm6x.js} +17 -17
- package/dist/chunks/{workspace-7bf9vhv9.js → websearch-b1yh53et.js} +86 -86
- package/dist/chunks/{workspace-jsq6a141.js → websearch-b37xwwf0.js} +22 -22
- package/dist/chunks/{workspace-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-batje1zt.js → websearch-b8rdat62.js} +32 -32
- package/dist/chunks/{workspace-zhq6vg7a.js → websearch-b97cbvw3.js} +1 -1
- package/dist/chunks/{workspace-pmr4s4kc.js → websearch-bct739vz.js} +4 -4
- package/dist/chunks/{workspace-g9snjwbm.js → websearch-bh4w6j9p.js} +5 -5
- package/dist/chunks/{workspace-evp5cbst.js → websearch-bzqynpg4.js} +9 -9
- package/dist/chunks/{workspace-d3s61q16.js → websearch-c0ebfkfm.js} +44 -44
- package/dist/chunks/{workspace-0fz4zz3n.js → websearch-c12e90ve.js} +13 -13
- package/dist/chunks/{workspace-d4he2qe1.js → websearch-c765mh8b.js} +9 -9
- package/dist/chunks/{workspace-b0qpzj5b.js → websearch-c7vemr9z.js} +34 -34
- package/dist/chunks/{workspace-cms0fkmz.js → websearch-cdme4d64.js} +1 -1
- package/dist/chunks/{workspace-mzkfzb9e.js → websearch-ce2efaee.js} +11 -11
- package/dist/chunks/{workspace-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-g0445xdp.js → websearch-cmwkp3r5.js} +4 -4
- package/dist/chunks/{workspace-ea3stwpk.js → websearch-cvbty185.js} +9 -9
- package/dist/chunks/{workspace-e9y2m1k9.js → websearch-cvc264at.js} +11 -11
- package/dist/chunks/{workspace-34wh5bj8.js → websearch-cxhtbce4.js} +9 -9
- package/dist/chunks/{workspace-r4wezeg5.js → websearch-d4qwrvmk.js} +18 -18
- package/dist/chunks/{workspace-xtxqqyyy.js → websearch-d855x4e9.js} +33 -33
- package/dist/chunks/{workspace-v0dk4zmw.js → websearch-daq0svh3.js} +24 -24
- package/dist/chunks/{workspace-drwq78ky.js → websearch-drwq78ky.js} +1 -1
- package/dist/chunks/{workspace-mvmfaxqs.js → websearch-e8xn9cp3.js} +13 -13
- package/dist/chunks/{workspace-0sq7pbe4.js → websearch-e9ftvw34.js} +5 -5
- package/dist/chunks/{workspace-rhjbct0v.js → websearch-eaj1djv9.js} +8 -8
- package/dist/chunks/{workspace-ck6bgcwy.js → websearch-ef4dvjn2.js} +13 -13
- package/dist/chunks/{workspace-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-j5jgtn81.js → websearch-eg8kzc30.js} +3 -3
- package/dist/chunks/{workspace-erw5rpbs.js → websearch-erw5rpbs.js} +2 -2
- package/dist/chunks/{workspace-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-w8jkwtgt.js → websearch-ezanmzeq.js} +77 -77
- package/dist/chunks/{workspace-6b4ymytp.js → websearch-f1w75fms.js} +28 -28
- package/dist/chunks/{workspace-9q3zqkhg.js → websearch-f6pycvcz.js} +10 -10
- package/dist/chunks/{workspace-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-1jnm4jdm.js → websearch-fbc3f2wc.js} +43 -43
- package/dist/chunks/{workspace-fkjmw100.js → websearch-fkjmw100.js} +2 -2
- package/dist/chunks/{workspace-wzd35x4r.js → websearch-fpvxm61y.js} +2 -2
- package/dist/chunks/{workspace-j9hsr5q7.js → websearch-fqc582ks.js} +22 -22
- package/dist/chunks/{workspace-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-n8xbtczc.js → websearch-g12b4xa8.js} +33 -33
- package/dist/chunks/{workspace-ybjzvgkv.js → websearch-g47s2x9k.js} +3 -3
- package/dist/chunks/websearch-g6d38j8q.js +26 -0
- package/dist/chunks/{workspace-92k45pvj.js → websearch-g9vrwn0g.js} +6 -6
- package/dist/chunks/websearch-gbadjzag.js +4 -0
- package/dist/chunks/{workspace-709xpvx9.js → websearch-gbdr24b9.js} +12 -12
- package/dist/chunks/{workspace-gdzrvykb.js → websearch-gcscxdcd.js} +26 -26
- package/dist/chunks/{workspace-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-hvse0yze.js → websearch-grvrvpgq.js} +5 -5
- package/dist/chunks/{workspace-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-v1pfr9ds.js → websearch-h1wac2e3.js} +20 -20
- package/dist/chunks/{workspace-9ke4xx6d.js → websearch-h3gw73yd.js} +22 -22
- package/dist/chunks/{workspace-a823bscf.js → websearch-h5v9867y.js} +4 -4
- package/dist/chunks/{workspace-366sgdxg.js → websearch-h6hkyq0z.js} +14 -14
- package/dist/chunks/{workspace-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-0jq9fyba.js → websearch-h71w788e.js} +9 -9
- package/dist/chunks/{workspace-1zs4mem0.js → websearch-h9kjb0ve.js} +18 -18
- package/dist/chunks/{workspace-aj0pcar2.js → websearch-hc3esc2s.js} +27 -27
- package/dist/chunks/{workspace-ycrpfg4y.js → websearch-hp68hswg.js} +94 -94
- package/dist/chunks/{workspace-2myva995.js → websearch-hwe7x4em.js} +6 -6
- package/dist/chunks/{workspace-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-ekqe8bgq.js → websearch-jmvta0xh.js} +24 -24
- package/dist/chunks/{workspace-e3jfww1d.js → websearch-jrntgg2b.js} +3 -3
- package/dist/chunks/{workspace-d34adfd3.js → websearch-jt70q5eh.js} +10 -10
- package/dist/chunks/{workspace-s0hza5ac.js → websearch-jva4mgym.js} +4 -4
- package/dist/chunks/{workspace-t2az9yje.js → websearch-jvf3yq6v.js} +4 -4
- package/dist/chunks/{workspace-ez1k2efz.js → websearch-jvghx0bs.js} +18 -18
- package/dist/chunks/{workspace-kz0hyxfv.js → websearch-jwkr9gz9.js} +18 -18
- package/dist/chunks/{workspace-arzy6qnm.js → websearch-k18p3m3j.js} +14 -14
- package/dist/chunks/{workspace-mjymc32g.js → websearch-k2h4r4s0.js} +4 -4
- package/dist/chunks/{workspace-k3c624dm.js → websearch-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-jv6grhmz.js → websearch-k8tk1d59.js} +29 -29
- package/dist/chunks/{workspace-r9ytktpp.js → websearch-kehq2phh.js} +9 -9
- package/dist/chunks/{workspace-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-0065dgqy.js → websearch-m8c6rrn2.js} +31 -31
- package/dist/chunks/{workspace-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-6vq97qmv.js → websearch-ma15yhyh.js} +5 -5
- package/dist/chunks/{workspace-728mcprz.js → websearch-mdhyv5nc.js} +11 -11
- package/dist/chunks/{workspace-gqdw07cd.js → websearch-me3rvs4w.js} +43 -43
- package/dist/chunks/{workspace-y4n65h4x.js → websearch-mm0yswqq.js} +12 -12
- package/dist/chunks/{workspace-r43562hj.js → websearch-mmmhkb6c.js} +15 -15
- package/dist/chunks/{workspace-be7qvw84.js → websearch-mp6d0dty.js} +8 -8
- package/dist/chunks/{workspace-1bbkgx8g.js → websearch-mvfsc1pv.js} +3 -3
- package/dist/chunks/{workspace-kmxpeyjb.js → websearch-ncwp3cv9.js} +10 -10
- package/dist/chunks/{workspace-y6hmj301.js → websearch-nfrvzg0m.js} +6 -6
- package/dist/chunks/{workspace-j3s2z371.js → websearch-nq7qbqzc.js} +9 -9
- package/dist/chunks/{workspace-4njxjgm5.js → websearch-ntdz2qy0.js} +13 -13
- package/dist/chunks/{workspace-fee2r8da.js → websearch-nzzdkq0m.js} +7 -7
- package/dist/chunks/{workspace-s121vsj8.js → websearch-p1cpmwyf.js} +19 -19
- package/dist/chunks/{workspace-p1c58hcx.js → websearch-p2jtg5hv.js} +11 -11
- package/dist/chunks/{workspace-hkfg6fzm.js → websearch-p44d8wdy.js} +5 -5
- package/dist/chunks/{workspace-41esmdat.js → websearch-p5a2ffdn.js} +21 -21
- package/dist/chunks/{workspace-2vpqkgyn.js → websearch-p8dex54c.js} +11 -11
- package/dist/chunks/{workspace-mmtx9bta.js → websearch-papy6808.js} +24 -24
- package/dist/chunks/websearch-pf31ssb9.js +18 -0
- package/dist/chunks/{workspace-rd906qww.js → websearch-phqyvzn3.js} +8 -8
- package/dist/chunks/{workspace-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-tpgy2yy7.js → websearch-pjz7m4en.js} +14 -14
- package/dist/chunks/{workspace-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-tfxyxzq3.js → websearch-q4w743xy.js} +30 -30
- package/dist/chunks/{workspace-gat4z9ax.js → websearch-q58mka6k.js} +9 -9
- package/dist/chunks/{workspace-3tj000pn.js → websearch-q9v6pdhx.js} +18 -18
- package/dist/chunks/{workspace-z5680xyc.js → websearch-qe2k48wn.js} +24 -24
- package/dist/chunks/{workspace-5t10t3wy.js → websearch-qhz7g1hs.js} +32 -32
- package/dist/chunks/websearch-qq1hq5hy.js +252 -0
- package/dist/chunks/{workspace-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-7c97fsd3.js → websearch-qy8x2pcr.js} +4 -4
- package/dist/chunks/{workspace-cpy6gm2a.js → websearch-r33ff4dw.js} +4 -4
- package/dist/chunks/{workspace-vw3vmw4j.js → websearch-r7r57zxe.js} +11 -11
- package/dist/chunks/{workspace-3bnmr0bq.js → websearch-rbcnc587.js} +27 -27
- package/dist/chunks/{workspace-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-9am0prd5.js → websearch-rpv0dpgd.js} +15 -15
- package/dist/chunks/{workspace-17qtn851.js → websearch-s33pa8x7.js} +23 -23
- package/dist/chunks/{workspace-n01n2rer.js → websearch-s33rtr2z.js} +9 -9
- package/dist/chunks/{workspace-t78sbhk0.js → websearch-s5dqpbma.js} +17 -17
- package/dist/chunks/{workspace-f0cggr8e.js → websearch-se08cp42.js} +179 -179
- package/dist/chunks/{workspace-b9q4a9vz.js → websearch-sgmz29zg.js} +24 -24
- package/dist/chunks/{workspace-kyat6mcg.js → websearch-snca356v.js} +12 -12
- package/dist/chunks/{workspace-xfbvawkv.js → websearch-sr3q8be1.js} +35 -35
- package/dist/chunks/{workspace-6a1dxhbz.js → websearch-swe1bhtv.js} +25 -25
- package/dist/chunks/{workspace-4b85tpxd.js → websearch-szemypwa.js} +23 -23
- package/dist/chunks/{workspace-9v85pz74.js → websearch-t50kpa8e.js} +18 -18
- package/dist/chunks/{workspace-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-p28j5sbe.js → websearch-tbz0fdvh.js} +5 -5
- package/dist/chunks/{workspace-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-p3dn7th8.js → websearch-th4axz7r.js} +31 -31
- package/dist/chunks/{workspace-c4fbdzkc.js → websearch-thehb6w6.js} +28 -28
- package/dist/chunks/{workspace-7s451enq.js → websearch-thjxzeng.js} +8 -8
- package/dist/chunks/{workspace-v1spkxxj.js → websearch-tkwczmt9.js} +17 -17
- package/dist/chunks/{workspace-gdm1m1nd.js → websearch-tn5xbw6a.js} +30 -30
- package/dist/chunks/{workspace-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-22sm3a33.js → websearch-v4bswmvz.js} +11 -11
- package/dist/chunks/{workspace-vjpz43gy.js → websearch-v4m12608.js} +8 -8
- package/dist/chunks/{workspace-a2ew8a62.js → websearch-v5dkyp31.js} +4 -4
- package/dist/chunks/{workspace-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-4d7v841x.js → websearch-vk7r0sdx.js} +9 -9
- package/dist/chunks/{workspace-a3r4dcrj.js → websearch-vmgq4x8b.js} +2 -2
- package/dist/chunks/{workspace-ybhbtxjg.js → websearch-vmwh049b.js} +6 -6
- package/dist/chunks/{workspace-30gjtdfv.js → websearch-vse1kc94.js} +10 -10
- package/dist/chunks/{workspace-zqnq95c4.js → websearch-vtpvbejg.js} +19 -19
- package/dist/chunks/{workspace-qpnhjb69.js → websearch-vwefnm96.js} +10 -10
- package/dist/chunks/{workspace-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-bwckxjxx.js → websearch-w9v7qmey.js} +11 -11
- package/dist/chunks/{workspace-510m7gjw.js → websearch-wbkyxrgf.js} +5 -5
- package/dist/chunks/{workspace-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-mc4fxygv.js → websearch-wjcyvsj3.js} +30 -30
- package/dist/chunks/{workspace-9gntjbfz.js → websearch-wjyt3d36.js} +41 -41
- package/dist/chunks/{workspace-habg3xh9.js → websearch-wn80v95j.js} +30 -30
- package/dist/chunks/{workspace-p76fyj4y.js → websearch-wvjkps9p.js} +10 -10
- package/dist/chunks/{workspace-m8r6z6zn.js → websearch-wxz7n9j6.js} +23 -23
- package/dist/chunks/{workspace-8qkm32xa.js → websearch-x07a79kb.js} +13 -13
- package/dist/chunks/{workspace-sdsrhnhg.js → websearch-x0cggcj0.js} +4 -4
- package/dist/chunks/{workspace-jhw3tax7.js → websearch-x0smw0ee.js} +6 -6
- package/dist/chunks/{workspace-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-150yg2gd.js → websearch-x2d9qy7d.js} +5 -5
- package/dist/chunks/{workspace-ac130235.js → websearch-x4q76t5m.js} +30 -30
- package/dist/chunks/{workspace-k2y3et8s.js → websearch-x5yneds9.js} +58 -58
- package/dist/chunks/{workspace-m0884n7j.js → websearch-xa0k5bz6.js} +60 -60
- package/dist/chunks/{workspace-3npj8t1e.js → websearch-xg4xty0h.js} +8 -8
- package/dist/chunks/{workspace-m8mrc67f.js → websearch-xmw0d9va.js} +19 -19
- package/dist/chunks/{workspace-vjbbtvxb.js → websearch-xn9t0c4p.js} +8 -8
- package/dist/chunks/{workspace-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-tn5jqbt1.js → websearch-y575x8fq.js} +5 -5
- package/dist/chunks/{workspace-6yt6hxry.js → websearch-y6e67daz.js} +22 -22
- package/dist/chunks/{workspace-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-bwrt7pzn.js → websearch-yk8qrx9z.js} +19 -19
- package/dist/chunks/{workspace-76mtqfdb.js → websearch-ym95y3aw.js} +24 -24
- package/dist/chunks/{workspace-yp2x3t23.js → websearch-yp2x3t23.js} +1 -1
- package/dist/chunks/{workspace-zqy44jh8.js → websearch-yq75gvbk.js} +25 -25
- package/dist/chunks/{workspace-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-ptjqpx56.js → websearch-z5q5v17b.js} +6 -6
- package/dist/chunks/{workspace-z63w68vq.js → websearch-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-5e7dwadz.js → websearch-z6n7xg8y.js} +22 -22
- package/dist/chunks/{workspace-fq0zj7p6.js → websearch-zaeb7647.js} +8 -8
- package/dist/chunks/{workspace-rtcmmca7.js → websearch-zbpe8re2.js} +3 -3
- package/dist/chunks/{workspace-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-cd11xdjc.js → websearch-zex37ywk.js} +8 -8
- package/dist/chunks/{workspace-61fxnknp.js → websearch-zg60pe4d.js} +54 -54
- package/dist/chunks/{workspace-xc23dxn4.js → websearch-zmqdwtas.js} +5 -5
- package/dist/chunks/{workspace-fwyfeg68.js → websearch-zpfs6wz4.js} +18 -18
- package/dist/chunks/{workspace-4henhz1c.js → websearch-zqgjwv2v.js} +35 -35
- package/dist/chunks/{workspace-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-hyetwb3r.js → websearch-zt1xfrkw.js} +18 -18
- package/dist/chunks/{workspace-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- 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 +105 -105
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +93 -93
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- 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-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +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/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- 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 +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +90 -90
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +119 -119
- 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 +14 -14
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +92 -92
- 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 +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/workspace-8ks0wbke.js +0 -26
- package/dist/chunks/workspace-hxa7m5za.js +0 -4
- package/dist/chunks/workspace-p2h6zvwc.js +0 -18
- package/dist/chunks/workspace-s43a7vsr.js +0 -252
- /package/dist/chunks/{workspace-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node65
|
|
7
|
+
} from "./websearch-b37xwwf0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service35,
|
|
17
|
+
node: () => node38,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service35 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service62;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service35.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node65] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service35, readText2, syncTextBom2, node38, exports_file_mutation };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-w9v7qmey.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./websearch-am1fxjt6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./websearch-zqgjwv2v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-qhz7g1hs.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID9,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-8cn9axm6.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID10.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service81;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID9.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID9.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin3 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID9.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./websearch-8cn9axm6.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID9.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./websearch-am1fxjt6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./websearch-pjz7m4en.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID6
|
|
11
|
+
} from "./websearch-gbadjzag.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service70,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node74
|
|
16
|
+
} from "./websearch-p1cpmwyf.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event10,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info9,
|
|
31
|
+
NotFoundError: () => NotFoundError6,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service52,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node55
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event10 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info9 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError6 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID6
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID6
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service52 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service81;
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const shell = yield* Service70;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID6.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service52.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node55 = makeLocationNode({
|
|
274
|
+
service: Service52,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node85, node82, node74]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info9, CreateInput2, UpdateInput2, NotFoundError6, ExitedError2, Service52, node55, exports_pty, Event10 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./websearch-52fqhwf1.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin13
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin13 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
28
28
|
yield* ctx.provider.transform((providers) => {
|
|
@@ -46,4 +46,4 @@ var Plugin19 = define({
|
|
|
46
46
|
})
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin13, exports_policy };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./websearch-am1fxjt6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service67,
|
|
8
|
+
node71
|
|
9
|
+
} from "./websearch-zqgjwv2v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./websearch-8js6bpd4.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./websearch-pjz7m4en.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-5ft3mfbx.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-e9ftvw34.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service60,
|
|
36
|
+
Event13,
|
|
37
|
+
node63
|
|
38
|
+
} from "./websearch-p5a2ffdn.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./websearch-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service58,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node61,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service58 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service58, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service59;
|
|
98
|
+
const bus = yield* Service81;
|
|
99
|
+
const credentials = yield* Service67;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service60;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service58.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service58,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node62, node85, FSUtil.node, Global.node, node82, node71, node63]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node61 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service58, Test2, testLayer2, layer23, configured8, node61, exports_config };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info31 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info31, SessionSchema2 };
|