@opencode-ai/core 0.0.0-beta-18230 → 0.0.0-beta-18286
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 +2 -2
- package/dist/agent.js +70 -74
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -72
- package/dist/catalog.js +78 -82
- package/dist/chunks/{git-02dbfq60.js → catalog-02dbfq60.js} +1 -1
- package/dist/chunks/{git-0fwy12fb.js → catalog-0490v4kk.js} +3 -3
- package/dist/chunks/{git-0b17sr9d.js → catalog-0b17sr9d.js} +2 -2
- package/dist/chunks/{git-zq2vpy8x.js → catalog-0j641037.js} +3 -3
- package/dist/chunks/{git-0kvmztkf.js → catalog-0kvmztkf.js} +1 -1
- package/dist/chunks/{git-7km11mx0.js → catalog-0vx06zdv.js} +10 -45
- package/dist/chunks/{git-s1xc1a9h.js → catalog-0vzf8e66.js} +4 -4
- package/dist/chunks/{git-3d1t6jqf.js → catalog-11jmdqxk.js} +3 -3
- package/dist/chunks/{git-qqbg5fck.js → catalog-11skxvsg.js} +6 -6
- package/dist/chunks/{git-v6et4w88.js → catalog-12qkx0dk.js} +10 -10
- package/dist/chunks/{git-q0taaap1.js → catalog-15731wjm.js} +7 -7
- package/dist/chunks/{git-9c1amfv5.js → catalog-169vg4yj.js} +4 -4
- package/dist/chunks/{git-18pv8fg3.js → catalog-18pv8fg3.js} +2 -2
- package/dist/chunks/{git-02s4hv33.js → catalog-19nk26qg.js} +6 -6
- package/dist/chunks/{git-bcd6x1qe.js → catalog-1a09918y.js} +3 -4
- package/dist/chunks/{git-1b390eyt.js → catalog-1b390eyt.js} +2 -2
- package/dist/chunks/{git-6x98y149.js → catalog-1k8hd2s1.js} +2 -2
- package/dist/chunks/{git-2jc9fmnt.js → catalog-1vra25gk.js} +3 -7
- package/dist/chunks/{git-tz597x9c.js → catalog-1xcp20k6.js} +2 -2
- package/dist/chunks/{git-z759gea5.js → catalog-22sebhmp.js} +14 -48
- package/dist/chunks/{git-ef57t57k.js → catalog-24ge89rc.js} +17 -5
- package/dist/chunks/{git-9aw6va93.js → catalog-2dbwv7fq.js} +17 -17
- package/dist/chunks/{git-2nmyybe0.js → catalog-2nmyybe0.js} +1 -1
- package/dist/chunks/{git-ypvpvtbq.js → catalog-32ez1qhx.js} +5 -5
- package/dist/chunks/{git-37e9hbzs.js → catalog-37e9hbzs.js} +2 -2
- package/dist/chunks/{git-38jwdxby.js → catalog-38jwdxby.js} +2 -2
- package/dist/chunks/{git-3g8vftxb.js → catalog-3g8vftxb.js} +2 -2
- package/dist/chunks/{git-z1e79jk5.js → catalog-3mpptvnv.js} +6 -6
- package/dist/chunks/{git-3thh6229.js → catalog-3thh6229.js} +2 -2
- package/dist/chunks/{git-1a3a2s70.js → catalog-3zyjx98r.js} +2 -2
- package/dist/chunks/{git-qk7rx8qc.js → catalog-43wqbgjj.js} +7 -7
- package/dist/chunks/{git-4n4w1md4.js → catalog-4709chz8.js} +9 -9
- package/dist/chunks/{git-4vj6rd95.js → catalog-4b5302x6.js} +3 -3
- package/dist/chunks/{git-4s2xwh5d.js → catalog-4s2xwh5d.js} +3 -3
- package/dist/chunks/{git-4zzdwbaz.js → catalog-4zzdwbaz.js} +2 -2
- package/dist/chunks/{git-50jxp3hw.js → catalog-50jxp3hw.js} +1 -1
- package/dist/chunks/{git-0jepacjw.js → catalog-549dbc9c.js} +4 -4
- package/dist/chunks/{git-gdnn14yd.js → catalog-575x09bz.js} +8 -8
- package/dist/chunks/{git-57tzwnz4.js → catalog-57tzwnz4.js} +1 -1
- package/dist/chunks/{git-58xdvehb.js → catalog-58xdvehb.js} +1 -1
- package/dist/chunks/{git-6wnp3yqj.js → catalog-5cnwnshr.js} +5 -5
- package/dist/chunks/{git-rn9r0ddn.js → catalog-5dwqq0br.js} +14 -2
- package/dist/chunks/{git-5fe026tx.js → catalog-5fe026tx.js} +3 -3
- package/dist/chunks/{git-cqrj3jde.js → catalog-5qaat2r6.js} +5 -5
- package/dist/chunks/catalog-5rh5jejn.js +154 -0
- package/dist/chunks/{git-5rs65q6p.js → catalog-5rs65q6p.js} +1 -1
- package/dist/chunks/{git-ngyb7qgr.js → catalog-5vbfedh0.js} +6 -6
- package/dist/chunks/{git-5vcssjzn.js → catalog-5vcssjzn.js} +1 -1
- package/dist/chunks/{git-5z4zwtb4.js → catalog-5z4zwtb4.js} +2 -2
- package/dist/chunks/catalog-6272rtjg.js +49 -0
- package/dist/chunks/{git-01wyqrhm.js → catalog-629yavf1.js} +3 -3
- package/dist/chunks/{git-wy251v3f.js → catalog-64yydhdn.js} +7 -7
- package/dist/chunks/{git-qjhamyds.js → catalog-651wjfag.js} +89 -89
- package/dist/chunks/{git-j0qxbb7q.js → catalog-66f8hd2c.js} +10 -10
- package/dist/chunks/{git-rdnnfa3s.js → catalog-67bydfa5.js} +12 -12
- package/dist/chunks/{git-z7e1r3jr.js → catalog-685rg9fr.js} +8 -8
- package/dist/chunks/{git-f80bj011.js → catalog-6aejvpyx.js} +11 -11
- package/dist/chunks/{git-m7tety9m.js → catalog-6bv08t6n.js} +5 -5
- package/dist/chunks/{git-6ky7rqk7.js → catalog-6ky7rqk7.js} +1 -1
- package/dist/chunks/{git-6q0m15b3.js → catalog-6q0m15b3.js} +1 -1
- package/dist/chunks/{git-pfymzaay.js → catalog-6qcmy3m6.js} +8 -8
- package/dist/chunks/{git-rynbaj2e.js → catalog-6tv92b9d.js} +8 -8
- package/dist/chunks/{git-cng4j29p.js → catalog-7315qevx.js} +7 -7
- package/dist/chunks/{git-ena6tntt.js → catalog-74cyf8xh.js} +5 -5
- package/dist/chunks/catalog-75h1hfe2.js +60 -0
- package/dist/chunks/{git-j7a5j2mn.js → catalog-779v2c8w.js} +45 -44
- package/dist/chunks/{git-kzher49h.js → catalog-7ajx0adc.js} +3 -3
- package/dist/chunks/{git-wdexqfkb.js → catalog-7ck0vv03.js} +3 -3
- package/dist/chunks/{git-7gqqz1s8.js → catalog-7gqqz1s8.js} +1 -1
- package/dist/chunks/{git-7khw64yh.js → catalog-7khw64yh.js} +1 -1
- package/dist/chunks/{git-7mrpdsq5.js → catalog-7mrpdsq5.js} +1 -1
- package/dist/chunks/{git-1yy74zhj.js → catalog-7v75h4n9.js} +6 -6
- package/dist/chunks/{git-7wcmqxrc.js → catalog-7wcmqxrc.js} +1 -1
- package/dist/chunks/{git-pbf3s8mx.js → catalog-81bwhscc.js} +13 -13
- package/dist/chunks/{git-jf9f6kbq.js → catalog-84n2zwd0.js} +3 -3
- package/dist/chunks/{git-1fe7xj3w.js → catalog-85a7amfp.js} +78 -69
- package/dist/chunks/{git-4k72je4t.js → catalog-88fveeg7.js} +30 -30
- package/dist/chunks/{git-88jbfw8z.js → catalog-88jbfw8z.js} +2 -2
- package/dist/chunks/{git-r2aqay74.js → catalog-8ash75xf.js} +1 -1
- package/dist/chunks/{git-jssw1z59.js → catalog-8djg45d1.js} +10 -10
- package/dist/chunks/{git-ebab8myq.js → catalog-8ey4ag9a.js} +8 -8
- package/dist/chunks/{git-eqe5jbak.js → catalog-8h2a0qdc.js} +9 -9
- package/dist/chunks/{git-tgmj7ryw.js → catalog-8wbfcz9g.js} +3 -3
- package/dist/chunks/{git-brytw8g2.js → catalog-8wmv526c.js} +17 -17
- package/dist/chunks/{git-8k1t3503.js → catalog-8wpe7df5.js} +14 -14
- package/dist/chunks/{git-ak0f27j9.js → catalog-94983516.js} +9 -9
- package/dist/chunks/{git-999qd968.js → catalog-999qd968.js} +1 -1
- package/dist/chunks/{git-9f0rnpkn.js → catalog-9f0rnpkn.js} +1 -1
- package/dist/chunks/{git-9p8mhgdp.js → catalog-9p22jmaw.js} +1 -1
- package/dist/chunks/{git-3gsv1x0v.js → catalog-9tbj2q0z.js} +3 -13
- package/dist/chunks/{git-m9xenbgw.js → catalog-9wf99b5p.js} +4 -3
- package/dist/chunks/{git-vb2jbxaj.js → catalog-a0ks8c7v.js} +15 -15
- package/dist/chunks/{git-2ya5073c.js → catalog-aaxez5kq.js} +1 -1
- package/dist/chunks/{git-ayfwnm78.js → catalog-ayfwnm78.js} +2 -2
- package/dist/chunks/{git-mb39y62z.js → catalog-azhj89w6.js} +89 -89
- package/dist/chunks/{git-agf7v117.js → catalog-b56txxfx.js} +3 -3
- package/dist/chunks/{git-8jd8s42k.js → catalog-b66d5syv.js} +35 -35
- package/dist/chunks/{git-bh1wr8rq.js → catalog-bh1wr8rq.js} +2 -2
- package/dist/chunks/{git-tjjf1q77.js → catalog-bmd659vv.js} +1 -1
- package/dist/chunks/{git-byab506k.js → catalog-byab506k.js} +1 -1
- package/dist/chunks/{git-c4wcb9vc.js → catalog-c4wcb9vc.js} +2 -2
- package/dist/chunks/{git-z4dasg56.js → catalog-c6jb0ah5.js} +14 -13
- package/dist/chunks/{git-86y3eq0a.js → catalog-cbh18bmx.js} +6 -6
- package/dist/chunks/{git-krr6prbf.js → catalog-cgsnj6v0.js} +68 -27
- package/dist/chunks/{git-cz3dkvcz.js → catalog-cz3dkvcz.js} +1 -1
- package/dist/chunks/{git-879p9mev.js → catalog-d0k80pbn.js} +6 -6
- package/dist/chunks/{git-d2gk9vpf.js → catalog-d2gk9vpf.js} +2 -2
- package/dist/chunks/{git-d4ax61k3.js → catalog-d4ax61k3.js} +2 -2
- package/dist/chunks/{git-nt1zxhfk.js → catalog-df6xb36f.js} +36 -36
- package/dist/chunks/{git-dhphtf1x.js → catalog-dhphtf1x.js} +1 -1
- package/dist/chunks/{git-921rm6n3.js → catalog-dkyx0ss3.js} +38 -27
- package/dist/chunks/{git-rwwmwm0q.js → catalog-dpr5mefk.js} +12 -12
- package/dist/chunks/{git-ecgp7c7a.js → catalog-dsqryyvx.js} +5 -5
- package/dist/chunks/{git-5xrsrne4.js → catalog-dvt8wt6j.js} +3 -3
- package/dist/chunks/{git-44evct1p.js → catalog-dymjgt7g.js} +7 -7
- package/dist/chunks/{git-dyrphakh.js → catalog-dyrphakh.js} +2 -2
- package/dist/chunks/{git-e1z9a0ts.js → catalog-e1z9a0ts.js} +2 -2
- package/dist/chunks/{git-wy6a3p92.js → catalog-e54nttds.js} +4 -4
- package/dist/chunks/{git-7jakpvwa.js → catalog-e570e6me.js} +10 -10
- package/dist/chunks/{git-8gp1tmat.js → catalog-e9yzz6kb.js} +3 -3
- package/dist/chunks/{git-ec8vrfw5.js → catalog-ec8vrfw5.js} +1 -1
- package/dist/chunks/{git-sw4t8yqc.js → catalog-ecskjnn3.js} +4 -4
- package/dist/chunks/{git-44dvb17h.js → catalog-ekh8mahe.js} +12 -12
- package/dist/chunks/{git-yb5aqm00.js → catalog-epm9hnqz.js} +6 -6
- package/dist/chunks/{git-bzwh3thg.js → catalog-eze1rgsz.js} +8 -8
- package/dist/chunks/{git-ztjk4rav.js → catalog-f11jbhcb.js} +6 -6
- package/dist/chunks/{git-d3pzqerb.js → catalog-f38gkkyg.js} +13 -13
- package/dist/chunks/{git-f9wt0tjw.js → catalog-f9wt0tjw.js} +2 -2
- package/dist/chunks/{git-fb7nfzf2.js → catalog-fb7nfzf2.js} +3 -3
- package/dist/chunks/{git-8rmxgvgs.js → catalog-fe84fkp0.js} +13 -13
- package/dist/chunks/{git-h1ncgres.js → catalog-fen5rf2p.js} +9 -9
- package/dist/chunks/{git-g7t6p8r2.js → catalog-fsqnkees.js} +1 -1
- package/dist/chunks/{git-ndyh9vaq.js → catalog-fx7v5ega.js} +17 -14
- package/dist/chunks/{git-hhxt27np.js → catalog-fyegnnfc.js} +2 -2
- package/dist/chunks/{git-gcay93cp.js → catalog-gcay93cp.js} +1 -1
- package/dist/chunks/{git-gd2xppx8.js → catalog-gd2xppx8.js} +1 -1
- package/dist/chunks/{git-hccaf72m.js → catalog-gdqrre83.js} +2 -2
- package/dist/chunks/{git-bea5f50t.js → catalog-ghwr57sz.js} +62 -70
- package/dist/chunks/{git-7qr6f96y.js → catalog-gp2astn8.js} +3 -3
- package/dist/chunks/{git-wf4a76gf.js → catalog-gqf5hvts.js} +10 -10
- package/dist/chunks/{git-jf35ek5b.js → catalog-h846wrk2.js} +1 -0
- package/dist/chunks/{git-wptv627x.js → catalog-h94zdhz8.js} +6 -12
- package/dist/chunks/{git-09a1gwmv.js → catalog-hbf2ce9g.js} +9 -9
- package/dist/chunks/{git-2jey3ssn.js → catalog-hfj2xkch.js} +6 -6
- package/dist/chunks/{git-djkt4gex.js → catalog-hhajr42d.js} +4 -1
- package/dist/chunks/{git-t28pnn4t.js → catalog-hjwejw8w.js} +156 -155
- package/dist/chunks/{git-7ce7ehgj.js → catalog-hmhr3fxg.js} +12 -12
- package/dist/chunks/{git-bj8y662d.js → catalog-hp2a7dw7.js} +4 -4
- package/dist/chunks/{git-hp6rpdnc.js → catalog-hp6rpdnc.js} +1 -1
- package/dist/chunks/{git-hqh8yks9.js → catalog-hqh8yks9.js} +3 -3
- package/dist/chunks/{git-9mzf6szv.js → catalog-j22pac82.js} +10 -10
- package/dist/chunks/{git-j2rwtkhe.js → catalog-j2rwtkhe.js} +4 -4
- package/dist/chunks/{git-h3kcef9b.js → catalog-j5q8scqt.js} +8 -8
- package/dist/chunks/{git-5gy4hq5s.js → catalog-j67g4aak.js} +4 -4
- package/dist/chunks/{git-2g1xncrb.js → catalog-j97gky93.js} +9 -9
- package/dist/chunks/{git-307ez084.js → catalog-jam03wk1.js} +8 -8
- package/dist/chunks/{git-mspw2rx2.js → catalog-jert0xsa.js} +7 -7
- package/dist/chunks/{git-f42tt8af.js → catalog-jw4esz80.js} +3 -3
- package/dist/chunks/{git-atj92e5a.js → catalog-k1m3pf5g.js} +4 -3
- package/dist/chunks/{git-k42t1tha.js → catalog-k42t1tha.js} +2 -2
- package/dist/chunks/{git-n0n49zdt.js → catalog-kay5v160.js} +6 -6
- package/dist/chunks/{git-kg1345f7.js → catalog-kg1345f7.js} +1 -1
- package/dist/chunks/{git-kp1t5rcy.js → catalog-kp1t5rcy.js} +1 -1
- package/dist/chunks/{git-3gfqvefp.js → catalog-kp42gb3b.js} +6 -6
- package/dist/chunks/{git-rhcjfff0.js → catalog-ktejnfjm.js} +3 -3
- package/dist/chunks/{git-d01wnhc5.js → catalog-m0ebj05k.js} +2 -2
- package/dist/chunks/{git-mf0hyk7z.js → catalog-mf0hyk7z.js} +1 -1
- package/dist/chunks/{git-mh28new4.js → catalog-mh28new4.js} +2 -2
- package/dist/chunks/{git-mnb85w6b.js → catalog-mnb85w6b.js} +2 -2
- package/dist/chunks/{git-efq949nf.js → catalog-mwytkbz0.js} +3 -3
- package/dist/chunks/{git-mxvw03gv.js → catalog-mxvw03gv.js} +1 -1
- package/dist/chunks/{git-gg8gy1ab.js → catalog-n1x4rjqh.js} +2 -2
- package/dist/chunks/{git-94zyzgnr.js → catalog-n83p5n31.js} +7 -7
- package/dist/chunks/{git-nesb2rcz.js → catalog-nesb2rcz.js} +2 -2
- package/dist/chunks/{git-89zjz1m6.js → catalog-nh4agav9.js} +10 -9
- package/dist/chunks/{git-nr76rjj3.js → catalog-nr76rjj3.js} +2 -2
- package/dist/chunks/{git-ambzzkps.js → catalog-nsb760q1.js} +8 -8
- package/dist/chunks/{git-rrq7d245.js → catalog-nsg2jve1.js} +5 -5
- package/dist/chunks/{git-nzrjycs5.js → catalog-nzrjycs5.js} +1 -1
- package/dist/chunks/{git-p1xvm7za.js → catalog-p1xvm7za.js} +3 -3
- package/dist/chunks/{git-7e6c1h0a.js → catalog-p47dakh7.js} +9 -9
- package/dist/chunks/{git-epzxjdf4.js → catalog-p7764ja1.js} +4 -4
- package/dist/chunks/{git-4gcr3q2j.js → catalog-p8xca47a.js} +4 -3
- package/dist/chunks/{git-nbx3yrwm.js → catalog-pk0rw4zw.js} +4 -4
- package/dist/chunks/{git-baz774rb.js → catalog-pm7nq23c.js} +2 -2
- package/dist/chunks/{git-pq4b4pqk.js → catalog-pq4b4pqk.js} +2 -2
- package/dist/chunks/{git-cve546b2.js → catalog-q7kk6b5b.js} +2 -2
- package/dist/chunks/{git-qe0d689s.js → catalog-qe0d689s.js} +2 -2
- package/dist/chunks/{git-qhdqjp31.js → catalog-qhdqjp31.js} +1 -1
- package/dist/chunks/{git-72mk93c8.js → catalog-qqbejyb8.js} +13 -13
- package/dist/chunks/{git-v3yfwq66.js → catalog-qr7xd35d.js} +6 -6
- package/dist/chunks/{git-awznyemp.js → catalog-r2kgg56h.js} +4 -4
- package/dist/chunks/{git-r3k9abhd.js → catalog-r3k9abhd.js} +2 -2
- package/dist/chunks/{git-rahat93a.js → catalog-rahat93a.js} +1 -1
- package/dist/chunks/{git-rfbm65k8.js → catalog-rfbm65k8.js} +1 -1
- package/dist/chunks/{git-z1k38htq.js → catalog-rh0fhc2g.js} +13 -13
- package/dist/chunks/{git-w4t1kgda.js → catalog-rqg29gfc.js} +4 -4
- package/dist/chunks/{git-dg19sz68.js → catalog-rwhhrhks.js} +4 -49
- package/dist/chunks/{git-ztwyyk9y.js → catalog-s2na79zb.js} +5 -5
- package/dist/chunks/{git-s33fw6zm.js → catalog-s33fw6zm.js} +1 -1
- package/dist/chunks/{git-5208dr8k.js → catalog-s76vtq24.js} +4 -4
- package/dist/chunks/{git-9n1mxapm.js → catalog-sd5vej5y.js} +10 -6
- package/dist/chunks/{git-se1aqaya.js → catalog-se1aqaya.js} +3 -3
- package/dist/chunks/{git-smpeg8c9.js → catalog-smpeg8c9.js} +2 -2
- package/dist/chunks/{git-6b7k2xqk.js → catalog-sr8tbfg9.js} +6 -6
- package/dist/chunks/{git-sw84ckhj.js → catalog-sw84ckhj.js} +1 -1
- package/dist/chunks/{git-t14kykx1.js → catalog-t14kykx1.js} +1 -1
- package/dist/chunks/{git-tb33ng7x.js → catalog-tb33ng7x.js} +2 -2
- package/dist/chunks/{git-d8v50tjc.js → catalog-tc36pq4f.js} +2 -2
- package/dist/chunks/{git-tcptxgyq.js → catalog-tcptxgyq.js} +1 -1
- package/dist/chunks/{git-1a7rm6pv.js → catalog-tejgc6mp.js} +4 -4
- package/dist/chunks/{git-thstd87d.js → catalog-thstd87d.js} +1 -1
- package/dist/chunks/{git-54mx8hqe.js → catalog-tpere7ej.js} +3 -3
- package/dist/chunks/{git-v2wshkax.js → catalog-v2wshkax.js} +1 -1
- package/dist/chunks/{git-v80zsxnb.js → catalog-v80zsxnb.js} +1 -1
- package/dist/chunks/{git-v972xay6.js → catalog-v972xay6.js} +1 -1
- package/dist/chunks/{git-v9bfv94f.js → catalog-v9bfv94f.js} +1 -1
- package/dist/chunks/{git-vcwr2vpf.js → catalog-vcwr2vpf.js} +1 -1
- package/dist/chunks/{git-vqbmgfq1.js → catalog-vqbmgfq1.js} +3 -3
- package/dist/chunks/{git-vz89hfgr.js → catalog-vz89hfgr.js} +1 -1
- package/dist/chunks/{git-4dd6wbg7.js → catalog-w813h7fc.js} +14 -14
- package/dist/chunks/{git-g8nh1kn6.js → catalog-w8qtwmpk.js} +5 -14
- package/dist/chunks/{git-f0r31tgk.js → catalog-w9m8wvvn.js} +6 -5
- package/dist/chunks/{git-wbkt8qpj.js → catalog-wbkt8qpj.js} +1 -1
- package/dist/chunks/{git-wd268jeg.js → catalog-wd268jeg.js} +1 -1
- package/dist/chunks/{git-b3yvvq1h.js → catalog-wg6yn6gv.js} +23 -23
- package/dist/chunks/{git-wmxdh12w.js → catalog-wmxdh12w.js} +1 -1
- package/dist/chunks/{git-wps8gh8n.js → catalog-wps8gh8n.js} +2 -2
- package/dist/chunks/{git-r4ry4g45.js → catalog-wrw92r0k.js} +9 -9
- package/dist/chunks/{git-vxeec1rk.js → catalog-wyhbzfqm.js} +3 -3
- package/dist/chunks/{git-erx0e5jv.js → catalog-xb94v84b.js} +6 -6
- package/dist/chunks/{git-xczfw7dq.js → catalog-xczfw7dq.js} +1 -1
- package/dist/chunks/{git-3tfecz8k.js → catalog-xendbn1m.js} +10 -10
- package/dist/chunks/{git-c9tk9ghs.js → catalog-xfry7hk8.js} +2 -2
- package/dist/chunks/{git-xgv25zxy.js → catalog-xgv25zxy.js} +1 -1
- package/dist/chunks/{git-1z3j6sfx.js → catalog-xtd0h4q6.js} +11 -11
- package/dist/chunks/{git-xwftk1fd.js → catalog-xwftk1fd.js} +2 -2
- package/dist/chunks/{git-xxpvz42q.js → catalog-xxpvz42q.js} +3 -3
- package/dist/chunks/{git-y0x38cee.js → catalog-y0x38cee.js} +1 -1
- package/dist/chunks/{git-y198y2ra.js → catalog-y198y2ra.js} +1 -1
- package/dist/chunks/{git-sp1xganf.js → catalog-y37e9d0z.js} +4 -4
- package/dist/chunks/{git-y67x6rf6.js → catalog-y67x6rf6.js} +1 -1
- package/dist/chunks/{git-8hn4g1kr.js → catalog-y8n2nw50.js} +5 -5
- package/dist/chunks/{git-y980s7ka.js → catalog-y980s7ka.js} +3 -3
- package/dist/chunks/{git-ybhfpy64.js → catalog-ybhfpy64.js} +2 -2
- package/dist/chunks/{git-yf0knd5z.js → catalog-yf0knd5z.js} +2 -2
- package/dist/chunks/{git-ygy0xbqa.js → catalog-ygy0xbqa.js} +3 -3
- package/dist/chunks/{git-1wndhyvh.js → catalog-yxvzvz5t.js} +2 -2
- package/dist/chunks/{git-0vgt3zn6.js → catalog-z6xdhe6c.js} +2 -2
- package/dist/chunks/{git-zbqqnp0n.js → catalog-zbqqnp0n.js} +1 -1
- package/dist/chunks/{git-sraez6y7.js → catalog-zc1ddzje.js} +3 -3
- package/dist/chunks/{git-4yhp2ghs.js → catalog-zc3ecxr0.js} +7 -7
- package/dist/chunks/{git-zdkg1k91.js → catalog-zdkg1k91.js} +1 -1
- package/dist/chunks/{git-11kkgc0m.js → catalog-zq04hpk1.js} +5 -5
- package/dist/chunks/{git-nm3k5dc1.js → catalog-zv1eg490.js} +2 -2
- package/dist/chunks/{git-sp3btj1c.js → catalog-zwce0ey6.js} +3 -3
- package/dist/chunks/{git-zxcy6vhn.js → catalog-zxcy6vhn.js} +1 -1
- package/dist/chunks/{git-zxe9jjhn.js → catalog-zxe9jjhn.js} +2 -2
- package/dist/chunks/{git-w50krrh1.js → catalog-zygg08yx.js} +3 -3
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +70 -74
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +135 -134
- package/dist/config/plugin/command.js +118 -117
- package/dist/config/plugin/compaction.js +170 -169
- package/dist/config/plugin/entry-observer.js +114 -113
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +130 -129
- package/dist/config/plugin/instruction.js +90 -89
- package/dist/config/plugin/location-watcher.js +117 -116
- package/dist/config/plugin/mcp.js +127 -126
- package/dist/config/plugin/policy.js +116 -115
- package/dist/config/plugin/provider.js +115 -114
- package/dist/config/plugin/reference.js +119 -118
- package/dist/config/plugin/shell.js +118 -117
- package/dist/config/plugin/skill-file.js +108 -107
- package/dist/config/plugin/skill.js +138 -137
- package/dist/config/plugin/snapshot.js +117 -116
- package/dist/config/plugin/source.js +114 -113
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +115 -114
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -112
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -75
- package/dist/database/database.js +65 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -16
- package/dist/database/drizzle/effect-sqlite/index.js +13 -16
- package/dist/database/drizzle/effect-sqlite/session.js +12 -15
- package/dist/database/drizzle/index.js +14 -21
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +19 -24
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +12 -17
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -22
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +75 -79
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +327 -330
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -90
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +91 -90
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -72
- package/dist/file-mutation.js +92 -91
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- 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 +3 -3
- package/dist/filesystem/location-watcher.js +307 -310
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -95
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +96 -95
- package/dist/form.js +69 -73
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -84
- package/dist/generate.js +84 -88
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +20 -20
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +98 -97
- package/dist/image.js +98 -97
- package/dist/instruction-discovery.js +72 -76
- package/dist/instructions/builtins.js +86 -85
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -79
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -72
- package/dist/location-activity.js +85 -84
- package/dist/location-mutation.js +84 -83
- package/dist/location-service-map.js +84 -83
- package/dist/location-services.js +327 -330
- package/dist/location.js +83 -82
- package/dist/mcp/client.js +92 -91
- package/dist/mcp/index.js +98 -97
- package/dist/mcp/instructions.js +128 -127
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +92 -91
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -85
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -79
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +84 -83
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +105 -104
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +70 -74
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +70 -74
- package/dist/plugin/agent.js +106 -105
- package/dist/plugin/command.js +99 -98
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +170 -169
- package/dist/plugin/internal.js +301 -302
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -80
- package/dist/plugin/module.js +10 -0
- package/dist/plugin/plan.js +106 -105
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +121 -120
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -121
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +119 -118
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -86
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/groq.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -81
- package/dist/plugin/provider/lmstudio.js +114 -113
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +114 -113
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -83
- package/dist/plugin/provider/opencode.js +93 -97
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +114 -113
- package/dist/plugin/provider/xai.js +78 -82
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +158 -159
- package/dist/plugin/runtime.js +156 -155
- package/dist/plugin/sdk.js +69 -73
- package/dist/plugin/skill.js +136 -135
- package/dist/plugin/source-directory.js +11 -0
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +306 -309
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -84
- package/dist/plugin/vcs/hg.js +85 -84
- package/dist/plugin/warming.js +115 -114
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +171 -170
- package/dist/project/markers.js +83 -0
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -81
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +70 -74
- package/dist/pty.js +89 -88
- package/dist/reference/instructions.js +77 -81
- package/dist/reference.js +75 -79
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -93
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +142 -141
- package/dist/session/context.js +313 -316
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +121 -120
- package/dist/session/execution.js +121 -120
- package/dist/session/generate-node.js +314 -317
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +77 -81
- package/dist/session/inbox.js +77 -81
- package/dist/session/info.js +92 -91
- package/dist/session/instruction-entry.js +73 -77
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +101 -100
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +138 -137
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +90 -94
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +90 -89
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -88
- package/dist/session/runner/llm.js +319 -322
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -87
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -76
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -75
- package/dist/session/store.js +100 -99
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +140 -139
- package/dist/session/to-session-error.js +116 -115
- package/dist/session/transfer.js +158 -156
- package/dist/session/usage.js +2 -2
- package/dist/session.js +154 -153
- package/dist/shell/parse.js +5 -5
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +99 -98
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +107 -106
- package/dist/skill.js +108 -105
- package/dist/snapshot.js +85 -84
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +127 -126
- package/dist/tool/plugin/edit.js +115 -114
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +117 -116
- package/dist/tool/plugin/grep.js +117 -116
- package/dist/tool/plugin/patch.js +115 -114
- package/dist/tool/plugin/question.js +107 -106
- package/dist/tool/plugin/read.js +120 -119
- package/dist/tool/plugin/shell.js +186 -185
- package/dist/tool/plugin/skill.js +107 -106
- package/dist/tool/plugin/subagent.js +183 -182
- package/dist/tool/plugin/webfetch.js +108 -107
- package/dist/tool/plugin/websearch.js +110 -109
- package/dist/tool/plugin/write.js +115 -114
- package/dist/tool/read-filesystem.js +98 -97
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +120 -119
- package/dist/types/config/plugin/formatter.d.ts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/database/drizzle/index.d.ts +0 -1
- package/dist/types/database/drizzle/sqlite-core/effect/session.d.ts +0 -6
- package/dist/types/integration.d.ts +2 -0
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +1 -1
- package/dist/types/location.d.ts +1 -0
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/model.d.ts +3 -0
- package/dist/types/plugin/host.d.ts +8 -1
- package/dist/types/plugin/internal.d.ts +3 -3
- package/dist/types/plugin/module.d.ts +24 -0
- package/dist/types/plugin/runtime.d.ts +1 -1
- package/dist/types/plugin/source-directory.d.ts +5 -0
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/project/markers.d.ts +16 -0
- package/dist/types/project/schema.d.ts +8 -11
- package/dist/types/project/sql.d.ts +1 -1
- package/dist/types/project.d.ts +6 -8
- package/dist/types/session/compaction.d.ts +1 -0
- package/dist/types/session/history.d.ts +5 -0
- package/dist/types/session/inbox.d.ts +5 -0
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +2 -0
- package/dist/types/skill.d.ts +6 -0
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +61 -60
- package/dist/types/wellknown.d.ts +4 -4
- package/dist/types/worktree.d.ts +20 -0
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +86 -85
- package/dist/websearch.js +73 -77
- package/dist/wellknown/plugin.js +73 -77
- package/dist/wellknown.js +72 -76
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -73
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +87 -86
- package/package.json +8 -11
- package/dist/chunks/git-159p2nve.js +0 -12
- package/dist/chunks/git-4zg0gww9.js +0 -55
- package/dist/chunks/git-f84sxdqn.js +0 -49
- package/dist/chunks/git-hsyk7kfz.js +0 -56
- package/dist/chunks/git-jssy2dr3.js +0 -18
- package/dist/chunks/git-pfqehjmy.js +0 -18
- package/dist/database/drizzle/effect-sqlite/migrator.js +0 -20
- package/dist/database/drizzle/up-migrations/effect-sqlite.js +0 -9
- package/dist/database/drizzle/up-migrations/sqlite.js +0 -9
- package/dist/database/drizzle/up-migrations/utils.js +0 -9
- package/dist/plugin/provider/deepinfra.js +0 -8
- package/dist/plugin/provider/togetherai.js +0 -8
- package/dist/types/database/drizzle/effect-sqlite/migrator.d.ts +0 -4
- package/dist/types/database/drizzle/up-migrations/effect-sqlite.d.ts +0 -8
- package/dist/types/database/drizzle/up-migrations/sqlite.d.ts +0 -26
- package/dist/types/database/drizzle/up-migrations/utils.d.ts +0 -21
- package/dist/types/plugin/provider/deepinfra.d.ts +0 -1
- package/dist/types/plugin/provider/togetherai.d.ts +0 -1
- /package/dist/chunks/{git-0cgt0xh2.js → catalog-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{git-0f48qthw.js → catalog-0f48qthw.js} +0 -0
- /package/dist/chunks/{git-0zz82cjq.js → catalog-0zz82cjq.js} +0 -0
- /package/dist/chunks/{git-1fb7bmpf.js → catalog-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{git-1wcz8fvj.js → catalog-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{git-2qdx6zz3.js → catalog-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{git-2xb0r1c6.js → catalog-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{git-39ktntah.js → catalog-39ktntah.js} +0 -0
- /package/dist/chunks/{git-3g3rpp2x.js → catalog-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{git-3q6gbwmd.js → catalog-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{git-3w3ybtfd.js → catalog-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{git-47ty4mvs.js → catalog-47ty4mvs.js} +0 -0
- /package/dist/chunks/{git-4b2tz2m9.js → catalog-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{git-5a5ch9ts.js → catalog-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{git-5va1yh78.js → catalog-5va1yh78.js} +0 -0
- /package/dist/chunks/{git-61ek4hj9.js → catalog-61ek4hj9.js} +0 -0
- /package/dist/chunks/{git-69qrqpw0.js → catalog-69qrqpw0.js} +0 -0
- /package/dist/chunks/{git-6zqxzw0a.js → catalog-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{git-7n9qwqk4.js → catalog-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{git-8nn8kqcn.js → catalog-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{git-8rpfd2h6.js → catalog-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{git-8sj3ajy5.js → catalog-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{git-8w9tzfz1.js → catalog-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{git-906y0b6d.js → catalog-906y0b6d.js} +0 -0
- /package/dist/chunks/{git-9dct5xhx.js → catalog-9dct5xhx.js} +0 -0
- /package/dist/chunks/{git-9sdtsapf.js → catalog-9sdtsapf.js} +0 -0
- /package/dist/chunks/{git-a02svayp.js → catalog-a02svayp.js} +0 -0
- /package/dist/chunks/{git-a83yvq99.js → catalog-a83yvq99.js} +0 -0
- /package/dist/chunks/{git-ayevdmef.js → catalog-ayevdmef.js} +0 -0
- /package/dist/chunks/{git-b02txbh8.js → catalog-b02txbh8.js} +0 -0
- /package/dist/chunks/{git-bbqs2y60.js → catalog-bbqs2y60.js} +0 -0
- /package/dist/chunks/{git-bjwj8hwv.js → catalog-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{git-brsh5f65.js → catalog-brsh5f65.js} +0 -0
- /package/dist/chunks/{git-bxdhjb3y.js → catalog-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{git-c77ad0vh.js → catalog-c77ad0vh.js} +0 -0
- /package/dist/chunks/{git-ck5pgha0.js → catalog-ck5pgha0.js} +0 -0
- /package/dist/chunks/{git-cm67rqy2.js → catalog-cm67rqy2.js} +0 -0
- /package/dist/chunks/{git-df3v2q6j.js → catalog-df3v2q6j.js} +0 -0
- /package/dist/chunks/{git-dhcq6c44.js → catalog-dhcq6c44.js} +0 -0
- /package/dist/chunks/{git-dht5baf0.js → catalog-dht5baf0.js} +0 -0
- /package/dist/chunks/{git-dkmkay92.js → catalog-dkmkay92.js} +0 -0
- /package/dist/chunks/{git-drean1vx.js → catalog-drean1vx.js} +0 -0
- /package/dist/chunks/{git-ehj9csmv.js → catalog-ehj9csmv.js} +0 -0
- /package/dist/chunks/{git-em6xpscd.js → catalog-em6xpscd.js} +0 -0
- /package/dist/chunks/{git-emmqknsm.js → catalog-emmqknsm.js} +0 -0
- /package/dist/chunks/{git-ezs3tagn.js → catalog-ezs3tagn.js} +0 -0
- /package/dist/chunks/{git-f14r7hfz.js → catalog-f14r7hfz.js} +0 -0
- /package/dist/chunks/{git-f4cp4g4a.js → catalog-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{git-faypg4r1.js → catalog-faypg4r1.js} +0 -0
- /package/dist/chunks/{git-fgbfdq62.js → catalog-fgbfdq62.js} +0 -0
- /package/dist/chunks/{git-gd5xeqc2.js → catalog-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{git-ghm4673n.js → catalog-ghm4673n.js} +0 -0
- /package/dist/chunks/{git-ghwjy7my.js → catalog-ghwjy7my.js} +0 -0
- /package/dist/chunks/{git-gqn2zsfg.js → catalog-gqn2zsfg.js} +0 -0
- /package/dist/chunks/{git-gy500k2r.js → catalog-gy500k2r.js} +0 -0
- /package/dist/chunks/{git-hzeg9cfr.js → catalog-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{git-j07kk359.js → catalog-j07kk359.js} +0 -0
- /package/dist/chunks/{git-jve7t217.js → catalog-jve7t217.js} +0 -0
- /package/dist/chunks/{git-k3e42drn.js → catalog-k3e42drn.js} +0 -0
- /package/dist/chunks/{git-k8b45nas.js → catalog-k8b45nas.js} +0 -0
- /package/dist/chunks/{git-kcacmy5c.js → catalog-kcacmy5c.js} +0 -0
- /package/dist/chunks/{git-kpdbz7gn.js → catalog-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{git-kxy11nzk.js → catalog-kxy11nzk.js} +0 -0
- /package/dist/chunks/{git-kyyqvx4s.js → catalog-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{git-m8cbvarh.js → catalog-m8cbvarh.js} +0 -0
- /package/dist/chunks/{git-ma60vzgv.js → catalog-ma60vzgv.js} +0 -0
- /package/dist/chunks/{git-n39vvkp0.js → catalog-n39vvkp0.js} +0 -0
- /package/dist/chunks/{git-n3m50c2t.js → catalog-n3m50c2t.js} +0 -0
- /package/dist/chunks/{git-nkm1m8dz.js → catalog-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{git-nsc0c3zb.js → catalog-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{git-qaarhjrp.js → catalog-qaarhjrp.js} +0 -0
- /package/dist/chunks/{git-qc167nrn.js → catalog-qc167nrn.js} +0 -0
- /package/dist/chunks/{git-qp95y4jb.js → catalog-qp95y4jb.js} +0 -0
- /package/dist/chunks/{git-r8f4w671.js → catalog-r8f4w671.js} +0 -0
- /package/dist/chunks/{git-rdfev9jy.js → catalog-rdfev9jy.js} +0 -0
- /package/dist/chunks/{git-rvfvac9x.js → catalog-rvfvac9x.js} +0 -0
- /package/dist/chunks/{git-s7whb9gt.js → catalog-s7whb9gt.js} +0 -0
- /package/dist/chunks/{git-se76j685.js → catalog-se76j685.js} +0 -0
- /package/dist/chunks/{git-sem2g21k.js → catalog-sem2g21k.js} +0 -0
- /package/dist/chunks/{git-tmb1f636.js → catalog-tmb1f636.js} +0 -0
- /package/dist/chunks/{git-ttxf0gsy.js → catalog-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{git-tvmhrvfj.js → catalog-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{git-v2adqbbe.js → catalog-v2adqbbe.js} +0 -0
- /package/dist/chunks/{git-vkvb1sb3.js → catalog-vkvb1sb3.js} +0 -0
- /package/dist/chunks/{git-wj4sxzqa.js → catalog-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{git-wwntjmk1.js → catalog-wwntjmk1.js} +0 -0
- /package/dist/chunks/{git-wyqjaaa5.js → catalog-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{git-x4q807cx.js → catalog-x4q807cx.js} +0 -0
- /package/dist/chunks/{git-xt0068v8.js → catalog-xt0068v8.js} +0 -0
- /package/dist/chunks/{git-yrqrg4vp.js → catalog-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{git-z47nswr2.js → catalog-z47nswr2.js} +0 -0
- /package/dist/chunks/{git-zsf8rs93.js → catalog-zsf8rs93.js} +0 -0
package/dist/types/location.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * as Location from "./location.js";
|
|
|
6
6
|
export { Info, Ref, response };
|
|
7
7
|
export interface Interface extends Info {
|
|
8
8
|
readonly vcs?: Project.Vcs;
|
|
9
|
+
readonly vcsBackend?: string;
|
|
9
10
|
}
|
|
10
11
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Location", Interface>;
|
|
11
12
|
export declare class Service extends Service_base {
|
|
@@ -263,6 +263,6 @@ export declare const Options: Schema.Struct<{
|
|
|
263
263
|
}>>;
|
|
264
264
|
}>;
|
|
265
265
|
export type Options = typeof Options.Type;
|
|
266
|
-
export declare const layer: (options?: Options) => Layer.Layer<Service, never,
|
|
266
|
+
export declare const layer: (options?: Options) => Layer.Layer<Service, never, Credential.Service | Bus.Service | Location.Service | Form.Service | Integration.Service | Environment.Service>;
|
|
267
267
|
export declare function configured(options?: Options): import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
268
268
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
package/dist/types/model.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const ReasoningField: import("effect/Schema").Codec<Model.Reasoni
|
|
|
11
11
|
export type ReasoningField = Model.ReasoningField;
|
|
12
12
|
export declare const Compatibility: import("effect/Schema").Struct<{
|
|
13
13
|
readonly reasoningField: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Codec<Model.ReasoningField, Model.ReasoningField, never, never>>>, import("effect/Schema").optionalKey<import("effect/Schema").Codec<Model.ReasoningField, Model.ReasoningField, never, never>>, never, never>;
|
|
14
|
+
readonly requireReasoning: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
14
15
|
readonly maxTokensField: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["max_completion_tokens", "max_tokens"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["max_completion_tokens", "max_tokens"]>>, never, never>;
|
|
15
16
|
readonly requireFinishReason: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
16
17
|
readonly requireAssistantAfterTool: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
@@ -138,11 +139,13 @@ export declare const Info: import("effect/Schema").Struct<{
|
|
|
138
139
|
readonly name: import("effect/Schema").String;
|
|
139
140
|
readonly compatibility: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
140
141
|
readonly reasoningField: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Codec<Model.ReasoningField, Model.ReasoningField, never, never>>>, import("effect/Schema").optionalKey<import("effect/Schema").Codec<Model.ReasoningField, Model.ReasoningField, never, never>>, never, never>;
|
|
142
|
+
readonly requireReasoning: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
141
143
|
readonly maxTokensField: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["max_completion_tokens", "max_tokens"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["max_completion_tokens", "max_tokens"]>>, never, never>;
|
|
142
144
|
readonly requireFinishReason: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
143
145
|
readonly requireAssistantAfterTool: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
144
146
|
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
145
147
|
readonly reasoningField: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Codec<Model.ReasoningField, Model.ReasoningField, never, never>>>, import("effect/Schema").optionalKey<import("effect/Schema").Codec<Model.ReasoningField, Model.ReasoningField, never, never>>, never, never>;
|
|
148
|
+
readonly requireReasoning: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
146
149
|
readonly maxTokensField: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Literals<readonly ["max_completion_tokens", "max_tokens"]>>>, import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["max_completion_tokens", "max_tokens"]>>, never, never>;
|
|
147
150
|
readonly requireFinishReason: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
148
151
|
readonly requireAssistantAfterTool: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Boolean>>, import("effect/Schema").optionalKey<import("effect/Schema").Boolean>, never, never>;
|
|
@@ -15,6 +15,7 @@ import { Model } from "../model.js";
|
|
|
15
15
|
import { MCP } from "../mcp/index.js";
|
|
16
16
|
import { PluginRuntime } from "./runtime.js";
|
|
17
17
|
import { Reference } from "../reference.js";
|
|
18
|
+
import { AbsolutePath } from "../schema.js";
|
|
18
19
|
import { Skill } from "../skill.js";
|
|
19
20
|
import { Tool } from "../tool.js";
|
|
20
21
|
import { Vcs } from "../vcs.js";
|
|
@@ -381,6 +382,12 @@ export declare const make: (plugin: Interface, pluginID?: string | undefined) =>
|
|
|
381
382
|
sessionID: import("@opencode-ai/schema/session").ID;
|
|
382
383
|
title: string;
|
|
383
384
|
}) => Effect.Effect<void, import("../session.js").NotFoundError>;
|
|
385
|
+
move: (input: {
|
|
386
|
+
sessionID: import("@opencode-ai/schema/session").ID;
|
|
387
|
+
directory: AbsolutePath;
|
|
388
|
+
workspaceID?: Location.Ref["workspaceID"];
|
|
389
|
+
delivery?: import("@opencode-ai/schema/session-inbox").Delivery;
|
|
390
|
+
}) => Effect.Effect<void, import("../session.js").NotFoundError | import("../session.js").DestinationNotFoundError | import("../session.js").DestinationNotDirectoryError | import("../session.js").DestinationUnavailableError>;
|
|
384
391
|
synthetic: (input: {
|
|
385
392
|
id?: import("@opencode-ai/schema/session-message").ID;
|
|
386
393
|
sessionID: import("@opencode-ai/schema/session").ID;
|
|
@@ -396,5 +403,5 @@ export declare const make: (plugin: Interface, pluginID?: string | undefined) =>
|
|
|
396
403
|
wait: (input: import("@opencode-ai/client/effect/api").SessionWaitInput) => Effect.Effect<void, import("../session.js").NotFoundError, never>;
|
|
397
404
|
context: (input: import("@opencode-ai/client/effect/api").SessionContextInput) => Effect.Effect<import("@opencode-ai/schema/session-message").Info[], import("../session.js").NotFoundError | import("../session.js").MessageDecodeError, never>;
|
|
398
405
|
};
|
|
399
|
-
}, never, Bus.Service | Location.Service |
|
|
406
|
+
}, never, Bus.Service | Location.Service | KV.Service | AISDK.Service | Integration.Service | Catalog.Service | Command.Service | MCP.Service | Generate.Service | PluginHooks.Service | Permission.Service | Agent.Service | Tool.Service | Reference.Service | Skill.Service | WebSearch.Service | PluginRuntime.Service | Vcs.Service>;
|
|
400
407
|
export declare function storage(kv: KV.Interface, pluginID: string): Plugin.Context["storage"];
|
|
@@ -45,12 +45,12 @@ import { Tool } from "../tool.js";
|
|
|
45
45
|
import { ToolOutput } from "../tool-output.js";
|
|
46
46
|
import { WellKnown } from "../wellknown.js";
|
|
47
47
|
import { PluginRuntime } from "./runtime.js";
|
|
48
|
-
declare const services: () => Effect.Effect<Context.Context<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service |
|
|
48
|
+
declare const services: () => Effect.Effect<Context.Context<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | MCP.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | Tool.Service | SessionCompaction.Service | InstructionDiscovery.Service | LocationWatcherPolicy.Service | Reference.Service | Snapshot.Service | Skill.Service | SkillDiscovery.Service | ToolOutput.Service | ModelsDev.Service | WebSearch.Service | Shell.Service | PluginRuntime.Service>, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | MCP.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | Tool.Service | SessionCompaction.Service | InstructionDiscovery.Service | LocationWatcherPolicy.Service | Reference.Service | Snapshot.Service | Skill.Service | SkillDiscovery.Service | ToolOutput.Service | ModelsDev.Service | WebSearch.Service | Shell.Service | PluginRuntime.Service>;
|
|
49
49
|
type ContextServices<A> = A extends Context.Context<infer R> ? R : never;
|
|
50
50
|
export type Requirements = ContextServices<Effect.Success<ReturnType<typeof services>>>;
|
|
51
|
-
export declare const requirements: LayerNode.Node<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service |
|
|
51
|
+
export declare const requirements: LayerNode.Node<Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | MCP.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | Tool.Service | SessionCompaction.Service | InstructionDiscovery.Service | LocationWatcherPolicy.Service | Reference.Service | Snapshot.Service | Skill.Service | SkillDiscovery.Service | ToolOutput.Service | ModelsDev.Service | WebSearch.Service | Shell.Service | PluginRuntime.Service, never, LayerNode.Tag<"global"> | LayerNode.Tag<"location">>;
|
|
52
52
|
export type InternalPlugin = Plugin<Requirements | Scope.Scope>;
|
|
53
53
|
export declare const list: () => Effect.Effect<{
|
|
54
54
|
pre: Plugin<Scope.Scope>[];
|
|
55
55
|
post: Plugin<Scope.Scope>[];
|
|
56
|
-
}, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service |
|
|
56
|
+
}, never, Global.Service | HttpClient.HttpClient | FSUtil.Service | AppProcess.Service | Npm.Service | Credential.Service | Bus.Service | Location.Service | Watcher.Service | KV.Service | WellKnown.Service | Config.Service | ConfigPluginSource.Service | Form.Service | Integration.Service | Catalog.Service | Command.Service | Environment.Service | MCP.Service | FileMutation.Service | Formatter.Service | Ripgrep.Service | FileSystem.Service | Image.Service | Permission.Service | Agent.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service | ShellSelect.Service | Tool.Service | SessionCompaction.Service | InstructionDiscovery.Service | LocationWatcherPolicy.Service | Reference.Service | Snapshot.Service | Skill.Service | SkillDiscovery.Service | ToolOutput.Service | ModelsDev.Service | WebSearch.Service | Shell.Service | PluginRuntime.Service>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * as PluginModule from "./module.js";
|
|
2
|
+
import { Npm } from "@opencode-ai/util/npm";
|
|
3
|
+
import { Effect, Schema } from "effect";
|
|
4
|
+
export declare const load: (operation: {
|
|
5
|
+
readonly type: "add";
|
|
6
|
+
readonly target: string;
|
|
7
|
+
readonly options: Record<string, unknown>;
|
|
8
|
+
readonly mtime?: number;
|
|
9
|
+
}) => Effect.Effect<{
|
|
10
|
+
id: string;
|
|
11
|
+
tui: boolean | undefined;
|
|
12
|
+
vcs: import("@opencode-ai/plugin/vcs").VcsDiscovery | undefined;
|
|
13
|
+
version: string;
|
|
14
|
+
source: {
|
|
15
|
+
type: "local";
|
|
16
|
+
path: string;
|
|
17
|
+
package?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
type: "package";
|
|
20
|
+
package: string;
|
|
21
|
+
path?: undefined;
|
|
22
|
+
};
|
|
23
|
+
effect: (host: import("@opencode-ai/plugin/effect/plugin").Context) => Effect.Effect<void, never, import("effect/Scope").Scope>;
|
|
24
|
+
}, Error | Schema.SchemaError, Npm.Service>;
|
|
@@ -8,7 +8,7 @@ import { LocationServiceMap } from "../location-service-map.js";
|
|
|
8
8
|
import { MCP } from "../mcp/index.js";
|
|
9
9
|
import { Session } from "../session.js";
|
|
10
10
|
export interface Interface {
|
|
11
|
-
readonly session: Pick<Session.Interface, "get" | "create" | "messages" | "prompt" | "generate" | "command" | "rename" | "resume" | "switchAgent" | "switchModel" | "interrupt" | "synthetic" | "wait" | "context">;
|
|
11
|
+
readonly session: Pick<Session.Interface, "get" | "create" | "messages" | "prompt" | "generate" | "command" | "rename" | "move" | "resume" | "switchAgent" | "switchModel" | "interrupt" | "synthetic" | "wait" | "context">;
|
|
12
12
|
readonly job: Pick<Job.Interface, "start" | "wait" | "block" | "background" | "cancel">;
|
|
13
13
|
readonly location: {
|
|
14
14
|
readonly agent: {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * as PluginSourceDirectory from "./source-directory.js";
|
|
2
|
+
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
3
|
+
import { Effect } from "effect";
|
|
4
|
+
export declare const names: readonly ["plugin", "plugins"];
|
|
5
|
+
export declare const discover: (fs: FSUtil.Interface, directory: string) => Effect.Effect<string[], never, never>;
|
|
@@ -7,5 +7,5 @@ import { Npm } from "@opencode-ai/util/npm";
|
|
|
7
7
|
import { Plugin } from "../plugin.js";
|
|
8
8
|
import { SdkPlugins } from "./sdk.js";
|
|
9
9
|
import { Service } from "./supervisor-service.js";
|
|
10
|
-
export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service |
|
|
10
|
+
export declare const layer: Layer.Layer<Service, never, import("@opencode-ai/util/global").Service | import("effect/unstable/http/HttpClient").HttpClient | import("@opencode-ai/util/fs-util").FSUtil.Service | import("@opencode-ai/util/process").Service | Npm.Service | import("../credential.js").Service | Bus.Service | import("../location.js").Service | import("../filesystem/watcher.js").Service | import("../kv.js").Service | import("../wellknown.js").Service | import("../config.js").Service | ConfigPluginSource.Service | import("../form.js").Service | import("../integration.js").Service | import("../catalog.js").Service | import("../command.js").Service | import("../environment/environment.js").Service | import("../mcp/index.js").Service | import("../file-mutation.js").Service | import("../formatter.js").Service | import("../ripgrep.js").Service | import("../filesystem.js").Service | import("../image.js").Service | import("../permission.js").Service | import("../agent.js").Service | import("../location-mutation.js").Service | SdkPlugins.Service | import("../session/instructions.js").Service | import("../tool/read-filesystem.js").Service | import("../shell/select.js").Service | import("../tool.js").Service | import("../session/compaction.js").Service | import("../instruction-discovery.js").Service | import("../filesystem/location-watcher-policy.js").Service | import("../reference.js").Service | import("../snapshot.js").Service | import("../skill.js").Service | import("../skill/discovery.js").Service | import("../tool-output.js").Service | import("../models-dev.js").Service | import("../websearch.js").Service | import("../shell.js").Service | import("./runtime.js").Service | Plugin.Service>;
|
|
11
11
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * as ProjectMarkers from "./markers.js";
|
|
2
|
+
import { Context, Effect } from "effect";
|
|
3
|
+
import { AbsolutePath } from "../schema.js";
|
|
4
|
+
export interface Match {
|
|
5
|
+
readonly type: string;
|
|
6
|
+
readonly directory: AbsolutePath;
|
|
7
|
+
readonly marker: AbsolutePath;
|
|
8
|
+
}
|
|
9
|
+
export interface Interface {
|
|
10
|
+
readonly discover: (directory: AbsolutePath) => Effect.Effect<Match | undefined>;
|
|
11
|
+
readonly targets: () => readonly string[];
|
|
12
|
+
}
|
|
13
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/ProjectMarkers", Interface>;
|
|
14
|
+
export declare class Service extends Service_base {
|
|
15
|
+
}
|
|
16
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -17,7 +17,7 @@ export declare const Info: Schema.Struct<{
|
|
|
17
17
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
18
18
|
};
|
|
19
19
|
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
20
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
20
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
21
21
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
22
22
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
23
23
|
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -95,7 +95,7 @@ export declare const Event: {
|
|
|
95
95
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
96
96
|
};
|
|
97
97
|
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
98
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
98
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
99
99
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
100
100
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
101
101
|
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -127,7 +127,7 @@ export declare const Event: {
|
|
|
127
127
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
128
128
|
};
|
|
129
129
|
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
130
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
130
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
131
131
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
132
132
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
133
133
|
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -182,7 +182,7 @@ export declare const Event: {
|
|
|
182
182
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
183
183
|
};
|
|
184
184
|
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
185
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
185
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
186
186
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
187
187
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
188
188
|
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -214,7 +214,7 @@ export declare const Event: {
|
|
|
214
214
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
215
215
|
};
|
|
216
216
|
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
217
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
217
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
218
218
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
219
219
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
220
220
|
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -239,11 +239,8 @@ export declare const Event: {
|
|
|
239
239
|
}>;
|
|
240
240
|
}];
|
|
241
241
|
};
|
|
242
|
-
export declare const Vcs: Schema.
|
|
243
|
-
readonly type: Schema.
|
|
242
|
+
export declare const Vcs: Schema.Struct<{
|
|
243
|
+
readonly type: Schema.String;
|
|
244
244
|
readonly store: Schema.brand<Schema.String, "AbsolutePath">;
|
|
245
|
-
}
|
|
246
|
-
readonly type: Schema.Literal<"hg">;
|
|
247
|
-
readonly store: Schema.brand<Schema.String, "AbsolutePath">;
|
|
248
|
-
}>]>;
|
|
245
|
+
}>;
|
|
249
246
|
export type Vcs = typeof Vcs.Type;
|
|
@@ -125,7 +125,7 @@ export declare const ProjectTable: import("drizzle-orm/sqlite-core").SQLiteTable
|
|
|
125
125
|
name: string;
|
|
126
126
|
tableName: "project";
|
|
127
127
|
dataType: "string";
|
|
128
|
-
data:
|
|
128
|
+
data: string;
|
|
129
129
|
driverParam: string;
|
|
130
130
|
notNull: false;
|
|
131
131
|
hasDefault: false;
|
package/dist/types/project.d.ts
CHANGED
|
@@ -7,13 +7,10 @@ export declare const ID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
|
7
7
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
8
8
|
};
|
|
9
9
|
export type ID = ProjectSchema.ID;
|
|
10
|
-
export declare const Vcs: Schema.
|
|
11
|
-
readonly type: Schema.
|
|
10
|
+
export declare const Vcs: Schema.Struct<{
|
|
11
|
+
readonly type: Schema.String;
|
|
12
12
|
readonly store: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13
|
-
}
|
|
14
|
-
readonly type: Schema.Literal<"hg">;
|
|
15
|
-
readonly store: Schema.brand<Schema.String, "AbsolutePath">;
|
|
16
|
-
}>]>;
|
|
13
|
+
}>;
|
|
17
14
|
export type Vcs = ProjectSchema.Vcs;
|
|
18
15
|
export declare const Current: Schema.Struct<{
|
|
19
16
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
@@ -28,7 +25,7 @@ export declare const Info: Schema.Struct<{
|
|
|
28
25
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
29
26
|
};
|
|
30
27
|
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
31
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
28
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
32
29
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
33
30
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
34
31
|
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
@@ -87,8 +84,9 @@ export interface Resolved {
|
|
|
87
84
|
readonly directory: AbsolutePath;
|
|
88
85
|
readonly canonical: AbsolutePath;
|
|
89
86
|
readonly vcs?: Vcs;
|
|
87
|
+
readonly vcsBackend?: string;
|
|
90
88
|
}
|
|
91
|
-
export declare const root: (fs: FSUtil.Interface, input: string & import("effect/Brand").Brand<"AbsolutePath"
|
|
89
|
+
export declare const root: (fs: FSUtil.Interface, input: string & import("effect/Brand").Brand<"AbsolutePath">, markers?: readonly string[] | undefined) => Effect.Effect<(string & import("effect/Brand").Brand<"AbsolutePath">) | undefined, never, never>;
|
|
92
90
|
export interface Interface {
|
|
93
91
|
readonly list: () => Effect.Effect<ReadonlyArray<Info>>;
|
|
94
92
|
readonly update: (input: UpdateInput) => Effect.Effect<Info, NotFoundError>;
|
|
@@ -28,6 +28,7 @@ export type ManualInput = {
|
|
|
28
28
|
};
|
|
29
29
|
export type Outcome = Pick<SessionMessage.CompactionCompleted, "status"> | Pick<SessionMessage.CompactionFailed, "status" | "error">;
|
|
30
30
|
export interface Interface extends State.Transformable<Draft> {
|
|
31
|
+
readonly enabled: () => boolean;
|
|
31
32
|
readonly required: (input: RequiredInput) => boolean;
|
|
32
33
|
readonly compact: (input: AutoInput) => Effect.Effect<Outcome>;
|
|
33
34
|
readonly compactManual: (input: ManualInput) => Effect.Effect<Outcome>;
|
|
@@ -98,6 +98,7 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
98
98
|
readonly skills?: readonly {
|
|
99
99
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
100
100
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
101
|
+
readonly text?: string | undefined;
|
|
101
102
|
readonly mention?: {
|
|
102
103
|
readonly start: number;
|
|
103
104
|
readonly end: number;
|
|
@@ -444,6 +445,7 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
444
445
|
readonly skills?: readonly {
|
|
445
446
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
446
447
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
448
|
+
readonly text?: string | undefined;
|
|
447
449
|
readonly mention?: {
|
|
448
450
|
readonly start: number;
|
|
449
451
|
readonly end: number;
|
|
@@ -794,6 +796,7 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
794
796
|
readonly skills?: readonly {
|
|
795
797
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
796
798
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
799
|
+
readonly text?: string | undefined;
|
|
797
800
|
readonly mention?: {
|
|
798
801
|
readonly start: number;
|
|
799
802
|
readonly end: number;
|
|
@@ -1144,6 +1147,7 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1144
1147
|
readonly skills?: readonly {
|
|
1145
1148
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1146
1149
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1150
|
+
readonly text?: string | undefined;
|
|
1147
1151
|
readonly mention?: {
|
|
1148
1152
|
readonly start: number;
|
|
1149
1153
|
readonly end: number;
|
|
@@ -1440,6 +1444,7 @@ export declare const firstUserMessage: (db: import("../database/drizzle.js").Eff
|
|
|
1440
1444
|
readonly skills?: readonly {
|
|
1441
1445
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
1442
1446
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
1447
|
+
readonly text?: string | undefined;
|
|
1443
1448
|
readonly mention?: {
|
|
1444
1449
|
readonly start: number;
|
|
1445
1450
|
readonly end: number;
|
|
@@ -61,6 +61,7 @@ export declare const find: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
61
61
|
readonly skills?: readonly {
|
|
62
62
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
63
63
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
64
|
+
readonly text?: string | undefined;
|
|
64
65
|
readonly mention?: {
|
|
65
66
|
readonly start: number;
|
|
66
67
|
readonly end: number;
|
|
@@ -148,6 +149,7 @@ export declare const admit: (db: import("../database/drizzle.js").EffectSQLiteDa
|
|
|
148
149
|
readonly skills?: readonly {
|
|
149
150
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
150
151
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
152
|
+
readonly text?: string | undefined;
|
|
151
153
|
readonly mention?: {
|
|
152
154
|
readonly start: number;
|
|
153
155
|
readonly end: number;
|
|
@@ -259,6 +261,7 @@ export declare const projectDelivered: (db: import("../database/drizzle.js").Eff
|
|
|
259
261
|
readonly skills?: readonly {
|
|
260
262
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
261
263
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
264
|
+
readonly text?: string | undefined;
|
|
262
265
|
readonly mention?: {
|
|
263
266
|
readonly start: number;
|
|
264
267
|
readonly end: number;
|
|
@@ -350,6 +353,7 @@ export declare const list: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
350
353
|
readonly skills?: readonly {
|
|
351
354
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
352
355
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
356
|
+
readonly text?: string | undefined;
|
|
353
357
|
readonly mention?: {
|
|
354
358
|
readonly start: number;
|
|
355
359
|
readonly end: number;
|
|
@@ -438,6 +442,7 @@ export declare const nextPromotable: (db: import("../database/drizzle.js").Effec
|
|
|
438
442
|
readonly skills?: readonly {
|
|
439
443
|
readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
|
|
440
444
|
readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
|
|
445
|
+
readonly text?: string | undefined;
|
|
441
446
|
readonly mention?: {
|
|
442
447
|
readonly start: number;
|
|
443
448
|
readonly end: number;
|
|
@@ -16,5 +16,5 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionTitl
|
|
|
16
16
|
export declare class Service extends Service_base {
|
|
17
17
|
}
|
|
18
18
|
export declare const isUntitled: (session: SessionSchema.Info) => boolean;
|
|
19
|
-
export declare const layer: Layer.Layer<Service, never, Database.Service | Bus.Service |
|
|
19
|
+
export declare const layer: Layer.Layer<Service, never, Database.Service | Bus.Service | import("@opencode-ai/ai").LLMClientService | Catalog.Service | SessionStore.Service | Agent.Service | SessionRunnerModel.Service | SessionModelRequest.Service>;
|
|
20
20
|
export declare const node: import("@opencode-ai/util/effect/layer-node").Node<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"location">>;
|
|
@@ -433,6 +433,7 @@ export declare const Data: Schema.Struct<{
|
|
|
433
433
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
434
434
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
435
435
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
436
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
436
437
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
437
438
|
readonly start: Schema.Finite;
|
|
438
439
|
readonly end: Schema.Finite;
|
|
@@ -445,6 +446,7 @@ export declare const Data: Schema.Struct<{
|
|
|
445
446
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
446
447
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
447
448
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
449
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
448
450
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
449
451
|
readonly start: Schema.Finite;
|
|
450
452
|
readonly end: Schema.Finite;
|
package/dist/types/skill.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * as Skill from "./skill.js";
|
|
2
|
+
import type { FSUtil } from "@opencode-ai/util/fs-util";
|
|
2
3
|
import { Context, Effect, Types } from "effect";
|
|
3
4
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
4
5
|
import { Agent } from "./agent.js";
|
|
@@ -65,6 +66,10 @@ export type Name = Skill.Name;
|
|
|
65
66
|
export { Event } from "@opencode-ai/schema/skill";
|
|
66
67
|
export declare const available: (skills: ReadonlyArray<Info>, agent: Agent.Info) => Skill.Info[];
|
|
67
68
|
export declare const toModelOutput: (skill: Info, files: ReadonlyArray<string>) => string;
|
|
69
|
+
export declare const prepare: (fs: FSUtil.Interface, skill: Skill.Info) => Effect.Effect<{
|
|
70
|
+
directory: string;
|
|
71
|
+
output: string;
|
|
72
|
+
}, FSUtil.Error, never>;
|
|
68
73
|
export type Data = {
|
|
69
74
|
skills: Map<ID, Types.DeepMutable<Info>>;
|
|
70
75
|
};
|
|
@@ -75,6 +80,7 @@ export type Draft = {
|
|
|
75
80
|
remove: (id: string) => void;
|
|
76
81
|
};
|
|
77
82
|
export interface Interface extends State.Transformable<Draft> {
|
|
83
|
+
readonly get: (id: ID) => Effect.Effect<Info | undefined>;
|
|
78
84
|
readonly list: () => Effect.Effect<Info[]>;
|
|
79
85
|
}
|
|
80
86
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Skill", Interface>;
|
|
@@ -23,7 +23,7 @@ declare const Output: Schema.Union<readonly [Schema.Struct<{
|
|
|
23
23
|
}>, typeof ReadToolFileSystem.TextPage, typeof ReadToolFileSystem.ListPage]>;
|
|
24
24
|
export declare const Plugin: {
|
|
25
25
|
id: string;
|
|
26
|
-
effect: (ctx: PluginContext) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Location.Service | Permission.Service | LocationMutation.Service |
|
|
26
|
+
effect: (ctx: PluginContext) => Effect.Effect<void, never, import("effect/Scope").Scope | FSUtil.Service | Location.Service | Permission.Service | LocationMutation.Service | SessionInstructions.Service | ReadToolFileSystem.Service>;
|
|
27
27
|
};
|
|
28
28
|
export declare const toModelContent: (path: string, offset: number | undefined, output: typeof Output.Type) => string | readonly [{
|
|
29
29
|
readonly type: "text";
|
|
@@ -18,5 +18,5 @@ export declare const Input: Schema.Struct<{
|
|
|
18
18
|
}>;
|
|
19
19
|
export declare const Plugin: {
|
|
20
20
|
id: string;
|
|
21
|
-
effect: (ctx: PluginContext) => Effect.Effect<void, never, Scope.Scope | Config.Service | Environment.Service | Permission.Service |
|
|
21
|
+
effect: (ctx: PluginContext) => Effect.Effect<void, never, Scope.Scope | Config.Service | Environment.Service | Permission.Service | LocationMutation.Service | ShellSelect.Service | Shell.Service | PluginRuntime.Service>;
|
|
22
22
|
};
|
|
@@ -27,5 +27,5 @@ export declare const Output: Schema.Struct<{
|
|
|
27
27
|
export declare const description: string;
|
|
28
28
|
export declare const Plugin: {
|
|
29
29
|
id: string;
|
|
30
|
-
effect: (ctx: PluginContext) => Effect.Effect<void, never, Scope.Scope |
|
|
30
|
+
effect: (ctx: PluginContext) => Effect.Effect<void, never, Scope.Scope | Config.Service | Permission.Service | Agent.Service | PluginRuntime.Service>;
|
|
31
31
|
};
|