@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./websearch-52fqhwf1.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./websearch-b37xwwf0.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service48
|
|
16
|
+
} from "./websearch-tkwczmt9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service74
|
|
19
|
+
} from "./websearch-x5yneds9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service73,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-jwkr9gz9.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service70,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-p1cpmwyf.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service56
|
|
37
|
+
} from "./websearch-3tapbz30.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./websearch-hp68hswg.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./websearch-0v4g7ykw.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./websearch-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin28,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin28 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service18;
|
|
122
|
+
const jobs = yield* Service48;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service62;
|
|
125
|
+
const access = yield* Service73;
|
|
126
|
+
const shell = yield* Service56;
|
|
127
|
+
const shellSelect = yield* Service70;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service74;
|
|
130
|
+
const config = yield* Service58;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin40 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name8,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin40 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name8,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input8,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin40 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name8,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name8];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin28, exports_shell2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./websearch-am1fxjt6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./websearch-p5a2ffdn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service81;
|
|
24
|
+
const wellknown = yield* Service60;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin36 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./websearch-p2jtg5hv.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-xn9t0c4p.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-vmgq4x8b.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service76,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node80
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service76 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service82;
|
|
59
|
+
return Service76.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node86] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service76, node80, exports_store };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service57,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node60
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service57 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service57, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service57.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service46, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service57, node60, exports_environment };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-g12b4xa8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./websearch-52fqhwf1.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-x0smw0ee.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service58;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make9();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make9, LMStudioPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-thehb6w6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID3.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node14, exports_discovery };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./websearch-am1fxjt6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./websearch-pjz7m4en.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service25
|
|
10
|
+
} from "./websearch-zg60pe4d.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin45
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin45 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service25;
|
|
201
|
+
const bus = yield* Service81;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin45, exports_command2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./websearch-52fqhwf1.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin43,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin35 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin43, exports_warming };
|