@opencode/core 0.0.0-dev-20169 → 0.0.0-dev-20175
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/agent.js +62 -62
- package/dist/aisdk-native.js +61 -61
- package/dist/aisdk.js +66 -66
- package/dist/app.js +9 -9
- package/dist/bus.js +53 -53
- package/dist/chunks/{mime-6x3df6m5.js → mime-038cbjbn.js} +13 -13
- package/dist/chunks/{mime-4fewzrdd.js → mime-0anb59kh.js} +13 -13
- package/dist/chunks/{mime-fk8kps10.js → mime-0hn7mjnx.js} +9 -9
- package/dist/chunks/{mime-e6hmchc5.js → mime-0r7yqxbf.js} +3 -3
- package/dist/chunks/{mime-nsandnz2.js → mime-0sadyvpa.js} +4 -4
- package/dist/chunks/{mime-89bb6baa.js → mime-0tzy42a9.js} +7 -7
- package/dist/chunks/{mime-4mj1cvph.js → mime-153c4z9z.js} +21 -21
- package/dist/chunks/{mime-ykbetyw3.js → mime-170hdxs4.js} +3 -3
- package/dist/chunks/{mime-yp2x3t23.js → mime-1acjjqhc.js} +3 -3
- package/dist/chunks/{mime-cvh6twbq.js → mime-1bmj1kf2.js} +9 -9
- package/dist/chunks/{mime-8pkr1zz8.js → mime-1d35eqgr.js} +4 -4
- package/dist/chunks/{mime-r33ff4dw.js → mime-1nzs1dt7.js} +5 -5
- package/dist/chunks/{mime-6gb804jb.js → mime-1q1h4scy.js} +30 -30
- package/dist/chunks/{mime-jg3tkmqv.js → mime-1q9kvn7y.js} +17 -17
- package/dist/chunks/{mime-56gdpj1q.js → mime-1ygqh575.js} +7 -7
- package/dist/chunks/{mime-fya34y6j.js → mime-22s5ds6t.js} +14 -14
- package/dist/chunks/{mime-zy1hsbqs.js → mime-234qydz7.js} +3 -3
- package/dist/chunks/{mime-6h73sxmp.js → mime-2402vzrj.js} +4 -4
- package/dist/chunks/{mime-4v0ac6w2.js → mime-27em9pm7.js} +9 -9
- package/dist/chunks/{mime-z63w68vq.js → mime-29x78va6.js} +4 -4
- package/dist/chunks/{mime-bf4gbvg4.js → mime-2bekqz3a.js} +13 -13
- package/dist/chunks/{mime-qed5jbce.js → mime-2cfadnaz.js} +4 -4
- package/dist/chunks/{mime-dmy463da.js → mime-2dy1p8ya.js} +13 -13
- package/dist/chunks/{mime-07xxyaze.js → mime-2gw68b84.js} +21 -21
- package/dist/chunks/{mime-qgn6gcr1.js → mime-2k8khapm.js} +4 -4
- package/dist/chunks/{mime-246wn8dt.js → mime-2kdwgsh2.js} +13 -13
- package/dist/chunks/{mime-qmp029tv.js → mime-2nah3rm6.js} +10 -10
- package/dist/chunks/{mime-96172wp9.js → mime-2py3gdf7.js} +17 -17
- package/dist/chunks/{mime-d15a5crh.js → mime-2vm2mn6r.js} +33 -33
- package/dist/chunks/{mime-zvt5dnpc.js → mime-2vs2nh1n.js} +3 -3
- package/dist/chunks/{mime-fxfxepgh.js → mime-30vqxvem.js} +3 -3
- package/dist/chunks/{mime-r205r7v3.js → mime-3153j44s.js} +33 -33
- package/dist/chunks/{mime-fydjrjbk.js → mime-3559wj1e.js} +22 -22
- package/dist/chunks/{mime-rdhh766h.js → mime-35kmpahp.js} +1 -1
- package/dist/chunks/{mime-hvt58z0f.js → mime-3js9yjpf.js} +30 -30
- package/dist/chunks/{mime-dj9sq318.js → mime-3w0fmcng.js} +3 -3
- package/dist/chunks/{mime-2qtvb2sf.js → mime-41km3kz5.js} +13 -13
- package/dist/chunks/{mime-2735jr6x.js → mime-42wz0x18.js} +8 -8
- package/dist/chunks/{mime-r2de5yng.js → mime-44d35g97.js} +25 -25
- package/dist/chunks/{mime-qczqf1dc.js → mime-44vkmz6z.js} +26 -26
- package/dist/chunks/{mime-mb4xa1j6.js → mime-45v820cx.js} +33 -33
- package/dist/chunks/{mime-vs4a43ce.js → mime-49zwtcb8.js} +54 -54
- package/dist/chunks/{mime-0s890w15.js → mime-4crc4jdm.js} +5 -5
- package/dist/chunks/{mime-0e9d45z6.js → mime-4fvze959.js} +36 -36
- package/dist/chunks/{mime-vqm199mj.js → mime-4j2jd05g.js} +28 -28
- package/dist/chunks/{mime-ywg7ry4y.js → mime-508mdezp.js} +2 -2
- package/dist/chunks/{mime-vt049zkw.js → mime-54g84kz9.js} +15 -15
- package/dist/chunks/{mime-xfkkasph.js → mime-57b9ws8p.js} +6 -6
- package/dist/chunks/{mime-vps92m75.js → mime-5fb55ywp.js} +7 -7
- package/dist/chunks/{mime-txm26eb2.js → mime-5pyf4h0a.js} +19 -19
- package/dist/chunks/{mime-ck42neey.js → mime-5s4prcyn.js} +34 -34
- package/dist/chunks/{mime-p42hj8p8.js → mime-5yzzbxa7.js} +7 -7
- package/dist/chunks/{mime-nr80y6k7.js → mime-605gm5cj.js} +25 -25
- package/dist/chunks/{mime-70dy1mpp.js → mime-6aq6s8eb.js} +7 -7
- package/dist/chunks/mime-6cjeyrsw.js +26 -0
- package/dist/chunks/{mime-0996nyz8.js → mime-6hjx5zpb.js} +3 -3
- package/dist/chunks/{mime-xjzvydkr.js → mime-6r5c0w9g.js} +23 -23
- package/dist/chunks/{mime-mw0cehm6.js → mime-6rfetefd.js} +2 -2
- package/dist/chunks/{mime-2xqf92me.js → mime-743spchq.js} +1 -1
- package/dist/chunks/{mime-mzqhsy22.js → mime-75xs070m.js} +11 -11
- package/dist/chunks/{mime-bz63ghv0.js → mime-77a7k1x9.js} +30 -30
- package/dist/chunks/{mime-7e3zd5d4.js → mime-79bvek48.js} +16 -16
- package/dist/chunks/{mime-6260z82e.js → mime-7cgya2dp.js} +15 -15
- package/dist/chunks/{mime-denbd3k6.js → mime-7psk4stz.js} +22 -22
- package/dist/chunks/{mime-ww571ven.js → mime-7r6qf5r7.js} +20 -20
- package/dist/chunks/{mime-xbmsj09z.js → mime-7tbrah22.js} +7 -7
- package/dist/chunks/{mime-bdn7vv49.js → mime-7tycp833.js} +8 -8
- package/dist/chunks/{mime-ywvtc5g7.js → mime-7wny7pda.js} +24 -24
- package/dist/chunks/{mime-scnv85zn.js → mime-7xsf7rnq.js} +10 -10
- package/dist/chunks/{mime-0x4ra8ng.js → mime-82e83hjb.js} +13 -13
- package/dist/chunks/{mime-ae1n2vcd.js → mime-83m6sd17.js} +1 -1
- package/dist/chunks/{mime-b6fp2acj.js → mime-86aj54kq.js} +34 -34
- package/dist/chunks/{mime-axrwawvg.js → mime-87d9dw5n.js} +7 -7
- package/dist/chunks/{mime-tcezcvh9.js → mime-89znhe33.js} +3 -3
- package/dist/chunks/{mime-t5a2hf0x.js → mime-8fyve6nd.js} +10 -10
- package/dist/chunks/{mime-ennxz5nn.js → mime-97sgz6yw.js} +19 -19
- package/dist/chunks/{mime-5r6fx1qs.js → mime-9g6t6zrh.js} +16 -16
- package/dist/chunks/{mime-qrmaq0pw.js → mime-9hhm9pvq.js} +12 -12
- package/dist/chunks/{mime-d6h5jf52.js → mime-9k86q3aq.js} +6 -6
- package/dist/chunks/{mime-p0bpn1a8.js → mime-aamn49ap.js} +40 -40
- package/dist/chunks/{mime-m6nec9qq.js → mime-ae0nwvy8.js} +3 -3
- package/dist/chunks/{mime-bm3m92rh.js → mime-afed7ext.js} +7 -7
- package/dist/chunks/{mime-jwm73ahz.js → mime-ajt4fata.js} +6 -6
- package/dist/chunks/{mime-xjzb32y7.js → mime-amgtyp96.js} +13 -13
- package/dist/chunks/{mime-ghw31w7j.js → mime-anq3081s.js} +8 -8
- package/dist/chunks/{mime-j1nzbrzj.js → mime-aqd372pc.js} +20 -20
- package/dist/chunks/{mime-mbdf20a3.js → mime-b4yeq8gw.js} +15 -15
- package/dist/chunks/{mime-3sz51aqf.js → mime-b95dy7zp.js} +9 -9
- package/dist/chunks/{mime-mk2tfswv.js → mime-bb26mjzh.js} +11 -11
- package/dist/chunks/{mime-gk9fhfww.js → mime-bbjzvta2.js} +24 -24
- package/dist/chunks/{mime-xdfcdmq0.js → mime-bc3t5yes.js} +25 -25
- package/dist/chunks/{mime-vv7f1353.js → mime-beezqa8w.js} +16 -16
- package/dist/chunks/{mime-s3mp4eq0.js → mime-bg87x2pg.js} +11 -11
- package/dist/chunks/{mime-xdsb90ts.js → mime-bjzh7m45.js} +9 -9
- package/dist/chunks/{mime-ybhbtxjg.js → mime-bpcm8v83.js} +7 -7
- package/dist/chunks/{mime-py5b7878.js → mime-c1ckp43n.js} +8 -8
- package/dist/chunks/{mime-ghghsxj7.js → mime-c4bh15tq.js} +18 -18
- package/dist/chunks/{mime-neam7ak9.js → mime-c77x7g6d.js} +25 -25
- package/dist/chunks/{mime-ak9msbxp.js → mime-cjwramev.js} +3 -3
- package/dist/chunks/{mime-wbbqzpfk.js → mime-cz43zx57.js} +8 -8
- package/dist/chunks/{mime-8cmactcw.js → mime-cz6jyf1n.js} +1 -1
- package/dist/chunks/{mime-bemp11m2.js → mime-d7aqhzds.js} +88 -88
- package/dist/chunks/{mime-ybfnsx4m.js → mime-d858xzj7.js} +3 -3
- package/dist/chunks/{mime-jpva2q9q.js → mime-d866bxqg.js} +9 -9
- package/dist/chunks/{mime-ck4n2qmk.js → mime-de35ch4m.js} +10 -10
- package/dist/chunks/{mime-0v53mg2y.js → mime-dfe8djrf.js} +3 -3
- package/dist/chunks/{mime-amtxatrd.js → mime-dhc0xkxm.js} +38 -38
- package/dist/chunks/{mime-5cta56rp.js → mime-ds0wtj4e.js} +1 -1
- package/dist/chunks/{mime-gyn306pg.js → mime-dtt66365.js} +20 -20
- package/dist/chunks/{mime-6asax46e.js → mime-dy59ndr5.js} +59 -59
- package/dist/chunks/{mime-x0k0k3nk.js → mime-dzqga1rh.js} +24 -24
- package/dist/chunks/{mime-58m92xrk.js → mime-e0ps24dg.js} +15 -15
- package/dist/chunks/{mime-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{mime-2y6wvzw1.js → mime-ekv8efyj.js} +8 -8
- package/dist/chunks/{mime-qr124z36.js → mime-enh3xt40.js} +7 -7
- package/dist/chunks/{mime-8fvtg4q1.js → mime-enmnh83w.js} +21 -21
- package/dist/chunks/{mime-mvfsc1pv.js → mime-eq1pz5kg.js} +2 -2
- package/dist/chunks/{mime-1cn8p0vk.js → mime-et8918tz.js} +3 -3
- package/dist/chunks/{mime-n2we63qy.js → mime-ey8kmd5x.js} +15 -15
- package/dist/chunks/{mime-j9ty9cws.js → mime-ezyw3hyt.js} +1 -1
- package/dist/chunks/{mime-yd0n98jr.js → mime-f1yg1ebf.js} +34 -34
- package/dist/chunks/{mime-sdaymwv4.js → mime-f2dxdeh3.js} +17 -17
- package/dist/chunks/{mime-eq9tcww4.js → mime-fdjzn7y9.js} +22 -22
- package/dist/chunks/{mime-4xvevn0r.js → mime-fee1sgdn.js} +28 -28
- package/dist/chunks/{mime-zc2nbk21.js → mime-fp67s591.js} +20 -20
- package/dist/chunks/{mime-jexxy024.js → mime-fpnx24t4.js} +3 -3
- package/dist/chunks/{mime-ec7jv6ne.js → mime-gqy8xtzk.js} +49 -49
- package/dist/chunks/{mime-9nj21xqc.js → mime-gwydwvmj.js} +7 -7
- package/dist/chunks/{mime-xr349t4n.js → mime-gxvazm9p.js} +8 -8
- package/dist/chunks/{mime-fbfwk3fg.js → mime-h4dg678n.js} +4 -4
- package/dist/chunks/{mime-me0b0vjg.js → mime-h69067hd.js} +10 -10
- package/dist/chunks/{mime-r55vasa2.js → mime-h6r3nrb9.js} +3 -3
- package/dist/chunks/{mime-vyqn3nqs.js → mime-hdzt82x2.js} +3 -3
- package/dist/chunks/{mime-6ka24jaf.js → mime-hqrt1rb2.js} +16 -16
- package/dist/chunks/mime-hr9dp009.js +4 -0
- package/dist/chunks/{mime-z19932rd.js → mime-ht3seza6.js} +24 -24
- package/dist/chunks/{mime-j8m1p4p1.js → mime-j34bs4nz.js} +3 -3
- package/dist/chunks/{mime-1dybw484.js → mime-j5fqsg2e.js} +334 -334
- package/dist/chunks/{mime-8b6wz1s2.js → mime-j8afcsyc.js} +3 -3
- package/dist/chunks/{mime-nyrwqgn4.js → mime-ja923fd7.js} +7 -13
- package/dist/chunks/{mime-f5gy8qwh.js → mime-k1qrnqst.js} +7 -7
- package/dist/chunks/{mime-r6fqv44t.js → mime-k28tmd1k.js} +12 -12
- package/dist/chunks/{mime-rs4eeekc.js → mime-k7z0z15n.js} +11 -11
- package/dist/chunks/{mime-t2fc4mz5.js → mime-k8962brh.js} +6 -6
- package/dist/chunks/{mime-zmb1q919.js → mime-k8fbnnjg.js} +31 -31
- package/dist/chunks/{mime-ryps5y1f.js → mime-kea5jqe6.js} +32 -32
- package/dist/chunks/{mime-tw1e01ej.js → mime-ket7y27p.js} +65 -65
- package/dist/chunks/{mime-cs3vqxz8.js → mime-m7x0jkmn.js} +4 -4
- package/dist/chunks/{mime-jq7v6dgk.js → mime-m9rvph0x.js} +8 -8
- package/dist/chunks/{mime-xpxhmcar.js → mime-mbjbnbxx.js} +7 -7
- package/dist/chunks/{mime-mbh094q3.js → mime-mgmaefw5.js} +3 -3
- package/dist/chunks/{mime-547acfmc.js → mime-mh42mebz.js} +9 -9
- package/dist/chunks/{mime-ta6q38yf.js → mime-mhmbnrp5.js} +12 -12
- package/dist/chunks/{mime-h0jd11tf.js → mime-mpmqpgh5.js} +5 -5
- package/dist/chunks/{mime-mvksx64m.js → mime-n1ka8r9d.js} +1 -1
- package/dist/chunks/{mime-cmx4q0sw.js → mime-ndz9h71m.js} +2 -2
- package/dist/chunks/{mime-ew79ghek.js → mime-nes9re6y.js} +6 -6
- package/dist/chunks/{mime-fqvsmr7a.js → mime-ny1bawyf.js} +12 -12
- package/dist/chunks/{mime-empm8ahp.js → mime-p3vh2ta0.js} +26 -26
- package/dist/chunks/{mime-hp23trsw.js → mime-p42cb6gq.js} +39 -39
- package/dist/chunks/{mime-gs4bd3ck.js → mime-pebjh6nn.js} +12 -12
- package/dist/chunks/{mime-sc7svgdt.js → mime-ppv6hta6.js} +18 -18
- package/dist/chunks/{mime-vg1ctdtm.js → mime-ppvvtx0s.js} +18 -18
- package/dist/chunks/{mime-f9hgfqpn.js → mime-q2kneea3.js} +16 -16
- package/dist/chunks/{mime-a3r4dcrj.js → mime-q970vn6j.js} +1 -1
- package/dist/chunks/{mime-84zt2byv.js → mime-qg0jgkcp.js} +7 -7
- package/dist/chunks/{mime-djgw09t3.js → mime-qh8qw1yz.js} +12 -12
- package/dist/chunks/{mime-cwa6csj7.js → mime-qmqgtz8f.js} +7 -7
- package/dist/chunks/{mime-acp8wmh6.js → mime-qms6mpje.js} +18 -18
- package/dist/chunks/{mime-dyynjqpa.js → mime-qp9qrtp0.js} +43 -43
- package/dist/chunks/{mime-16cax9zb.js → mime-qs001aqx.js} +9 -9
- package/dist/chunks/{mime-ddzkc74p.js → mime-qs50n71f.js} +17 -17
- package/dist/chunks/{mime-0r9gc419.js → mime-r398a7yx.js} +6 -6
- package/dist/chunks/{mime-h99x4ah1.js → mime-r9302q9a.js} +28 -28
- package/dist/chunks/{mime-rpka6xkw.js → mime-rbe8s94e.js} +11 -11
- package/dist/chunks/{mime-t3wpcfc0.js → mime-re33y59c.js} +20 -20
- package/dist/chunks/{mime-phfznvh9.js → mime-rk5e9k3p.js} +88 -88
- package/dist/chunks/{mime-byjwxeqw.js → mime-rp5c3k0s.js} +42 -42
- package/dist/chunks/{mime-44ykbs4n.js → mime-s17k9x7e.js} +9 -9
- package/dist/chunks/{mime-dhcd5s6n.js → mime-s25qb6rd.js} +9 -9
- package/dist/chunks/{mime-yrznvahk.js → mime-s4enseaf.js} +1 -1
- package/dist/chunks/{mime-3h23es9p.js → mime-s8r0mwsn.js} +39 -39
- package/dist/chunks/{mime-ax1mpjb7.js → mime-sdg1gcr0.js} +25 -25
- package/dist/chunks/{mime-wwz2c70k.js → mime-sk4fpzkz.js} +14 -14
- package/dist/chunks/{mime-909p1r3q.js → mime-sxzvkvgj.js} +5 -5
- package/dist/chunks/{mime-t73dcxme.js → mime-t4ay05z1.js} +8 -8
- package/dist/chunks/{mime-rhjbct0v.js → mime-t550f9t1.js} +3 -3
- package/dist/chunks/{mime-1qspzcx3.js → mime-t550g8gs.js} +10 -10
- package/dist/chunks/{mime-q1tmktbx.js → mime-t5ra0cz4.js} +9 -9
- package/dist/chunks/{mime-pjwpcx5g.js → mime-t6f3wjjb.js} +31 -31
- package/dist/chunks/{mime-j26kfq5v.js → mime-tggd67fe.js} +15 -15
- package/dist/chunks/{mime-t0dhg9xm.js → mime-tgwh4g45.js} +1 -1
- package/dist/chunks/{mime-5796tcck.js → mime-tz679c1q.js} +3 -3
- package/dist/chunks/{mime-f81tjggh.js → mime-v1faaxn9.js} +4 -4
- package/dist/chunks/{mime-0gs1t9y7.js → mime-v6v677s0.js} +25 -25
- package/dist/chunks/{mime-4a39hndw.js → mime-vc794bvv.js} +181 -181
- package/dist/chunks/{mime-6qx8bc3d.js → mime-vfwfag5t.js} +24 -24
- package/dist/chunks/{mime-jqfs4f8t.js → mime-vj9r822s.js} +43 -43
- package/dist/chunks/{mime-n4djqr79.js → mime-vq9mnbss.js} +27 -27
- package/dist/chunks/{mime-prpf8ftn.js → mime-vw5a0rfv.js} +1 -1
- package/dist/chunks/{mime-ccksk4yj.js → mime-w41yqvvp.js} +14 -14
- package/dist/chunks/{mime-xf3wnvpw.js → mime-w5py834v.js} +31 -31
- package/dist/chunks/{mime-8sze2n9a.js → mime-w92k2e0p.js} +3 -3
- package/dist/chunks/{mime-1kppbkx0.js → mime-whvrryqk.js} +23 -23
- package/dist/chunks/{mime-1fw2a5v8.js → mime-ws8rf1n9.js} +14 -14
- package/dist/chunks/{mime-f4d0s1t2.js → mime-wskervgn.js} +14 -14
- package/dist/chunks/{mime-ce49hgg3.js → mime-wvjy0rkm.js} +2 -2
- package/dist/chunks/{mime-0ryd0fps.js → mime-x2rw7g36.js} +3 -3
- package/dist/chunks/{mime-xjyydmb8.js → mime-x9d81cjr.js} +8 -8
- package/dist/chunks/{mime-492avacy.js → mime-xaqyyngn.js} +7 -7
- package/dist/chunks/{mime-g190xswt.js → mime-xdk9p2qn.js} +20 -20
- package/dist/chunks/{mime-mv8r48y5.js → mime-xjtpc5ew.js} +19 -19
- package/dist/chunks/{mime-thpvyx44.js → mime-xmj1c5tj.js} +21 -21
- package/dist/chunks/{mime-dx066ber.js → mime-xsjv728j.js} +8 -8
- package/dist/chunks/{mime-tme7ypnb.js → mime-xxc26qrd.js} +16 -16
- package/dist/chunks/{mime-chwtr2e5.js → mime-y5xqhydv.js} +30 -30
- package/dist/chunks/{mime-aq494hqz.js → mime-y8yd5a40.js} +12 -12
- package/dist/chunks/{mime-x8wvmgka.js → mime-yew08yk0.js} +49 -49
- package/dist/chunks/{mime-4nxa3yrp.js → mime-yg64st6f.js} +13 -13
- package/dist/chunks/{mime-wmras1aj.js → mime-ysk4s0pp.js} +10 -10
- package/dist/chunks/mime-yvzdpfbp.js +252 -0
- package/dist/chunks/{mime-9g6mcpc9.js → mime-ywqv77jt.js} +30 -30
- package/dist/chunks/{mime-ebhn8wwf.js → mime-z5km0pse.js} +15 -15
- package/dist/chunks/{mime-x960xs2s.js → mime-z90jk03v.js} +28 -28
- package/dist/chunks/{mime-vzqv0rzd.js → mime-zdcc64ja.js} +4 -4
- package/dist/chunks/{mime-1a49mg8n.js → mime-zefpc43y.js} +16 -16
- package/dist/chunks/{mime-dtb55fr6.js → mime-zkkg3hmv.js} +10 -10
- package/dist/chunks/{mime-cmmdg65p.js → mime-zrq8kphx.js} +7 -7
- package/dist/chunks/{mime-t7vjw3g9.js → mime-zvj905se.js} +10 -10
- package/dist/codemode/instructions.js +8 -8
- package/dist/command.js +64 -64
- package/dist/config/discovery.js +58 -58
- package/dist/config/normalize.js +76 -76
- package/dist/config/plugin/agent.js +92 -92
- package/dist/config/plugin/command.js +170 -170
- package/dist/config/plugin/compaction.js +123 -123
- package/dist/config/plugin/compatibility.js +108 -108
- package/dist/config/plugin/formatter.js +91 -91
- package/dist/config/plugin/image.js +90 -90
- package/dist/config/plugin/instruction.js +62 -62
- package/dist/config/plugin/location-watcher.js +92 -92
- package/dist/config/plugin/mcp.js +99 -99
- package/dist/config/plugin/policy.js +91 -91
- package/dist/config/plugin/provider.js +90 -90
- package/dist/config/plugin/reference.js +92 -92
- package/dist/config/plugin/shell.js +90 -90
- package/dist/config/plugin/skill-file.js +70 -70
- package/dist/config/plugin/skill.js +111 -111
- package/dist/config/plugin/snapshot.js +90 -90
- package/dist/config/plugin/source.js +93 -93
- package/dist/config/plugin/tool-output.js +92 -92
- package/dist/config/plugin/websearch.js +89 -89
- package/dist/config/plugin/worktree.js +91 -91
- package/dist/config/variable.js +2 -2
- package/dist/config.js +92 -92
- package/dist/credential.js +62 -62
- package/dist/database/database.js +48 -48
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +36 -36
- package/dist/database/migration.js +37 -37
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +240 -240
- package/dist/environment/environment.js +63 -63
- package/dist/environment/index.js +65 -65
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +73 -73
- package/dist/file-mutation.js +64 -64
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +184 -184
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +72 -72
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +12 -12
- package/dist/filesystem.js +77 -77
- package/dist/form.js +56 -56
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +60 -60
- package/dist/generate.js +73 -73
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +63 -63
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +312 -312
- package/dist/instruction-discovery.js +64 -64
- package/dist/instructions/builtins.js +61 -61
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +62 -62
- package/dist/job.js +55 -55
- package/dist/kv.js +53 -53
- package/dist/location-activity.js +55 -55
- package/dist/location-lifecycle.js +76 -76
- package/dist/location-mutation.js +29 -29
- package/dist/location-service-map.js +60 -60
- package/dist/location-services.js +310 -310
- package/dist/location.js +59 -59
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +16 -16
- package/dist/mcp/index.js +78 -78
- package/dist/mcp/instructions.js +91 -91
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +60 -60
- package/dist/modal/models.js +63 -63
- package/dist/model-resolver.js +70 -70
- package/dist/model.js +74 -74
- package/dist/models-dev.js +79 -79
- package/dist/permission/saved.js +57 -57
- package/dist/permission.js +86 -86
- package/dist/persistent-pty/index.js +63 -63
- package/dist/persistent-pty.js +51 -51
- package/dist/plugin/agent.js +73 -73
- package/dist/plugin/command.js +71 -71
- package/dist/plugin/compaction.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +175 -175
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +283 -283
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +68 -68
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +71 -71
- package/dist/plugin/provider/amazon-bedrock.js +62 -62
- package/dist/plugin/provider/azure.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
- package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
- package/dist/plugin/provider/configured.js +87 -87
- package/dist/plugin/provider/digitalocean.js +64 -64
- package/dist/plugin/provider/github-copilot.js +65 -65
- package/dist/plugin/provider/gitlab.js +64 -64
- package/dist/plugin/provider/google-vertex.js +62 -62
- package/dist/plugin/provider/llmgateway.js +55 -55
- package/dist/plugin/provider/lmstudio.js +90 -90
- package/dist/plugin/provider/modal.js +64 -64
- package/dist/plugin/provider/ollama.js +90 -90
- package/dist/plugin/provider/openai.js +63 -63
- package/dist/plugin/provider/opencode.js +67 -67
- package/dist/plugin/provider/openrouter.js +63 -63
- package/dist/plugin/provider/poe.js +55 -55
- package/dist/plugin/provider/prompt-cache-key.js +62 -62
- package/dist/plugin/provider/sap-ai-core.js +62 -62
- package/dist/plugin/provider/snowflake-cortex.js +89 -89
- package/dist/plugin/provider/vercel.js +62 -62
- package/dist/plugin/provider/vllm.js +90 -90
- package/dist/plugin/provider/xai.js +63 -63
- package/dist/plugin/provider.js +120 -120
- package/dist/plugin/sdk.js +56 -56
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +109 -109
- package/dist/plugin/supervisor.js +302 -302
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/vcs/git.js +59 -59
- package/dist/plugin/vcs/hg.js +59 -59
- package/dist/plugin/verbosity.js +65 -65
- package/dist/plugin/warming.js +89 -89
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +181 -181
- package/dist/project.js +58 -58
- package/dist/provider.js +73 -73
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +68 -68
- package/dist/reference/instructions.js +66 -66
- package/dist/reference.js +68 -68
- package/dist/repository-cache.js +60 -60
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +66 -66
- package/dist/rpc.js +60 -60
- package/dist/session/command.js +53 -53
- package/dist/session/compaction.js +94 -94
- package/dist/session/context.js +112 -112
- package/dist/session/diff.js +59 -59
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +120 -120
- package/dist/session/execution.js +93 -93
- package/dist/session/generate.js +113 -113
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +61 -61
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +56 -56
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +68 -68
- package/dist/session/model-request.js +83 -83
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +95 -95
- package/dist/session/projector.js +59 -59
- package/dist/session/prompt.js +73 -73
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +61 -61
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +186 -186
- package/dist/session/runner/model.js +70 -70
- package/dist/session/runner/retry.js +80 -80
- package/dist/session/runner/step.js +88 -88
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +134 -134
- package/dist/session/shell.js +104 -104
- package/dist/session/skill.js +72 -72
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +62 -62
- package/dist/session/subagent-job.js +167 -167
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +115 -115
- package/dist/session/to-session-error.js +79 -79
- package/dist/session/transfer.js +117 -117
- package/dist/session.js +179 -179
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +107 -107
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +76 -76
- package/dist/skill.js +79 -79
- package/dist/snapshot.js +62 -62
- package/dist/tool/mcp.js +90 -90
- package/dist/tool/plugin/edit.js +85 -85
- package/dist/tool/plugin/glob.js +88 -88
- package/dist/tool/plugin/grep.js +90 -90
- package/dist/tool/plugin/mcp-resource.js +82 -82
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +87 -87
- package/dist/tool/plugin/question.js +74 -74
- package/dist/tool/plugin/read.js +91 -91
- package/dist/tool/plugin/shell.js +173 -173
- package/dist/tool/plugin/skill.js +82 -82
- package/dist/tool/plugin/subagent.js +176 -176
- package/dist/tool/plugin/webfetch.js +77 -77
- package/dist/tool/plugin/websearch.js +81 -81
- package/dist/tool/plugin/write.js +87 -87
- package/dist/tool/read-filesystem.js +69 -69
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +13 -13
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/migrate.js +63 -63
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +65 -65
- package/dist/vcs.js +62 -62
- package/dist/websearch.js +63 -63
- package/dist/wellknown/plugin.js +56 -56
- package/dist/wellknown.js +61 -61
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace.js +60 -60
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/strategies.js +61 -61
- package/dist/worktree.js +67 -67
- package/package.json +8 -8
- package/dist/chunks/mime-0rjbbhdn.js +0 -252
- package/dist/chunks/mime-6kdq0pjd.js +0 -4
- package/dist/chunks/mime-gv3av4nc.js +0 -26
- /package/dist/chunks/{mime-4pwxaf10.js → mime-3wrtxrr4.js} +0 -0
- /package/dist/chunks/{mime-f6rek99c.js → mime-6540dvt1.js} +0 -0
- /package/dist/chunks/{mime-rmk2c50f.js → mime-rf80fxgj.js} +0 -0
- /package/dist/chunks/{mime-d1ejf2a0.js → mime-v553wp33.js} +0 -0
|
@@ -3,41 +3,41 @@ import {
|
|
|
3
3
|
PositiveInt2
|
|
4
4
|
} from "./mime-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./mime-
|
|
6
|
+
Info21
|
|
7
|
+
} from "./mime-xdk9p2qn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./mime-
|
|
9
|
+
Info20
|
|
10
|
+
} from "./mime-qs001aqx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./mime-
|
|
12
|
+
Info15
|
|
13
|
+
} from "./mime-3w0fmcng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./mime-
|
|
15
|
+
Info19
|
|
16
|
+
} from "./mime-k8962brh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./mime-
|
|
18
|
+
Info22
|
|
19
|
+
} from "./mime-hdzt82x2.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
22
|
} from "./mime-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./mime-
|
|
24
|
+
Info16
|
|
25
|
+
} from "./mime-1nzs1dt7.js";
|
|
26
26
|
import {
|
|
27
27
|
Info18
|
|
28
28
|
} from "./mime-d2aac7k2.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./mime-
|
|
31
|
+
} from "./mime-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./mime-
|
|
33
|
+
Info14
|
|
34
|
+
} from "./mime-0r7yqxbf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
37
|
} from "./mime-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./mime-
|
|
39
|
+
Info17
|
|
40
|
+
} from "./mime-dfe8djrf.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
43
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info13,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info13 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info19)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info17).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info20), plan: Schema.optional(Info20) }), [Schema.Record(Schema.String, Info20)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info20),
|
|
119
|
+
build: Schema.optional(Info20),
|
|
120
|
+
general: Schema.optional(Info20),
|
|
121
|
+
explore: Schema.optional(Info20),
|
|
122
|
+
title: Schema.optional(Info20),
|
|
123
|
+
summary: Schema.optional(Info20),
|
|
124
|
+
compaction: Schema.optional(Info20)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info20)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
129
|
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info18, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
-
formatter: Schema.optional(
|
|
130
|
+
formatter: Schema.optional(Info22).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info16).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info21),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info15).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info13, exports_config2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./mime-
|
|
3
|
+
} from "./mime-wvjy0rkm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./mime-
|
|
5
|
+
Service83
|
|
6
|
+
} from "./mime-b95dy7zp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./mime-
|
|
8
|
+
Service42
|
|
9
|
+
} from "./mime-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
12
|
} from "./mime-vzs5sf6e.js";
|
|
@@ -14,41 +14,41 @@ import {
|
|
|
14
14
|
SessionMessage2
|
|
15
15
|
} from "./mime-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./mime-
|
|
23
|
+
} from "./mime-bpcm8v83.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
26
|
} from "./mime-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./mime-
|
|
28
|
+
Service55
|
|
29
|
+
} from "./mime-sk4fpzkz.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./mime-
|
|
33
|
+
Service41
|
|
34
|
+
} from "./mime-e0ps24dg.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./mime-
|
|
36
|
+
Service39
|
|
37
|
+
} from "./mime-dhc0xkxm.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./mime-
|
|
40
|
+
} from "./mime-wskervgn.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./mime-
|
|
45
|
+
} from "./mime-qms6mpje.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./mime-
|
|
48
|
+
} from "./mime-87d9dw5n.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./mime-
|
|
51
|
+
} from "./mime-c1ckp43n.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
54
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
66
|
+
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service55;
|
|
69
|
+
const instances = yield* Service42;
|
|
70
|
+
const execution = yield* Service39;
|
|
71
|
+
const admission = yield* Service41;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError6({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./mime-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./mime-
|
|
7
|
+
} from "./mime-w5py834v.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./mime-
|
|
11
|
+
} from "./mime-3153j44s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./mime-
|
|
2
|
+
Service83
|
|
3
|
+
} from "./mime-b95dy7zp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./mime-
|
|
5
|
+
Service80
|
|
6
|
+
} from "./mime-2kdwgsh2.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./mime-
|
|
9
|
+
Service30
|
|
10
|
+
} from "./mime-yew08yk0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin17 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service30;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin17, exports_command };
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service79,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node83
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service79 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service79.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service79, node83, exports_image2 };
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./mime-
|
|
6
|
+
} from "./mime-xdk9p2qn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./mime-
|
|
8
|
+
Info20
|
|
9
|
+
} from "./mime-qs001aqx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./mime-
|
|
11
|
+
Info15
|
|
12
|
+
} from "./mime-3w0fmcng.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./mime-
|
|
14
|
+
Info19
|
|
15
|
+
} from "./mime-k8962brh.js";
|
|
16
16
|
import {
|
|
17
17
|
Info18
|
|
18
18
|
} from "./mime-d2aac7k2.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./mime-
|
|
21
|
+
} from "./mime-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./mime-
|
|
23
|
+
Info14
|
|
24
|
+
} from "./mime-0r7yqxbf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./mime-
|
|
26
|
+
Info13
|
|
27
|
+
} from "./mime-4fvze959.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./mime-
|
|
36
|
+
} from "./mime-508mdezp.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./mime-
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./mime-b95dy7zp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./mime-
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./mime-41km3kz5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./mime-
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./mime-1q9kvn7y.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./mime-
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./mime-2kdwgsh2.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./mime-
|
|
20
|
+
} from "./mime-7tycp833.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
23
|
} from "./mime-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./mime-
|
|
25
|
+
Service54,
|
|
26
|
+
node56
|
|
27
|
+
} from "./mime-dy59ndr5.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./mime-
|
|
29
|
+
Service51,
|
|
30
|
+
node53
|
|
31
|
+
} from "./mime-q2kneea3.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./mime-9rqn6x4v.js";
|
|
@@ -37,23 +37,23 @@ import {
|
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service50,
|
|
41
|
+
node: () => node52
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service50 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service54;
|
|
54
|
+
const forms = yield* Service77;
|
|
55
|
+
const rpc = yield* Service51;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service50.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node52 = makeLocationNode({
|
|
84
|
+
service: Service50,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node87, node84, node56, node85, node81, node53]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service50, node52, exports_location_lifecycle };
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service2,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service2 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node3 = makeLocationNode({
|
|
19
|
+
service: Service2,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service2, node3, bound2, exports_instance2 };
|