@opencode/core 0.0.0-dev-19388 → 0.0.0-dev-19390
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 +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{filesystem-737983wq.js → kv-02zskd6f.js} +4 -4
- package/dist/chunks/{filesystem-c7jd750q.js → kv-06c7t6vr.js} +9 -9
- package/dist/chunks/{filesystem-q5asdkn4.js → kv-06x8he3q.js} +4 -4
- package/dist/chunks/{filesystem-xkjxrpcb.js → kv-0a9nes1v.js} +15 -15
- package/dist/chunks/{filesystem-h24d087c.js → kv-0egjfnvx.js} +15 -15
- package/dist/chunks/{filesystem-gr04s9gg.js → kv-0fr0exqw.js} +26 -26
- package/dist/chunks/{filesystem-wv978b9k.js → kv-0gb0b71h.js} +23 -23
- package/dist/chunks/{filesystem-ac88cgcg.js → kv-0jb4n2a0.js} +17 -17
- package/dist/chunks/{filesystem-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-dp24j7vv.js → kv-0t2h2sk3.js} +5 -5
- package/dist/chunks/{filesystem-6k9awrbh.js → kv-0wddtmhn.js} +12 -12
- package/dist/chunks/{filesystem-1acjjqhc.js → kv-1acjjqhc.js} +1 -1
- package/dist/chunks/{filesystem-3t5n67ye.js → kv-1awm1f41.js} +14 -14
- package/dist/chunks/{filesystem-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-1eyaby9q.js → kv-1eyaby9q.js} +2 -2
- package/dist/chunks/{filesystem-zesa0009.js → kv-1g49rwcy.js} +6 -6
- package/dist/chunks/{filesystem-9gqgjvk8.js → kv-1n7b5642.js} +20 -20
- package/dist/chunks/{filesystem-5pa6vm4n.js → kv-1vwgwxct.js} +9 -9
- package/dist/chunks/{filesystem-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-tyyqsn0v.js → kv-231m2dt6.js} +6 -6
- package/dist/chunks/{filesystem-6h73sxmp.js → kv-2402vzrj.js} +5 -5
- package/dist/chunks/{filesystem-z63w68vq.js → kv-29x78va6.js} +6 -6
- package/dist/chunks/{filesystem-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-rv8k5jkc.js → kv-2bvz9nnf.js} +14 -14
- package/dist/chunks/{filesystem-e7z714tc.js → kv-2ehqxkpw.js} +18 -18
- package/dist/chunks/{filesystem-pf2hb43r.js → kv-2jmaghvr.js} +4 -4
- package/dist/chunks/{filesystem-eqqhapwp.js → kv-2k9xzrh9.js} +24 -24
- package/dist/chunks/{filesystem-ede8bgtj.js → kv-2m27ke96.js} +28 -28
- package/dist/chunks/{filesystem-wcdb3cer.js → kv-2s81ped3.js} +25 -25
- package/dist/chunks/{filesystem-617hgdan.js → kv-2w8771a9.js} +46 -46
- package/dist/chunks/{filesystem-dbmcae2r.js → kv-38zh3dk0.js} +20 -20
- package/dist/chunks/{filesystem-v32t8jx1.js → kv-3c1tgrea.js} +6 -6
- package/dist/chunks/{filesystem-tz2bjj40.js → kv-3cfzdc8e.js} +5 -5
- package/dist/chunks/{filesystem-gdvy8fx6.js → kv-3fc6dm20.js} +4 -4
- package/dist/chunks/{filesystem-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-p33ejz0k.js → kv-3jp54z3r.js} +1 -1
- package/dist/chunks/{filesystem-mhkcfdm3.js → kv-3pb6rp4z.js} +25 -25
- package/dist/chunks/{filesystem-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-wjy94g25.js → kv-414z0nek.js} +13 -13
- package/dist/chunks/{filesystem-4maj8g0n.js → kv-415j81f1.js} +20 -20
- package/dist/chunks/{filesystem-d2z85qgk.js → kv-43k15f45.js} +4 -4
- package/dist/chunks/{filesystem-mrtpz622.js → kv-43k56ejq.js} +9 -9
- package/dist/chunks/{filesystem-6v7jgxpn.js → kv-4c2a19jd.js} +9 -9
- package/dist/chunks/{filesystem-myg80vbs.js → kv-4prjfj1p.js} +16 -16
- package/dist/chunks/kv-4zbw9bfp.js +247 -0
- package/dist/chunks/{filesystem-33zmxq1h.js → kv-4zf1v1ax.js} +11 -11
- package/dist/chunks/{filesystem-25852kw6.js → kv-55xz4zh9.js} +85 -85
- package/dist/chunks/{filesystem-56gdpj1q.js → kv-56gdpj1q.js} +2 -2
- package/dist/chunks/{filesystem-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-qj0x7chz.js → kv-5kfhy3k0.js} +296 -296
- package/dist/chunks/{filesystem-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-3h6cqk62.js → kv-5zdb2bkc.js} +22 -22
- package/dist/chunks/kv-619r8v3y.js +18 -0
- package/dist/chunks/{filesystem-gb23bvxt.js → kv-647wzfv2.js} +16 -16
- package/dist/chunks/{filesystem-j55f1gt8.js → kv-65c5xzsx.js} +15 -15
- package/dist/chunks/{filesystem-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/kv-6kdq0pjd.js +4 -0
- package/dist/chunks/{filesystem-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-b6mfpxes.js → kv-70fkcx2s.js} +48 -48
- package/dist/chunks/{filesystem-71q4at8m.js → kv-71q4at8m.js} +1 -1
- package/dist/chunks/{filesystem-pf7e094e.js → kv-73pkveg5.js} +11 -11
- package/dist/chunks/{filesystem-4dszt5y5.js → kv-75tda2q9.js} +35 -35
- package/dist/chunks/{filesystem-qpnsqa9x.js → kv-76v974f3.js} +15 -15
- package/dist/chunks/{filesystem-7zjk8agd.js → kv-790ch1hh.js} +7 -7
- package/dist/chunks/{filesystem-385xck8a.js → kv-7aserdg0.js} +11 -11
- package/dist/chunks/{filesystem-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-wx8vgsfk.js → kv-7nmf5ssc.js} +24 -24
- package/dist/chunks/{filesystem-86b59fvh.js → kv-7pqzfj2e.js} +19 -18
- package/dist/chunks/{filesystem-rf9vrjw2.js → kv-7q4tg7d5.js} +20 -20
- package/dist/chunks/{filesystem-v31hq529.js → kv-7sy2vt23.js} +48 -48
- package/dist/chunks/{filesystem-73tb2d7t.js → kv-7yh4e7ss.js} +3 -3
- package/dist/chunks/{filesystem-844ef7ks.js → kv-844ef7ks.js} +1 -1
- package/dist/chunks/{filesystem-cqvt4heg.js → kv-8478weqf.js} +11 -11
- package/dist/chunks/{filesystem-89znhe33.js → kv-89znhe33.js} +1 -1
- package/dist/chunks/{filesystem-a5stevxr.js → kv-8cf7d7hg.js} +17 -17
- package/dist/chunks/{filesystem-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-ydq1q308.js → kv-8f0b5v45.js} +28 -28
- package/dist/chunks/{filesystem-hjs68xrf.js → kv-8f6ywf8a.js} +34 -34
- package/dist/chunks/{filesystem-tkrrbede.js → kv-8jen4ca3.js} +19 -19
- package/dist/chunks/{filesystem-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-5bmw5kj7.js → kv-968baqck.js} +39 -39
- package/dist/chunks/{filesystem-57zwapjz.js → kv-96yt6zt0.js} +1 -1
- package/dist/chunks/{filesystem-sp5zyyma.js → kv-99xay3p1.js} +8 -8
- package/dist/chunks/{filesystem-qgj7q01q.js → kv-9htnacz2.js} +30 -30
- package/dist/chunks/{filesystem-eh06tsh4.js → kv-9j28mq2b.js} +27 -27
- package/dist/chunks/{filesystem-vnwx8xqr.js → kv-9r33v7f0.js} +15 -15
- package/dist/chunks/{filesystem-m9wy7qrr.js → kv-9wjnegnz.js} +4 -4
- package/dist/chunks/{filesystem-pndg43xp.js → kv-9zq90cq7.js} +7 -7
- package/dist/chunks/{filesystem-7fe4gxq1.js → kv-a08t2777.js} +17 -17
- package/dist/chunks/{filesystem-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-qam20mpp.js → kv-a7386y5n.js} +18 -18
- package/dist/chunks/{filesystem-xrxwtwha.js → kv-a9e4s6y5.js} +4 -4
- package/dist/chunks/{filesystem-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-m7m032ab.js → kv-afre2yrw.js} +32 -32
- package/dist/chunks/{filesystem-8bfq94b1.js → kv-agty4mtf.js} +71 -71
- package/dist/chunks/{filesystem-jk60jt88.js → kv-an11pnnt.js} +11 -11
- package/dist/chunks/{filesystem-394r11tr.js → kv-aqb5rer3.js} +30 -30
- package/dist/chunks/{filesystem-wpej6h4s.js → kv-axawr4n3.js} +7 -7
- package/dist/chunks/{filesystem-50mzsvk4.js → kv-axmvebxj.js} +21 -21
- package/dist/chunks/{filesystem-s84w5bg7.js → kv-azsdtfe1.js} +17 -17
- package/dist/chunks/{filesystem-6rzja1f9.js → kv-b2m2g9cq.js} +9 -9
- package/dist/chunks/{filesystem-a0ptexgx.js → kv-b2rq0zs9.js} +4 -4
- package/dist/chunks/{filesystem-915024ph.js → kv-b3d84yq7.js} +24 -24
- package/dist/chunks/{filesystem-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-vyy6cxw9.js → kv-bajakh74.js} +4 -4
- package/dist/chunks/{filesystem-1jgwmmhy.js → kv-barmx2sx.js} +4 -4
- package/dist/chunks/{filesystem-qk7hwtaf.js → kv-bcnz578n.js} +2 -2
- package/dist/chunks/{filesystem-z1f4gy9p.js → kv-bv56xrks.js} +8 -8
- package/dist/chunks/{filesystem-91pqtkcw.js → kv-bvggqreg.js} +20 -20
- package/dist/chunks/{filesystem-xhngfy0e.js → kv-bwy0a1tx.js} +91 -91
- package/dist/chunks/{filesystem-dtx2zz03.js → kv-c3jmffjz.js} +18 -18
- package/dist/chunks/{filesystem-xtfcs0yj.js → kv-ca40vn5a.js} +8 -8
- package/dist/chunks/{filesystem-n8r29p3x.js → kv-cd63sa4g.js} +16 -16
- package/dist/chunks/{filesystem-dwgb0r40.js → kv-cenmv2f9.js} +2 -2
- package/dist/chunks/{filesystem-c36wc4f0.js → kv-cfhv7k6a.js} +43 -43
- package/dist/chunks/{filesystem-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-hf9zzdc2.js → kv-cg9e05fy.js} +5 -5
- package/dist/chunks/{filesystem-sfbacvk4.js → kv-cmbyd9dr.js} +13 -13
- package/dist/chunks/{filesystem-ky6k48re.js → kv-cpde8a39.js} +37 -37
- package/dist/chunks/{filesystem-msq0jde0.js → kv-csf2jhsg.js} +4 -4
- package/dist/chunks/{filesystem-attwfgmv.js → kv-cxr98dhw.js} +19 -19
- package/dist/chunks/{filesystem-wy1hgqd7.js → kv-cz2808j2.js} +9 -9
- package/dist/chunks/{filesystem-nw2nz702.js → kv-d8nc1xcx.js} +4 -4
- package/dist/chunks/{filesystem-ydckf0vr.js → kv-dntgyp5f.js} +28 -28
- package/dist/chunks/{filesystem-5gachfgg.js → kv-drknmmyh.js} +9 -9
- package/dist/chunks/{filesystem-fqz39t5z.js → kv-dyev18v0.js} +5 -5
- package/dist/chunks/{filesystem-4rqn3ef5.js → kv-e4wgfgxg.js} +11 -11
- package/dist/chunks/{filesystem-n4vj9ajn.js → kv-eaeq89r9.js} +10 -10
- package/dist/chunks/{filesystem-zd00mhnz.js → kv-ebxxmhre.js} +18 -18
- package/dist/chunks/{filesystem-r9dyd1jw.js → kv-ecw6ew9r.js} +4 -4
- package/dist/chunks/{filesystem-6vkh6tth.js → kv-edgdtr1s.js} +27 -27
- package/dist/chunks/{filesystem-eddqeyr4.js → kv-efnnyr8k.js} +39 -39
- package/dist/chunks/{filesystem-xpxjkdch.js → kv-en2byt25.js} +7 -7
- package/dist/chunks/{filesystem-fp9646aj.js → kv-eqn55phe.js} +11 -11
- package/dist/chunks/{filesystem-wgn8rn3k.js → kv-eqrqx1n9.js} +62 -62
- package/dist/chunks/{filesystem-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-ak7vzz1a.js → kv-etq9z835.js} +2 -2
- package/dist/chunks/{filesystem-67dj31rt.js → kv-f2tmy4z7.js} +23 -23
- package/dist/chunks/{filesystem-xy0sa79b.js → kv-f3qv5bx3.js} +6 -6
- package/dist/chunks/{filesystem-f828m53h.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-m1y8ttrx.js → kv-f8q7mv7a.js} +1 -1
- package/dist/chunks/{filesystem-701y5145.js → kv-fagy7rdj.js} +33 -33
- package/dist/chunks/{filesystem-056y9sk5.js → kv-fgh0kbhd.js} +1 -1
- package/dist/chunks/{filesystem-4jamjfh1.js → kv-fgwnwwwp.js} +11 -11
- package/dist/chunks/{filesystem-3vb6kzdw.js → kv-fgxxhjfg.js} +6 -6
- package/dist/chunks/{filesystem-p613tt29.js → kv-fq6fvjs0.js} +5 -5
- package/dist/chunks/{filesystem-gzcwfc4e.js → kv-fv6994dx.js} +23 -23
- package/dist/chunks/{filesystem-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-a9mh0r96.js → kv-g298z4kx.js} +19 -19
- package/dist/chunks/{filesystem-895sbn4q.js → kv-gcybaz41.js} +31 -31
- package/dist/chunks/{filesystem-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-7cfynq8y.js → kv-ghs4y90d.js} +168 -168
- package/dist/chunks/{filesystem-th5km1p3.js → kv-gv6a8nnw.js} +5 -5
- package/dist/chunks/{filesystem-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{filesystem-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-7v6dnkvf.js → kv-h6ws6p6t.js} +26 -26
- package/dist/chunks/{filesystem-rxhbvfmr.js → kv-h7gz2dsa.js} +32 -32
- package/dist/chunks/{filesystem-1fqh06zb.js → kv-haav6xr7.js} +46 -46
- package/dist/chunks/{filesystem-wrdw2bq8.js → kv-hbkrh4y4.js} +3 -3
- package/dist/chunks/{filesystem-e82z9tr0.js → kv-hjt4xg1x.js} +7 -7
- package/dist/chunks/{filesystem-ednp5hmx.js → kv-hr5bc81f.js} +8 -8
- package/dist/chunks/{filesystem-5pg93txw.js → kv-hwewrxtp.js} +21 -21
- package/dist/chunks/{filesystem-gps6vdk6.js → kv-hxhax0yh.js} +18 -18
- package/dist/chunks/{filesystem-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-paphc93g.js → kv-j935v87r.js} +2 -2
- package/dist/chunks/{filesystem-jx1df3jm.js → kv-j9echq48.js} +7 -7
- package/dist/chunks/{filesystem-q1mwthsg.js → kv-ja0y4ynt.js} +17 -17
- package/dist/chunks/{filesystem-88gqx8fx.js → kv-jehgatyy.js} +37 -37
- package/dist/chunks/{filesystem-ywa60t48.js → kv-jg8cj1ke.js} +11 -11
- package/dist/chunks/{filesystem-p1by39wd.js → kv-jj6j4x9t.js} +42 -42
- package/dist/chunks/{filesystem-hnr5yq9h.js → kv-jv01nqvq.js} +5 -5
- package/dist/chunks/{filesystem-v0zwhkz5.js → kv-jw9satmb.js} +13 -13
- package/dist/chunks/{filesystem-wazkm2x0.js → kv-k0xz0zmp.js} +13 -13
- package/dist/chunks/{filesystem-1fbj5668.js → kv-k16ay38w.js} +1 -1
- package/dist/chunks/{filesystem-sj9w4s23.js → kv-k4c4r259.js} +21 -21
- package/dist/chunks/{filesystem-2mdf44cj.js → kv-kb85snj8.js} +9 -9
- package/dist/chunks/{filesystem-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{filesystem-tj953jaq.js → kv-kg5y7jy3.js} +36 -36
- package/dist/chunks/{filesystem-jefma2gq.js → kv-knb36ns0.js} +10 -10
- package/dist/chunks/{filesystem-nbzsj80d.js → kv-kp15nsp5.js} +8 -8
- package/dist/chunks/{filesystem-a1z5mzke.js → kv-ksz0h0wp.js} +1 -1
- package/dist/chunks/{filesystem-9g3vdk5q.js → kv-ktp4kh0a.js} +29 -29
- package/dist/chunks/{filesystem-1b1ar3e7.js → kv-m27pyyd3.js} +6 -6
- package/dist/chunks/{filesystem-gfybhtft.js → kv-m520pkxe.js} +18 -18
- package/dist/chunks/{filesystem-2bt6bea8.js → kv-m86bnw2c.js} +9 -9
- package/dist/chunks/{filesystem-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-55z3fzyw.js → kv-md368hrg.js} +11 -11
- package/dist/chunks/{filesystem-9fyw720m.js → kv-mhecb7s9.js} +19 -19
- package/dist/chunks/{filesystem-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
- package/dist/chunks/{filesystem-81swgkk7.js → kv-mrqdrzhn.js} +9 -9
- package/dist/chunks/{filesystem-hfqxjmzm.js → kv-n76fdqym.js} +5 -5
- package/dist/chunks/{filesystem-795b89xp.js → kv-nafsrqg5.js} +27 -27
- package/dist/chunks/{filesystem-6e93yj3m.js → kv-nberrbqf.js} +3 -3
- package/dist/chunks/{filesystem-c3mh7abg.js → kv-nppefrsq.js} +16 -16
- package/dist/chunks/{filesystem-dxadfsz3.js → kv-nsgsffy1.js} +13 -13
- package/dist/chunks/{filesystem-469vaqsc.js → kv-nx39g39j.js} +11 -11
- package/dist/chunks/{filesystem-b4bcrb8b.js → kv-nyqpwg46.js} +4 -4
- package/dist/chunks/{filesystem-hd29wc17.js → kv-p7kse70a.js} +8 -8
- package/dist/chunks/{filesystem-621rr81n.js → kv-pc89afeg.js} +11 -11
- package/dist/chunks/{filesystem-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-511fzf0h.js → kv-pkh14f8a.js} +30 -30
- package/dist/chunks/{filesystem-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-jbjar616.js → kv-pqx6j71q.js} +32 -32
- package/dist/chunks/{filesystem-e7z2mpna.js → kv-prhmc65q.js} +25 -25
- package/dist/chunks/{filesystem-jane354b.js → kv-ptyjv6sg.js} +3 -3
- package/dist/chunks/{filesystem-p6r5yh53.js → kv-pxt4kznk.js} +3 -3
- package/dist/chunks/{filesystem-0n7kkwyn.js → kv-q52pkfc0.js} +33 -33
- package/dist/chunks/{filesystem-yxjsdcwg.js → kv-q931v04c.js} +2 -2
- package/dist/chunks/{filesystem-z0ff4ppm.js → kv-qckw2k72.js} +8 -8
- package/dist/chunks/{filesystem-9a3ed6hb.js → kv-qdhh6c6w.js} +6 -6
- package/dist/chunks/{filesystem-0jwsre1p.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{filesystem-3s4rvetn.js → kv-qjfc5n3j.js} +13 -13
- package/dist/chunks/{filesystem-cr9wy6w1.js → kv-qk0gpxf2.js} +8 -8
- package/dist/chunks/{filesystem-t4rrxcfh.js → kv-qp1z02r1.js} +30 -30
- package/dist/chunks/{filesystem-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-xax1yraj.js → kv-qw1avwf1.js} +11 -11
- package/dist/chunks/{filesystem-jbddx18m.js → kv-r9babyk8.js} +1 -1
- package/dist/chunks/{filesystem-t2fc4mz5.js → kv-ratrq7cm.js} +4 -4
- package/dist/chunks/{filesystem-4e3yc908.js → kv-re8mxfzd.js} +23 -23
- package/dist/chunks/{filesystem-er06bvme.js → kv-rfbwz2gh.js} +19 -19
- package/dist/chunks/{filesystem-htp6s35y.js → kv-rfhs208y.js} +15 -15
- package/dist/chunks/{filesystem-q5933jwj.js → kv-rpgbr9ce.js} +22 -22
- package/dist/chunks/{filesystem-mkv6pa3p.js → kv-ry9rqqdj.js} +28 -28
- package/dist/chunks/{filesystem-e8tzj1q5.js → kv-rykrqnsz.js} +11 -11
- package/dist/chunks/{filesystem-yrznvahk.js → kv-s4enseaf.js} +2 -2
- package/dist/chunks/{filesystem-yytdt4jf.js → kv-s60tm16d.js} +10 -10
- package/dist/chunks/{filesystem-51whyq4r.js → kv-sbpd7n04.js} +7 -7
- package/dist/chunks/{filesystem-bzq013b3.js → kv-ser5sghd.js} +3 -3
- package/dist/chunks/{filesystem-g0e3tkhh.js → kv-snvhmjc6.js} +11 -11
- package/dist/chunks/{filesystem-2m10wfgt.js → kv-szhk0a37.js} +11 -11
- package/dist/chunks/{filesystem-gbt6w4kb.js → kv-t550f9t1.js} +6 -6
- package/dist/chunks/{filesystem-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-8qgzw9wd.js → kv-tf15gxw8.js} +20 -20
- package/dist/chunks/{filesystem-fwvt04sz.js → kv-tfngb0ww.js} +4 -4
- package/dist/chunks/{filesystem-9zswys26.js → kv-tjsj89dc.js} +9 -9
- package/dist/chunks/{filesystem-8v4d8r02.js → kv-tmbkz46m.js} +1 -1
- package/dist/chunks/{filesystem-rgp0xy6k.js → kv-tpsh7nep.js} +12 -12
- package/dist/chunks/{filesystem-24c7s165.js → kv-tqe05zcw.js} +27 -27
- package/dist/chunks/{filesystem-1rheacw5.js → kv-trvfwcf3.js} +36 -36
- package/dist/chunks/{filesystem-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-5kptn8c0.js → kv-twy35tz0.js} +9 -9
- package/dist/chunks/{filesystem-13bwbegs.js → kv-v76by4bg.js} +6 -6
- package/dist/chunks/{filesystem-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-q2b1ymqp.js → kv-vncycja5.js} +4 -4
- package/dist/chunks/{filesystem-s857ash9.js → kv-vnwmzs4a.js} +5 -5
- package/dist/chunks/{filesystem-nt7y0b6y.js → kv-vqa763dh.js} +9 -9
- package/dist/chunks/{filesystem-w1ph7bey.js → kv-vrrfbpyj.js} +18 -18
- package/dist/chunks/{filesystem-hhstr0w6.js → kv-vweeh7m7.js} +24 -24
- package/dist/chunks/{filesystem-1b4ff5b6.js → kv-vz1j9mmw.js} +23 -23
- package/dist/chunks/{filesystem-bqvawe2y.js → kv-vz7veymp.js} +58 -58
- package/dist/chunks/{filesystem-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-t5w9h8rb.js → kv-w00fmqn9.js} +22 -22
- package/dist/chunks/{filesystem-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-dmmdt4bf.js → kv-w61n6csx.js} +28 -28
- package/dist/chunks/{filesystem-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-q3j0kqfw.js → kv-wm3463ak.js} +25 -25
- package/dist/chunks/{filesystem-6yt31z2p.js → kv-wve3yzk2.js} +12 -12
- package/dist/chunks/{filesystem-k44km4nj.js → kv-wz6f4x3q.js} +19 -19
- package/dist/chunks/{filesystem-zx94nz29.js → kv-wzwrnqbk.js} +7 -7
- package/dist/chunks/{filesystem-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-x43y2vfs.js → kv-x43y2vfs.js} +2 -2
- package/dist/chunks/{filesystem-94f5g9k1.js → kv-xaq7y018.js} +32 -32
- package/dist/chunks/{filesystem-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-1batb0zb.js → kv-y41m72jr.js} +47 -47
- package/dist/chunks/{filesystem-dx6jvs3w.js → kv-y6ttfmkw.js} +16 -16
- package/dist/chunks/{filesystem-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-2stek9w5.js → kv-ybd0vcw2.js} +9 -9
- package/dist/chunks/{filesystem-67pthv0s.js → kv-yfkq0gfv.js} +33 -33
- package/dist/chunks/{filesystem-j2mhjbmg.js → kv-yqxv12x1.js} +31 -31
- package/dist/chunks/{filesystem-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-nxhqveyz.js → kv-yt0fqk68.js} +5 -5
- package/dist/chunks/{filesystem-y9jmv78b.js → kv-yv6gpnv9.js} +6 -6
- package/dist/chunks/{filesystem-r837shg4.js → kv-yx1b2vz2.js} +49 -49
- package/dist/chunks/{filesystem-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-4vaczfm4.js → kv-z69s9t6b.js} +5 -5
- package/dist/chunks/{filesystem-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-ht3akpg4.js → kv-zxwebrdg.js} +6 -6
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +359 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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/id/id.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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +10 -10
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +109 -109
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/filesystem-0mesazry.js +0 -4
- package/dist/chunks/filesystem-9sh4wc5j.js +0 -18
- package/dist/chunks/filesystem-ang5fwfr.js +0 -247
- /package/dist/chunks/{filesystem-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-4zf1v1ax.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./kv-y6ttfmkw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service75
|
|
11
|
+
} from "./kv-kg5y7jy3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./kv-yfkq0gfv.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID18
|
|
23
|
+
} from "./kv-m27pyyd3.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-sbpd7n04.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID18.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service75;
|
|
57
|
+
const integrations = yield* Service73;
|
|
58
|
+
const bus = yield* Service76;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-4zf1v1ax.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./kv-y6ttfmkw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./kv-kg5y7jy3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-yfkq0gfv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID18
|
|
17
|
+
} from "./kv-m27pyyd3.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-1awm1f41.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID18.make("digitalocean");
|
|
30
|
+
var integrationID = ID14.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -115,7 +115,7 @@ var oauth = {
|
|
|
115
115
|
var DigitalOceanPlugin2 = define({
|
|
116
116
|
id: "opencode.provider.digitalocean",
|
|
117
117
|
effect: Effect.fn(function* (ctx) {
|
|
118
|
-
const bus = yield*
|
|
118
|
+
const bus = yield* Service76;
|
|
119
119
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
120
120
|
const loading = Semaphore.makeUnsafe(1);
|
|
121
121
|
const loaded = { routers: [] };
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service79,
|
|
3
|
-
node84
|
|
4
|
-
} from "./filesystem-dx6jvs3w.js";
|
|
5
1
|
import {
|
|
6
2
|
Service76,
|
|
7
3
|
node81
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./kv-y6ttfmkw.js";
|
|
5
|
+
import {
|
|
6
|
+
Service65,
|
|
7
|
+
node70
|
|
8
|
+
} from "./kv-8cf7d7hg.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info3,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node20
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service16 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service65;
|
|
53
|
+
const bus = yield* Service76;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service16.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node20 = makeLocationNode({
|
|
165
|
+
service: Service16,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node70, node81]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service16, node20, exports_vcs };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./kv-y6ttfmkw.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service76;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID15.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node79 = makeLocationNode({ service: Service74, layer: layer25, deps: [node81] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node79, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -341,11 +341,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
|
|
|
341
341
|
}, { discard: true });
|
|
342
342
|
});
|
|
343
343
|
yield* Effect.addFinalizer(() => closeAll);
|
|
344
|
-
return
|
|
344
|
+
return Service33.of({ bind, close, closeAll });
|
|
345
345
|
}));
|
|
346
|
-
var
|
|
346
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
347
347
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
348
348
|
})));
|
|
349
|
-
var
|
|
349
|
+
var node38 = makeGlobalNode({ service: Service33, layer: layer13, deps: [webSocketConstructor2] });
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { Service33, makeLayer2, layer13, node38, exports_model_transport };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./kv-1awm1f41.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./kv-haav6xr7.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-sbpd7n04.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service51;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID17.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make10();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make10, VLLMPlugin2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-m27pyyd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./kv-dntgyp5f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./kv-haav6xr7.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service72;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service51);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-wzwrnqbk.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-tmbkz46m.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./kv-haav6xr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./kv-gcybaz41.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin4 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin28, exports_compaction };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./kv-knb36ns0.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
canonical2
|
|
7
|
+
} from "./kv-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service67;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -28,7 +28,7 @@ var make21 = Effect.gen(function* () {
|
|
|
28
28
|
if (!repository)
|
|
29
29
|
return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
|
|
30
30
|
yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
|
|
31
|
-
return { directory: yield*
|
|
31
|
+
return { directory: yield* canonical2(fs, input.directory) };
|
|
32
32
|
}),
|
|
33
33
|
remove: Effect.fn("Worktree.Git.remove")(function* (input) {
|
|
34
34
|
const repository = yield* git.repo.discover(input.directory);
|
|
@@ -41,9 +41,9 @@ var make21 = Effect.gen(function* () {
|
|
|
41
41
|
if (!repository)
|
|
42
42
|
return yield* new DirectoryUnavailableError2({ directory });
|
|
43
43
|
const entries = yield* git.worktree.list(repository);
|
|
44
|
-
return yield* Effect.forEach(entries, (entry) =>
|
|
44
|
+
return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|