@opencode/core 0.0.0-dev-19389 → 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 +81 -81
- 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/{tool-49hrpkdk.js → kv-02zskd6f.js} +4 -4
- package/dist/chunks/{tool-ra3gq1k7.js → kv-06c7t6vr.js} +9 -9
- package/dist/chunks/{tool-zcrspsvn.js → kv-06x8he3q.js} +4 -4
- package/dist/chunks/{tool-xnap109e.js → kv-0a9nes1v.js} +15 -15
- package/dist/chunks/{tool-2gm42vdj.js → kv-0egjfnvx.js} +15 -15
- package/dist/chunks/{tool-nqz62vb6.js → kv-0fr0exqw.js} +21 -21
- package/dist/chunks/{tool-7nb80w0z.js → kv-0gb0b71h.js} +25 -25
- package/dist/chunks/{tool-h1dazz20.js → kv-0jb4n2a0.js} +15 -15
- package/dist/chunks/{tool-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-fsn1dw54.js → kv-0t2h2sk3.js} +5 -5
- package/dist/chunks/{tool-xdepe7a5.js → kv-0wddtmhn.js} +12 -12
- package/dist/chunks/{tool-yp2x3t23.js → kv-1acjjqhc.js} +4 -4
- package/dist/chunks/{tool-jp8xd6mf.js → kv-1awm1f41.js} +12 -12
- package/dist/chunks/{tool-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-7sdps93t.js → kv-1eyaby9q.js} +5 -5
- package/dist/chunks/{tool-yc73ry1q.js → kv-1g49rwcy.js} +6 -6
- package/dist/chunks/{tool-xanzpgaf.js → kv-1n7b5642.js} +22 -22
- package/dist/chunks/{tool-sq27dbnb.js → kv-1vwgwxct.js} +9 -9
- package/dist/chunks/{tool-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{tool-s6vet9p8.js → kv-231m2dt6.js} +6 -6
- package/dist/chunks/{tool-2402vzrj.js → kv-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-29x78va6.js → kv-29x78va6.js} +2 -2
- package/dist/chunks/{tool-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-rsv3dyxs.js → kv-2bvz9nnf.js} +11 -11
- package/dist/chunks/{tool-pe0c0z4r.js → kv-2ehqxkpw.js} +18 -18
- package/dist/chunks/{tool-7ebn0nc0.js → kv-2jmaghvr.js} +6 -6
- package/dist/chunks/{tool-50wkfpjr.js → kv-2k9xzrh9.js} +22 -22
- package/dist/chunks/{tool-45zx1ce8.js → kv-2m27ke96.js} +26 -26
- package/dist/chunks/{tool-s0haq3v3.js → kv-2s81ped3.js} +32 -32
- package/dist/chunks/{tool-wbyq7e0t.js → kv-2w8771a9.js} +46 -46
- package/dist/chunks/{tool-1c2q116c.js → kv-38zh3dk0.js} +20 -20
- package/dist/chunks/{tool-hwe7x4em.js → kv-3c1tgrea.js} +6 -6
- package/dist/chunks/{tool-ag9w8cw1.js → kv-3cfzdc8e.js} +5 -5
- package/dist/chunks/{tool-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-8ypn74s0.js → kv-3jp54z3r.js} +1 -1
- package/dist/chunks/{tool-qjqdk9x8.js → kv-3pb6rp4z.js} +24 -24
- package/dist/chunks/{tool-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-t0jgeayb.js → kv-414z0nek.js} +13 -13
- package/dist/chunks/{tool-sxnp3vqk.js → kv-415j81f1.js} +20 -20
- package/dist/chunks/{tool-bnweey00.js → kv-43k15f45.js} +4 -4
- package/dist/chunks/{tool-ca9nbgzj.js → kv-43k56ejq.js} +6 -6
- package/dist/chunks/{tool-4rggjvr2.js → kv-4c2a19jd.js} +9 -9
- package/dist/chunks/{tool-cfxak8gp.js → kv-4prjfj1p.js} +20 -20
- package/dist/chunks/kv-4zbw9bfp.js +247 -0
- package/dist/chunks/{tool-32xz9ffh.js → kv-4zf1v1ax.js} +11 -11
- package/dist/chunks/{tool-t4an9tm5.js → kv-55xz4zh9.js} +91 -91
- package/dist/chunks/{tool-56gdpj1q.js → kv-56gdpj1q.js} +2 -2
- package/dist/chunks/{tool-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-stbvjbpa.js → kv-5kfhy3k0.js} +276 -276
- package/dist/chunks/{tool-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-kap84dg0.js → kv-5zdb2bkc.js} +24 -24
- package/dist/chunks/kv-619r8v3y.js +18 -0
- package/dist/chunks/{tool-fw7ks5z6.js → kv-647wzfv2.js} +16 -16
- package/dist/chunks/{tool-1famk9p6.js → kv-65c5xzsx.js} +15 -15
- package/dist/chunks/{tool-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{tool-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-8xv0fcmg.js → kv-70fkcx2s.js} +37 -37
- package/dist/chunks/{tool-71q4at8m.js → kv-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-a605f6d0.js → kv-73pkveg5.js} +11 -11
- package/dist/chunks/{tool-55s895j0.js → kv-75tda2q9.js} +37 -37
- package/dist/chunks/{tool-j9eppgdd.js → kv-76v974f3.js} +15 -15
- package/dist/chunks/{tool-3r6vp6xx.js → kv-790ch1hh.js} +10 -10
- package/dist/chunks/{tool-41e240wd.js → kv-7aserdg0.js} +11 -11
- package/dist/chunks/{tool-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-n6pkm576.js → kv-7nmf5ssc.js} +24 -24
- package/dist/chunks/{tool-7jsvadcm.js → kv-7pqzfj2e.js} +17 -17
- package/dist/chunks/{tool-nnxzqqg8.js → kv-7q4tg7d5.js} +18 -18
- package/dist/chunks/{tool-yxz14c3m.js → kv-7sy2vt23.js} +47 -47
- package/dist/chunks/{tool-mvfsc1pv.js → kv-7yh4e7ss.js} +3 -3
- package/dist/chunks/{tool-cmwkp3r5.js → kv-844ef7ks.js} +4 -4
- package/dist/chunks/{tool-n17rpw7s.js → kv-8478weqf.js} +11 -11
- package/dist/chunks/{tool-tcezcvh9.js → kv-89znhe33.js} +4 -4
- package/dist/chunks/{tool-zxhfgthz.js → kv-8cf7d7hg.js} +17 -17
- package/dist/chunks/{tool-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-638f9gty.js → kv-8f0b5v45.js} +28 -28
- package/dist/chunks/{tool-xz0aj5bv.js → kv-8f6ywf8a.js} +32 -32
- package/dist/chunks/{tool-jpchzm8t.js → kv-8jen4ca3.js} +17 -17
- package/dist/chunks/{tool-dj2t23y0.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-4g6am8f5.js → kv-968baqck.js} +41 -41
- package/dist/chunks/{tool-zad871sr.js → kv-96yt6zt0.js} +1 -1
- package/dist/chunks/{tool-8t1wrec1.js → kv-99xay3p1.js} +8 -8
- package/dist/chunks/{tool-6f5kdbjb.js → kv-9htnacz2.js} +25 -25
- package/dist/chunks/{tool-3fe43pwb.js → kv-9j28mq2b.js} +27 -27
- package/dist/chunks/{tool-tb8rp2yt.js → kv-9r33v7f0.js} +27 -27
- package/dist/chunks/{tool-fjvydvzm.js → kv-9wjnegnz.js} +6 -6
- package/dist/chunks/{tool-n6arc57m.js → kv-9zq90cq7.js} +7 -7
- package/dist/chunks/{tool-pc5wdgkb.js → kv-a08t2777.js} +17 -17
- package/dist/chunks/{tool-5c4hm403.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-pqkb2z9p.js → kv-a7386y5n.js} +16 -16
- package/dist/chunks/{tool-q5qadqqc.js → kv-a9e4s6y5.js} +4 -4
- package/dist/chunks/{tool-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-h47mvjjj.js → kv-afre2yrw.js} +32 -32
- package/dist/chunks/{tool-bkz2mr6p.js → kv-agty4mtf.js} +72 -72
- package/dist/chunks/{tool-2aqbs40b.js → kv-an11pnnt.js} +11 -11
- package/dist/chunks/{tool-y4xwrefb.js → kv-aqb5rer3.js} +30 -30
- package/dist/chunks/{tool-wdn3ce2t.js → kv-axawr4n3.js} +7 -7
- package/dist/chunks/{tool-s8j6jbjj.js → kv-axmvebxj.js} +4 -4
- package/dist/chunks/{tool-0hhrv268.js → kv-azsdtfe1.js} +11 -11
- package/dist/chunks/{tool-amegs12p.js → kv-b2m2g9cq.js} +9 -9
- package/dist/chunks/{tool-50kt3f8y.js → kv-b2rq0zs9.js} +4 -4
- package/dist/chunks/{tool-jwcaj6se.js → kv-b3d84yq7.js} +24 -24
- package/dist/chunks/{tool-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-fab8hzt3.js → kv-bajakh74.js} +4 -4
- package/dist/chunks/{tool-6fyrr4w1.js → kv-barmx2sx.js} +4 -4
- package/dist/chunks/{tool-39etbsth.js → kv-bcnz578n.js} +2 -2
- package/dist/chunks/{tool-bv56xrks.js → kv-bv56xrks.js} +2 -2
- package/dist/chunks/{tool-1hgt76pw.js → kv-bvggqreg.js} +20 -20
- package/dist/chunks/{tool-j51g8r26.js → kv-bwy0a1tx.js} +92 -92
- package/dist/chunks/{tool-knvy7wqf.js → kv-c3jmffjz.js} +15 -15
- package/dist/chunks/{tool-937nxygj.js → kv-ca40vn5a.js} +8 -8
- package/dist/chunks/{tool-nfs7qh3b.js → kv-cd63sa4g.js} +14 -14
- package/dist/chunks/{tool-dbnvakxz.js → kv-cenmv2f9.js} +2 -2
- package/dist/chunks/{tool-m8gmjx38.js → kv-cfhv7k6a.js} +43 -43
- package/dist/chunks/{tool-m0jqrx5p.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-f9qak17s.js → kv-cg9e05fy.js} +10 -10
- package/dist/chunks/{tool-m2krvp2x.js → kv-cmbyd9dr.js} +13 -13
- package/dist/chunks/{tool-px9gxtsw.js → kv-cpde8a39.js} +37 -37
- package/dist/chunks/{tool-22m95qs7.js → kv-csf2jhsg.js} +4 -4
- package/dist/chunks/{tool-apesnbt3.js → kv-cxr98dhw.js} +17 -17
- package/dist/chunks/{tool-1jwdep4c.js → kv-cz2808j2.js} +9 -9
- package/dist/chunks/{tool-d8nc1xcx.js → kv-d8nc1xcx.js} +1 -1
- package/dist/chunks/{tool-p514mdqe.js → kv-dntgyp5f.js} +28 -28
- package/dist/chunks/{tool-ws5qfxv9.js → kv-drknmmyh.js} +9 -9
- package/dist/chunks/{tool-vv3eqyfe.js → kv-dyev18v0.js} +8 -8
- package/dist/chunks/{tool-y0qtjk0t.js → kv-e4wgfgxg.js} +8 -8
- package/dist/chunks/{tool-vfpkabdf.js → kv-eaeq89r9.js} +10 -10
- package/dist/chunks/{tool-efstz0ke.js → kv-ebxxmhre.js} +18 -18
- package/dist/chunks/{tool-08xgehk5.js → kv-ecw6ew9r.js} +4 -4
- package/dist/chunks/{tool-4kmb4xcf.js → kv-edgdtr1s.js} +40 -40
- package/dist/chunks/{tool-100kzw8g.js → kv-efnnyr8k.js} +41 -41
- package/dist/chunks/{tool-s006vazc.js → kv-en2byt25.js} +10 -10
- package/dist/chunks/{tool-859kcgs2.js → kv-eqn55phe.js} +11 -11
- package/dist/chunks/{tool-9ggagkar.js → kv-eqrqx1n9.js} +63 -63
- package/dist/chunks/{tool-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-d9sn21bc.js → kv-etq9z835.js} +2 -2
- package/dist/chunks/{tool-f65fprkq.js → kv-f2tmy4z7.js} +17 -17
- package/dist/chunks/{tool-qzkdxd86.js → kv-f3qv5bx3.js} +6 -6
- package/dist/chunks/{tool-hdnk95c8.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{tool-z1pfg6df.js → kv-f8q7mv7a.js} +1 -1
- package/dist/chunks/{tool-m4bw18j8.js → kv-fagy7rdj.js} +23 -23
- package/dist/chunks/{tool-g5zf0djh.js → kv-fgh0kbhd.js} +1 -1
- package/dist/chunks/{tool-p6604nm9.js → kv-fgwnwwwp.js} +10 -10
- package/dist/chunks/{tool-mfvn5m8d.js → kv-fgxxhjfg.js} +8 -8
- package/dist/chunks/{tool-rda0t9vq.js → kv-fq6fvjs0.js} +5 -5
- package/dist/chunks/{tool-c4ypf6wq.js → kv-fv6994dx.js} +20 -20
- package/dist/chunks/{tool-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-a1pcbmkx.js → kv-g298z4kx.js} +17 -17
- package/dist/chunks/{tool-84cxy7xh.js → kv-gcybaz41.js} +31 -31
- package/dist/chunks/{tool-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-jxdevvez.js → kv-ghs4y90d.js} +161 -161
- package/dist/chunks/{tool-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-442pexa9.js → kv-h6ws6p6t.js} +32 -32
- package/dist/chunks/{tool-pjmc1jwj.js → kv-h7gz2dsa.js} +27 -27
- package/dist/chunks/{tool-7rzn7488.js → kv-haav6xr7.js} +48 -48
- package/dist/chunks/{tool-w3k36hrr.js → kv-hbkrh4y4.js} +3 -3
- package/dist/chunks/{tool-hjt4xg1x.js → kv-hjt4xg1x.js} +1 -1
- package/dist/chunks/{tool-2a4f6v5q.js → kv-hr5bc81f.js} +8 -8
- package/dist/chunks/{tool-0xf6t1bc.js → kv-hwewrxtp.js} +15 -15
- package/dist/chunks/{tool-c3er4f98.js → kv-hxhax0yh.js} +18 -18
- package/dist/chunks/{tool-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/kv-j9echq48.js +22 -0
- package/dist/chunks/{tool-vce1m6g2.js → kv-ja0y4ynt.js} +14 -14
- package/dist/chunks/{tool-xnrzgmbf.js → kv-jehgatyy.js} +43 -43
- package/dist/chunks/{tool-62gm3akr.js → kv-jg8cj1ke.js} +9 -9
- package/dist/chunks/{tool-z03197zf.js → kv-jj6j4x9t.js} +41 -41
- package/dist/chunks/{tool-vmq7ehpy.js → kv-jv01nqvq.js} +5 -5
- package/dist/chunks/{tool-0msc39tg.js → kv-jw9satmb.js} +13 -13
- package/dist/chunks/{tool-pwk28ted.js → kv-k0xz0zmp.js} +7 -7
- package/dist/chunks/{tool-e8ge1rnk.js → kv-k16ay38w.js} +1 -1
- package/dist/chunks/{tool-cgfvzygb.js → kv-k4c4r259.js} +21 -21
- package/dist/chunks/{tool-2zk4ah9y.js → kv-kb85snj8.js} +9 -9
- package/dist/chunks/{tool-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-83n1dzne.js → kv-kg5y7jy3.js} +34 -34
- package/dist/chunks/{tool-wk58jv74.js → kv-knb36ns0.js} +10 -10
- package/dist/chunks/{tool-jmm88pvs.js → kv-kp15nsp5.js} +11 -11
- package/dist/chunks/{tool-q2027nw7.js → kv-ksz0h0wp.js} +1 -1
- package/dist/chunks/{tool-vycpdhb1.js → kv-ktp4kh0a.js} +24 -24
- package/dist/chunks/{tool-jfpzywp2.js → kv-m27pyyd3.js} +6 -6
- package/dist/chunks/{tool-nkhmdx3g.js → kv-m520pkxe.js} +18 -18
- package/dist/chunks/{tool-pnv527nz.js → kv-m86bnw2c.js} +5 -5
- package/dist/chunks/{tool-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-f249p1w2.js → kv-md368hrg.js} +8 -8
- package/dist/chunks/{tool-r1q74f54.js → kv-mhecb7s9.js} +27 -27
- package/dist/chunks/{tool-mkcjrzeh.js → kv-mkcjrzeh.js} +1 -1
- package/dist/chunks/{tool-81swgkk7.js → kv-mrqdrzhn.js} +9 -9
- package/dist/chunks/{tool-2mnagb0e.js → kv-n76fdqym.js} +5 -5
- package/dist/chunks/{tool-910hnegs.js → kv-nafsrqg5.js} +27 -27
- package/dist/chunks/{tool-9aqmr64f.js → kv-nberrbqf.js} +3 -3
- package/dist/chunks/{tool-9hv8phah.js → kv-nppefrsq.js} +16 -16
- package/dist/chunks/{tool-qek8dtx8.js → kv-nsgsffy1.js} +14 -14
- package/dist/chunks/{tool-p6rs3vpq.js → kv-nx39g39j.js} +7 -7
- package/dist/chunks/{tool-d38rwssd.js → kv-nyqpwg46.js} +4 -4
- package/dist/chunks/{tool-6m8y77r5.js → kv-p7kse70a.js} +8 -8
- package/dist/chunks/{tool-sj71rkrx.js → kv-pc89afeg.js} +11 -11
- package/dist/chunks/{tool-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-kk8fq19e.js → kv-pkh14f8a.js} +25 -25
- package/dist/chunks/{tool-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{tool-9s022y1z.js → kv-pqx6j71q.js} +30 -30
- package/dist/chunks/{tool-4jad23kz.js → kv-prhmc65q.js} +25 -25
- package/dist/chunks/{tool-br0bxb5z.js → kv-ptyjv6sg.js} +3 -3
- package/dist/chunks/{tool-j7wq2tw5.js → kv-pxt4kznk.js} +3 -3
- package/dist/chunks/{tool-6y4tgg16.js → kv-q52pkfc0.js} +28 -28
- package/dist/chunks/{tool-1kh06mg4.js → kv-q931v04c.js} +2 -2
- package/dist/chunks/{tool-g0aj3r5p.js → kv-qckw2k72.js} +8 -8
- package/dist/chunks/{tool-6ppc03cv.js → kv-qdhh6c6w.js} +6 -6
- package/dist/chunks/{tool-2k8khapm.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{tool-egp6178n.js → kv-qjfc5n3j.js} +13 -13
- package/dist/chunks/{tool-wpm2rk0p.js → kv-qk0gpxf2.js} +6 -6
- package/dist/chunks/{tool-43cyd10z.js → kv-qp1z02r1.js} +32 -32
- package/dist/chunks/{tool-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-13tvcsgk.js → kv-qw1avwf1.js} +11 -11
- package/dist/chunks/{tool-7f3sjtrh.js → kv-r9babyk8.js} +1 -1
- package/dist/chunks/{tool-a46v4e4v.js → kv-ratrq7cm.js} +4 -4
- package/dist/chunks/{tool-e67ygrb5.js → kv-re8mxfzd.js} +21 -21
- package/dist/chunks/{tool-ezs43bsy.js → kv-rfbwz2gh.js} +19 -19
- package/dist/chunks/{tool-jw7c8f1w.js → kv-rfhs208y.js} +15 -15
- package/dist/chunks/{tool-00gnxv30.js → kv-rpgbr9ce.js} +19 -19
- package/dist/chunks/{tool-ce8ketvm.js → kv-ry9rqqdj.js} +29 -29
- package/dist/chunks/{tool-7xzdkz3y.js → kv-rykrqnsz.js} +11 -11
- package/dist/chunks/{tool-s4enseaf.js → kv-s4enseaf.js} +2 -2
- package/dist/chunks/{tool-3a9e8ct5.js → kv-s60tm16d.js} +10 -10
- package/dist/chunks/{tool-y0wsg1r3.js → kv-sbpd7n04.js} +7 -7
- package/dist/chunks/{tool-72cm32h1.js → kv-ser5sghd.js} +3 -3
- package/dist/chunks/{tool-t64d9h47.js → kv-snvhmjc6.js} +11 -11
- package/dist/chunks/{tool-qaed280k.js → kv-szhk0a37.js} +5 -5
- package/dist/chunks/{tool-rhjbct0v.js → kv-t550f9t1.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{tool-g5hp0j3s.js → kv-tf15gxw8.js} +20 -20
- package/dist/chunks/{tool-dw8c19qb.js → kv-tfngb0ww.js} +4 -4
- package/dist/chunks/{tool-0996nyz8.js → kv-tjsj89dc.js} +9 -9
- package/dist/chunks/{tool-7k1k30bt.js → kv-tmbkz46m.js} +1 -1
- package/dist/chunks/{tool-01797ny4.js → kv-tpsh7nep.js} +12 -12
- package/dist/chunks/{tool-qyyanj0n.js → kv-tqe05zcw.js} +17 -17
- package/dist/chunks/{tool-9y5cg855.js → kv-trvfwcf3.js} +34 -34
- package/dist/chunks/{tool-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-gfqzzqy5.js → kv-twy35tz0.js} +5 -5
- package/dist/chunks/{tool-qfv804ab.js → kv-v76by4bg.js} +6 -6
- package/dist/chunks/{tool-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-ve4pfa0n.js → kv-vncycja5.js} +4 -4
- package/dist/chunks/{tool-rmm45jmv.js → kv-vnwmzs4a.js} +5 -5
- package/dist/chunks/{tool-vyqwgby1.js → kv-vqa763dh.js} +9 -9
- package/dist/chunks/{tool-31v57ene.js → kv-vrrfbpyj.js} +28 -28
- package/dist/chunks/{tool-vmshp960.js → kv-vweeh7m7.js} +24 -24
- package/dist/chunks/{tool-j9tvrbwe.js → kv-vz1j9mmw.js} +17 -17
- package/dist/chunks/{tool-4faz70f1.js → kv-vz7veymp.js} +54 -54
- package/dist/chunks/{tool-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-48gag0he.js → kv-w00fmqn9.js} +20 -20
- package/dist/chunks/{tool-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-bgmt3wra.js → kv-w61n6csx.js} +25 -25
- package/dist/chunks/{tool-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{tool-3p0n15sb.js → kv-wm3463ak.js} +25 -25
- package/dist/chunks/{tool-zncx7357.js → kv-wve3yzk2.js} +12 -12
- package/dist/chunks/{tool-vz6rz0af.js → kv-wz6f4x3q.js} +22 -22
- package/dist/chunks/{tool-3r7whzgv.js → kv-wzwrnqbk.js} +7 -7
- package/dist/chunks/{tool-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-x43y2vfs.js → kv-x43y2vfs.js} +2 -2
- package/dist/chunks/{tool-dgv4w1ry.js → kv-xaq7y018.js} +37 -37
- package/dist/chunks/{tool-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-t7yz8ad7.js → kv-y41m72jr.js} +47 -47
- package/dist/chunks/{tool-hvcjdrj2.js → kv-y6ttfmkw.js} +16 -16
- package/dist/chunks/{tool-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{tool-2ft9rrby.js → kv-ybd0vcw2.js} +9 -9
- package/dist/chunks/{tool-622ah2gs.js → kv-yfkq0gfv.js} +29 -29
- package/dist/chunks/{tool-q8rarcde.js → kv-yqxv12x1.js} +27 -27
- package/dist/chunks/{tool-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-7gvwkz6m.js → kv-yt0fqk68.js} +5 -5
- package/dist/chunks/{tool-ptq11xx0.js → kv-yv6gpnv9.js} +6 -6
- package/dist/chunks/{tool-99exew75.js → kv-yx1b2vz2.js} +49 -49
- package/dist/chunks/{tool-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-ywhnyrnh.js → kv-z69s9t6b.js} +5 -5
- package/dist/chunks/{tool-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-d8q39vv3.js → kv-zxwebrdg.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +79 -79
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +81 -81
- 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 +362 -362
- 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 +85 -85
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- 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 +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- 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 +97 -97
- package/dist/mcp/instructions.js +120 -120
- 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 +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +80 -80
- 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 +3 -3
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +117 -117
- 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 +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- 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 +74 -74
- 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 +343 -343
- 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 +6 -6
- package/dist/plugin.js +220 -220
- 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 +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +77 -77
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +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 +121 -121
- 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 +1 -1
- package/dist/session/title.js +151 -151
- 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 +213 -213
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- 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 +119 -119
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +83 -83
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/tool-7s88n6wh.js +0 -247
- package/dist/chunks/tool-dr8w6t5k.js +0 -22
- package/dist/chunks/tool-n95b3jav.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6kdq0pjd.js → kv-6kdq0pjd.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → kv-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-j935v87r.js → kv-j935v87r.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -391,4 +391,4 @@ function update3(adapter, event) {
|
|
|
391
391
|
return project(event);
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
export {
|
|
394
|
+
export { update2, exports_message_updater };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-4zf1v1ax.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID18
|
|
6
|
+
} from "./kv-m27pyyd3.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-sbpd7n04.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID18.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./kv-y6ttfmkw.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service37,
|
|
21
|
+
layer: () => layer16,
|
|
22
|
+
node: () => node41
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service37 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service76;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service37.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,10 +71,10 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node41 = makeLocationNode({
|
|
75
|
+
service: Service37,
|
|
76
|
+
layer: layer16,
|
|
77
|
+
deps: [node81]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError5, ExecutionError2, Service37, layer16, node41, exports_command4, Event8 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./kv-3c1tgrea.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./kv-yx1b2vz2.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service41;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-4zf1v1ax.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID18,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-m27pyyd3.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-sbpd7n04.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID18.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./kv-haav6xr7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./kv-hwewrxtp.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin24
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin24 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const shell = yield* Service57;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin25 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin24, exports_shell2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-m27pyyd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID17,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info32,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-1awm1f41.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID18.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID17.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID17.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info32.make({
|
|
92
|
+
...Info32.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID17.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info21,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info21 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info21, exports_lsp };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event12,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service52,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node55,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event12 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load3());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service52 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service52.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service52).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service52, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node55 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event12, hasNativeBinding2, Native3, Options8, Service52, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured7, node55, exports_watcher };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./kv-y6ttfmkw.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-vz7veymp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event10,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service45,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info10 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service76;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service45.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node48 = makeLocationNode({
|
|
112
|
+
service: Service45,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node81]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID5, Name2, available2, toModelOutput3, prepare3, Service45, node48, exports_skill5, Event10 };
|