@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-80z4mvhs.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-pp9929yk.js";
|
|
14
14
|
import {
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-83q2r6tn.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-3cegwx68.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-84h8c373.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-ty91ypxj.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-2f42t4e4.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service46,
|
|
33
|
+
node48
|
|
34
|
+
} from "./skill-7333qy8y.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./skill-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service44
|
|
41
|
+
} from "./skill-0y5zvsv8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./skill-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event5,
|
|
53
|
+
Info: () => Info8,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service43,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node45
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,7 +75,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info8 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event5 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service43 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service84;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service46;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service44).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service43.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node45 = Node.makeGlobalNode({
|
|
260
|
+
service: Service43,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node87, node88, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node48]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service43, node45, exports_worktree2, OperationError2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./skill-3pc526mj.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service66
|
|
13
|
+
} from "./skill-hyeaefyw.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service38
|
|
16
|
+
} from "./skill-g7b3b0xt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service75
|
|
19
|
+
} from "./skill-nv3pc6qf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-6jd7hqhx.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service58,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-yz5wyvkn.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError6,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service55
|
|
37
|
+
} from "./skill-70kp3xh7.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./skill-7rspqtd7.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./skill-tqk69v2v.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./skill-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin45,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin45 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service19;
|
|
123
|
+
const jobs = yield* Service38;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service66;
|
|
126
|
+
const access = yield* Service15;
|
|
127
|
+
const shell = yield* Service55;
|
|
128
|
+
const shellSelect = yield* Service58;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service75;
|
|
131
|
+
const config = yield* Service59;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin38 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name8,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin38 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name8,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input8,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name8,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name8];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin45, exports_shell2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
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
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service49
|
|
16
|
+
} from "./skill-1154za8m.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./skill-e8vwfchq.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-kb9j3d72.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service37;
|
|
45
45
|
const database = yield* Service84;
|
|
46
46
|
const bus = yield* Service83;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service49;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service37;
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service49;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|