@opencode/core 0.0.0-dev-20757 → 0.0.0-dev-20760
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{persistent-pty-pa5kmbm8.js → skill-04mbc03a.js} +20 -20
- package/dist/chunks/{persistent-pty-52aykxm2.js → skill-0902bvg8.js} +9 -9
- package/dist/chunks/{persistent-pty-5ns9c0w0.js → skill-0eqx75h4.js} +10 -10
- package/dist/chunks/{persistent-pty-zgtbcyex.js → skill-0hffe5rb.js} +4 -4
- package/dist/chunks/{persistent-pty-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-bdz6xynk.js → skill-0rtws61d.js} +11 -11
- package/dist/chunks/{persistent-pty-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-094m2jc0.js → skill-0wdexvxm.js} +7 -7
- package/dist/chunks/{persistent-pty-qnpg3zjj.js → skill-0y5zvsv8.js} +16 -16
- package/dist/chunks/{persistent-pty-eavrwy4k.js → skill-1154za8m.js} +25 -25
- package/dist/chunks/{persistent-pty-0qd1w1j5.js → skill-12x48tfh.js} +9 -9
- package/dist/chunks/{persistent-pty-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1h6cxm7v.js → skill-1dy6vzzp.js} +20 -20
- package/dist/chunks/{persistent-pty-bgs46qwx.js → skill-1fmrbde1.js} +8 -8
- package/dist/chunks/{persistent-pty-xn95c7ne.js → skill-1khdm3wj.js} +20 -20
- package/dist/chunks/{persistent-pty-a5r4xth4.js → skill-1r53ywk9.js} +13 -13
- package/dist/chunks/{persistent-pty-9pkkzrmj.js → skill-207ajt2h.js} +5 -5
- package/dist/chunks/{persistent-pty-smespjaf.js → skill-21fz40hq.js} +8 -8
- package/dist/chunks/{persistent-pty-fswapqhq.js → skill-265w8d3s.js} +13 -13
- package/dist/chunks/{persistent-pty-8ehqpd8r.js → skill-2833za8j.js} +32 -32
- package/dist/chunks/{persistent-pty-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-8kkb60sm.js → skill-2f42t4e4.js} +2 -2
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-y8swg4d6.js → skill-2mfvpe9w.js} +41 -41
- package/dist/chunks/{persistent-pty-38aq64y5.js → skill-2p92bsdk.js} +20 -20
- package/dist/chunks/{persistent-pty-wxagtd6d.js → skill-2sd1nppe.js} +46 -46
- package/dist/chunks/{persistent-pty-q76v78a4.js → skill-2wh5fw73.js} +20 -20
- package/dist/chunks/{persistent-pty-5kbfdsfa.js → skill-2xrg438h.js} +8 -8
- package/dist/chunks/{persistent-pty-h2saytx3.js → skill-30m2v4sk.js} +15 -15
- package/dist/chunks/{persistent-pty-ysge6ncn.js → skill-380qvp89.js} +49 -45
- package/dist/chunks/{persistent-pty-abkq1pjw.js → skill-3a45ycq8.js} +16 -16
- package/dist/chunks/{persistent-pty-h2b79v29.js → skill-3cegwx68.js} +2 -2
- package/dist/chunks/{persistent-pty-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-kxrxvkx4.js → skill-3pc526mj.js} +41 -41
- package/dist/chunks/{persistent-pty-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-0r3c1bmw.js → skill-47jkzegy.js} +5 -5
- package/dist/chunks/{persistent-pty-prq7hedt.js → skill-4jyvzrab.js} +9 -9
- package/dist/chunks/{persistent-pty-j3yw4q5j.js → skill-4psgr168.js} +8 -8
- package/dist/chunks/{persistent-pty-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/skill-4v7qdvcn.js +18 -0
- package/dist/chunks/{persistent-pty-ch4t865s.js → skill-4xhhjths.js} +8 -8
- package/dist/chunks/{persistent-pty-g6yfr6ja.js → skill-4xpgt2w9.js} +5 -5
- package/dist/chunks/{persistent-pty-map7adnp.js → skill-52yrtfe6.js} +40 -40
- package/dist/chunks/{persistent-pty-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-6kgg59pf.js → skill-5ahstw8v.js} +5 -5
- package/dist/chunks/{persistent-pty-zx4j0b0b.js → skill-5dwqhvmm.js} +14 -14
- package/dist/chunks/{persistent-pty-g7tbsqx0.js → skill-5jpmtgs8.js} +18 -18
- package/dist/chunks/{persistent-pty-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-32c2s8c6.js → skill-5xaj4ggx.js} +11 -11
- package/dist/chunks/{persistent-pty-drnf6xwf.js → skill-63db42yp.js} +2 -2
- package/dist/chunks/{persistent-pty-1d4qa1yv.js → skill-68abg5kb.js} +20 -20
- package/dist/chunks/{persistent-pty-d3t94897.js → skill-6a89nmhr.js} +14 -14
- package/dist/chunks/{persistent-pty-kwdk7p8f.js → skill-6b6zkn31.js} +26 -26
- package/dist/chunks/{persistent-pty-snd67510.js → skill-6c1xbava.js} +30 -30
- package/dist/chunks/{persistent-pty-40mpssyg.js → skill-6das53tm.js} +30 -30
- package/dist/chunks/{persistent-pty-7n4w6ry8.js → skill-6jd7hqhx.js} +15 -15
- package/dist/chunks/{persistent-pty-fjedc0n6.js → skill-6mdae8er.js} +17 -17
- package/dist/chunks/{persistent-pty-6t4hr8r6.js → skill-6t4hr8r6.js} +1 -1
- package/dist/chunks/{persistent-pty-mw3kjfgh.js → skill-6xb3g4e9.js} +16 -16
- package/dist/chunks/{persistent-pty-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-3md3hry7.js → skill-6znh0kbk.js} +24 -24
- package/dist/chunks/{persistent-pty-2h6g5cw7.js → skill-70kp3xh7.js} +39 -39
- package/dist/chunks/{persistent-pty-ea8jtqgg.js → skill-7333qy8y.js} +9 -9
- package/dist/chunks/{persistent-pty-ygny92wv.js → skill-74ye0k76.js} +6 -6
- package/dist/chunks/{persistent-pty-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-r21y2bjh.js → skill-7rspqtd7.js} +86 -86
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → skill-7yh4e7ss.js} +3 -3
- package/dist/chunks/{persistent-pty-pnzf6mjf.js → skill-7zt5x37y.js} +1 -1
- package/dist/chunks/{persistent-pty-hekf1c5w.js → skill-80z4mvhs.js} +5 -5
- package/dist/chunks/{persistent-pty-yq6mmt2t.js → skill-83q2r6tn.js} +4 -4
- package/dist/chunks/{persistent-pty-1dvck2a7.js → skill-84h8c373.js} +2 -2
- package/dist/chunks/{persistent-pty-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-49exe669.js → skill-84zcxbc9.js} +5 -5
- package/dist/chunks/{persistent-pty-tcezcvh9.js → skill-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-77zs8g8n.js → skill-8axdpjc9.js} +14 -14
- package/dist/chunks/{persistent-pty-1t9yseh2.js → skill-8bqkepy5.js} +1 -1
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-frm38rby.js → skill-8hj8r0wk.js} +24 -24
- package/dist/chunks/{persistent-pty-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-bkkeq90m.js → skill-8t1p2d4f.js} +33 -33
- package/dist/chunks/{persistent-pty-tjwtrm03.js → skill-8zf35w4m.js} +5 -5
- package/dist/chunks/{persistent-pty-3j0nkq0d.js → skill-93tfm6kk.js} +21 -21
- package/dist/chunks/{persistent-pty-tmrd8qpe.js → skill-9wf975y4.js} +9 -9
- package/dist/chunks/{persistent-pty-e4bp7q5e.js → skill-a1fvq3z4.js} +11 -11
- package/dist/chunks/{persistent-pty-t1dawjzh.js → skill-a2qe2ev9.js} +8 -8
- package/dist/chunks/{persistent-pty-ybpy5619.js → skill-a5qvk4tq.js} +36 -36
- package/dist/chunks/{persistent-pty-50mzsvk4.js → skill-a8bn8zg0.js} +4 -4
- package/dist/chunks/{persistent-pty-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-nam5nxhh.js → skill-agd1asbq.js} +4 -4
- package/dist/chunks/{persistent-pty-vws08ngw.js → skill-arjx5va6.js} +27 -27
- package/dist/chunks/{persistent-pty-yhf6nfj4.js → skill-av9mcy8y.js} +24 -24
- package/dist/chunks/{persistent-pty-4ngp4gmj.js → skill-ayepesx3.js} +13 -13
- package/dist/chunks/{persistent-pty-2vh07w6d.js → skill-b3xqyrms.js} +24 -24
- package/dist/chunks/{persistent-pty-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-6j10w38a.js → skill-bg9jftvn.js} +17 -17
- package/dist/chunks/{persistent-pty-xf92ehtp.js → skill-bkw14apt.js} +5 -5
- package/dist/chunks/skill-bw78ga2c.js +13 -0
- package/dist/chunks/{persistent-pty-pcdbh0j4.js → skill-c3nqfkhw.js} +40 -40
- package/dist/chunks/{persistent-pty-8rdqkcsb.js → skill-c5qe4erg.js} +8 -8
- package/dist/chunks/{persistent-pty-p2r9c57w.js → skill-c9rrg4sq.js} +33 -33
- package/dist/chunks/{persistent-pty-g0445xdp.js → skill-cmwkp3r5.js} +4 -4
- package/dist/chunks/{persistent-pty-sq20rjr1.js → skill-cqekztpy.js} +9 -5
- package/dist/chunks/{persistent-pty-qvb3nf84.js → skill-ctz7jbry.js} +8 -8
- package/dist/chunks/skill-czp4hz1t.js +26 -0
- package/dist/chunks/{persistent-pty-504xcjap.js → skill-d9aav9jb.js} +3 -3
- package/dist/chunks/{persistent-pty-rgpk8c3t.js → skill-da0e8ynk.js} +170 -170
- package/dist/chunks/{persistent-pty-x661k3y3.js → skill-db2wf4at.js} +4 -4
- package/dist/chunks/{persistent-pty-vbv96av7.js → skill-dcbwehgs.js} +9 -9
- package/dist/chunks/{persistent-pty-z1fz22vh.js → skill-dj8ntj6r.js} +9 -9
- package/dist/chunks/{persistent-pty-cwa6csj7.js → skill-djszqvmq.js} +9 -9
- package/dist/chunks/{persistent-pty-xkntkrq7.js → skill-dmqcgk4z.js} +5 -5
- package/dist/chunks/{persistent-pty-m3frg8rt.js → skill-dnywem4c.js} +10 -10
- package/dist/chunks/{persistent-pty-t0cpmee7.js → skill-drrd09b1.js} +11 -11
- package/dist/chunks/{persistent-pty-ymjtnym2.js → skill-e12ezkd1.js} +5 -5
- package/dist/chunks/{persistent-pty-7dy85ahw.js → skill-e8vwfchq.js} +6 -6
- package/dist/chunks/{persistent-pty-wksxstam.js → skill-e9f0cxdm.js} +23 -23
- package/dist/chunks/{persistent-pty-61mpxj7t.js → skill-e9p0h47t.js} +20 -20
- package/dist/chunks/{persistent-pty-4f0xd74p.js → skill-eaapcx4q.js} +32 -32
- package/dist/chunks/{persistent-pty-y54kce5q.js → skill-eb7s4h44.js} +13 -13
- package/dist/chunks/{persistent-pty-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-dddzyqpc.js → skill-ekzt55v3.js} +10 -10
- package/dist/chunks/{persistent-pty-27v5mrzz.js → skill-erpxhmj9.js} +3 -3
- package/dist/chunks/{persistent-pty-5sjzzvdy.js → skill-erqn936q.js} +17 -17
- package/dist/chunks/{persistent-pty-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-mhnyy3p3.js → skill-f59ep6tb.js} +11 -11
- package/dist/chunks/{persistent-pty-71az546q.js → skill-f75zav2x.js} +2 -2
- package/dist/chunks/{persistent-pty-8nmyydee.js → skill-fgber3cj.js} +12 -12
- package/dist/chunks/{persistent-pty-d2m6d01v.js → skill-fkfgeacz.js} +20 -20
- package/dist/chunks/{persistent-pty-9dztgy31.js → skill-fwtyrwy7.js} +4 -4
- package/dist/chunks/{persistent-pty-cywnvfy5.js → skill-g55y0fm8.js} +11 -11
- package/dist/chunks/{persistent-pty-yp3cv92q.js → skill-g7b3b0xt.js} +13 -13
- package/dist/chunks/{persistent-pty-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-yrcj3v3g.js → skill-gw7cjrad.js} +4 -4
- package/dist/chunks/{persistent-pty-v6ry9q01.js → skill-gz1mej8d.js} +24 -24
- package/dist/chunks/{persistent-pty-9x9fdyge.js → skill-h4ckqw4f.js} +8 -8
- package/dist/chunks/{persistent-pty-sgqg2f8q.js → skill-h6n6d8sv.js} +4 -4
- package/dist/chunks/{persistent-pty-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-ptvvbxck.js → skill-ha20kep4.js} +6 -6
- package/dist/chunks/{persistent-pty-9mbx3c6g.js → skill-hd2p1ez5.js} +32 -32
- package/dist/chunks/{persistent-pty-9yj6y0aa.js → skill-hgh7nzp1.js} +11 -11
- package/dist/chunks/{persistent-pty-j65xwarf.js → skill-hk2agn7d.js} +5 -5
- package/dist/chunks/{persistent-pty-ja6fbgv5.js → skill-hrvhj6xt.js} +15 -15
- package/dist/chunks/{persistent-pty-rn484enx.js → skill-hwmwb64m.js} +13 -13
- package/dist/chunks/{persistent-pty-1276degm.js → skill-hyeaefyw.js} +21 -21
- package/dist/chunks/{persistent-pty-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-yb9kj8pc.js → skill-j6d2rgta.js} +25 -25
- package/dist/chunks/{persistent-pty-dysmr7k2.js → skill-j9rkfp81.js} +29 -29
- package/dist/chunks/{persistent-pty-8q9myf25.js → skill-jhf3jymm.js} +6 -6
- package/dist/chunks/{persistent-pty-8tb93y3v.js → skill-jjt8f5e2.js} +6 -6
- package/dist/chunks/{persistent-pty-4hc31b97.js → skill-jx1rpkq3.js} +23 -23
- package/dist/chunks/skill-jx90kh1x.js +170 -0
- package/dist/chunks/{persistent-pty-qy7fdy02.js → skill-jxf73drv.js} +23 -23
- package/dist/chunks/{persistent-pty-k1dde556.js → skill-k4sc78tn.js} +11 -11
- package/dist/chunks/{persistent-pty-qwfjbs6q.js → skill-k6963dvz.js} +13 -13
- package/dist/chunks/{persistent-pty-7kyfdp6z.js → skill-kb3wdknj.js} +6 -6
- package/dist/chunks/{persistent-pty-9e5bzkjp.js → skill-kb9j3d72.js} +3 -3
- package/dist/chunks/{persistent-pty-9g5ba4sr.js → skill-ksaabt2j.js} +7 -7
- package/dist/chunks/{persistent-pty-cbmf5txa.js → skill-kva4bpmc.js} +6 -6
- package/dist/chunks/{persistent-pty-xvedb59m.js → skill-kw9xdzv2.js} +9 -9
- package/dist/chunks/{persistent-pty-tfzngn12.js → skill-m0r31qfn.js} +4 -4
- package/dist/chunks/{persistent-pty-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-s87ygg5r.js → skill-m55qy151.js} +10 -10
- package/dist/chunks/{persistent-pty-ckf8nxjz.js → skill-m70sbz6t.js} +4 -4
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → skill-mfqp6xfm.js} +2 -2
- package/dist/chunks/{persistent-pty-96thbmfj.js → skill-mhaxke0e.js} +11 -11
- package/dist/chunks/{persistent-pty-9jzr21ep.js → skill-mjkbcby4.js} +8 -8
- package/dist/chunks/{persistent-pty-37sfe3bm.js → skill-mkpw75cb.js} +14 -14
- package/dist/chunks/{persistent-pty-h1yqkxn4.js → skill-mkynkq7z.js} +27 -27
- package/dist/chunks/{persistent-pty-9dp025y5.js → skill-mqgk8n7h.js} +8 -17
- package/dist/chunks/{persistent-pty-1gg3s3st.js → skill-mzxeka0h.js} +8 -8
- package/dist/chunks/{persistent-pty-xcwya4hk.js → skill-n2tcwf5b.js} +9 -9
- package/dist/chunks/{persistent-pty-qm2kbj48.js → skill-n5ae90wp.js} +44 -44
- package/dist/chunks/{persistent-pty-n4wpfnv1.js → skill-n954ms1x.js} +30 -30
- package/dist/chunks/{persistent-pty-ws2vmpjm.js → skill-ncbd9k1n.js} +26 -26
- package/dist/chunks/{persistent-pty-ge24w6v9.js → skill-npdfa7bp.js} +4 -4
- package/dist/chunks/{persistent-pty-yqntd9h0.js → skill-nr63hy47.js} +20 -20
- package/dist/chunks/{persistent-pty-82vtwhxh.js → skill-nt83ta39.js} +2 -2
- package/dist/chunks/{persistent-pty-scvmve7w.js → skill-nv0bg10t.js} +7 -7
- package/dist/chunks/{persistent-pty-6m05awva.js → skill-nv3pc6qf.js} +52 -52
- package/dist/chunks/{persistent-pty-dpkg50ah.js → skill-nxm207yx.js} +4 -4
- package/dist/chunks/{persistent-pty-3q5w9v8n.js → skill-p8ws4y22.js} +3 -3
- package/dist/chunks/{persistent-pty-zhaqhg6g.js → skill-pbd1thjg.js} +16 -16
- package/dist/chunks/{persistent-pty-fw6qy902.js → skill-pepm8dby.js} +21 -21
- package/dist/chunks/{persistent-pty-rh75w547.js → skill-pf3eytb1.js} +16 -16
- package/dist/chunks/{persistent-pty-0tncg1vv.js → skill-phamkerz.js} +20 -20
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-42sykk0b.js → skill-pp9929yk.js} +3 -3
- package/dist/chunks/{persistent-pty-py3kkmfq.js → skill-py3kkmfq.js} +2 -2
- package/dist/chunks/{persistent-pty-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
- package/dist/chunks/{persistent-pty-2fd2am7y.js → skill-q3vqk3xr.js} +17 -17
- package/dist/chunks/{persistent-pty-eh16wa7e.js → skill-q5960j2k.js} +11 -11
- package/dist/chunks/{persistent-pty-0rgtz50w.js → skill-qgh7kmwr.js} +34 -34
- package/dist/chunks/{persistent-pty-d2gszh5q.js → skill-qj9j2a2q.js} +49 -49
- package/dist/chunks/{persistent-pty-b7j3e6pa.js → skill-qjpmqgzf.js} +7 -7
- package/dist/chunks/{persistent-pty-ejr9s24d.js → skill-qknacate.js} +5 -5
- package/dist/chunks/{persistent-pty-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-5ttg62tg.js → skill-qpn1zdvw.js} +17 -17
- package/dist/chunks/{persistent-pty-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-xyafkbt0.js → skill-qxjc9qry.js} +3 -3
- package/dist/chunks/{persistent-pty-9dfpqakj.js → skill-r1nb17gn.js} +81 -81
- package/dist/chunks/{persistent-pty-1wrsvdt8.js → skill-r70ycx4n.js} +25 -25
- package/dist/chunks/{persistent-pty-ghr1eecf.js → skill-r8nd9bcd.js} +10 -10
- package/dist/chunks/{persistent-pty-v5dkyp31.js → skill-ratrq7cm.js} +4 -4
- package/dist/chunks/{persistent-pty-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-sjraay0z.js → skill-rzgqzdfw.js} +24 -24
- package/dist/chunks/{persistent-pty-x8nragah.js → skill-s0gnmrjq.js} +45 -45
- package/dist/chunks/{persistent-pty-msptq8w2.js → skill-sgfsa1gf.js} +27 -27
- package/dist/chunks/{persistent-pty-1a2vdc32.js → skill-sjd79hyp.js} +11 -11
- package/dist/chunks/{persistent-pty-bp6a26mh.js → skill-spc3bnnm.js} +11 -11
- package/dist/chunks/{persistent-pty-as7cf5zz.js → skill-sqvzcy4n.js} +4 -4
- package/dist/chunks/{persistent-pty-5tcm9639.js → skill-srq8z0b0.js} +9 -9
- package/dist/chunks/{persistent-pty-my4zabxr.js → skill-ss358qx3.js} +3 -3
- package/dist/chunks/{persistent-pty-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-6pb6sdx8.js → skill-tejbjf59.js} +4 -4
- package/dist/chunks/{persistent-pty-2bz9k98p.js → skill-tg5df4wz.js} +7 -7
- package/dist/chunks/{persistent-pty-0n1wmc6t.js → skill-tj46nj0w.js} +18 -18
- package/dist/chunks/{persistent-pty-20ykreb2.js → skill-tnsxnedn.js} +11 -11
- package/dist/chunks/{persistent-pty-hqhz58vx.js → skill-tqk69v2v.js} +4 -4
- package/dist/chunks/{persistent-pty-mx64x80q.js → skill-tsvyk731.js} +9 -9
- package/dist/chunks/{persistent-pty-mvf6nh1j.js → skill-ty91ypxj.js} +8 -8
- package/dist/chunks/{persistent-pty-emyk28wm.js → skill-tzmf1m41.js} +12 -12
- package/dist/chunks/{persistent-pty-v0es1rhs.js → skill-v0es1rhs.js} +2 -2
- package/dist/chunks/{persistent-pty-6zxqk44r.js → skill-vcvsrew2.js} +6 -6
- package/dist/chunks/{persistent-pty-c957ak9e.js → skill-vdt2qea3.js} +11 -11
- package/dist/chunks/skill-ve7vex1e.js +13 -0
- package/dist/chunks/{persistent-pty-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-6zwqfqhk.js → skill-vf0qy17w.js} +14 -14
- package/dist/chunks/{persistent-pty-fc43n6xf.js → skill-vm2jbb5h.js} +8 -8
- package/dist/chunks/{persistent-pty-ppjqgbs9.js → skill-vnyzbnjy.js} +30 -30
- package/dist/chunks/{persistent-pty-vxzn4mjm.js → skill-vv4myjfv.js} +4 -4
- package/dist/chunks/{persistent-pty-mjr85pze.js → skill-vwy9zyw6.js} +11 -11
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-d0gvmkv5.js → skill-w5yatvn3.js} +71 -71
- package/dist/chunks/{persistent-pty-9rghtk6e.js → skill-w9famnvv.js} +17 -17
- package/dist/chunks/{persistent-pty-0asdx158.js → skill-wd57n0dr.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-nmdtbfzh.js → skill-wnjvpe9v.js} +50 -50
- package/dist/chunks/{persistent-pty-gye40d0j.js → skill-wqe2r5bg.js} +18 -18
- package/dist/chunks/{persistent-pty-yb0yv9hj.js → skill-wrey65kc.js} +13 -13
- package/dist/chunks/{persistent-pty-rhjbct0v.js → skill-wv396vej.js} +8 -8
- package/dist/chunks/{persistent-pty-ff4e8v5q.js → skill-wv3agxff.js} +31 -31
- package/dist/chunks/{persistent-pty-hwg9mkt4.js → skill-xdn82s8w.js} +5 -5
- package/dist/chunks/{persistent-pty-qnn75meq.js → skill-xfd536vj.js} +10 -10
- package/dist/chunks/{persistent-pty-xfkkasph.js → skill-xfkkasph.js} +1 -1
- package/dist/chunks/{persistent-pty-9dvjqq84.js → skill-xmctppxr.js} +38 -30
- package/dist/chunks/{persistent-pty-52w7dg7x.js → skill-xs5h1qdz.js} +23 -23
- package/dist/chunks/{persistent-pty-e173yrwe.js → skill-xxaqsrmm.js} +16 -16
- package/dist/chunks/{persistent-pty-vxzh5eqq.js → skill-xxndcd6m.js} +4 -4
- package/dist/chunks/{persistent-pty-xv04d7wa.js → skill-y0q8w9kt.js} +17 -17
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-ked9vqb3.js → skill-y5djr555.js} +17 -17
- package/dist/chunks/{persistent-pty-g0gfcgav.js → skill-y961xtxg.js} +22 -22
- package/dist/chunks/{persistent-pty-xn1vbmeg.js → skill-yc5pcqk4.js} +13 -13
- package/dist/chunks/skill-ycmvxzz8.js +253 -0
- package/dist/chunks/{persistent-pty-dh6ejakv.js → skill-ygawr200.js} +11 -11
- package/dist/chunks/{persistent-pty-2des930g.js → skill-yh7qhpc0.js} +30 -30
- package/dist/chunks/{persistent-pty-y5kja2xp.js → skill-ynqckmcw.js} +3 -3
- package/dist/chunks/skill-ynypt0bw.js +507 -0
- package/dist/chunks/{persistent-pty-rhraev7y.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-zsg7tck2.js → skill-ysg08fks.js} +27 -27
- package/dist/chunks/{persistent-pty-gep6bbz4.js → skill-yv0br436.js} +34 -34
- package/dist/chunks/{persistent-pty-ketf4sa0.js → skill-yw3hddg9.js} +11 -11
- package/dist/chunks/{persistent-pty-t845f9hx.js → skill-yykvp7t2.js} +17 -17
- package/dist/chunks/{persistent-pty-bdremd90.js → skill-yz5wyvkn.js} +19 -19
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-v06x2rvj.js → skill-zcc6ndmc.js} +3 -3
- package/dist/chunks/{persistent-pty-ccdvrwrq.js → skill-zkdhenw2.js} +8 -8
- package/dist/chunks/{persistent-pty-peecsdy0.js → skill-zp0bj7j8.js} +18 -18
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-qygbw77c.js → skill-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -352
- package/dist/location.js +82 -82
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +329 -327
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +6 -0
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +6 -0
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/provider/databricks.d.ts +1 -0
- package/dist/types/plugin/provider/google-vertex.d.ts +5 -1
- package/dist/types/plugin/provider/neon.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-67c7by3v.js +0 -26
- package/dist/chunks/persistent-pty-er5qhcv3.js +0 -253
- package/dist/chunks/persistent-pty-phz3h32g.js +0 -18
- package/dist/chunks/persistent-pty-qfqfjc74.js +0 -69
- package/dist/chunks/persistent-pty-vk7m4zfp.js +0 -507
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-80z4mvhs.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-2f42t4e4.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service49,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node51,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service49 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node51 = makeLocationNode({
|
|
153
|
+
service: Service49,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer3 = Layer.succeed(
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service67, Service67.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID5, Error3, Service49, node51, noopLayer3, exports_snapshot2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./skill-jhf3jymm.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./skill-70kp3xh7.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service37;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-g55y0fm8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-83q2r6tn.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service73
|
|
11
|
+
} from "./skill-vnyzbnjy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID10,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-6das53tm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-j9rkfp81.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID8,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info17
|
|
24
|
+
} from "./skill-mkynkq7z.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-54ma36ye.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/chatgpt.ts
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -40,8 +40,8 @@ var issuer = "https://auth.openai.com";
|
|
|
40
40
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
41
41
|
var resource = "https://api.openai.com/v1";
|
|
42
42
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
43
|
-
var providerID =
|
|
44
|
-
var integrationID =
|
|
43
|
+
var providerID = ID9.openai;
|
|
44
|
+
var integrationID = ID10.make("openai");
|
|
45
45
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
46
46
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
47
47
|
var fallbackModels = new Set([
|
|
@@ -177,7 +177,7 @@ var ChatGPTPlugin2 = define({
|
|
|
177
177
|
id: "opencode.provider.chatgpt",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
179
|
const bus = yield* Service83;
|
|
180
|
-
const credentials = yield*
|
|
180
|
+
const credentials = yield* Service73;
|
|
181
181
|
const loading = Semaphore.makeUnsafe(1);
|
|
182
182
|
let chatgpt;
|
|
183
183
|
let source;
|
|
@@ -192,7 +192,7 @@ var ChatGPTPlugin2 = define({
|
|
|
192
192
|
yield* ctx.integration.transform((editor) => {
|
|
193
193
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
194
194
|
});
|
|
195
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
195
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("openai")), (entry) => {
|
|
196
196
|
const value = entry.value;
|
|
197
197
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
198
198
|
return Effect.void;
|
|
@@ -262,7 +262,7 @@ var ChatGPTPlugin2 = define({
|
|
|
262
262
|
}
|
|
263
263
|
});
|
|
264
264
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
})
|
|
267
267
|
});
|
|
268
268
|
function headers(app) {
|
|
@@ -319,7 +319,7 @@ function deriveModels2(remote, existing) {
|
|
|
319
319
|
const found = byID.get(model.modelID);
|
|
320
320
|
return found ? [deriveModel(found, model)] : [];
|
|
321
321
|
}),
|
|
322
|
-
...remote.filter((model) => !known.has(
|
|
322
|
+
...remote.filter((model) => !known.has(ID8.make(model.slug))).map((model) => deriveModel(model, Info17.default(ID9.openai, ID8.make(model.slug))))
|
|
323
323
|
];
|
|
324
324
|
}
|
|
325
325
|
function deriveModel(remote, previous) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node70,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node70 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node70, exports_driver };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-83q2r6tn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./skill-1154za8m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./skill-r70ycx4n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./skill-f59ep6tb.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-e8vwfchq.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-5ahstw8v.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-zcc6ndmc.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-zyk1yjk8.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -55,11 +55,11 @@ var INPUT_INCOMPLETE = {
|
|
|
55
55
|
type: "tool.input-incomplete",
|
|
56
56
|
message: "Tool call arguments were not completed and were not executed. Re-issue the tool call with complete arguments."
|
|
57
57
|
};
|
|
58
|
-
var
|
|
58
|
+
var make3 = Effect.gen(function* () {
|
|
59
59
|
const bus = yield* Service83;
|
|
60
60
|
const llm = yield* LLMClient.Service;
|
|
61
|
-
const snapshots = yield*
|
|
62
|
-
const toolOutput = yield*
|
|
61
|
+
const snapshots = yield* Service49;
|
|
62
|
+
const toolOutput = yield* Service57;
|
|
63
63
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
64
64
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
65
65
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -75,7 +75,7 @@ var make9 = Effect.gen(function* () {
|
|
|
75
75
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
76
76
|
const executeTool = (call) => {
|
|
77
77
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
78
|
-
return new
|
|
78
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
79
79
|
return input.prepared.executeTool({
|
|
80
80
|
sessionID: input.sessionID,
|
|
81
81
|
agent: input.agent,
|
|
@@ -226,4 +226,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
226
226
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
-
export { Outcome2,
|
|
229
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-83q2r6tn.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-db2wf4at.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./skill-vnyzbnjy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./skill-6das53tm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service71
|
|
16
|
+
} from "./skill-j9rkfp81.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-fgber3cj.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service71;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-g55y0fm8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin24 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin26 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin26 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin24, exports_tavily };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service46,
|
|
3
|
+
node48,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-7333qy8y.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service37,
|
|
8
|
+
node39
|
|
9
|
+
} from "./skill-jhf3jymm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service17
|
|
12
|
+
} from "./skill-ysg08fks.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-ycmvxzz8.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service46, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service17);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node39.replace(Layer.succeed(Service37, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node48.replace(Layer.succeed(Service46, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|