@opencode/core 0.0.0-dev-21198 → 0.0.0-dev-21199
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{location-v1wgydhy.js → skill-00qrbj62.js} +4 -4
- package/dist/chunks/{location-5bnha4a9.js → skill-06xsmntz.js} +2 -2
- package/dist/chunks/{location-em2d8pme.js → skill-0a54jmae.js} +9 -9
- package/dist/chunks/{location-989zwrne.js → skill-0gvzbg7p.js} +19 -19
- package/dist/chunks/{location-vaz663yk.js → skill-0jgt67sk.js} +25 -25
- package/dist/chunks/{location-2k8khapm.js → skill-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-2k7hmv4v.js → skill-0mshdkct.js} +30 -30
- package/dist/chunks/{location-bpywct1a.js → skill-0tb1pehm.js} +32 -32
- package/dist/chunks/{location-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-d89pvmsa.js → skill-0w1q6v6s.js} +15 -15
- package/dist/chunks/{location-2fvttt54.js → skill-0w5ft33m.js} +17 -17
- package/dist/chunks/{location-yg3p29yq.js → skill-157xg8cq.js} +180 -180
- package/dist/chunks/{location-dn0w480y.js → skill-1dcff6nc.js} +5 -5
- package/dist/chunks/{location-wx6dy300.js → skill-1e0fage9.js} +4 -4
- package/dist/chunks/{location-bzeyqsqd.js → skill-1ep4rre3.js} +4 -4
- package/dist/chunks/{location-95jm72p9.js → skill-1j2x33v7.js} +18 -18
- package/dist/chunks/{location-5yxr5f14.js → skill-1vnwec3s.js} +17 -17
- package/dist/chunks/{location-k2d1nyd0.js → skill-1vyebrft.js} +47 -47
- package/dist/chunks/{location-q5h7teyk.js → skill-1wy3a1da.js} +8 -8
- package/dist/chunks/{location-d1k3f5pq.js → skill-21kate9q.js} +20 -20
- package/dist/chunks/{location-wy9rq243.js → skill-24s8e1ye.js} +19 -19
- package/dist/chunks/{location-vk0vjr06.js → skill-24ythb25.js} +6 -6
- package/dist/chunks/{location-vr325jcz.js → skill-2dvjh35y.js} +27 -27
- package/dist/chunks/{location-0c4zwny2.js → skill-2fkbhf5s.js} +23 -23
- package/dist/chunks/{location-z2rty11q.js → skill-2hn0k533.js} +5 -5
- package/dist/chunks/{location-qbqbaz6q.js → skill-2k71kv7p.js} +4 -4
- package/dist/chunks/{location-pbf8s9t3.js → skill-2xc59a1w.js} +5 -5
- package/dist/chunks/{location-adxdseqr.js → skill-373db230.js} +16 -16
- package/dist/chunks/{location-mp6d0dty.js → skill-3cwb9jzf.js} +8 -8
- package/dist/chunks/{location-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-bp8fbaqn.js → skill-44ak30pa.js} +4 -4
- package/dist/chunks/{location-dvtne00t.js → skill-47akhf3w.js} +36 -36
- package/dist/chunks/{location-n1n192bv.js → skill-4j4tgtq5.js} +4 -4
- package/dist/chunks/{location-zsrhk7tm.js → skill-4rqs6yce.js} +5 -5
- package/dist/chunks/{location-hr35ctgn.js → skill-4ysfff1b.js} +25 -25
- package/dist/chunks/{location-145jd4w1.js → skill-4za8yt9x.js} +16 -16
- package/dist/chunks/{location-4c34w2zv.js → skill-51fhzrhh.js} +18 -18
- package/dist/chunks/{location-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{location-8bq439h5.js → skill-5a1a4xxz.js} +28 -28
- package/dist/chunks/{location-a7acryf3.js → skill-5cazt80r.js} +36 -36
- package/dist/chunks/{location-99rzcqpw.js → skill-5hckghy7.js} +22 -22
- package/dist/chunks/{location-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-mfp2vjgr.js → skill-5n5c97r3.js} +5 -5
- package/dist/chunks/{location-gfhn3889.js → skill-5n8ca005.js} +21 -21
- package/dist/chunks/{location-jq30160n.js → skill-608dtcmq.js} +15 -15
- package/dist/chunks/{location-hpwxgay7.js → skill-60pkp98z.js} +9 -9
- package/dist/chunks/{location-6827pfxn.js → skill-6827pfxn.js} +1 -1
- package/dist/chunks/{location-v0c40a8e.js → skill-6fk8v7jg.js} +42 -42
- package/dist/chunks/{location-htqjf2p3.js → skill-6fq7r47e.js} +5 -5
- package/dist/chunks/{location-ds49x2rx.js → skill-6x6512f8.js} +14 -14
- package/dist/chunks/{location-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-wpd6sf1m.js → skill-711r5px4.js} +24 -24
- package/dist/chunks/{location-0xy308ad.js → skill-721538d5.js} +11 -11
- package/dist/chunks/{location-m1kh2nsb.js → skill-73wdtct1.js} +4 -4
- package/dist/chunks/{location-775gj3j1.js → skill-775gj3j1.js} +2 -2
- package/dist/chunks/{location-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-8sze2n9a.js → skill-7fkffz83.js} +8 -8
- package/dist/chunks/{location-b9n9z0s4.js → skill-7gjg0sg8.js} +19 -19
- package/dist/chunks/{location-drs64gwb.js → skill-7y6g135c.js} +21 -21
- package/dist/chunks/{location-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → skill-89znhe33.js} +4 -4
- package/dist/chunks/{location-ef408bse.js → skill-8hpz99e3.js} +20 -20
- package/dist/chunks/{location-5ntkgda3.js → skill-8k9dqkvr.js} +18 -18
- package/dist/chunks/{location-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-h9rm1rrn.js → skill-8ryk0bb9.js} +5 -5
- package/dist/chunks/{location-0vzwrjx3.js → skill-95gd5fnz.js} +8 -8
- package/dist/chunks/skill-961073wv.js +26 -0
- package/dist/chunks/{location-97aeaand.js → skill-97aeaand.js} +1 -1
- package/dist/chunks/{location-67cvef8r.js → skill-9cw92fkg.js} +49 -49
- package/dist/chunks/{location-a8tjp345.js → skill-9g88hcsg.js} +51 -51
- package/dist/chunks/{location-3g642jy4.js → skill-9hg616bm.js} +10 -10
- package/dist/chunks/{location-0r3c1bmw.js → skill-9hwaqfsw.js} +5 -5
- package/dist/chunks/{location-m68xwnrq.js → skill-9sspp2kc.js} +21 -21
- package/dist/chunks/{location-5r8dc44b.js → skill-9tn557k3.js} +3 -3
- package/dist/chunks/{location-z1hzzxvs.js → skill-9xnh36ct.js} +26 -26
- package/dist/chunks/{location-wkehryqc.js → skill-a5574sc3.js} +16 -16
- package/dist/chunks/{location-zgn8r0cb.js → skill-a61mcpgr.js} +18 -18
- package/dist/chunks/{location-r0e2kwbg.js → skill-acy09t17.js} +4 -4
- package/dist/chunks/{location-embw8kgh.js → skill-afdssyjb.js} +4 -4
- package/dist/chunks/{location-md74ebjh.js → skill-afm93r8m.js} +5 -5
- package/dist/chunks/{location-xqw2c93y.js → skill-aj2p83by.js} +16 -16
- package/dist/chunks/{location-5cecgzb9.js → skill-akvzwxcq.js} +23 -23
- package/dist/chunks/{location-j33tqen4.js → skill-axbdcqfv.js} +11 -11
- package/dist/chunks/{location-bh0br2f8.js → skill-azhh6n6p.js} +36 -36
- package/dist/chunks/{location-qs1k1512.js → skill-bjr98wm2.js} +11 -11
- package/dist/chunks/{location-ywt8jp22.js → skill-bjx1sjef.js} +9 -9
- package/dist/chunks/{location-hr3r50rq.js → skill-bk9rcndt.js} +32 -32
- package/dist/chunks/{location-ajzsbz6h.js → skill-bn0s77k4.js} +13 -13
- package/dist/chunks/{location-3nmkja6b.js → skill-bs5qht20.js} +3 -3
- package/dist/chunks/{location-gfrjx8pe.js → skill-bykqqmg1.js} +24 -24
- package/dist/chunks/{location-c1fqxshp.js → skill-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-xq16cs6r.js → skill-c1s4czd4.js} +18 -18
- package/dist/chunks/{location-07b9dypv.js → skill-cbghv35z.js} +14 -14
- package/dist/chunks/{location-hmnzdrmx.js → skill-ckkc33e7.js} +53 -53
- package/dist/chunks/{location-cx9635r5.js → skill-csxcg56m.js} +26 -26
- package/dist/chunks/{location-d1a28jh7.js → skill-d1a28jh7.js} +2 -2
- package/dist/chunks/{location-603jbbtr.js → skill-d2kvkr0c.js} +13 -13
- package/dist/chunks/{location-bwk1j07r.js → skill-d4y9kadm.js} +25 -25
- package/dist/chunks/{location-rjzxqzmw.js → skill-d7q7g158.js} +7 -7
- package/dist/chunks/{location-q9eq07pb.js → skill-dbwk15v0.js} +31 -31
- package/dist/chunks/{location-amt00vnw.js → skill-ddzfx2sp.js} +4 -4
- package/dist/chunks/{location-4jj2msg6.js → skill-dgmheq7x.js} +20 -20
- package/dist/chunks/{location-6r42yntf.js → skill-dh2x2bk8.js} +45 -45
- package/dist/chunks/{location-qjx1ax0j.js → skill-dhb2hta4.js} +5 -5
- package/dist/chunks/{location-wh6zw745.js → skill-dssbfrwz.js} +5 -5
- package/dist/chunks/{location-ty9hjdkx.js → skill-dzewxd6e.js} +50 -50
- package/dist/chunks/{location-g405m9aw.js → skill-e4qjwypm.js} +14 -14
- package/dist/chunks/{location-sxcaecc0.js → skill-e80seqcp.js} +3 -3
- package/dist/chunks/{location-s8d7rejh.js → skill-eaj1djv9.js} +6 -6
- package/dist/chunks/{location-fb3dtxv3.js → skill-ebwpp9d0.js} +15 -15
- package/dist/chunks/{location-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-3ezs8r61.js → skill-ek42zh69.js} +24 -24
- package/dist/chunks/{location-cpnatsfb.js → skill-eyvd4r56.js} +17 -17
- package/dist/chunks/{location-twd5y57z.js → skill-f3rjyvb9.js} +32 -32
- package/dist/chunks/{location-4sh6etqy.js → skill-f85pwmyw.js} +3 -3
- package/dist/chunks/{location-fcy631f0.js → skill-fcy631f0.js} +1 -1
- package/dist/chunks/{location-j58c5xyq.js → skill-fdms3n6w.js} +9 -9
- package/dist/chunks/{location-dq407baf.js → skill-fn9t717r.js} +6 -6
- package/dist/chunks/{location-2mq1h16s.js → skill-ft3hqk2c.js} +9 -9
- package/dist/chunks/{location-1w2wqhfv.js → skill-fxaymqdw.js} +4 -4
- package/dist/chunks/{location-q6y0jr1j.js → skill-g0zzgjed.js} +13 -13
- package/dist/chunks/{location-fdys8s7b.js → skill-g36mbs4t.js} +13 -13
- package/dist/chunks/skill-g7az63xj.js +257 -0
- package/dist/chunks/{location-87n69sem.js → skill-gb51gx5j.js} +1 -1
- package/dist/chunks/{location-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-x661k3y3.js → skill-gqtdsdt7.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-4da1h11n.js → skill-hcms3ej7.js} +24 -24
- package/dist/chunks/{location-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-fxatx79r.js → skill-hh8xd2g7.js} +16 -16
- package/dist/chunks/{location-vn2rgj3v.js → skill-hhvypby2.js} +89 -89
- package/dist/chunks/{location-q1yjy5zz.js → skill-hjkky8wz.js} +4 -4
- package/dist/chunks/{location-3zyawagg.js → skill-hn49etrp.js} +9 -9
- package/dist/chunks/{location-n7f7srr9.js → skill-hp8bf08d.js} +11 -11
- package/dist/chunks/{location-0534ky0c.js → skill-hpagwa2c.js} +14 -14
- package/dist/chunks/{location-es2kn06e.js → skill-hszepbzs.js} +11 -11
- package/dist/chunks/{location-sqgnhamd.js → skill-ht9z38af.js} +7 -7
- package/dist/chunks/{location-q8vtgrm0.js → skill-hv0kjr3z.js} +18 -18
- package/dist/chunks/{location-wyebk0xf.js → skill-hxbam2w6.js} +11 -11
- package/dist/chunks/{location-91qna3x0.js → skill-j09zfasm.js} +3 -3
- package/dist/chunks/{location-ntvypand.js → skill-j0m4jrxm.js} +27 -27
- package/dist/chunks/{location-32h6rhct.js → skill-j17rh5na.js} +14 -14
- package/dist/chunks/{location-w8djw5a7.js → skill-j5xh64qr.js} +9 -9
- package/dist/chunks/{location-t95zrypp.js → skill-j6ktnsbj.js} +12 -12
- package/dist/chunks/{location-vs8dydjt.js → skill-j7qxhh0w.js} +11 -11
- package/dist/chunks/{location-4fpc5jah.js → skill-jcq65hc2.js} +36 -36
- package/dist/chunks/{location-akmpr121.js → skill-jgyagtm3.js} +29 -29
- package/dist/chunks/{location-p32sqmdt.js → skill-jhqb9qv1.js} +45 -45
- package/dist/chunks/{location-z3v7r765.js → skill-jkh8wmvq.js} +14 -14
- package/dist/chunks/{location-0j2whhmm.js → skill-jq9wm7kj.js} +2 -2
- package/dist/chunks/{location-23pawfzx.js → skill-jr0bwz5h.js} +15 -15
- package/dist/chunks/{location-y4p39a62.js → skill-jybvdwhe.js} +14 -14
- package/dist/chunks/{location-28z3cneb.js → skill-k1ep3vpw.js} +8 -8
- package/dist/chunks/{location-q7gf9sas.js → skill-k41pdhxj.js} +21 -21
- package/dist/chunks/{location-d216944b.js → skill-k76krqzs.js} +7 -7
- package/dist/chunks/{location-vwp2jxjn.js → skill-k8zn6dzp.js} +15 -15
- package/dist/chunks/{location-bh6fvrw2.js → skill-kbzdcc1z.js} +30 -30
- package/dist/chunks/{location-tmvz21nc.js → skill-ktq7es54.js} +33 -33
- package/dist/chunks/{location-kwb1v3vj.js → skill-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-7h00etdm.js → skill-kyvqw619.js} +19 -19
- package/dist/chunks/{location-5z1rq7y7.js → skill-m0492934.js} +52 -52
- package/dist/chunks/{location-7wbtv9kx.js → skill-m28477hs.js} +18 -18
- package/dist/chunks/{location-czc7ahar.js → skill-m8tc3etm.js} +45 -45
- package/dist/chunks/{location-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-maspj1v3.js → skill-maspj1v3.js} +1 -1
- package/dist/chunks/{location-arz7hw7x.js → skill-mtpeagzc.js} +3 -3
- package/dist/chunks/{location-bty0wzn7.js → skill-mtvcx4kk.js} +22 -22
- package/dist/chunks/{location-nfv0j92c.js → skill-mz4wv8nb.js} +13 -13
- package/dist/chunks/{location-7n50n386.js → skill-n3wcrd3g.js} +7 -7
- package/dist/chunks/{location-bdpzzc2x.js → skill-n4d3d4w3.js} +11 -11
- package/dist/chunks/{location-n61013np.js → skill-n61013np.js} +3 -3
- package/dist/chunks/{location-25v2n2r1.js → skill-n7pfcsmy.js} +33 -33
- package/dist/chunks/{location-ky55kfet.js → skill-n8g9f5aw.js} +8 -8
- package/dist/chunks/{location-azf56bk0.js → skill-n9y44nm0.js} +23 -23
- package/dist/chunks/{location-g686f6pq.js → skill-nd4tfyg0.js} +9 -9
- package/dist/chunks/{location-g9qaxaca.js → skill-nk3nq1me.js} +20 -20
- package/dist/chunks/{location-ywpkyr4m.js → skill-nm2sbdyw.js} +6 -6
- package/dist/chunks/{location-cfeys8se.js → skill-p2w0np6h.js} +11 -11
- package/dist/chunks/{location-br0tr5aq.js → skill-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-m5acmbv3.js → skill-p6hp9dgk.js} +22 -22
- package/dist/chunks/{location-esevsdxy.js → skill-p6zwjtwx.js} +3 -3
- package/dist/chunks/{location-nydcqbxx.js → skill-p9901hdx.js} +34 -34
- package/dist/chunks/{location-tx24ndva.js → skill-pc6svy01.js} +10 -10
- package/dist/chunks/{location-7vfecp73.js → skill-pcf1k9th.js} +6 -6
- package/dist/chunks/{location-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{location-k1efet51.js → skill-ps2yhsm3.js} +26 -26
- package/dist/chunks/{location-nvwzzs4t.js → skill-ptxp58at.js} +10 -10
- package/dist/chunks/{location-fgtrk66x.js → skill-q559tdbh.js} +48 -48
- package/dist/chunks/{location-yt8c9d7f.js → skill-q6ec7ghb.js} +4 -4
- package/dist/chunks/{location-zbh564mk.js → skill-q6hmgxfy.js} +32 -32
- package/dist/chunks/{location-mnpd334b.js → skill-qmgmkp4z.js} +13 -13
- package/dist/chunks/{location-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-xfkkasph.js → skill-qqeeq2t9.js} +7 -7
- package/dist/chunks/{location-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{location-51e0qdjd.js → skill-qv0n1xf7.js} +6 -6
- package/dist/chunks/{location-16apx87z.js → skill-qx787nm7.js} +33 -33
- package/dist/chunks/{location-7cc5kxt3.js → skill-r3ydk6z5.js} +6 -6
- package/dist/chunks/{location-d5cb04kw.js → skill-r92v02kx.js} +31 -31
- package/dist/chunks/{location-jrrr0vgd.js → skill-rakt6rqx.js} +5 -5
- package/dist/chunks/{location-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-rert0e01.js → skill-rert0e01.js} +2 -2
- package/dist/chunks/{location-1acjjqhc.js → skill-rhraev7y.js} +4 -4
- package/dist/chunks/{location-rj3eygr5.js → skill-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-34z3f9xr.js → skill-rmpja4kz.js} +20 -20
- package/dist/chunks/{location-sqab7qp3.js → skill-ryvyvv32.js} +32 -32
- package/dist/chunks/{location-sa8ekw3f.js → skill-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-pv8jz97g.js → skill-sd35z9tw.js} +9 -9
- package/dist/chunks/{location-82evjk03.js → skill-sd6jgyf6.js} +32 -32
- package/dist/chunks/skill-sjv7n9ab.js +513 -0
- package/dist/chunks/{location-5w91dnyc.js → skill-smjam21t.js} +21 -21
- package/dist/chunks/{location-nz9b8yfq.js → skill-swdxt3e8.js} +10 -10
- package/dist/chunks/{location-syv4x271.js → skill-syv4x271.js} +1 -1
- package/dist/chunks/{location-g41nf0e0.js → skill-t3mrtpce.js} +13 -13
- package/dist/chunks/{location-mgwk1xfv.js → skill-ta7kf51t.js} +31 -31
- package/dist/chunks/{location-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-xy41f4x7.js → skill-tbrt0skw.js} +35 -35
- package/dist/chunks/{location-m8hhxrfk.js → skill-tdepd04k.js} +14 -14
- package/dist/chunks/{location-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{location-hq8zt1th.js → skill-tegs1ycp.js} +6 -6
- package/dist/chunks/{location-stsvfap6.js → skill-tk14ecdn.js} +30 -30
- package/dist/chunks/{location-kx66dp5b.js → skill-tkzsrz1e.js} +14 -14
- package/dist/chunks/{location-tm0kqsz3.js → skill-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-9w2t8m45.js → skill-trsmh1y6.js} +14 -14
- package/dist/chunks/{location-4gfvbgvz.js → skill-ts92q5ds.js} +28 -28
- package/dist/chunks/{location-6b5zwc3a.js → skill-twwne8jc.js} +13 -13
- package/dist/chunks/{location-at1kfnmk.js → skill-tx9w5tca.js} +8 -8
- package/dist/chunks/{location-tyytaxap.js → skill-tyytaxap.js} +1 -1
- package/dist/chunks/{location-sr7jmsgt.js → skill-v210v162.js} +7 -7
- package/dist/chunks/{location-23kaxwfv.js → skill-v2bjyqkg.js} +9 -9
- package/dist/chunks/{location-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-bm82pab4.js → skill-vb3m6eyp.js} +20 -20
- package/dist/chunks/{location-w6zk8pbt.js → skill-vbek984v.js} +6 -6
- package/dist/chunks/{location-fr3ezjyq.js → skill-vbhp0dye.js} +45 -45
- package/dist/chunks/{location-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/skill-vnkjks7b.js +18 -0
- package/dist/chunks/{location-4z1p7es3.js → skill-vnwacm6t.js} +1 -1
- package/dist/chunks/{location-063qsvhf.js → skill-vs247hwy.js} +18 -18
- package/dist/chunks/{location-0w65kga7.js → skill-vscs4key.js} +9 -9
- package/dist/chunks/{location-hm0wjybs.js → skill-vwwhsbvp.js} +10 -10
- package/dist/chunks/{location-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-y14vatw8.js → skill-w57ms8mt.js} +17 -17
- package/dist/chunks/{location-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{location-qry5sa1n.js → skill-wdjfy1sg.js} +4 -4
- package/dist/chunks/{location-9ha17m46.js → skill-wf494znr.js} +13 -13
- package/dist/chunks/{location-hkffa77z.js → skill-wg81ww38.js} +4 -4
- package/dist/chunks/{location-1k11nr7d.js → skill-wknnvmh5.js} +15 -15
- package/dist/chunks/{location-gwvrmfwb.js → skill-wwq19wsf.js} +5 -5
- package/dist/chunks/{location-g4wp1ate.js → skill-wx4tanf7.js} +34 -34
- package/dist/chunks/{location-2ty8egxs.js → skill-x181wg97.js} +5 -5
- package/dist/chunks/{location-73ekctke.js → skill-x4gm9hts.js} +11 -11
- package/dist/chunks/{location-16nb375z.js → skill-x96ngv9r.js} +10 -10
- package/dist/chunks/{location-vxnyg7ah.js → skill-xa8dcf8m.js} +11 -11
- package/dist/chunks/{location-4egkd47v.js → skill-xg47fphv.js} +8 -8
- package/dist/chunks/{location-6hqjze18.js → skill-xjww6pxa.js} +87 -87
- package/dist/chunks/{location-tdj451eg.js → skill-xmjm0ap3.js} +33 -33
- package/dist/chunks/{location-6x2k96nh.js → skill-xr9szsrw.js} +70 -70
- package/dist/chunks/{location-3g8j9he4.js → skill-xt4njr3s.js} +1 -1
- package/dist/chunks/{location-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-dpkg50ah.js → skill-y71avatq.js} +4 -4
- package/dist/chunks/{location-4a47vhcc.js → skill-ybq6hy8a.js} +18 -18
- package/dist/chunks/{location-tb0gxtrf.js → skill-ytw5y04d.js} +11 -11
- package/dist/chunks/{location-byqvgwaz.js → skill-yyvvzyvm.js} +18 -18
- package/dist/chunks/{location-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-9qphk9mp.js → skill-z42dm00v.js} +15 -15
- package/dist/chunks/{location-ggrw7xb2.js → skill-zaggqza2.js} +10 -10
- package/dist/chunks/{location-txssyqt7.js → skill-zn9jy13z.js} +3 -3
- package/dist/chunks/{location-j2nmhapf.js → skill-znpdtr75.js} +23 -23
- package/dist/chunks/{location-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-gssgp24n.js → skill-ztkm05qe.js} +18 -18
- package/dist/chunks/{location-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-dm5ybv65.js → skill-zyyv54cq.js} +10 -10
- 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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-496pr060.js +0 -26
- package/dist/chunks/location-e3ek6sz5.js +0 -257
- package/dist/chunks/location-n95b3jav.js +0 -18
- package/dist/chunks/location-xwq8mpja.js +0 -513
- /package/dist/chunks/{location-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → skill-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → skill-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service37,
|
|
3
|
+
node41
|
|
4
|
+
} from "./skill-dgmheq7x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./skill-hh8xd2g7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service36,
|
|
11
|
+
node40
|
|
12
|
+
} from "./skill-9cw92fkg.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service8,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer7,
|
|
28
|
+
node: () => node10
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service36;
|
|
40
|
+
const watcher = yield* Service37;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service8.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node10 = makeLocationNode({
|
|
74
|
+
service: Service8,
|
|
75
|
+
layer: layer7,
|
|
76
|
+
deps: [node40, FSUtil.node, node41, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service8,
|
|
80
|
+
layer: Layer.succeed(Service8, Service8.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service8, layer7, node10, empty2, exports_source };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-hxbam2w6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-q6ec7ghb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./skill-kbzdcc1z.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-0mshdkct.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service40
|
|
21
|
+
} from "./skill-9hg616bm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-f3rjyvb9.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-dbwk15v0.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve2
|
|
33
|
+
} from "./skill-r3ydk6z5.js";
|
|
34
34
|
import {
|
|
35
35
|
ID5,
|
|
36
36
|
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-a61mcpgr.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID9.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -179,7 +179,7 @@ var OpencodePlugin2 = define({
|
|
|
179
179
|
const bus = yield* Service85;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service40;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID9.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
|
|
|
267
267
|
model.limit = { ...model.limit, ...config.limit };
|
|
268
268
|
if (config.capabilities?.reasoning !== undefined)
|
|
269
269
|
model.variants = [
|
|
270
|
-
...
|
|
270
|
+
...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
271
271
|
];
|
|
272
272
|
for (const variant of config.variants ?? []) {
|
|
273
273
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID8.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID8.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
411
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
412
412
|
})
|
|
413
413
|
});
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-gb51gx5j.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-24ythb25.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin16,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin16 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin49 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin16, exports_identity };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-ckkc33e7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin10 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin10, exports_plan };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node73
|
|
4
|
+
} from "./skill-ptxp58at.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-mtpeagzc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service62,
|
|
20
|
+
make: () => make20,
|
|
21
|
+
node: () => node66
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service62 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make20 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service69;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make19 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service62.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make19 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service62, make20);
|
|
358
|
+
var node66 = makeGlobalNode({ service: Service62, layer, deps: [node73] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service62, make20, node66, exports_job };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service35,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node39
|
|
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 Service35 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service35, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service35.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(Service57, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node39 = makeGlobalNode({ service: Service35, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service35, node39, exports_environment };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin11
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin11 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin41 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin11, exports_mcp_codemode_defaults };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service82
|
|
8
|
+
} from "./skill-hh8xd2g7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service46
|
|
11
|
+
} from "./skill-bykqqmg1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service48
|
|
14
|
+
} from "./skill-wknnvmh5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-d2kvkr0c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./skill-ckkc33e7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service42,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-vs247hwy.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./skill-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin31 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service46;
|
|
112
|
+
const access = yield* Service42;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service48;
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const permission = yield* Service75;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin23 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin31, exports_patch };
|