@opencode/core 0.0.0-dev-19694 → 0.0.0-dev-19697
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-s8h33rd2.js → kv-0h2tq7q5.js} +18 -18
- package/dist/chunks/{location-vnh2skne.js → kv-0jyxj443.js} +16 -16
- package/dist/chunks/{location-mae1tpq4.js → kv-0n70x72d.js} +4 -4
- package/dist/chunks/{location-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-cf88hb9r.js → kv-0qyqys9g.js} +11 -11
- package/dist/chunks/{location-8bb7e2vp.js → kv-0s8ewvqd.js} +15 -15
- package/dist/chunks/{location-nndcbz7q.js → kv-0ykak19g.js} +6 -6
- package/dist/chunks/{location-2eegacq4.js → kv-166kng33.js} +8 -8
- package/dist/chunks/{location-9h41vc4j.js → kv-18e56dsp.js} +4 -4
- package/dist/chunks/{location-r8xr0va3.js → kv-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-vcjpcx03.js → kv-1rgqz1x1.js} +25 -25
- package/dist/chunks/{location-t0dpm7yv.js → kv-1sf53nq6.js} +9 -9
- package/dist/chunks/{location-m0r31qfn.js → kv-1y283654.js} +4 -4
- package/dist/chunks/{location-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → kv-2402vzrj.js} +1 -1
- package/dist/chunks/{location-z50dt07a.js → kv-26kj7k6y.js} +16 -16
- package/dist/chunks/{location-z63w68vq.js → kv-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-36pgk13z.js → kv-2cwg7scc.js} +6 -6
- package/dist/chunks/{location-6et2tsyb.js → kv-2dh1j8m9.js} +24 -24
- package/dist/chunks/{location-224hfwad.js → kv-2gkymst3.js} +15 -15
- package/dist/chunks/{location-d2j26fpy.js → kv-2gy5cyya.js} +5 -5
- package/dist/chunks/{location-e6hd9jay.js → kv-2jmaghvr.js} +4 -4
- package/dist/chunks/{location-p0nbrkfy.js → kv-2pzp17qz.js} +26 -26
- package/dist/chunks/{location-2p6gg44v.js → kv-2s8vd8mm.js} +16 -16
- package/dist/chunks/{location-n4r3xatb.js → kv-2vs2nh1n.js} +4 -4
- package/dist/chunks/{location-g8pm1eg0.js → kv-30s515de.js} +11 -11
- package/dist/chunks/{location-3cfzdc8e.js → kv-3cfzdc8e.js} +2 -2
- package/dist/chunks/{location-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-cdmrqbam.js → kv-3mmyb3r4.js} +20 -20
- package/dist/chunks/{location-0fj5p9dg.js → kv-3rvrx8bj.js} +38 -38
- package/dist/chunks/{location-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-dsp1hxq9.js → kv-40z4n3em.js} +21 -21
- package/dist/chunks/{location-vmwh049b.js → kv-43k56ejq.js} +9 -9
- package/dist/chunks/{location-knb7evpn.js → kv-44ke2mar.js} +2 -2
- package/dist/chunks/{location-8w4gja5v.js → kv-486pw2q1.js} +8 -8
- package/dist/chunks/{location-nyp6zeaz.js → kv-4f02dvhn.js} +3 -3
- package/dist/chunks/{location-dk3zb08y.js → kv-4hjcsytf.js} +7 -7
- package/dist/chunks/{location-k3vfx57e.js → kv-4mk9rtfy.js} +8 -8
- package/dist/chunks/{location-25r5rnx4.js → kv-4mma3ac2.js} +17 -17
- package/dist/chunks/{location-egxr99f1.js → kv-4t2nfrnb.js} +18 -18
- package/dist/chunks/{location-4y72ap3v.js → kv-4y72ap3v.js} +5 -5
- package/dist/chunks/{location-v40pwdea.js → kv-56fngz5a.js} +27 -27
- package/dist/chunks/{location-33w4ejhs.js → kv-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-q8peyv7x.js → kv-57e9z27j.js} +5 -5
- package/dist/chunks/{location-57ez7d0k.js → kv-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-nt93nnje.js → kv-58zjjv26.js} +9 -9
- package/dist/chunks/{location-vnn74pma.js → kv-5ajycw7n.js} +11 -11
- package/dist/chunks/{location-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{location-er54khy7.js → kv-5ejb7v9g.js} +4 -4
- package/dist/chunks/{location-kck4086h.js → kv-5f1ek92y.js} +20 -20
- package/dist/chunks/{location-0fws8hsh.js → kv-5hv2sp62.js} +41 -41
- package/dist/chunks/{location-62kxvbf2.js → kv-5jpmw9vp.js} +25 -25
- package/dist/chunks/{location-ydamxwc3.js → kv-5kvssbrq.js} +16 -16
- package/dist/chunks/{location-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-dgp71kyc.js → kv-5z7bk7sq.js} +12 -12
- package/dist/chunks/{location-gafq8thx.js → kv-5z7f6sft.js} +22 -22
- package/dist/chunks/{location-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{location-fg0na9z0.js → kv-6arw946r.js} +5 -5
- package/dist/chunks/{location-zhhtqbvz.js → kv-6bdkg2ca.js} +42 -42
- package/dist/chunks/kv-6kdq0pjd.js +4 -0
- package/dist/chunks/{location-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-wgrtt790.js → kv-6qcg8y9p.js} +39 -39
- package/dist/chunks/{location-6a605wbe.js → kv-733tzfxr.js} +50 -50
- package/dist/chunks/{location-7pxh4w28.js → kv-76hw6daw.js} +83 -83
- package/dist/chunks/{location-ynhykprc.js → kv-78kvvdfm.js} +10 -10
- package/dist/chunks/{location-x4ft4gxn.js → kv-79zxcn51.js} +37 -37
- package/dist/chunks/{location-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-zwv3ctjf.js → kv-7qya56nh.js} +40 -40
- package/dist/chunks/{location-95548ppq.js → kv-7vymbkvf.js} +11 -11
- package/dist/chunks/{location-mhkvc446.js → kv-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-ctecyn49.js → kv-7zedzqqc.js} +5 -5
- package/dist/chunks/{location-ynkdr5w5.js → kv-86jxetkv.js} +6 -6
- package/dist/chunks/{location-tcezcvh9.js → kv-89znhe33.js} +4 -4
- package/dist/chunks/{location-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-8r6rwc5s.js → kv-8nkkbt6n.js} +44 -44
- package/dist/chunks/{location-8p4f9s12.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-8t8275hn.js → kv-8qcv48pk.js} +11 -11
- package/dist/chunks/{location-xc9yqyqb.js → kv-8s725grq.js} +5 -5
- package/dist/chunks/{location-cr9wy6w1.js → kv-8sjzh31h.js} +8 -8
- package/dist/chunks/{location-486w7fxe.js → kv-8t0f4xs6.js} +47 -47
- package/dist/chunks/{location-ktqj97zq.js → kv-8ttk3n17.js} +8 -8
- package/dist/chunks/{location-1sn79vb4.js → kv-8w4wnn0h.js} +8 -8
- package/dist/chunks/{location-p9psax7t.js → kv-94yqh2e8.js} +18 -18
- package/dist/chunks/{location-sw9t6trv.js → kv-9jpkdkrd.js} +13 -13
- package/dist/chunks/{location-ek8mqh7t.js → kv-9nt1zxy2.js} +3 -3
- package/dist/chunks/{location-8aqjv0nr.js → kv-9p4fwp8b.js} +15 -15
- package/dist/chunks/{location-23sxaqwc.js → kv-9wjnegnz.js} +6 -6
- package/dist/chunks/{location-a1bz86dw.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-6hjx5zpb.js → kv-a3ftg8j6.js} +9 -9
- package/dist/chunks/{location-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{location-cjmgn8y7.js → kv-aj131gze.js} +20 -20
- package/dist/chunks/{location-y35sf2j4.js → kv-ajed71fh.js} +4 -4
- package/dist/chunks/{location-hxamr57h.js → kv-an64vcjs.js} +26 -26
- package/dist/chunks/{location-cavr175a.js → kv-axmvebxj.js} +21 -21
- package/dist/chunks/{location-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-rjqxc1v9.js → kv-b8hzf7nw.js} +6 -6
- package/dist/chunks/{location-00n4z9c8.js → kv-b9ddpge3.js} +24 -24
- package/dist/chunks/{location-bha4atvq.js → kv-bajakh74.js} +4 -4
- package/dist/chunks/{location-6k7g8b2m.js → kv-bb4x6fty.js} +1 -1
- package/dist/chunks/{location-fmveprfr.js → kv-bhna9v2j.js} +78 -78
- package/dist/chunks/{location-pvjjmvt0.js → kv-brk9z31q.js} +29 -29
- package/dist/chunks/{location-saskwv33.js → kv-bvf2mwpm.js} +17 -17
- package/dist/chunks/{location-18etdt57.js → kv-bzykmrpe.js} +28 -28
- package/dist/chunks/{location-4b260xn2.js → kv-c5twpqer.js} +4 -4
- package/dist/chunks/{location-cwa6csj7.js → kv-c765mh8b.js} +9 -9
- package/dist/chunks/{location-xrzwnsts.js → kv-cfhv7k6a.js} +39 -39
- package/dist/chunks/{location-cfpkc3c9.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-nrgy2ypj.js → kv-cmce1137.js} +56 -56
- package/dist/chunks/{location-9f3c306s.js → kv-cmmaewg5.js} +17 -17
- package/dist/chunks/{location-26k5bknw.js → kv-csf2jhsg.js} +4 -4
- package/dist/chunks/{location-b6a6whtj.js → kv-d0bvbghy.js} +21 -21
- package/dist/chunks/{location-9myg4ep2.js → kv-d9w86zsm.js} +4 -4
- package/dist/chunks/{location-zfxxb779.js → kv-dda4ng2z.js} +18 -18
- package/dist/chunks/{location-64t5n8f6.js → kv-dg0zj9rc.js} +10 -10
- package/dist/chunks/{location-qteqqeas.js → kv-dj9933qw.js} +20 -20
- package/dist/chunks/{location-tbnvg551.js → kv-dkp5evny.js} +21 -21
- package/dist/chunks/{location-78z8y7xk.js → kv-ds5ra16e.js} +25 -25
- package/dist/chunks/{location-5wpr938k.js → kv-dsde1tat.js} +10 -10
- package/dist/chunks/{location-5qd3pb7m.js → kv-e3qxr5gk.js} +2 -2
- package/dist/chunks/kv-e6q1f0vn.js +247 -0
- package/dist/chunks/{location-ahh4p74p.js → kv-eassb7n1.js} +168 -168
- package/dist/chunks/{location-jja9acsd.js → kv-eednvaqf.js} +13 -13
- package/dist/chunks/{location-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-gaxfpy5m.js → kv-ejmwa3hq.js} +25 -25
- package/dist/chunks/{location-494y9cte.js → kv-emn2gdya.js} +34 -34
- package/dist/chunks/{location-0hztt1kq.js → kv-erhqaezs.js} +9 -9
- package/dist/chunks/{location-dd1trpre.js → kv-es0gqzds.js} +11 -11
- package/dist/chunks/{location-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-1eyeymhy.js → kv-ew1a72pc.js} +3 -3
- package/dist/chunks/{location-1d2mbafx.js → kv-ex7b8h7r.js} +13 -13
- package/dist/chunks/{location-s2wcapj3.js → kv-f0b0r112.js} +5 -5
- package/dist/chunks/{location-z1gcgxr5.js → kv-f2exj34c.js} +26 -26
- package/dist/chunks/{location-bhjnpvv2.js → kv-f3dgvsw8.js} +11 -11
- package/dist/chunks/{location-ntcrhfhr.js → kv-f7s8hbxh.js} +9 -9
- package/dist/chunks/{location-f828m53h.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{location-k9kv5pgr.js → kv-ffydvhdg.js} +26 -26
- package/dist/chunks/{location-xzr5bprg.js → kv-fkz998zf.js} +7 -7
- package/dist/chunks/{location-2qrxnqfp.js → kv-fqsqydq6.js} +30 -30
- package/dist/chunks/{location-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-dcse214k.js → kv-g9vrwn0g.js} +6 -6
- package/dist/chunks/{location-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-6rtfy69a.js → kv-gm2mrtn0.js} +10 -10
- package/dist/chunks/{location-b80j8sws.js → kv-gpnb4v3s.js} +2 -2
- package/dist/chunks/{location-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-mrgw8ysz.js → kv-gv7651na.js} +11 -11
- package/dist/chunks/{location-wvkrr4sa.js → kv-gwyqmf4m.js} +3 -3
- package/dist/chunks/{location-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-50hsvrdv.js → kv-h0xcb7xj.js} +32 -32
- package/dist/chunks/{location-gg6cnatt.js → kv-h0z4he29.js} +13 -13
- package/dist/chunks/{location-gt4y1qkk.js → kv-h2d3vczp.js} +11 -11
- package/dist/chunks/{location-44h5tttr.js → kv-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-7mamhmm7.js → kv-hb42574n.js} +4 -4
- package/dist/chunks/{location-0496x3fd.js → kv-hkr4fqfj.js} +35 -35
- package/dist/chunks/{location-06t18zr6.js → kv-hmmy7jr3.js} +11 -11
- package/dist/chunks/{location-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{location-jppvw2tx.js → kv-jppvw2tx.js} +2 -2
- package/dist/chunks/kv-jqh9b0xq.js +18 -0
- package/dist/chunks/{location-dmwb5j6b.js → kv-jsqsfp37.js} +2 -2
- package/dist/chunks/{location-wbkyxrgf.js → kv-jv01nqvq.js} +5 -5
- package/dist/chunks/{location-98s8e1rw.js → kv-jw4s1zfv.js} +11 -11
- package/dist/chunks/{location-ykn0ce9z.js → kv-k1vhadgv.js} +29 -29
- package/dist/chunks/{location-qfx1fv8t.js → kv-k2rxmz7t.js} +30 -30
- package/dist/chunks/{location-abe9ad8b.js → kv-k3qckhrx.js} +10 -10
- package/dist/chunks/{location-ztza8yfw.js → kv-k91wvfsp.js} +6 -6
- package/dist/chunks/{location-qqegwzzx.js → kv-kayrkw4c.js} +48 -48
- package/dist/chunks/{location-n0e5d28z.js → kv-kj59q98p.js} +4 -4
- package/dist/chunks/{location-fad6j005.js → kv-kp15nsp5.js} +8 -8
- package/dist/chunks/{location-wnbvcgmq.js → kv-krc64kd0.js} +23 -23
- package/dist/chunks/{location-zagjgefr.js → kv-kssyrpt2.js} +43 -43
- package/dist/chunks/{location-5a8cmj9a.js → kv-kw20pb70.js} +30 -30
- package/dist/chunks/{location-5ap504dp.js → kv-kxwrs7pr.js} +9 -9
- package/dist/chunks/{location-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-mwth6yg5.js → kv-m5v2682m.js} +10 -10
- package/dist/chunks/{location-a3hwp3ky.js → kv-m7jzmcb1.js} +17 -17
- package/dist/chunks/{location-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mbzssvbs.js → kv-mers118w.js} +4 -4
- package/dist/chunks/{location-8hvvgkp1.js → kv-mzstg76z.js} +5 -5
- package/dist/chunks/{location-ts3vzd1n.js → kv-n8rnw80z.js} +11 -11
- package/dist/chunks/{location-g82ree5z.js → kv-naacnpm8.js} +26 -26
- package/dist/chunks/{location-gv620b2y.js → kv-nkx67cjw.js} +26 -26
- package/dist/chunks/{location-kmnqxjps.js → kv-nmtt5z3v.js} +15 -15
- package/dist/chunks/{location-g4damz2s.js → kv-nsgsffy1.js} +13 -13
- package/dist/chunks/{location-6sanwebc.js → kv-ntm8zpk5.js} +23 -23
- package/dist/chunks/{location-nzks3jc8.js → kv-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-pkzh3qng.js → kv-p8sbnyjj.js} +10 -10
- package/dist/chunks/{location-vxtegm14.js → kv-pgxxehqc.js} +8 -8
- package/dist/chunks/{location-5yzzbxa7.js → kv-phstrbs2.js} +8 -8
- package/dist/chunks/{location-4xcd1knb.js → kv-pj3w115z.js} +14 -14
- package/dist/chunks/{location-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{location-yvzbnmva.js → kv-pm9n5w5j.js} +27 -27
- package/dist/chunks/{location-fhs97t90.js → kv-pnv527nz.js} +9 -9
- package/dist/chunks/{location-1rgdf1rr.js → kv-pvbcmb1z.js} +14 -14
- package/dist/chunks/{location-5cmxdwv8.js → kv-pxt4kznk.js} +3 -3
- package/dist/chunks/{location-a3mksyy2.js → kv-q0tbq2v7.js} +3 -3
- package/dist/chunks/{location-tgc1gxnk.js → kv-q4sd4tae.js} +22 -22
- package/dist/chunks/{location-7dqw4kz8.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-59dzktqd.js → kv-qr6yw9fr.js} +4 -4
- package/dist/chunks/{location-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{location-jbwprqzn.js → kv-qz6vgd90.js} +20 -20
- package/dist/chunks/kv-r43zyezs.js +26 -0
- package/dist/chunks/{location-v5dkyp31.js → kv-ratrq7cm.js} +4 -4
- package/dist/chunks/{location-2acx5bed.js → kv-raxyzsfz.js} +27 -27
- package/dist/chunks/{location-zxebshr7.js → kv-rdmz8hsf.js} +7 -7
- package/dist/chunks/{location-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-vmgq4x8b.js → kv-rfkfgx1j.js} +2 -2
- package/dist/chunks/{location-6z0vzmdg.js → kv-rh6t3e8x.js} +3 -3
- package/dist/chunks/{location-xbtv5mhj.js → kv-rvzwhx54.js} +13 -13
- package/dist/chunks/{location-5sgk8ws7.js → kv-rxqqjfzp.js} +11 -11
- package/dist/chunks/{location-kjayet2y.js → kv-s3bhbpvq.js} +23 -23
- package/dist/chunks/{location-yrznvahk.js → kv-s4enseaf.js} +2 -2
- package/dist/chunks/{location-4yv3tfyh.js → kv-s65c0x9p.js} +20 -20
- package/dist/chunks/{location-xsskq6cm.js → kv-s6j8v3s8.js} +3 -3
- package/dist/chunks/{location-7aath5aj.js → kv-sawgakpg.js} +26 -26
- package/dist/chunks/{location-0h0a48ec.js → kv-sfqz58mj.js} +11 -11
- package/dist/chunks/{location-xz6s1xa8.js → kv-smjnka0s.js} +16 -16
- package/dist/chunks/{location-2v0smvdr.js → kv-st792bcc.js} +4 -4
- package/dist/chunks/{location-ycjb11n5.js → kv-sxzvkvgj.js} +6 -6
- package/dist/chunks/{location-eaj1djv9.js → kv-t550f9t1.js} +8 -8
- package/dist/chunks/{location-hc9acsgr.js → kv-tat11k01.js} +9 -9
- package/dist/chunks/{location-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-2tphjjya.js → kv-tcss7r4m.js} +16 -16
- package/dist/chunks/{location-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{location-4pkxdsqk.js → kv-te74vz4q.js} +16 -16
- package/dist/chunks/{location-mcf7gtm1.js → kv-tpjzmvfb.js} +27 -27
- package/dist/chunks/{location-b97cbvw3.js → kv-ts2x07a1.js} +1 -1
- package/dist/chunks/{location-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{location-5gjmv7pj.js → kv-v91y0v9g.js} +13 -13
- package/dist/chunks/{location-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{location-fr5ztnz3.js → kv-vmk9mvqb.js} +15 -15
- package/dist/chunks/{location-vncycja5.js → kv-vncycja5.js} +1 -1
- package/dist/chunks/{location-x5p3q6jj.js → kv-vnjtnw93.js} +26 -26
- package/dist/chunks/{location-92azg307.js → kv-vnwmzs4a.js} +5 -5
- package/dist/chunks/{location-c3jt164g.js → kv-vr9kmahe.js} +15 -15
- package/dist/chunks/{location-htjddf50.js → kv-vrs00ymw.js} +15 -15
- package/dist/chunks/{location-4445jz97.js → kv-vw0mje16.js} +17 -17
- package/dist/chunks/{location-79etttnd.js → kv-vw6s94gm.js} +29 -29
- package/dist/chunks/{location-9ex8f1cq.js → kv-vwpcpzep.js} +8 -8
- package/dist/chunks/{location-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-hes91rk8.js → kv-w3p0s651.js} +23 -23
- package/dist/chunks/{location-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-37w33ens.js → kv-w9m92w4h.js} +24 -24
- package/dist/chunks/{location-qnkt5fks.js → kv-wa80ned2.js} +15 -15
- package/dist/chunks/{location-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{location-rr7630r8.js → kv-wg2h0j76.js} +31 -31
- package/dist/chunks/{location-8dem3s5f.js → kv-wtqhjh8n.js} +7 -7
- package/dist/chunks/{location-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-c7q16h9q.js → kv-x6mv5yfh.js} +11 -11
- package/dist/chunks/{location-a0kv3qe5.js → kv-x9r10vm9.js} +3 -3
- package/dist/chunks/{location-mmftb33c.js → kv-xbbzma59.js} +10 -10
- package/dist/chunks/{location-drwq78ky.js → kv-xfkkasph.js} +4 -4
- package/dist/chunks/{location-ay3b2ggg.js → kv-xjqh7bfx.js} +8 -8
- package/dist/chunks/{location-qmhk62hb.js → kv-xmpfc1gs.js} +12 -12
- package/dist/chunks/{location-6z0fr5t2.js → kv-xy5avtrt.js} +8 -8
- package/dist/chunks/{location-mg7x2rv6.js → kv-xywpwyc5.js} +18 -18
- package/dist/chunks/{location-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-5g14qra5.js → kv-y4wgp3m0.js} +12 -12
- package/dist/chunks/{location-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{location-hcq3pck3.js → kv-y7rwcvzy.js} +18 -18
- package/dist/chunks/{location-cd9h2kba.js → kv-y90d6qtx.js} +294 -294
- package/dist/chunks/{location-7j5hs3da.js → kv-y98x5tmy.js} +20 -20
- package/dist/chunks/{location-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-d2aac7k2.js → kv-yt0fqk68.js} +5 -5
- package/dist/chunks/{location-e4wmmsry.js → kv-yvm5nvj7.js} +11 -11
- package/dist/chunks/{location-0qznmr0s.js → kv-yxb2cccm.js} +5 -5
- package/dist/chunks/{location-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-xtcpx0xj.js → kv-zb69vxd0.js} +63 -63
- package/dist/chunks/{location-mqvx4cv3.js → kv-zeb3xvh4.js} +11 -11
- package/dist/chunks/{location-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-ttkf10kh.js → kv-zm6zsx8f.js} +16 -16
- package/dist/chunks/{location-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-8dj191es.js → kv-zr3jfe2b.js} +35 -35
- package/dist/chunks/{location-ekztwtwh.js → kv-zrj8cget.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-s01fwkep.js → kv-zz95z75b.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- 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 +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-0kdkcf2f.js +0 -26
- package/dist/chunks/location-0mesazry.js +0 -4
- package/dist/chunks/location-f3feb8zp.js +0 -247
- package/dist/chunks/location-rap9a73h.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-40z4n3em.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-cmce1137.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent2 = {};
|
|
15
|
+
__export(exports_agent2, {
|
|
16
|
+
AgentPlugin: () => exports_agent2,
|
|
17
|
+
Plugin: () => Plugin46
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin46 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin21 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID10.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin21 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID10.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin21 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin46, exports_agent2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-c5twpqer.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service55,
|
|
17
|
+
node58
|
|
18
|
+
} from "./kv-cmmaewg5.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service81;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service55;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node47 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node85,
|
|
118
|
+
deps: [Global.node, node85, node58]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service45, node47, exports_reference2, Event9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-gpnb4v3s.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./kv-5hv2sp62.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service14
|
|
10
|
+
} from "./kv-h2d3vczp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make6
|
|
13
|
+
} from "./kv-7yh4e7ss.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin20 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service52;
|
|
37
|
+
const formatter = yield* Service14;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service78;
|
|
@@ -45,7 +45,7 @@ var Plugin42 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make6({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin42 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin20, exports_formatter };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-c5twpqer.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./kv-kw20pb70.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-vw6s94gm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-brk9z31q.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID3,
|
|
19
19
|
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-w3p0s651.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -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: ID13.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
providers.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 = ID13.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
sourceConnection: snapshot.connection
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const item = providers.get(
|
|
198
|
+
const item = providers.get(ID12.opencode);
|
|
199
199
|
if (!item)
|
|
200
200
|
return;
|
|
201
201
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
209
|
yield* ctx.model.transform((models) => {
|
|
210
|
-
const item = models.provider.get(
|
|
210
|
+
const item = models.provider.get(ID12.opencode);
|
|
211
211
|
if (!item)
|
|
212
212
|
return;
|
|
213
213
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-4f02dvhn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service30 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make19({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service82;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service30.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node86] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node34, exports_instruction_entry };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-c5twpqer.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service73,
|
|
8
|
+
node77
|
|
9
|
+
} from "./kv-kw20pb70.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-1rgqz1x1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
|
+
ID: () => ID13,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
|
+
node: () => node75
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
+
var ID13 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID13,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service71 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service73;
|
|
110
110
|
const bus = yield* Service81;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info29.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service71.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key4.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node75 = makeLocationNode({
|
|
583
|
+
service: Service71,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node77, node85, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node75, exports_integration, Event18 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service51,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node53
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service51 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service51, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service51.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service47, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node53 = makeGlobalNode({ service: Service51, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service51, node53, exports_environment };
|