@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node69,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node69 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node69, exports_driver };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./kv-eqn55phe.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node81
|
|
9
|
+
} from "./kv-y6ttfmkw.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-e4wgfgxg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service47,
|
|
21
|
+
node50
|
|
22
|
+
} from "./kv-g298z4kx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node30
|
|
26
|
+
} from "./kv-55xz4zh9.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./kv-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node5
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service76;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service25;
|
|
65
|
+
const store = yield* Service47;
|
|
66
|
+
const db = (yield* Service77).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node5 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node81, llmClient2, node30, node50, node82]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node5, exports_title };
|
|
@@ -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
|
+
Service55
|
|
7
|
+
} from "./kv-2s81ped3.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/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const snapshot = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin31, exports_snapshot };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info20 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command5 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service76,
|
|
4
|
+
node81
|
|
5
|
+
} from "./kv-y6ttfmkw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node62
|
|
9
|
+
} from "./kv-qjfc5n3j.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service54,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node57,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service54 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service58;
|
|
81
|
+
const bus = yield* Service76;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event13.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service54.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event13.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event13.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [httpClient, node62, node81] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service54, Event13, inspect2, resolve2, node57, exports_wellknown };
|
|
@@ -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 "./tool-hvcjdrj2.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 = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_vcs, {
|
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
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";
|
|
@@ -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;
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service20, 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(Service20, 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, Info3, Mode2, DiffError2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service16, node20, exports_vcs };
|