@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID8,
|
|
3
|
+
Info23,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-pxt4kznk.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./kv-eqn55phe.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service76,
|
|
16
|
+
node81
|
|
17
|
+
} from "./kv-y6ttfmkw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service66,
|
|
20
|
+
node71
|
|
21
|
+
} from "./kv-y41m72jr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service41,
|
|
24
|
+
node44
|
|
25
|
+
} from "./kv-3c1tgrea.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node43
|
|
34
|
+
} from "./kv-pkh14f8a.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-bajakh74.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-a7386y5n.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node29
|
|
47
|
+
} from "./kv-5zdb2bkc.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node59
|
|
51
|
+
} from "./kv-4zf1v1ax.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError7,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,50 +61,50 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./kv-43k56ejq.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput3,
|
|
67
|
+
Service47,
|
|
68
|
+
node50
|
|
69
|
+
} from "./kv-g298z4kx.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service43,
|
|
72
|
+
node46
|
|
73
|
+
} from "./kv-0jb4n2a0.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service38,
|
|
76
|
+
node42
|
|
77
|
+
} from "./kv-jj6j4x9t.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./kv-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service33,
|
|
83
|
+
node38
|
|
84
|
+
} from "./kv-rykrqnsz.js";
|
|
85
85
|
import {
|
|
86
86
|
generate3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./kv-ebxxmhre.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./kv-ca40vn5a.js";
|
|
91
91
|
import {
|
|
92
92
|
DestinationNotFoundError2,
|
|
93
93
|
DestinationNotDirectoryError2,
|
|
94
94
|
DestinationUnavailableError2,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service24,
|
|
96
|
+
node28
|
|
97
|
+
} from "./kv-eqrqx1n9.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service50,
|
|
100
|
+
node53
|
|
101
|
+
} from "./kv-99xay3p1.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
103
|
+
make13
|
|
104
|
+
} from "./kv-cpde8a39.js";
|
|
105
105
|
import {
|
|
106
106
|
__export
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./kv-9rqn6x4v.js";
|
|
108
108
|
|
|
109
109
|
// src/session.ts
|
|
110
110
|
var exports_session = {};
|
|
@@ -115,21 +115,21 @@ __export(exports_session, {
|
|
|
115
115
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
116
116
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
117
117
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
118
|
-
ID: () =>
|
|
118
|
+
ID: () => ID8,
|
|
119
119
|
InboxConflictError: () => InboxConflictError2,
|
|
120
|
-
Info: () =>
|
|
120
|
+
Info: () => Info23,
|
|
121
121
|
ListAnchor: () => ListAnchor2,
|
|
122
|
-
ListInput: () =>
|
|
122
|
+
ListInput: () => ListInput2,
|
|
123
123
|
MessageDecodeError: () => MessageDecodeError2,
|
|
124
124
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
125
|
-
NotFoundError: () =>
|
|
125
|
+
NotFoundError: () => NotFoundError7,
|
|
126
126
|
PromptConflictError: () => PromptConflictError2,
|
|
127
|
-
Service: () =>
|
|
127
|
+
Service: () => Service23,
|
|
128
128
|
Session: () => exports_session,
|
|
129
129
|
SessionSchema: () => SessionSchema2,
|
|
130
130
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
131
131
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
132
|
-
node: () =>
|
|
132
|
+
node: () => node27
|
|
133
133
|
});
|
|
134
134
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
135
135
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
139
139
|
import path from "path";
|
|
140
140
|
import { Node } from "@opencode/util/effect/app-node";
|
|
141
141
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
142
|
-
var
|
|
143
|
-
class
|
|
142
|
+
var ListInput2 = ListInput3;
|
|
143
|
+
class Service23 extends Context.Service()("@opencode/Session") {
|
|
144
144
|
}
|
|
145
|
-
var layer = Layer.effect(
|
|
145
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const database = yield*
|
|
147
|
+
const database = yield* Service77;
|
|
148
148
|
const db = database.db;
|
|
149
|
-
const bus = yield*
|
|
150
|
-
const projects = yield*
|
|
151
|
-
const execution = yield*
|
|
149
|
+
const bus = yield* Service76;
|
|
150
|
+
const projects = yield* Service66;
|
|
151
|
+
const execution = yield* Service38;
|
|
152
152
|
const llm = yield* LLMClient.Service;
|
|
153
|
-
const transport = yield*
|
|
154
|
-
const store = yield*
|
|
155
|
-
const instances = yield*
|
|
156
|
-
const moves = yield*
|
|
157
|
-
const jobs = yield*
|
|
158
|
-
const environments = yield*
|
|
159
|
-
const sessions = yield*
|
|
153
|
+
const transport = yield* Service33;
|
|
154
|
+
const store = yield* Service47;
|
|
155
|
+
const instances = yield* Service41;
|
|
156
|
+
const moves = yield* Service24;
|
|
157
|
+
const jobs = yield* Service43;
|
|
158
|
+
const environments = yield* Service50;
|
|
159
|
+
const sessions = yield* make13();
|
|
160
160
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
161
|
-
const result =
|
|
161
|
+
const result = Service23.of({
|
|
162
162
|
create: Effect.fn("Session.create")(function* (input) {
|
|
163
163
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
164
164
|
const recorded = yield* store.get(sessionID);
|
|
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
166
166
|
return recorded;
|
|
167
167
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
168
168
|
if (input.parentID && parent === undefined)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError7({ sessionID: input.parentID });
|
|
170
170
|
const location = parent?.location ?? input.location;
|
|
171
171
|
if (location === undefined)
|
|
172
172
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -259,11 +259,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
259
259
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
260
260
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
261
261
|
const session = yield* result.get(input.sessionID);
|
|
262
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
262
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service77, database), Effect.provideService(LLMClient.Service, llm));
|
|
263
263
|
}),
|
|
264
264
|
command: Effect.fn("Session.command")(function* (input) {
|
|
265
265
|
const session = yield* result.get(input.sessionID);
|
|
266
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
266
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service41, instances));
|
|
267
267
|
}),
|
|
268
268
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
269
269
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -303,26 +303,26 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
303
303
|
});
|
|
304
304
|
return result;
|
|
305
305
|
}));
|
|
306
|
-
var
|
|
307
|
-
service:
|
|
306
|
+
var node27 = Node.makeGlobalNode({
|
|
307
|
+
service: Service23,
|
|
308
308
|
layer,
|
|
309
309
|
deps: [
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
node85,
|
|
313
|
-
node84,
|
|
310
|
+
node46,
|
|
311
|
+
node53,
|
|
314
312
|
node82,
|
|
315
|
-
|
|
313
|
+
node81,
|
|
314
|
+
node71,
|
|
316
315
|
node42,
|
|
316
|
+
node38,
|
|
317
317
|
llmClient2,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
318
|
+
node50,
|
|
319
|
+
node44,
|
|
320
|
+
node43,
|
|
321
|
+
node28,
|
|
322
|
+
node29,
|
|
323
323
|
FSUtil.node,
|
|
324
|
-
|
|
324
|
+
node59
|
|
325
325
|
]
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
export { ListAnchor2,
|
|
328
|
+
export { ListAnchor2, ListInput2, Service23, node27, exports_session };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node47
|
|
4
|
+
} from "./kv-yqxv12x1.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions3 = {};
|
|
17
17
|
__export(exports_instructions3, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service27,
|
|
20
|
+
node: () => node32
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service44;
|
|
64
|
+
return Service27.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node32 = makeLocationNode({ service: Service27, layer, deps: [node47] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service27, node32, exports_instructions3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./kv-1n7b5642.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./kv-3c1tgrea.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service41;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./kv-y6ttfmkw.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./kv-kg5y7jy3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-yfkq0gfv.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-m27pyyd3.js";
|
|
17
17
|
import {
|
|
18
18
|
ID3,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-0fr0exqw.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID14.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service76;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID14.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID18.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-wzwrnqbk.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Info25
|
|
7
|
-
} from "./tool-s8j6jbjj.js";
|
|
8
|
-
import {
|
|
9
|
-
Info23
|
|
10
|
-
} from "./tool-jmm88pvs.js";
|
|
4
|
+
} from "./kv-922hggd3.js";
|
|
11
5
|
import {
|
|
12
6
|
Info22
|
|
13
|
-
} from "./
|
|
7
|
+
} from "./kv-axmvebxj.js";
|
|
14
8
|
import {
|
|
15
9
|
Info20
|
|
16
|
-
} from "./
|
|
10
|
+
} from "./kv-kp15nsp5.js";
|
|
17
11
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
12
|
+
Info16
|
|
13
|
+
} from "./kv-3cfzdc8e.js";
|
|
14
|
+
import {
|
|
15
|
+
Info15
|
|
16
|
+
} from "./kv-ratrq7cm.js";
|
|
17
|
+
import {
|
|
18
|
+
Info19
|
|
19
|
+
} from "./kv-9wjnegnz.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info21
|
|
25
|
+
} from "./kv-2jmaghvr.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info17
|
|
28
|
+
} from "./kv-yt0fqk68.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./kv-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info18
|
|
34
|
+
} from "./kv-jv01nqvq.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info14
|
|
40
|
+
} from "./kv-vncycja5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./kv-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info13,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info13 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info16 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info15)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info14).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info16 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info20), plan: Schema.optional(Info20) }), [Schema.Record(Schema.String, Info20)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info20),
|
|
119
|
+
build: Schema.optional(Info20),
|
|
120
|
+
general: Schema.optional(Info20),
|
|
121
|
+
explore: Schema.optional(Info20),
|
|
122
|
+
title: Schema.optional(Info20),
|
|
123
|
+
summary: Schema.optional(Info20),
|
|
124
|
+
compaction: Schema.optional(Info20)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info20)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info17, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info19).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info21).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info22),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info16).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info16 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info13, exports_config2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|