@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-pp9929yk.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node70
|
|
12
|
+
} from "./skill-1fmrbde1.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID7,
|
|
25
|
+
Info: () => Info16,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service67,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node69
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID7 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info16 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID7,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info9 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID7,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service67 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service67,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node70]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info16({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service67.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node69 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID7, Info16, NotFound3, CreateConflict2, Service67, configured9, node69, exports_workspace };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-pp9929yk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-83q2r6tn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service37
|
|
9
|
+
} from "./skill-jhf3jymm.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-e8vwfchq.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service77
|
|
29
|
+
} from "./skill-8axdpjc9.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service35
|
|
34
|
+
} from "./skill-fkfgeacz.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service33
|
|
37
|
+
} from "./skill-a5qvk4tq.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./skill-6xb3g4e9.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./skill-2p92bsdk.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./skill-12x48tfh.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./skill-dj8ntj6r.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./skill-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service77;
|
|
69
|
+
const instances = yield* Service37;
|
|
70
|
+
const execution = yield* Service33;
|
|
71
|
+
const admission = yield* Service35;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError10({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service37, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service37, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service37, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-83q2r6tn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node77
|
|
10
|
+
} from "./skill-vnyzbnjy.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-db2wf4at.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-e9f0cxdm.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID10,
|
|
41
|
+
Info: () => Info19,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service72,
|
|
49
|
+
node: () => node76
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/unstable/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
+
var ID10 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info19 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID10,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service72 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service73;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info19.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service72.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node76 = makeLocationNode({
|
|
633
|
+
service: Service72,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node77, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node76, exports_integration, Event16 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-ty91ypxj.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-2f42t4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./skill-nv3pc6qf.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
node: () => node17,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service80;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service75;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [FSUtil.node, node84, node79] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./skill-nr63hy47.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-2f42t4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./skill-3pc526mj.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-av9mcy8y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./skill-srq8z0b0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-ha20kep4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill = {};
|
|
30
30
|
__export(exports_skill, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin18 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service59;
|
|
43
|
+
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service60;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin9 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin18, exports_skill };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./skill-kw9xdzv2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./skill-jhf3jymm.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service79
|
|
15
|
+
} from "./skill-a2qe2ev9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-e8vwfchq.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service53
|
|
23
|
+
} from "./skill-av9mcy8y.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service37;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service79;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service53;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service45;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|