@opencode/core 0.0.0-dev-1288 → 0.0.0-dev-1289
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 +80 -80
- package/dist/aisdk.js +85 -85
- package/dist/app.js +11 -11
- package/dist/artifact.js +215 -215
- package/dist/bus.js +67 -67
- package/dist/chunks/{skill-0kd8641e.js → skill-00pmfkn2.js} +4 -4
- package/dist/chunks/{skill-t63sx3rf.js → skill-02ya0pww.js} +4 -4
- package/dist/chunks/{skill-6adb23kb.js → skill-05yr16e8.js} +13 -13
- package/dist/chunks/{skill-z0jdm4k5.js → skill-08bsz23m.js} +19 -19
- package/dist/chunks/{skill-6kpkha8e.js → skill-09p6mc78.js} +20 -20
- package/dist/chunks/{skill-qfg6bwge.js → skill-0aayx17d.js} +22 -22
- package/dist/chunks/{skill-cpvd08na.js → skill-0ahs07zn.js} +3 -3
- package/dist/chunks/{skill-rj6htxtc.js → skill-0dxcp800.js} +4 -4
- package/dist/chunks/{skill-6559t45n.js → skill-0hcfp01c.js} +13 -13
- package/dist/chunks/{skill-h4g6nytk.js → skill-0p8shtje.js} +25 -25
- package/dist/chunks/{skill-mh4srk08.js → skill-0sasm2mj.js} +20 -20
- package/dist/chunks/{skill-q4kv02me.js → skill-16rc6ajx.js} +38 -38
- package/dist/chunks/{skill-g4j39vhd.js → skill-1hvbzqf7.js} +6 -6
- package/dist/chunks/{skill-cb28kjhz.js → skill-1wemxep9.js} +21 -21
- package/dist/chunks/{skill-w687dnns.js → skill-1yped5qa.js} +3 -3
- package/dist/chunks/{skill-qy5agx8k.js → skill-23vqynnw.js} +8 -8
- package/dist/chunks/{skill-q4h3vea2.js → skill-28qvn9pn.js} +13 -13
- package/dist/chunks/{skill-55x0ca6n.js → skill-29a9ydt5.js} +5 -5
- package/dist/chunks/{skill-kf1ntdb9.js → skill-2ak45mg4.js} +17 -17
- package/dist/chunks/{skill-rxysp2vp.js → skill-2gtjxgkn.js} +33 -25
- package/dist/chunks/{skill-e7w2jmab.js → skill-2n72a457.js} +25 -25
- package/dist/chunks/{skill-ypzfmdvb.js → skill-2prt43t7.js} +3 -3
- package/dist/chunks/{skill-5gsrpjps.js → skill-2pvj0daj.js} +9 -9
- package/dist/chunks/{skill-xcdwrw2g.js → skill-31xqt7sv.js} +7 -7
- package/dist/chunks/{skill-54hyepmp.js → skill-34ba9yd5.js} +5 -5
- package/dist/chunks/{skill-ysr13b6p.js → skill-34ddrjeh.js} +17 -17
- package/dist/chunks/{skill-ty4vgx73.js → skill-37xrvzda.js} +15 -15
- package/dist/chunks/{skill-jt6dz72n.js → skill-3c0dxjfp.js} +29 -29
- package/dist/chunks/{skill-gdadnt0q.js → skill-3cn35h12.js} +7 -7
- package/dist/chunks/{skill-q0eja2hs.js → skill-3g1z23tk.js} +26 -26
- package/dist/chunks/{skill-ybsqb9vh.js → skill-3jr5rejc.js} +17 -17
- package/dist/chunks/{skill-yz12r0jf.js → skill-3mqsw1x6.js} +9 -9
- package/dist/chunks/{skill-fsty9ef7.js → skill-41zfhcvv.js} +30 -30
- package/dist/chunks/{skill-mb7e7qw7.js → skill-44x3a7d0.js} +7 -7
- package/dist/chunks/{skill-xmm0678x.js → skill-4akzktj1.js} +2 -2
- package/dist/chunks/{skill-bgsdyws9.js → skill-4fd97kgc.js} +11 -11
- package/dist/chunks/{skill-h1hexrfd.js → skill-4gbxgzcf.js} +10 -10
- package/dist/chunks/{skill-nhwnw7z8.js → skill-4kyzazf2.js} +27 -27
- package/dist/chunks/{skill-pcds1c82.js → skill-4t6cjxmd.js} +3 -3
- package/dist/chunks/{skill-e8d2b6mn.js → skill-4tz7xwxy.js} +35 -35
- package/dist/chunks/{skill-9npybxqx.js → skill-4ysjccq4.js} +150 -150
- package/dist/chunks/{skill-9rpw5thf.js → skill-530hs2vb.js} +28 -28
- package/dist/chunks/{skill-srd5t2wx.js → skill-55zmf6ag.js} +9 -9
- package/dist/chunks/{skill-a9q5y6nq.js → skill-583rqj1m.js} +7 -7
- package/dist/chunks/{skill-71fa4tkx.js → skill-5h0a6q0s.js} +41 -41
- package/dist/chunks/{skill-wt6a3mqf.js → skill-5ns414kb.js} +3 -3
- package/dist/chunks/{skill-0xr7csge.js → skill-5vjp84j8.js} +25 -25
- package/dist/chunks/{skill-s209603a.js → skill-5wyy7px7.js} +10 -10
- package/dist/chunks/{skill-1yq9hg58.js → skill-5zrxpy3q.js} +4 -4
- package/dist/chunks/{skill-kpjpjwkm.js → skill-6bfdh9pc.js} +25 -25
- package/dist/chunks/{skill-8wxtd3nx.js → skill-6bh0kand.js} +8 -8
- package/dist/chunks/{skill-dzfx4xpa.js → skill-6f9dv887.js} +8 -8
- package/dist/chunks/{skill-pkdgdegd.js → skill-6fc6gbqb.js} +17 -17
- package/dist/chunks/{skill-zcqr2s0j.js → skill-6ham7n9z.js} +1 -1
- package/dist/chunks/{skill-tsq3zbsd.js → skill-6rppfpp9.js} +5 -5
- package/dist/chunks/{skill-h4zg6gzy.js → skill-6t4etqyq.js} +8 -8
- package/dist/chunks/{skill-857aqfhe.js → skill-70mjyt55.js} +19 -19
- package/dist/chunks/{skill-9rqfe4ad.js → skill-73ff1310.js} +2 -2
- package/dist/chunks/{skill-jv5ccajn.js → skill-78p2h4ex.js} +3 -3
- package/dist/chunks/{skill-2brepv0z.js → skill-7edbn8tw.js} +30 -30
- package/dist/chunks/{skill-9cy7bv90.js → skill-7f85nwz0.js} +10 -10
- package/dist/chunks/{skill-4pyp9zr9.js → skill-7g6gbmjs.js} +2 -1
- package/dist/chunks/{skill-8xn5wnt4.js → skill-7h0xs0hp.js} +3 -3
- package/dist/chunks/{skill-trexsjkk.js → skill-7m5e46d0.js} +4 -4
- package/dist/chunks/{skill-7t89jwbf.js → skill-7qt0z06e.js} +1 -1
- package/dist/chunks/{skill-f2zjpyt5.js → skill-7v7any5x.js} +5 -5
- package/dist/chunks/{skill-jvqk8r7t.js → skill-81hek7th.js} +22 -22
- package/dist/chunks/{skill-zkdm0p6x.js → skill-835yhg2j.js} +14 -14
- package/dist/chunks/{skill-xkbnm6m8.js → skill-85af6g8v.js} +46 -46
- package/dist/chunks/{skill-wq1xd5na.js → skill-87kxp3gn.js} +10 -10
- package/dist/chunks/{skill-0tfnrs7b.js → skill-8fqxwxn3.js} +80 -80
- package/dist/chunks/{skill-kzdam8c6.js → skill-8hfctyyf.js} +6 -6
- package/dist/chunks/{skill-vpaj1tc4.js → skill-8j0yh7pe.js} +14 -14
- package/dist/chunks/{skill-ytfevedp.js → skill-8t9j0vbh.js} +18 -18
- package/dist/chunks/{skill-e6xsdcex.js → skill-8y07vnq7.js} +3 -3
- package/dist/chunks/{skill-04qc8z7j.js → skill-94e33dpz.js} +1 -1
- package/dist/chunks/{skill-tax8e16k.js → skill-9ftwcsef.js} +3 -3
- package/dist/chunks/{skill-q32ndhrq.js → skill-9nkjg9qd.js} +5 -5
- package/dist/chunks/{skill-s98wrfw7.js → skill-9rg25ym8.js} +2 -2
- package/dist/chunks/{skill-r0wrga32.js → skill-a1qwck5h.js} +7 -7
- package/dist/chunks/{skill-2m68rr6d.js → skill-a4da54ev.js} +21 -21
- package/dist/chunks/{skill-6cen8r5r.js → skill-a8janbyh.js} +15 -15
- package/dist/chunks/{skill-2p60zmnr.js → skill-ad21tgm2.js} +3 -3
- package/dist/chunks/{skill-9aprp0hr.js → skill-aeh58v89.js} +19 -19
- package/dist/chunks/{skill-779a1kce.js → skill-agvaa458.js} +11 -11
- package/dist/chunks/{skill-xekq0vej.js → skill-akkwce2p.js} +33 -33
- package/dist/chunks/{skill-ez0tast9.js → skill-amnfdvvn.js} +24 -24
- package/dist/chunks/{skill-g49394pz.js → skill-an8ygpdc.js} +15 -15
- package/dist/chunks/{skill-mykrynga.js → skill-aq35kh2d.js} +10 -10
- package/dist/chunks/{skill-y4gmpd10.js → skill-awms6726.js} +2 -2
- package/dist/chunks/{skill-776n154v.js → skill-azm68axa.js} +10 -10
- package/dist/chunks/{skill-gj096rv2.js → skill-b3q1hvtg.js} +12 -12
- package/dist/chunks/{skill-26wfx3k0.js → skill-ba5f9dy2.js} +3 -3
- package/dist/chunks/{skill-70b87wq7.js → skill-be5dwegh.js} +1 -1
- package/dist/chunks/{skill-2gmad1r4.js → skill-bne54h0r.js} +8 -8
- package/dist/chunks/{skill-y9fr1g04.js → skill-brjmya0n.js} +1 -1
- package/dist/chunks/{skill-xksw6ev0.js → skill-brv6mkyx.js} +3 -3
- package/dist/chunks/{skill-k6haj2vm.js → skill-brzabmq1.js} +11 -11
- package/dist/chunks/{skill-e0zepttq.js → skill-btahyfxn.js} +15 -15
- package/dist/chunks/{skill-k78pvvak.js → skill-c2wf8p69.js} +9 -9
- package/dist/chunks/{skill-qn714ycf.js → skill-cac5zsrz.js} +5 -5
- package/dist/chunks/{skill-5b2gq477.js → skill-cdxrxhxa.js} +7 -7
- package/dist/chunks/{skill-jq1k8593.js → skill-cy1b0p56.js} +9 -9
- package/dist/chunks/{skill-he42nnyh.js → skill-czx08qs3.js} +12 -12
- package/dist/chunks/{skill-ftahzyhk.js → skill-d2c0n8v1.js} +1 -1
- package/dist/chunks/{skill-ad03y81a.js → skill-d4y36rsf.js} +40 -40
- package/dist/chunks/{skill-9ts8ce21.js → skill-de5yb26h.js} +3 -3
- package/dist/chunks/{skill-9agfr4d6.js → skill-dkbn087s.js} +2 -2
- package/dist/chunks/{skill-88fk8ra6.js → skill-dn30q06y.js} +7 -7
- package/dist/chunks/{skill-7y3b0gxe.js → skill-dn7vvezt.js} +22 -22
- package/dist/chunks/{skill-w7a3yet4.js → skill-dvqmnp87.js} +3 -3
- package/dist/chunks/{skill-0ev6yt64.js → skill-e19by0tj.js} +28 -28
- package/dist/chunks/{skill-495vdj1c.js → skill-e5653pfs.js} +7 -7
- package/dist/chunks/{skill-67wqnxeg.js → skill-e6eza9pa.js} +12 -12
- package/dist/chunks/{skill-3f0anman.js → skill-e70s1wcj.js} +11 -11
- package/dist/chunks/{skill-c5m2a8vb.js → skill-e71bb87j.js} +7 -7
- package/dist/chunks/{skill-439vg8zg.js → skill-e73pe703.js} +1 -1
- package/dist/chunks/{skill-pqpekw9r.js → skill-efzcx815.js} +1 -1
- package/dist/chunks/{skill-g2gzn0dm.js → skill-ek2c450p.js} +7 -7
- package/dist/chunks/{skill-3j862yd2.js → skill-ek8dn5z5.js} +3 -3
- package/dist/chunks/{skill-rcycq7bh.js → skill-ex1vgm7n.js} +8 -8
- package/dist/chunks/{skill-461vt668.js → skill-f7hvrhxd.js} +13 -13
- package/dist/chunks/{skill-gwyytpcj.js → skill-f80thpwy.js} +3 -3
- package/dist/chunks/{skill-0fchx9hj.js → skill-f8jh51n5.js} +9 -9
- package/dist/chunks/{skill-vk29xtdn.js → skill-fngenedm.js} +8 -8
- package/dist/chunks/{skill-vzqtskbr.js → skill-fsdb1zbj.js} +34 -34
- package/dist/chunks/{skill-96m3d58b.js → skill-fshvyy3a.js} +12 -12
- package/dist/chunks/{skill-86zcfc4c.js → skill-ftxxn22b.js} +4 -4
- package/dist/chunks/{skill-9bk4t4nz.js → skill-fvvxvqrp.js} +25 -25
- package/dist/chunks/{skill-63najkvs.js → skill-g3cqzqfs.js} +2 -2
- package/dist/chunks/{skill-qw4fr088.js → skill-g9cxvqjb.js} +15 -15
- package/dist/chunks/{skill-5v1kbzzt.js → skill-gck0w74f.js} +19 -19
- package/dist/chunks/{skill-gqbzaqtg.js → skill-ge7emkab.js} +9 -9
- package/dist/chunks/{skill-bhmwncm1.js → skill-ggysf3xd.js} +7 -7
- package/dist/chunks/{skill-e164s8vb.js → skill-gjc357wv.js} +29 -29
- package/dist/chunks/{skill-s4kyhetj.js → skill-gjnyez1s.js} +3 -3
- package/dist/chunks/{skill-gm1em1g1.js → skill-gz501xkt.js} +15 -15
- package/dist/chunks/{skill-p722s6re.js → skill-h6k4j8gr.js} +10 -10
- package/dist/chunks/{skill-w6ax8ecs.js → skill-ha27dm6a.js} +17 -17
- package/dist/chunks/{skill-0nk245hp.js → skill-hdv5g955.js} +21 -21
- package/dist/chunks/{skill-4vh8e1q7.js → skill-hf0tdtbj.js} +6 -6
- package/dist/chunks/{skill-ztxtkq44.js → skill-hfefzga6.js} +11 -11
- package/dist/chunks/{skill-21jyc2zq.js → skill-hg6rfv73.js} +10 -10
- package/dist/chunks/{skill-8pvbfnhx.js → skill-hgfjmfwb.js} +1 -1
- package/dist/chunks/{skill-5462zn5f.js → skill-hm2py80f.js} +13 -13
- package/dist/chunks/{skill-66sjh686.js → skill-hyx6bsx1.js} +22 -22
- package/dist/chunks/{skill-5d5yp73e.js → skill-j10zz1gx.js} +19 -19
- package/dist/chunks/{skill-exayx9c2.js → skill-j56v13vn.js} +8 -8
- package/dist/chunks/{skill-f86yk39q.js → skill-japaj4n9.js} +9 -9
- package/dist/chunks/{skill-88gs4f06.js → skill-jbwkk6ab.js} +6 -6
- package/dist/chunks/{skill-jmcdzceq.js → skill-je1tg5nn.js} +23 -23
- package/dist/chunks/{skill-f0t7yv95.js → skill-jegr924z.js} +8 -8
- package/dist/chunks/{skill-tr8x705m.js → skill-jht64jd1.js} +3 -3
- package/dist/chunks/{skill-nm2a7b5s.js → skill-jmv33hj0.js} +28 -28
- package/dist/chunks/{skill-pmvha8p2.js → skill-jq10t2yk.js} +7 -7
- package/dist/chunks/{skill-q7vty0a9.js → skill-jqavjjfa.js} +20 -20
- package/dist/chunks/{skill-vvhvz5v6.js → skill-knq5zpdc.js} +6 -6
- package/dist/chunks/{skill-6aysq5vq.js → skill-kr3b8h6a.js} +14 -14
- package/dist/chunks/{skill-w2b8mj54.js → skill-kxpf5d23.js} +15 -15
- package/dist/chunks/{skill-rwz4qwm5.js → skill-m0v1nx60.js} +21 -21
- package/dist/chunks/{skill-af5h9vj2.js → skill-m8gcf2xa.js} +358 -358
- package/dist/chunks/{skill-q963thn8.js → skill-m9hanyrx.js} +3 -3
- package/dist/chunks/{skill-se3qh63c.js → skill-me1931mg.js} +68 -68
- package/dist/chunks/{skill-cendkn2m.js → skill-mpd68p8f.js} +14 -14
- package/dist/chunks/{skill-6sf4gdbt.js → skill-mq4p7hh6.js} +20 -20
- package/dist/chunks/{skill-kg05dcep.js → skill-ms7w2f0p.js} +38 -38
- package/dist/chunks/skill-na4j4pj3.js +26 -0
- package/dist/chunks/{skill-j186219z.js → skill-nc9nvr4s.js} +21 -21
- package/dist/chunks/{skill-ggtm172q.js → skill-nckms97z.js} +3 -3
- package/dist/chunks/{skill-44erdk8z.js → skill-nmff4vdb.js} +13 -13
- package/dist/chunks/{skill-rzx3251q.js → skill-nmtv1yff.js} +11 -11
- package/dist/chunks/{skill-y2j4d7b6.js → skill-p61qhw8k.js} +7 -7
- package/dist/chunks/{skill-fd1fb83z.js → skill-p8hfdmeg.js} +11 -11
- package/dist/chunks/{skill-68qm1786.js → skill-p8rnc9ff.js} +9 -9
- package/dist/chunks/{skill-75fqvagm.js → skill-pd7731ad.js} +12 -12
- package/dist/chunks/{skill-92m3eqsk.js → skill-pekznmtf.js} +13 -13
- package/dist/chunks/{skill-fg9p65nk.js → skill-prq7xxp2.js} +4 -4
- package/dist/chunks/{skill-qvb92zbx.js → skill-q6wt2jfg.js} +26 -26
- package/dist/chunks/{skill-7fze536j.js → skill-q9xvkj9c.js} +45 -45
- package/dist/chunks/{skill-94hpwp71.js → skill-qe287z11.js} +3 -3
- package/dist/chunks/{skill-me0dhgxs.js → skill-qmh7vbk2.js} +4 -4
- package/dist/chunks/{skill-cey47jp0.js → skill-qqqy4pp5.js} +42 -42
- package/dist/chunks/{skill-03tcc1wc.js → skill-qqt05yh5.js} +9 -9
- package/dist/chunks/{skill-xz6s9d9v.js → skill-qtspk4m2.js} +27 -27
- package/dist/chunks/{skill-gdmbfj8d.js → skill-qxnwwp4f.js} +33 -33
- package/dist/chunks/{skill-sk5qsbcw.js → skill-qycm87ym.js} +3 -3
- package/dist/chunks/{skill-xacrkbdt.js → skill-r17fbvme.js} +3 -3
- package/dist/chunks/{skill-7dkfmmsp.js → skill-r2c71qh7.js} +16 -16
- package/dist/chunks/{skill-pnyht9cq.js → skill-r3w0e376.js} +1 -1
- package/dist/chunks/{skill-dy41a2ws.js → skill-r4yhzkx5.js} +7 -7
- package/dist/chunks/{skill-h4kbzpph.js → skill-rj5kxn5x.js} +22 -22
- package/dist/chunks/{skill-cpzt8qfw.js → skill-rmb0d2he.js} +4 -4
- package/dist/chunks/{skill-adjefrk5.js → skill-rvj3hvfb.js} +19 -19
- package/dist/chunks/{skill-q4c6m8h2.js → skill-s12vsefe.js} +1 -1
- package/dist/chunks/{skill-jkdcm5hg.js → skill-s26c8eb5.js} +3 -3
- package/dist/chunks/{skill-w4fj6w8c.js → skill-s685wf85.js} +4 -4
- package/dist/chunks/{skill-ntjqk3rm.js → skill-s6m5tnzx.js} +17 -17
- package/dist/chunks/{skill-h3ks57pr.js → skill-sac6s26t.js} +78 -78
- package/dist/chunks/{skill-z080rjh6.js → skill-sf9y72b7.js} +3 -3
- package/dist/chunks/{skill-rzk485s7.js → skill-sqfxeqqz.js} +22 -22
- package/dist/chunks/{skill-1x2p7x5n.js → skill-tavdr0cm.js} +25 -25
- package/dist/chunks/{skill-8mb4vsq0.js → skill-teycsgxm.js} +26 -26
- package/dist/chunks/{skill-etrnj9s7.js → skill-tf9r37f3.js} +9 -9
- package/dist/chunks/{skill-pdc5q8mj.js → skill-tfvg6qv8.js} +11 -11
- package/dist/chunks/{skill-gxs71cxp.js → skill-tg7s7b5t.js} +3 -3
- package/dist/chunks/{skill-t5ymqest.js → skill-tgekmjc5.js} +9 -9
- package/dist/chunks/{skill-tx91wa5k.js → skill-tnh26vfm.js} +3 -3
- package/dist/chunks/{skill-kwfh7c08.js → skill-tp0950fn.js} +4 -4
- package/dist/chunks/{skill-b26ddj6h.js → skill-tp1jb13k.js} +5 -5
- package/dist/chunks/{skill-e39q5v3d.js → skill-tq2659cf.js} +8 -8
- package/dist/chunks/{skill-np243n95.js → skill-tqfrgt2r.js} +6 -6
- package/dist/chunks/{skill-wsy9w2q0.js → skill-tsma5p3r.js} +12 -12
- package/dist/chunks/{skill-0fvxehme.js → skill-ttz31trp.js} +3 -3
- package/dist/chunks/{skill-44pmzq9c.js → skill-twhtcdx9.js} +3 -3
- package/dist/chunks/{skill-gmqcaesv.js → skill-v1engfwd.js} +158 -158
- package/dist/chunks/{skill-6n3z4peb.js → skill-v5mpdfnz.js} +1 -1
- package/dist/chunks/{skill-xamez0gd.js → skill-v64ytr12.js} +10 -10
- package/dist/chunks/{skill-ac21q9d8.js → skill-v8srm5qp.js} +11 -11
- package/dist/chunks/{skill-zt9ejasa.js → skill-v91vrv4c.js} +17 -17
- package/dist/chunks/{skill-qyfb1dw6.js → skill-vcgw1cs3.js} +20 -20
- package/dist/chunks/{skill-yf162282.js → skill-vjzgscs0.js} +5 -5
- package/dist/chunks/{skill-xrnga7ra.js → skill-vk3m6b26.js} +3 -3
- package/dist/chunks/{skill-qfz6bxfd.js → skill-vmqe41cb.js} +3 -3
- package/dist/chunks/{skill-ctmpqb7w.js → skill-vq0qa3sh.js} +7 -7
- package/dist/chunks/{skill-fe9kz23p.js → skill-vq2xywmt.js} +4 -4
- package/dist/chunks/{skill-rj7j5fvs.js → skill-vt2d6wap.js} +3 -3
- package/dist/chunks/{skill-23s8wbct.js → skill-vxt7wgpd.js} +1 -1
- package/dist/chunks/{skill-prkekjc8.js → skill-vytp7mpm.js} +9 -9
- package/dist/chunks/{skill-nxgd89cq.js → skill-w0ee2s96.js} +1 -1
- package/dist/chunks/{skill-40za9wsf.js → skill-w2eysc6j.js} +7 -7
- package/dist/chunks/{skill-w79nt68w.js → skill-w35wzz9x.js} +3 -3
- package/dist/chunks/{skill-a0f8fvmt.js → skill-w4xw9ac5.js} +4 -4
- package/dist/chunks/{skill-xb05ve8s.js → skill-w84yb85h.js} +20 -20
- package/dist/chunks/{skill-zjweszz6.js → skill-w95rpqs7.js} +8 -8
- package/dist/chunks/{skill-m84krmx1.js → skill-wjj5qqhg.js} +29 -29
- package/dist/chunks/{skill-dzrdx94s.js → skill-wq2ewmay.js} +9 -9
- package/dist/chunks/{skill-mzp60shv.js → skill-wqqxb4v6.js} +32 -29
- package/dist/chunks/{skill-9fs44kj1.js → skill-wvj9vwam.js} +3 -3
- package/dist/chunks/{skill-hvd5tw3z.js → skill-wwsaayej.js} +16 -16
- package/dist/chunks/{skill-kx82nz73.js → skill-x2zvk9pn.js} +4 -4
- package/dist/chunks/{skill-0zjy86nb.js → skill-x3f35jkj.js} +43 -43
- package/dist/chunks/{skill-h78cq6gt.js → skill-xeda3fwf.js} +4 -4
- package/dist/chunks/{skill-x3eexw8z.js → skill-xkb4z5m5.js} +1 -1
- package/dist/chunks/{skill-1v2g13eq.js → skill-xp7vz6kd.js} +8 -8
- package/dist/chunks/{skill-tt9rk80g.js → skill-xtyr0vxr.js} +3 -3
- package/dist/chunks/{skill-edhbmgy4.js → skill-xw4tt3tz.js} +22 -22
- package/dist/chunks/{skill-xjr6c8m4.js → skill-xxschbft.js} +3 -3
- package/dist/chunks/{skill-cd4gqj6m.js → skill-y282amyv.js} +7 -7
- package/dist/chunks/{skill-cqwx6s5k.js → skill-y4rcg1v2.js} +15 -15
- package/dist/chunks/{skill-849655md.js → skill-yb1yhpzz.js} +14 -14
- package/dist/chunks/{skill-b8mx8zzt.js → skill-yexs5h3k.js} +6 -6
- package/dist/chunks/{skill-0a6gezy6.js → skill-yf5veaxj.js} +12 -12
- package/dist/chunks/{skill-mjcdh3gk.js → skill-ygt3ykv7.js} +11 -11
- package/dist/chunks/{skill-xjxz5vy8.js → skill-yjweffhj.js} +16 -16
- package/dist/chunks/{skill-26ap4nbq.js → skill-ymtpamqc.js} +10 -10
- package/dist/chunks/{skill-f392mvjm.js → skill-yn6596c6.js} +14 -14
- package/dist/chunks/{skill-2w5yyhv1.js → skill-ynmhxp6r.js} +15 -15
- package/dist/chunks/{skill-xccw6ckh.js → skill-yp0zdv5j.js} +30 -30
- package/dist/chunks/{skill-rbg54dp1.js → skill-yqveydy6.js} +3 -3
- package/dist/chunks/{skill-dtfy0h3z.js → skill-yqw7crqm.js} +12 -12
- package/dist/chunks/{skill-jdf9jawx.js → skill-ysz78v0j.js} +26 -26
- package/dist/chunks/{skill-vnx5c0hq.js → skill-z4jgq3cs.js} +45 -45
- package/dist/chunks/{skill-7mbas0vy.js → skill-z4xz3wht.js} +7 -7
- package/dist/chunks/{skill-m73zgh3e.js → skill-za64yvk4.js} +13 -13
- package/dist/chunks/{skill-hr60ecax.js → skill-zbrfe41p.js} +36 -36
- package/dist/chunks/{skill-9a7a2vmy.js → skill-zg2162m8.js} +14 -14
- package/dist/chunks/{skill-ewstw71d.js → skill-zrgq9bxr.js} +13 -13
- package/dist/chunks/{skill-yaann9ba.js → skill-zwy29mpq.js} +3 -3
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +118 -118
- package/dist/codemode/instructions.js +6 -6
- package/dist/codemode/tool.js +125 -125
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +75 -75
- package/dist/config/integration.js +3 -3
- package/dist/config/normalize.js +89 -89
- package/dist/config/plugin/agent.js +105 -105
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +140 -140
- package/dist/config/plugin/compatibility.js +121 -121
- package/dist/config/plugin/formatter.js +103 -103
- package/dist/config/plugin/image.js +102 -102
- package/dist/config/plugin/instruction.js +104 -104
- package/dist/config/plugin/location-watcher.js +104 -104
- package/dist/config/plugin/mcp.js +117 -117
- package/dist/config/plugin/policy.js +102 -102
- package/dist/config/plugin/provider.js +102 -102
- package/dist/config/plugin/reference.js +103 -103
- package/dist/config/plugin/shell.js +104 -104
- package/dist/config/plugin/skill-file.js +118 -118
- package/dist/config/plugin/skill.js +124 -124
- package/dist/config/plugin/snapshot.js +102 -102
- package/dist/config/plugin/source.js +105 -105
- package/dist/config/plugin/tool-output.js +102 -102
- package/dist/config/plugin/websearch.js +103 -103
- package/dist/config/plugin/worktree.js +103 -103
- package/dist/config.js +108 -108
- package/dist/credential.js +75 -75
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +65 -65
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +284 -284
- package/dist/environment/environment.js +81 -81
- package/dist/environment/index.js +85 -85
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +126 -126
- package/dist/file-mutation.js +84 -84
- package/dist/file-write.js +129 -129
- package/dist/filesystem/file-watch.js +14 -14
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/search.js +87 -87
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +92 -92
- package/dist/flag.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +79 -79
- package/dist/generate.js +91 -91
- package/dist/git.js +3 -3
- package/dist/github-copilot/models.js +90 -90
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +384 -384
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +75 -75
- package/dist/job/list.js +4 -4
- package/dist/job.js +75 -75
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +76 -76
- package/dist/location-lifecycle.js +123 -123
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +382 -382
- package/dist/location.js +74 -74
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +124 -124
- package/dist/mcp/connection.js +80 -80
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +151 -151
- package/dist/mcp/oauth.js +10 -10
- package/dist/mcp/pool.js +88 -88
- package/dist/mcp/stdio.js +125 -125
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +89 -89
- package/dist/model.js +91 -91
- package/dist/models-dev.js +97 -97
- package/dist/permission/saved.js +77 -77
- package/dist/permission.js +126 -126
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty.js +69 -69
- package/dist/plugin/agent.js +73 -73
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +207 -207
- package/dist/plugin/identity.js +4 -4
- package/dist/plugin/internal.js +362 -362
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +86 -86
- package/dist/plugin/module.js +99 -99
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +119 -119
- package/dist/plugin/provider/amazon-bedrock.js +84 -84
- package/dist/plugin/provider/azure.js +106 -106
- package/dist/plugin/provider/chatgpt.js +105 -105
- package/dist/plugin/provider/claude-agent/aisdk.js +92 -92
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +13 -13
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +118 -118
- package/dist/plugin/provider/claude-agent/instructions.js +92 -92
- package/dist/plugin/provider/claude-agent/integration.js +93 -93
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +88 -88
- package/dist/plugin/provider/claude-agent/session.js +89 -89
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +103 -103
- package/dist/plugin/provider/cloudflare-workers-ai.js +103 -103
- package/dist/plugin/provider/configured.js +99 -99
- package/dist/plugin/provider/credential-settings.js +72 -72
- package/dist/plugin/provider/digitalocean.js +86 -86
- package/dist/plugin/provider/github-copilot.js +88 -88
- package/dist/plugin/provider/gitlab.js +87 -87
- package/dist/plugin/provider/google-vertex.js +100 -100
- package/dist/plugin/provider/llmgateway.js +72 -72
- package/dist/plugin/provider/lmstudio.js +112 -112
- package/dist/plugin/provider/local.js +109 -109
- package/dist/plugin/provider/modal.js +86 -86
- package/dist/plugin/provider/ollama.js +112 -112
- package/dist/plugin/provider/openai-context-caps.js +84 -84
- package/dist/plugin/provider/openai.js +107 -107
- package/dist/plugin/provider/opencode-watches.js +3 -3
- package/dist/plugin/provider/opencode.js +129 -129
- package/dist/plugin/provider/openrouter.js +82 -82
- package/dist/plugin/provider/poe.js +73 -73
- package/dist/plugin/provider/refresh.js +73 -73
- package/dist/plugin/provider/sap-ai-core.js +81 -81
- package/dist/plugin/provider/snowflake-cortex.js +104 -104
- package/dist/plugin/provider/vllm.js +112 -112
- package/dist/plugin/provider/xai.js +82 -82
- package/dist/plugin/provider.js +197 -197
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +122 -122
- package/dist/plugin/supervisor.js +369 -369
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/vcs/git.js +78 -78
- package/dist/plugin/vcs/hg.js +78 -78
- package/dist/plugin/verbosity.js +84 -84
- package/dist/plugin/warming.js +102 -102
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project.js +73 -73
- package/dist/provider.js +84 -84
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +81 -81
- package/dist/repository-cache.js +75 -75
- package/dist/ripgrep.js +86 -86
- package/dist/rpc.js +79 -79
- package/dist/schedule/check.js +211 -211
- package/dist/schedule.js +216 -216
- package/dist/session/blob.js +105 -105
- package/dist/session/command.js +71 -71
- package/dist/session/compaction.js +142 -142
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +77 -77
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/execution/restart.js +139 -139
- package/dist/session/execution/subagent-report.js +115 -115
- package/dist/session/execution.js +140 -140
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +111 -111
- package/dist/session/inbox.js +122 -122
- package/dist/session/instruction-entry.js +72 -72
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +118 -118
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +140 -140
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +142 -142
- package/dist/session/projector.js +117 -117
- package/dist/session/prompt.js +121 -121
- package/dist/session/revert.js +114 -114
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +215 -215
- package/dist/session/runner/model.js +91 -91
- package/dist/session/runner/publish-llm-event.js +123 -123
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +132 -132
- package/dist/session/runner/to-llm-message.js +112 -112
- package/dist/session/session.js +155 -155
- package/dist/session/shell.js +114 -114
- package/dist/session/skill.js +120 -120
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +116 -116
- package/dist/session/stored.js +3 -3
- package/dist/session/subagent-job.js +137 -137
- package/dist/session/title.js +165 -165
- package/dist/session/to-session-error.js +122 -122
- package/dist/session/transfer.js +121 -121
- package/dist/session.js +206 -206
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +115 -115
- package/dist/skill/instructions.js +124 -124
- package/dist/skill.js +121 -121
- package/dist/snapshot.js +79 -79
- package/dist/tool/mcp.js +152 -152
- package/dist/tool/plugin/artifact.js +202 -202
- package/dist/tool/plugin/edit.js +133 -133
- package/dist/tool/plugin/glob.js +134 -134
- package/dist/tool/plugin/grep.js +135 -135
- package/dist/tool/plugin/image-generate.js +211 -211
- package/dist/tool/plugin/mcp-events.js +131 -131
- package/dist/tool/plugin/mcp-resource.js +131 -131
- package/dist/tool/plugin/opencode.js +130 -130
- package/dist/tool/plugin/patch.js +134 -134
- package/dist/tool/plugin/question.js +119 -119
- package/dist/tool/plugin/read.js +136 -136
- package/dist/tool/plugin/schedule.js +215 -215
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +126 -126
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/todo.js +125 -125
- package/dist/tool/plugin/webfetch.js +128 -128
- package/dist/tool/plugin/websearch.js +128 -128
- package/dist/tool/plugin/write.js +134 -134
- package/dist/tool/read-filesystem.js +88 -88
- package/dist/tool/search.js +83 -83
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +135 -135
- package/dist/types/tool/read-filesystem.d.ts +1 -0
- package/dist/usage-limits.js +80 -80
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +82 -82
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/variant.js +82 -82
- package/dist/vcs.js +81 -81
- package/dist/voice.js +80 -80
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +74 -74
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/strategies.js +80 -80
- package/dist/worktree.js +84 -84
- package/package.json +9 -9
- package/dist/chunks/skill-m9fc8chp.js +0 -26
- /package/dist/chunks/{skill-80mg3ag8.js → skill-775hqbnd.js} +0 -0
- /package/dist/chunks/{skill-ze75qvmd.js → skill-j9nxzz3g.js} +0 -0
- /package/dist/chunks/{skill-m9n49n2a.js → skill-qps79ava.js} +0 -0
- /package/dist/chunks/{skill-8fd4mn1c.js → skill-qq8nxmq8.js} +0 -0
- /package/dist/chunks/{skill-ct1nm8d1.js → skill-r46m9nfb.js} +0 -0
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./skill-
|
|
6
|
+
} from "./skill-qq8nxmq8.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
9
|
} from "./skill-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service94,
|
|
12
12
|
node96
|
|
13
|
-
} from "./skill-
|
|
13
|
+
} from "./skill-dvqmnp87.js";
|
|
14
14
|
import {
|
|
15
15
|
Service93,
|
|
16
16
|
node95
|
|
17
|
-
} from "./skill-
|
|
17
|
+
} from "./skill-brjmya0n.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
20
|
} from "./skill-034tev2y.js";
|
|
@@ -24,21 +24,21 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
ID21,
|
|
26
26
|
NotFoundError14
|
|
27
|
-
} from "./skill-
|
|
27
|
+
} from "./skill-vk3m6b26.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./skill-
|
|
30
|
+
} from "./skill-hgfjmfwb.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./skill-
|
|
32
|
+
Service59,
|
|
33
|
+
node60
|
|
34
|
+
} from "./skill-bne54h0r.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
38
|
} from "./skill-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./skill-
|
|
40
|
+
Service26
|
|
41
|
+
} from "./skill-ygt3ykv7.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
44
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput4,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
53
|
Info: () => Info8,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service25,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node28
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service25 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service94;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service93;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service59;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service26).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service25.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node28 = Node.makeGlobalNode({
|
|
260
|
+
service: Service25,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node95, node96, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node95, node96, AppProcess.node, node60]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service25, node28, exports_worktree2, OperationError2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./skill-
|
|
2
|
+
Service71
|
|
3
|
+
} from "./skill-ms7w2f0p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./skill-
|
|
5
|
+
Service38
|
|
6
|
+
} from "./skill-z4jgq3cs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
16
|
-
register: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin14,
|
|
16
|
+
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
yield*
|
|
23
|
+
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
|
-
var
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
26
|
+
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
+
const config = yield* Service71;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin14, register2, exports_mcp };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service90
|
|
6
|
-
} from "./skill-
|
|
6
|
+
} from "./skill-hgfjmfwb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./skill-
|
|
8
|
+
Service71
|
|
9
|
+
} from "./skill-ms7w2f0p.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./skill-
|
|
11
|
+
Service26
|
|
12
|
+
} from "./skill-ygt3ykv7.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./skill-tvtps2q9.js";
|
|
@@ -21,19 +21,19 @@ import {
|
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin9
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin9 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service71;
|
|
34
34
|
const location = yield* Service90;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service26;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin53 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin9, exports_worktree };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-05yr16e8.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialSettings2,
|
|
6
6
|
metadataSettings2
|
|
7
|
-
} from "./skill-
|
|
7
|
+
} from "./skill-xeda3fwf.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/amazon-bedrock.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
enabled3
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-3g1z23tk.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionMessage2
|
|
6
6
|
} from "./skill-gftt206x.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./skill-
|
|
9
|
+
Service66
|
|
10
|
+
} from "./skill-d4y36rsf.js";
|
|
11
11
|
import {
|
|
12
12
|
EventStreamTerminatedError2
|
|
13
13
|
} from "./skill-9ceax7yg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./skill-
|
|
15
|
+
Service38
|
|
16
|
+
} from "./skill-z4jgq3cs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
var exports_mcp_events = {};
|
|
23
23
|
__export(exports_mcp_events, {
|
|
24
24
|
McpEventTools: () => exports_mcp_events,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin35
|
|
26
26
|
});
|
|
27
27
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
28
28
|
import { Hash } from "@opencode/util/hash";
|
|
@@ -35,13 +35,13 @@ var EventType = Schema.Struct({
|
|
|
35
35
|
inputSchema: Schema.optional(Schema.Record(Schema.String, Schema.Unknown))
|
|
36
36
|
});
|
|
37
37
|
var reopen = Schedule.max([Schedule.exponential("1 second"), Schedule.recurs(3)]).pipe(Schedule.setInputType(), Schedule.while(({ input }) => !(input instanceof EventStreamTerminatedError2)));
|
|
38
|
-
var
|
|
38
|
+
var Plugin35 = {
|
|
39
39
|
id: "opencode.tools.mcp-events",
|
|
40
40
|
effect: Effect.fn("McpEventTools.Plugin")(function* (ctx) {
|
|
41
41
|
if (!(yield* enabled3("mcp_events")))
|
|
42
42
|
return;
|
|
43
|
-
const mcp = yield*
|
|
44
|
-
const permission = yield*
|
|
43
|
+
const mcp = yield* Service38;
|
|
44
|
+
const permission = yield* Service66;
|
|
45
45
|
const scope = yield* Scope.Scope;
|
|
46
46
|
yield* ctx.tool.transform((editor) => {
|
|
47
47
|
editor.add({
|
|
@@ -142,4 +142,4 @@ ${text}
|
|
|
142
142
|
${ticks}`;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Plugin35, exports_mcp_events };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./skill-
|
|
4
|
+
} from "./skill-dvqmnp87.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service93,
|
|
8
8
|
node95
|
|
9
|
-
} from "./skill-
|
|
9
|
+
} from "./skill-brjmya0n.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
12
|
} from "./skill-7tx5zndv.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
} from "./skill-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./skill-
|
|
18
|
+
} from "./skill-cdxrxhxa.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./skill-
|
|
20
|
+
Service67,
|
|
21
|
+
node69
|
|
22
|
+
} from "./skill-c2wf8p69.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./skill-
|
|
24
|
+
Service30,
|
|
25
|
+
node34
|
|
26
|
+
} from "./skill-8fqxwxn3.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
@@ -75,8 +75,8 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
75
75
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service93;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service30;
|
|
79
|
+
const store = yield* Service67;
|
|
80
80
|
const db = (yield* Service94).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -172,7 +172,7 @@ Recent conversation:
|
|
|
172
172
|
var node3 = makeLocationNode({
|
|
173
173
|
service: Service2,
|
|
174
174
|
layer: layer3,
|
|
175
|
-
deps: [node95, llmClient2,
|
|
175
|
+
deps: [node95, llmClient2, node34, node69, node96]
|
|
176
176
|
});
|
|
177
177
|
|
|
178
178
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
var exports_usage = {};
|
|
7
7
|
__export(exports_usage, {
|
|
8
8
|
ClaudeUsage: () => exports_usage,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make13() {
|
|
12
12
|
const messages = new Map;
|
|
13
13
|
let last;
|
|
14
14
|
function update(id, usage) {
|
|
@@ -52,4 +52,4 @@ function make9() {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { make13, exports_usage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref5
|
|
3
|
-
} from "./skill-
|
|
3
|
+
} from "./skill-hgfjmfwb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service59,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node60,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service59 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service59, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node60 = LayerNode.unbound(Service59, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service59;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -48,4 +48,4 @@ function canonical3(ref) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service59, node60, reload2, canonical3, exports_location_service_map };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
var exports_record = {};
|
|
7
7
|
__export(exports_record, {
|
|
8
8
|
SessionRecord: () => exports_record,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make10
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Option, Schema } from "effect";
|
|
12
12
|
var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
|
|
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
|
|
|
15
15
|
history: Schema.optional(Schema.Array(Checkpoint)),
|
|
16
16
|
interrupted: Schema.optional(Schema.Boolean)
|
|
17
17
|
});
|
|
18
|
-
function
|
|
18
|
+
function make10(storage) {
|
|
19
19
|
return {
|
|
20
20
|
get: Effect.fn("SessionRecord.get")(function* (sessionID) {
|
|
21
21
|
const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
|
|
@@ -25,4 +25,4 @@ function make6(storage) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { make10, exports_record };
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
makeUnsafe2
|
|
3
3
|
} from "./skill-s47rahr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./skill-
|
|
5
|
+
Service63,
|
|
6
|
+
node64
|
|
7
|
+
} from "./skill-835yhg2j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./skill-9rqn6x4v.js";
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node24,
|
|
18
18
|
readOptionalText: () => readOptionalText2,
|
|
19
19
|
readText: () => readText2,
|
|
20
20
|
syncTextBom: () => syncTextBom2
|
|
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
23
23
|
import { Context, Effect, Layer } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Bom } from "@opencode/util/bom";
|
|
26
|
-
class
|
|
26
|
+
class Service21 extends Context.Service()("@opencode/FileMutation") {
|
|
27
27
|
}
|
|
28
28
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
29
29
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
39
39
|
return synced.text;
|
|
40
40
|
});
|
|
41
41
|
var transactionLocks = makeUnsafe2();
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const environment = yield*
|
|
42
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
43
|
+
const environment = yield* Service63;
|
|
44
44
|
const locks = makeUnsafe2();
|
|
45
45
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
46
46
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
62
62
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
|
|
63
63
|
return { ...writeResult(input.target, current !== undefined), bom };
|
|
64
64
|
})));
|
|
65
|
-
return
|
|
65
|
+
return Service21.of({ withLock, write, writeTextPreservingBom });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node64] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Service21, readText2, readOptionalText2, syncTextBom2, node24, exports_file_mutation };
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native2,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service72,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer25,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node74,
|
|
23
23
|
testLayer: () => testLayer4
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -50,14 +50,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
50
50
|
class Native2 extends Context.Service()("@opencode/Watcher/Native") {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service72 extends Context.Service()("@opencode/Watcher") {
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
59
59
|
if (options?.enabled === false) {
|
|
60
|
-
return
|
|
60
|
+
return Service72.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
61
61
|
}
|
|
62
62
|
const native = yield* Native2;
|
|
63
63
|
const watchers = yield* RcMap.make({
|
|
@@ -98,7 +98,7 @@ var layer28 = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
98
98
|
return Stream.fromSubscription(subscription);
|
|
99
99
|
}));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service72.of({ subscribe });
|
|
102
102
|
}));
|
|
103
103
|
var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
104
104
|
const subscriptions = [];
|
|
@@ -122,9 +122,9 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
|
122
122
|
};
|
|
123
123
|
})
|
|
124
124
|
});
|
|
125
|
-
const context = yield* Layer.build(
|
|
125
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native2, native))));
|
|
126
126
|
const test = Test3.of({
|
|
127
|
-
subscribe: Context.get(context,
|
|
127
|
+
subscribe: Context.get(context, Service72).subscribe,
|
|
128
128
|
emit: (update) => Effect.sync(() => {
|
|
129
129
|
const target = path.resolve(update.path);
|
|
130
130
|
active.forEach((matches, publish) => {
|
|
@@ -134,7 +134,7 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
136
136
|
});
|
|
137
|
-
return Context.empty().pipe(Context.add(
|
|
137
|
+
return Context.empty().pipe(Context.add(Service72, test), Context.add(Test3, test));
|
|
138
138
|
}));
|
|
139
139
|
var nativeLayer2 = Layer.succeed(Native2, Native2.of({
|
|
140
140
|
subscribe: (input) => {
|
|
@@ -159,10 +159,10 @@ var nativeLayer2 = Layer.succeed(Native2, Native2.of({
|
|
|
159
159
|
}
|
|
160
160
|
}));
|
|
161
161
|
var nativeNode = makeGlobalNode({ service: Native2, layer: nativeLayer2, deps: [] });
|
|
162
|
-
function
|
|
163
|
-
return makeGlobalNode({ service:
|
|
162
|
+
function configured8(options) {
|
|
163
|
+
return makeGlobalNode({ service: Service72, layer: layer25(options), deps: [nativeNode] });
|
|
164
164
|
}
|
|
165
|
-
var
|
|
165
|
+
var node74 = configured8();
|
|
166
166
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
167
167
|
if (!native || !backend) {
|
|
168
168
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -182,4 +182,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
182
182
|
}).pipe(Effect.as(undefined))));
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
export { hasNativeBinding2, Native2,
|
|
185
|
+
export { hasNativeBinding2, Native2, Service72, Test3, layer25, testLayer4, nativeLayer2, configured8, node74, exports_watcher };
|