@opencode/core 0.0.0-dev-20758 → 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 +78 -78
- 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/{plugin-pnhy747t.js → skill-04mbc03a.js} +20 -20
- package/dist/chunks/{plugin-e66nesxb.js → skill-0902bvg8.js} +20 -20
- package/dist/chunks/{plugin-2jjf33bd.js → skill-0eqx75h4.js} +10 -10
- package/dist/chunks/{plugin-v71c1a1v.js → skill-0hffe5rb.js} +4 -4
- package/dist/chunks/{plugin-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-pcgtvjtb.js → skill-0rtws61d.js} +11 -11
- package/dist/chunks/{plugin-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-26ebw5j8.js → skill-0wdexvxm.js} +7 -7
- package/dist/chunks/{plugin-2pcxzsf7.js → skill-0y5zvsv8.js} +21 -21
- package/dist/chunks/{plugin-34hmfy8j.js → skill-1154za8m.js} +24 -24
- package/dist/chunks/{plugin-55n23649.js → skill-12x48tfh.js} +9 -9
- package/dist/chunks/{plugin-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-1kxpc97h.js → skill-1dy6vzzp.js} +20 -20
- package/dist/chunks/{plugin-4k06pz28.js → skill-1fmrbde1.js} +6 -6
- package/dist/chunks/{plugin-amwnzxwh.js → skill-1khdm3wj.js} +20 -20
- package/dist/chunks/{plugin-nvzxqk3k.js → skill-1r53ywk9.js} +13 -13
- package/dist/chunks/{plugin-vxp3kcg3.js → skill-207ajt2h.js} +5 -5
- package/dist/chunks/{plugin-rxxzktnj.js → skill-21fz40hq.js} +8 -8
- package/dist/chunks/{plugin-3jjcx604.js → skill-265w8d3s.js} +9 -9
- package/dist/chunks/{plugin-91dde8t4.js → skill-2833za8j.js} +28 -28
- package/dist/chunks/{plugin-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-4xsb3hs6.js → skill-2f42t4e4.js} +14 -14
- package/dist/chunks/{plugin-2k8khapm.js → skill-2k8khapm.js} +1 -1
- package/dist/chunks/{plugin-fwnv5zf0.js → skill-2mfvpe9w.js} +43 -43
- package/dist/chunks/{plugin-fhay06rt.js → skill-2p92bsdk.js} +20 -20
- package/dist/chunks/{plugin-cbhkx3tr.js → skill-2sd1nppe.js} +51 -51
- package/dist/chunks/{plugin-b6w32ww0.js → skill-2wh5fw73.js} +19 -19
- package/dist/chunks/{plugin-tmjk8msh.js → skill-2xrg438h.js} +10 -10
- package/dist/chunks/{plugin-e4ncs75c.js → skill-30m2v4sk.js} +18 -18
- package/dist/chunks/{plugin-930ytmjr.js → skill-380qvp89.js} +49 -45
- package/dist/chunks/{plugin-ck862t9c.js → skill-3a45ycq8.js} +13 -13
- package/dist/chunks/{plugin-h2b79v29.js → skill-3cegwx68.js} +2 -2
- package/dist/chunks/{plugin-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-32awjfk4.js → skill-3pc526mj.js} +46 -46
- package/dist/chunks/{plugin-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-z6c3x22d.js → skill-47jkzegy.js} +5 -5
- package/dist/chunks/{plugin-11dqjexa.js → skill-4jyvzrab.js} +9 -9
- package/dist/chunks/{plugin-vhen0w1n.js → skill-4psgr168.js} +10 -10
- package/dist/chunks/{plugin-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/skill-4v7qdvcn.js +18 -0
- package/dist/chunks/{plugin-rav9e4bf.js → skill-4xhhjths.js} +8 -8
- package/dist/chunks/{plugin-g6yfr6ja.js → skill-4xpgt2w9.js} +5 -5
- package/dist/chunks/{plugin-e0trdp3d.js → skill-52yrtfe6.js} +41 -41
- package/dist/chunks/{plugin-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-v1sag97x.js → skill-5ahstw8v.js} +5 -5
- package/dist/chunks/{plugin-8n3kmt1c.js → skill-5dwqhvmm.js} +14 -14
- package/dist/chunks/{plugin-e7c78a3c.js → skill-5jpmtgs8.js} +18 -18
- package/dist/chunks/{plugin-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-7adggac6.js → skill-5xaj4ggx.js} +15 -15
- package/dist/chunks/{plugin-63db42yp.js → skill-63db42yp.js} +2 -2
- package/dist/chunks/{plugin-b6y062z6.js → skill-68abg5kb.js} +16 -16
- package/dist/chunks/{plugin-pskvvnw1.js → skill-6a89nmhr.js} +23 -23
- package/dist/chunks/{plugin-rmpfz9qj.js → skill-6b6zkn31.js} +20 -20
- package/dist/chunks/{plugin-b18be9y0.js → skill-6c1xbava.js} +28 -28
- package/dist/chunks/{plugin-h237y1hp.js → skill-6das53tm.js} +23 -23
- package/dist/chunks/{plugin-amvtxfe6.js → skill-6jd7hqhx.js} +18 -18
- package/dist/chunks/{plugin-k83ja6p9.js → skill-6mdae8er.js} +27 -27
- package/dist/chunks/{plugin-a3c7ahw6.js → skill-6t4hr8r6.js} +4 -4
- package/dist/chunks/{plugin-zqskxcvf.js → skill-6xb3g4e9.js} +16 -16
- package/dist/chunks/{plugin-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{plugin-8a60hsqh.js → skill-6znh0kbk.js} +26 -26
- package/dist/chunks/{plugin-ssrwn3ya.js → skill-70kp3xh7.js} +43 -43
- package/dist/chunks/{plugin-q70t7gd8.js → skill-7333qy8y.js} +2 -2
- package/dist/chunks/{plugin-32q55df5.js → skill-74ye0k76.js} +6 -6
- package/dist/chunks/{plugin-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-08hjnr4e.js → skill-7rspqtd7.js} +76 -76
- package/dist/chunks/{plugin-73tb2d7t.js → skill-7yh4e7ss.js} +3 -3
- package/dist/chunks/{plugin-7zt5x37y.js → skill-7zt5x37y.js} +1 -1
- package/dist/chunks/{plugin-5ta9513b.js → skill-80z4mvhs.js} +12 -12
- package/dist/chunks/{plugin-ga0hptyh.js → skill-83q2r6tn.js} +4 -4
- package/dist/chunks/{plugin-1dvck2a7.js → skill-84h8c373.js} +2 -2
- package/dist/chunks/{plugin-w1eejvng.js → skill-84txncab.js} +5 -5
- package/dist/chunks/{plugin-4n607a2z.js → skill-84zcxbc9.js} +5 -5
- package/dist/chunks/{plugin-tcezcvh9.js → skill-89znhe33.js} +4 -4
- package/dist/chunks/{plugin-mbwetfdd.js → skill-8axdpjc9.js} +12 -12
- package/dist/chunks/{plugin-pbahbm87.js → skill-8bqkepy5.js} +1 -1
- package/dist/chunks/{plugin-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-k0xk7f5q.js → skill-8hj8r0wk.js} +28 -28
- package/dist/chunks/{plugin-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{plugin-5k6cp939.js → skill-8t1p2d4f.js} +32 -32
- package/dist/chunks/{plugin-b179z9aa.js → skill-8zf35w4m.js} +5 -5
- package/dist/chunks/{plugin-q40dj8e5.js → skill-93tfm6kk.js} +12 -12
- package/dist/chunks/{plugin-dr3mn59c.js → skill-9wf975y4.js} +9 -9
- package/dist/chunks/{plugin-4m8vjzqx.js → skill-a1fvq3z4.js} +11 -11
- package/dist/chunks/{plugin-fqtvmpfq.js → skill-a2qe2ev9.js} +8 -8
- package/dist/chunks/{plugin-zdfqscx7.js → skill-a5qvk4tq.js} +35 -35
- package/dist/chunks/{plugin-50mzsvk4.js → skill-a8bn8zg0.js} +4 -4
- package/dist/chunks/{plugin-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-aqag2c9v.js → skill-agd1asbq.js} +4 -4
- package/dist/chunks/{plugin-65v7h52e.js → skill-arjx5va6.js} +32 -32
- package/dist/chunks/{plugin-ry3mjkdh.js → skill-av9mcy8y.js} +26 -26
- package/dist/chunks/{plugin-jahgpaz9.js → skill-ayepesx3.js} +23 -23
- package/dist/chunks/{plugin-ae9b2d22.js → skill-b3xqyrms.js} +24 -24
- package/dist/chunks/{plugin-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-sshtd9fz.js → skill-bg9jftvn.js} +21 -21
- package/dist/chunks/{plugin-bgnxh9ws.js → skill-bkw14apt.js} +5 -5
- package/dist/chunks/skill-bw78ga2c.js +13 -0
- package/dist/chunks/{plugin-06b8tjqm.js → skill-c3nqfkhw.js} +40 -40
- package/dist/chunks/{plugin-493pwkwy.js → skill-c5qe4erg.js} +13 -13
- package/dist/chunks/{plugin-y0411vg4.js → skill-c9rrg4sq.js} +35 -35
- package/dist/chunks/{plugin-9hn6k4tm.js → skill-cmwkp3r5.js} +8 -8
- package/dist/chunks/{plugin-ntycb3pe.js → skill-cqekztpy.js} +9 -5
- package/dist/chunks/{plugin-vgx6weyf.js → skill-ctz7jbry.js} +7 -7
- package/dist/chunks/skill-czp4hz1t.js +26 -0
- package/dist/chunks/{plugin-06ggqby9.js → skill-d9aav9jb.js} +10 -10
- package/dist/chunks/{plugin-qgvxkg4m.js → skill-da0e8ynk.js} +170 -170
- package/dist/chunks/{plugin-db2wf4at.js → skill-db2wf4at.js} +1 -1
- package/dist/chunks/{plugin-kdb0wxfy.js → skill-dcbwehgs.js} +14 -14
- package/dist/chunks/{plugin-bp6nxkyb.js → skill-dj8ntj6r.js} +9 -9
- package/dist/chunks/{plugin-qmqgtz8f.js → skill-djszqvmq.js} +9 -9
- package/dist/chunks/{plugin-xkntkrq7.js → skill-dmqcgk4z.js} +5 -5
- package/dist/chunks/{plugin-391fy393.js → skill-dnywem4c.js} +13 -13
- package/dist/chunks/{plugin-ha18sq8v.js → skill-drrd09b1.js} +11 -11
- package/dist/chunks/{plugin-1z5p1kvf.js → skill-e12ezkd1.js} +5 -5
- package/dist/chunks/{plugin-e8vwfchq.js → skill-e8vwfchq.js} +3 -3
- package/dist/chunks/{plugin-4e5pjfnh.js → skill-e9f0cxdm.js} +18 -18
- package/dist/chunks/{plugin-2nd8jksd.js → skill-e9p0h47t.js} +20 -20
- package/dist/chunks/{plugin-zf67r54m.js → skill-eaapcx4q.js} +27 -27
- package/dist/chunks/{plugin-a8zkv2pe.js → skill-eb7s4h44.js} +15 -15
- package/dist/chunks/{plugin-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-k3s89w80.js → skill-ekzt55v3.js} +13 -13
- package/dist/chunks/{plugin-zekzssjs.js → skill-erpxhmj9.js} +3 -3
- package/dist/chunks/{plugin-avwgryr9.js → skill-erqn936q.js} +17 -17
- package/dist/chunks/{plugin-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-9f9kx6t9.js → skill-f59ep6tb.js} +11 -11
- package/dist/chunks/{plugin-71az546q.js → skill-f75zav2x.js} +2 -2
- package/dist/chunks/{plugin-4mhzv44w.js → skill-fgber3cj.js} +12 -12
- package/dist/chunks/{plugin-nf6gg3qx.js → skill-fkfgeacz.js} +18 -18
- package/dist/chunks/{plugin-0anxg2hy.js → skill-fwtyrwy7.js} +4 -4
- package/dist/chunks/{plugin-xakhm4tn.js → skill-g55y0fm8.js} +11 -11
- package/dist/chunks/{plugin-nb1ky5fj.js → skill-g7b3b0xt.js} +16 -16
- package/dist/chunks/{plugin-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-gw7cjrad.js → skill-gw7cjrad.js} +1 -1
- package/dist/chunks/{plugin-8t65gaz4.js → skill-gz1mej8d.js} +20 -20
- package/dist/chunks/{plugin-6kgskxtw.js → skill-h4ckqw4f.js} +8 -8
- package/dist/chunks/{plugin-8cvfc0bm.js → skill-h6n6d8sv.js} +4 -4
- package/dist/chunks/{plugin-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-wsv2n53z.js → skill-ha20kep4.js} +6 -6
- package/dist/chunks/{plugin-c5gbtkrm.js → skill-hd2p1ez5.js} +30 -30
- package/dist/chunks/{plugin-tgp6r9x7.js → skill-hgh7nzp1.js} +11 -11
- package/dist/chunks/{plugin-4f6aj8kt.js → skill-hk2agn7d.js} +5 -5
- package/dist/chunks/{plugin-5czaavyq.js → skill-hrvhj6xt.js} +15 -15
- package/dist/chunks/{plugin-cnw1ybh9.js → skill-hwmwb64m.js} +7 -7
- package/dist/chunks/{plugin-j1n7agav.js → skill-hyeaefyw.js} +24 -24
- package/dist/chunks/{plugin-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-v65hw006.js → skill-j6d2rgta.js} +27 -27
- package/dist/chunks/{plugin-c9rjf8cy.js → skill-j9rkfp81.js} +27 -27
- package/dist/chunks/{plugin-sxzvkvgj.js → skill-jhf3jymm.js} +6 -6
- package/dist/chunks/{plugin-kdbeyht2.js → skill-jjt8f5e2.js} +8 -8
- package/dist/chunks/{plugin-npzmw89e.js → skill-jx1rpkq3.js} +22 -22
- package/dist/chunks/{plugin-vnard5rx.js → skill-jx90kh1x.js} +21 -17
- package/dist/chunks/{plugin-7sv012e1.js → skill-jxf73drv.js} +24 -24
- package/dist/chunks/{plugin-snth2vya.js → skill-k4sc78tn.js} +11 -11
- package/dist/chunks/{plugin-p4vbx1px.js → skill-k6963dvz.js} +13 -13
- package/dist/chunks/{plugin-9d8a2yy3.js → skill-kb3wdknj.js} +6 -6
- package/dist/chunks/{plugin-9e5bzkjp.js → skill-kb9j3d72.js} +3 -3
- package/dist/chunks/{plugin-7dad3kfy.js → skill-ksaabt2j.js} +9 -9
- package/dist/chunks/{plugin-32egw0ep.js → skill-kva4bpmc.js} +6 -6
- package/dist/chunks/{plugin-bft59c27.js → skill-kw9xdzv2.js} +9 -9
- package/dist/chunks/{plugin-xxxym934.js → skill-m0r31qfn.js} +4 -4
- package/dist/chunks/{plugin-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-8mffgybp.js → skill-m55qy151.js} +10 -10
- package/dist/chunks/{plugin-06x8he3q.js → skill-m70sbz6t.js} +4 -4
- package/dist/chunks/{plugin-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-1ygqh575.js → skill-mfqp6xfm.js} +6 -6
- package/dist/chunks/{plugin-2429x8vg.js → skill-mhaxke0e.js} +11 -11
- package/dist/chunks/{plugin-d82y3xth.js → skill-mjkbcby4.js} +8 -8
- package/dist/chunks/{plugin-1pdpjhqt.js → skill-mkpw75cb.js} +16 -16
- package/dist/chunks/{plugin-05jdftm3.js → skill-mkynkq7z.js} +32 -32
- package/dist/chunks/{plugin-0j5ch4x2.js → skill-mqgk8n7h.js} +8 -17
- package/dist/chunks/{plugin-cyj9nmfd.js → skill-mzxeka0h.js} +8 -8
- package/dist/chunks/{plugin-x4d5q8t7.js → skill-n2tcwf5b.js} +9 -9
- package/dist/chunks/{plugin-yy74f440.js → skill-n5ae90wp.js} +45 -45
- package/dist/chunks/{plugin-88wnevm5.js → skill-n954ms1x.js} +33 -33
- package/dist/chunks/{plugin-akmb2x75.js → skill-ncbd9k1n.js} +26 -26
- package/dist/chunks/{plugin-2c5zhkam.js → skill-npdfa7bp.js} +4 -4
- package/dist/chunks/{plugin-5f41ny5v.js → skill-nr63hy47.js} +22 -22
- package/dist/chunks/{plugin-5enbrya0.js → skill-nt83ta39.js} +2 -2
- package/dist/chunks/{plugin-9vvef7vj.js → skill-nv0bg10t.js} +7 -7
- package/dist/chunks/{plugin-f1p9y8zj.js → skill-nv3pc6qf.js} +34 -34
- package/dist/chunks/{plugin-dpkg50ah.js → skill-nxm207yx.js} +4 -4
- package/dist/chunks/{plugin-e7ypp41t.js → skill-p8ws4y22.js} +3 -3
- package/dist/chunks/{plugin-b74dvs76.js → skill-pbd1thjg.js} +18 -18
- package/dist/chunks/{plugin-5c3bjzbg.js → skill-pepm8dby.js} +21 -21
- package/dist/chunks/{plugin-gtrhej8x.js → skill-pf3eytb1.js} +19 -19
- package/dist/chunks/{plugin-08azx7vb.js → skill-phamkerz.js} +20 -20
- package/dist/chunks/{plugin-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-4hrcm8j6.js → skill-pp9929yk.js} +3 -3
- package/dist/chunks/{plugin-1p07q0wb.js → skill-py3kkmfq.js} +4 -4
- package/dist/chunks/{plugin-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
- package/dist/chunks/{plugin-q51c7908.js → skill-q3vqk3xr.js} +20 -20
- package/dist/chunks/{plugin-65sxyan4.js → skill-q5960j2k.js} +15 -15
- package/dist/chunks/{plugin-9wnskma6.js → skill-qgh7kmwr.js} +37 -37
- package/dist/chunks/{plugin-1dm5w4wz.js → skill-qj9j2a2q.js} +49 -49
- package/dist/chunks/{plugin-9wsb121e.js → skill-qjpmqgzf.js} +7 -7
- package/dist/chunks/{plugin-7w1f2z6x.js → skill-qknacate.js} +5 -5
- package/dist/chunks/{plugin-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-yfbpz9gr.js → skill-qpn1zdvw.js} +10 -10
- package/dist/chunks/{plugin-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-xyafkbt0.js → skill-qxjc9qry.js} +3 -3
- package/dist/chunks/{plugin-11c8pj9k.js → skill-r1nb17gn.js} +83 -83
- package/dist/chunks/{plugin-3j8jg9nw.js → skill-r70ycx4n.js} +25 -25
- package/dist/chunks/{plugin-ps8620kg.js → skill-r8nd9bcd.js} +7 -7
- package/dist/chunks/{plugin-v5dkyp31.js → skill-ratrq7cm.js} +4 -4
- package/dist/chunks/{plugin-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-em9t7gzc.js → skill-rzgqzdfw.js} +23 -23
- package/dist/chunks/{plugin-w24qmnvj.js → skill-s0gnmrjq.js} +41 -41
- package/dist/chunks/{plugin-sdte03hf.js → skill-sgfsa1gf.js} +32 -32
- package/dist/chunks/{plugin-7sth8apw.js → skill-sjd79hyp.js} +11 -11
- package/dist/chunks/{plugin-f59n54pq.js → skill-spc3bnnm.js} +8 -8
- package/dist/chunks/{plugin-pkqb68ka.js → skill-sqvzcy4n.js} +4 -4
- package/dist/chunks/{plugin-k70p9jzb.js → skill-srq8z0b0.js} +9 -9
- package/dist/chunks/{plugin-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-ebq1f2c4.js → skill-tejbjf59.js} +4 -4
- package/dist/chunks/{plugin-qsd76w7z.js → skill-tg5df4wz.js} +7 -7
- package/dist/chunks/{plugin-0rq97exp.js → skill-tj46nj0w.js} +25 -25
- package/dist/chunks/{plugin-vv067ckv.js → skill-tnsxnedn.js} +11 -11
- package/dist/chunks/{plugin-e2mhf28a.js → skill-tqk69v2v.js} +4 -4
- package/dist/chunks/{plugin-2gyx27wv.js → skill-tsvyk731.js} +6 -6
- package/dist/chunks/{plugin-8e73z6s7.js → skill-ty91ypxj.js} +24 -24
- package/dist/chunks/{plugin-9p27s66n.js → skill-tzmf1m41.js} +17 -17
- package/dist/chunks/{plugin-0bg0bx69.js → skill-v0es1rhs.js} +5 -5
- package/dist/chunks/{plugin-g7dz6sma.js → skill-vcvsrew2.js} +6 -6
- package/dist/chunks/{plugin-nrztd3hq.js → skill-vdt2qea3.js} +8 -8
- package/dist/chunks/skill-ve7vex1e.js +13 -0
- package/dist/chunks/{plugin-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-hw0qwmn2.js → skill-vf0qy17w.js} +14 -14
- package/dist/chunks/{plugin-qkkm507d.js → skill-vm2jbb5h.js} +8 -8
- package/dist/chunks/{plugin-07nvsf4k.js → skill-vnyzbnjy.js} +24 -24
- package/dist/chunks/{plugin-092bevw2.js → skill-vv4myjfv.js} +4 -4
- package/dist/chunks/{plugin-j6e2c7xw.js → skill-vwy9zyw6.js} +11 -11
- package/dist/chunks/{plugin-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-e7ewrzh6.js → skill-w5yatvn3.js} +70 -70
- package/dist/chunks/{plugin-wfmxrmcp.js → skill-w9famnvv.js} +17 -17
- package/dist/chunks/{plugin-8bchjepv.js → skill-wd57n0dr.js} +1 -1
- package/dist/chunks/{plugin-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-4gaxa8kh.js → skill-wnjvpe9v.js} +48 -48
- package/dist/chunks/{plugin-paa5t61c.js → skill-wqe2r5bg.js} +18 -18
- package/dist/chunks/{plugin-1027hae5.js → skill-wrey65kc.js} +13 -13
- package/dist/chunks/{plugin-wv396vej.js → skill-wv396vej.js} +1 -1
- package/dist/chunks/{plugin-33b8ym45.js → skill-wv3agxff.js} +33 -33
- package/dist/chunks/{plugin-320bjqex.js → skill-xdn82s8w.js} +5 -5
- package/dist/chunks/{plugin-nvzkeydp.js → skill-xfd536vj.js} +10 -10
- package/dist/chunks/{plugin-57b9ws8p.js → skill-xfkkasph.js} +7 -7
- package/dist/chunks/{plugin-1ysbc1zp.js → skill-xmctppxr.js} +38 -30
- package/dist/chunks/{plugin-nf8t0c59.js → skill-xs5h1qdz.js} +25 -25
- package/dist/chunks/{plugin-jnqz9a2w.js → skill-xxaqsrmm.js} +16 -16
- package/dist/chunks/{plugin-4nzwy074.js → skill-xxndcd6m.js} +4 -4
- package/dist/chunks/{plugin-ar26kh34.js → skill-y0q8w9kt.js} +17 -17
- package/dist/chunks/{plugin-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-ek1j26r9.js → skill-y5djr555.js} +11 -11
- package/dist/chunks/{plugin-7zrsc3f5.js → skill-y961xtxg.js} +22 -22
- package/dist/chunks/{plugin-c6fg679z.js → skill-yc5pcqk4.js} +15 -15
- package/dist/chunks/skill-ycmvxzz8.js +253 -0
- package/dist/chunks/{plugin-sntjch4w.js → skill-ygawr200.js} +11 -11
- package/dist/chunks/{plugin-k5t7rshj.js → skill-yh7qhpc0.js} +18 -18
- package/dist/chunks/{plugin-7kv0j4s7.js → skill-ynqckmcw.js} +3 -3
- package/dist/chunks/{plugin-q20jv0rb.js → skill-ynypt0bw.js} +319 -319
- package/dist/chunks/{plugin-yp2x3t23.js → skill-yp2x3t23.js} +1 -1
- package/dist/chunks/{plugin-y3h5g7g6.js → skill-ysg08fks.js} +33 -33
- package/dist/chunks/{plugin-k6ktwx3w.js → skill-yv0br436.js} +34 -34
- package/dist/chunks/{plugin-3c4qezr9.js → skill-yw3hddg9.js} +11 -11
- package/dist/chunks/{plugin-mdwhmar9.js → skill-yykvp7t2.js} +17 -17
- package/dist/chunks/{plugin-7272kpvj.js → skill-yz5wyvkn.js} +19 -19
- package/dist/chunks/{plugin-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-e7hm9j0w.js → skill-zcc6ndmc.js} +3 -3
- package/dist/chunks/{plugin-ev3erbeg.js → skill-zkdhenw2.js} +8 -8
- package/dist/chunks/{plugin-99xqbvzd.js → skill-zp0bj7j8.js} +18 -18
- package/dist/chunks/{plugin-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{plugin-scgrse2b.js → skill-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +119 -119
- package/dist/config/plugin/command.js +208 -208
- 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 +118 -118
- 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 +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +116 -116
- 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 +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- 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 +361 -359
- 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 +91 -91
- 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 +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +354 -352
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- 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 +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- 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 +77 -77
- package/dist/plugin/command.js +103 -103
- 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 +5 -5
- package/dist/plugin/internal.js +329 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- 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 -114
- 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 +135 -135
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- 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 +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +1 -1
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- 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 +1 -1
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- 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 +115 -115
- 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 +127 -127
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/mcp-resource.js +116 -116
- 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 +112 -112
- 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 +121 -121
- 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/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 +1 -1
- 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 +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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/plugin-3gh35byt.js +0 -26
- package/dist/chunks/plugin-ht5y0zrb.js +0 -18
- package/dist/chunks/plugin-pej1tjty.js +0 -253
- /package/dist/chunks/{plugin-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ss358qx3.js → skill-ss358qx3.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-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
32
|
Service46,
|
|
33
33
|
node48
|
|
34
|
-
} from "./
|
|
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,11 +90,11 @@ 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;
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service44, 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(Service44, 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,8 +256,8 @@ var layer = Layer.effect(Service44, 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
262
|
deps: [FSUtil.node, node87, node88, AppProcess.node, node48]
|
|
263
263
|
});
|
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./skill-ty91ypxj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service80,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node84,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service80 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node84 = LayerNode.unbound(Service80, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service81;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service80.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service80,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node85]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info27, Ref4, response2,
|
|
43
|
+
export { Info27, Ref4, response2, Service80, node84, boundNode2, exports_location };
|
|
@@ -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
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
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 Plugin44 = {
|
|
|
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 Plugin44 = {
|
|
|
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;
|
|
@@ -210,7 +210,7 @@ var Plugin44 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -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
|
});
|