@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./websearch-pjz7m4en.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./websearch-b37xwwf0.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
15
|
Service15
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-5qydrcv1.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-v4m12608.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service74
|
|
26
|
+
} from "./websearch-x5yneds9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./websearch-jwkr9gz9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./websearch-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin30,
|
|
41
|
+
name: () => name10,
|
|
42
42
|
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name10 = "grep";
|
|
48
|
+
var Input10 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin30 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
89
|
+
const environment = yield* Service62;
|
|
90
90
|
const ripgrep = yield* Service15;
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service73;
|
|
93
|
+
const permission = yield* Service74;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name10,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input10,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name10,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin44 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name10, Input10, Output7, toModelContent5, Plugin30, exports_grep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service72,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node76
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service72 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service72.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service72, node76, exports_image2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./websearch-p2jtg5hv.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service75,
|
|
21
|
+
node: () => node79
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service82).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info28, ListInput4, AddInput2, Service75, node79, exports_saved };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./websearch-8js6bpd4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./websearch-pjz7m4en.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./websearch-52fqhwf1.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./websearch-thehb6w6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./websearch-nq7qbqzc.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-nfrvzg0m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin3
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin3 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service58;
|
|
43
|
+
const discovery = yield* Service12;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service59;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin14 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin14 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin14 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin14 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin14 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin3, exports_skill };
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
+
Key3,
|
|
7
|
+
Service67,
|
|
8
|
+
node71
|
|
9
|
+
} from "./websearch-zqgjwv2v.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-f1w75fms.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
|
+
ID: () => ID10,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service66,
|
|
44
|
+
node: () => node70
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
66
|
+
var ID10 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info25 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID10,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service66 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service67;
|
|
110
|
+
const bus = yield* Service81;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info25.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service66.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key3.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node70 = makeLocationNode({
|
|
583
|
+
service: Service66,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node71, node85, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node70, exports_integration, Event16 };
|