@opencode/core 0.0.0-dev-19895 → 0.0.0-dev-19896
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 +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{image-38rmxb2h.js → file-00af4kh8.js} +8 -8
- package/dist/chunks/{image-7422bz05.js → file-0493g1vy.js} +24 -24
- package/dist/chunks/{image-0m3w2t1r.js → file-04k65yr5.js} +11 -11
- package/dist/chunks/{image-nxxwwkwy.js → file-0e9pe9hx.js} +11 -11
- package/dist/chunks/{image-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-23gvq6ep.js → file-0qad3ttb.js} +32 -32
- package/dist/chunks/{image-p2f06z72.js → file-0wtnvkaq.js} +9 -9
- package/dist/chunks/{image-rk8wmvgg.js → file-0z78d6d4.js} +9 -9
- package/dist/chunks/{image-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-9q6mkjsj.js → file-1hbpk5ma.js} +12 -12
- package/dist/chunks/{image-c3wa40ms.js → file-1v56nqpw.js} +19 -19
- package/dist/chunks/{image-1ygqh575.js → file-1ygqh575.js} +2 -2
- package/dist/chunks/{image-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{image-kqcs6dfg.js → file-24ez7j11.js} +13 -13
- package/dist/chunks/{image-0zhzd60j.js → file-285smrwa.js} +7 -7
- package/dist/chunks/{image-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-4z1052x1.js → file-2dw84gmp.js} +9 -9
- package/dist/chunks/{image-bjmt3h04.js → file-2eegacq4.js} +8 -8
- package/dist/chunks/{image-17e5z2kv.js → file-2jwpwh9n.js} +44 -44
- package/dist/chunks/{image-ph842b28.js → file-2k71kv7p.js} +4 -4
- package/dist/chunks/{image-df03p2qx.js → file-2kj4nmmg.js} +25 -25
- package/dist/chunks/{image-tc4mawtk.js → file-2mvmpsyq.js} +3 -3
- package/dist/chunks/{image-kwwk4ft6.js → file-2nr7b2rh.js} +9 -9
- package/dist/chunks/{image-125x6jc5.js → file-2rk3cq7y.js} +13 -13
- package/dist/chunks/{image-ae01ggp0.js → file-2tfmgkzg.js} +4 -4
- package/dist/chunks/{image-2fqe24zy.js → file-2wz5cap4.js} +10 -10
- package/dist/chunks/{image-8arcc1g8.js → file-2zqpyx7j.js} +11 -11
- package/dist/chunks/{image-zgfzjsp4.js → file-3149hxjv.js} +22 -22
- package/dist/chunks/{image-her9e4hr.js → file-3a13mzqq.js} +11 -11
- package/dist/chunks/{image-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-5rt7nyka.js → file-3hpdt92y.js} +10 -10
- package/dist/chunks/{image-qdbakdjh.js → file-3j9bgvtg.js} +5 -5
- package/dist/chunks/{image-sc186k9x.js → file-3ktbe3hf.js} +6 -6
- package/dist/chunks/{image-43365wyy.js → file-3n6mfbkh.js} +25 -25
- package/dist/chunks/{image-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-z3ct0j69.js → file-3t889vdt.js} +24 -24
- package/dist/chunks/{image-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-3ythc6yv.js → file-3ythc6yv.js} +1 -1
- package/dist/chunks/{image-yk94a6e0.js → file-4091at3p.js} +16 -16
- package/dist/chunks/{image-ss3mtxdg.js → file-40cw0428.js} +4 -4
- package/dist/chunks/{image-qx38d0n5.js → file-42yzn4t5.js} +11 -11
- package/dist/chunks/{image-4dgbcxzg.js → file-44h5tttr.js} +4 -4
- package/dist/chunks/{image-y79k1xra.js → file-4brxhqy9.js} +33 -33
- package/dist/chunks/{image-etbrhcmb.js → file-4ecc57dw.js} +50 -50
- package/dist/chunks/{image-pstg3rfm.js → file-4jc5c4h4.js} +1 -1
- package/dist/chunks/{image-21xfqssn.js → file-4kqngsvt.js} +28 -28
- package/dist/chunks/{image-dp32qy3n.js → file-4mg090da.js} +27 -27
- package/dist/chunks/{image-x3mn157g.js → file-4nwvt2ek.js} +4 -4
- package/dist/chunks/{image-9ajz18mq.js → file-4whbgcxk.js} +18 -18
- package/dist/chunks/{image-5bds7g24.js → file-4zn875z0.js} +32 -32
- package/dist/chunks/{image-gg7pg1rj.js → file-510m7gjw.js} +5 -5
- package/dist/chunks/{image-gby52dfb.js → file-53bvc5b3.js} +28 -28
- package/dist/chunks/{image-05xfxpq7.js → file-56m60q16.js} +8 -8
- package/dist/chunks/{image-0ke265bw.js → file-57ez7d0k.js} +5 -5
- package/dist/chunks/{image-exftq8yt.js → file-58b9fvpm.js} +18 -18
- package/dist/chunks/{image-5mwyragx.js → file-5a3rkb7m.js} +33 -33
- package/dist/chunks/{image-5c4hm403.js → file-5c4hm403.js} +3 -3
- package/dist/chunks/{image-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{image-685zzjpb.js → file-5eh7kyv5.js} +33 -33
- package/dist/chunks/{image-6dh17h6r.js → file-5n76hmjp.js} +5 -5
- package/dist/chunks/{image-y38ja4bc.js → file-5sdemcz3.js} +8 -8
- package/dist/chunks/{image-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-e5feqydn.js → file-5y2rckg7.js} +6 -6
- package/dist/chunks/{image-a2ffvnhx.js → file-5ydw7gt2.js} +17 -17
- package/dist/chunks/{image-5cyh5ysx.js → file-636j21cx.js} +15 -15
- package/dist/chunks/{image-1fvpqx3e.js → file-63nnbv2k.js} +1 -1
- package/dist/chunks/{image-xjfpeq55.js → file-64tp9nsp.js} +28 -28
- package/dist/chunks/{image-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{image-dk1nkhy9.js → file-6dmrh5a8.js} +28 -28
- package/dist/chunks/{image-f81z5vps.js → file-6gchxkvz.js} +14 -14
- package/dist/chunks/{image-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{image-27q2gfj6.js → file-6hkwt5ks.js} +30 -30
- package/dist/chunks/{image-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-6phjk5y4.js → file-6t8a2cxv.js} +38 -38
- package/dist/chunks/{image-86erpfar.js → file-6xapaz12.js} +26 -26
- package/dist/chunks/{image-mhkvc446.js → file-73tb2d7t.js} +3 -3
- package/dist/chunks/{image-r2d10xbt.js → file-78ghsz8c.js} +43 -43
- package/dist/chunks/{image-3e2sbbgt.js → file-7ahgtxs9.js} +21 -21
- package/dist/chunks/{image-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-cke3a6ft.js → file-7bsn99y2.js} +8 -8
- package/dist/chunks/{image-78pdypyy.js → file-7qcewr7x.js} +15 -15
- package/dist/chunks/{image-decnw00n.js → file-7ygdg4wh.js} +305 -305
- package/dist/chunks/{image-rpp1r6qa.js → file-7ynk84wd.js} +57 -57
- package/dist/chunks/{image-d5y0ycpw.js → file-829kak1e.js} +10 -10
- package/dist/chunks/{image-7v72e2sa.js → file-852d7py8.js} +15 -15
- package/dist/chunks/{image-jf3nzqf4.js → file-85czmsy6.js} +9 -9
- package/dist/chunks/{image-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-ajznkaye.js → file-8pryv8c2.js} +28 -28
- package/dist/chunks/file-96byh0hv.js +252 -0
- package/dist/chunks/{image-1361eat1.js → file-96vdq9fw.js} +9 -9
- package/dist/chunks/{image-x1yv39pn.js → file-9cvk2t4j.js} +168 -168
- package/dist/chunks/{image-nnjacqg1.js → file-9d4g2rgm.js} +3 -3
- package/dist/chunks/{image-tb7b58hr.js → file-9m9h8fve.js} +5 -5
- package/dist/chunks/{image-npx37cxs.js → file-9xqd5pe1.js} +28 -28
- package/dist/chunks/{image-y5ks5t0g.js → file-a313qmz8.js} +25 -25
- package/dist/chunks/{image-kxjbraxt.js → file-a7atmr7r.js} +22 -22
- package/dist/chunks/{image-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{image-j83byb14.js → file-an7cqtb7.js} +4 -4
- package/dist/chunks/{image-erxttzdb.js → file-as3hmkts.js} +12 -12
- package/dist/chunks/{image-hhw8xstx.js → file-atwefz46.js} +3 -3
- package/dist/chunks/{image-8ads4nte.js → file-ayykrmcz.js} +32 -32
- package/dist/chunks/{image-sqp8kdc3.js → file-b1ers0rt.js} +15 -15
- package/dist/chunks/{image-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-jgts6fy0.js → file-bade5gr5.js} +3 -3
- package/dist/chunks/{image-13x3xvzj.js → file-bcnbwanc.js} +19 -19
- package/dist/chunks/{image-m4ywmv3t.js → file-bem8brcd.js} +4 -4
- package/dist/chunks/{image-036p5t1s.js → file-bp02r99k.js} +4 -4
- package/dist/chunks/{image-9qtp6n1k.js → file-bv2epnby.js} +30 -30
- package/dist/chunks/{image-phnm1pec.js → file-bwm9bx21.js} +3 -3
- package/dist/chunks/{image-ytqj6kad.js → file-bypvmvbc.js} +5 -5
- package/dist/chunks/{image-pb1eahw5.js → file-c1495ybz.js} +5 -5
- package/dist/chunks/{image-yf4jcbx9.js → file-ccfa4wxs.js} +6 -6
- package/dist/chunks/{image-cmwkp3r5.js → file-cmwkp3r5.js} +1 -1
- package/dist/chunks/{image-cwa6csj7.js → file-cwa6csj7.js} +2 -2
- package/dist/chunks/{image-21mwcfey.js → file-d0edxsh7.js} +19 -19
- package/dist/chunks/{image-n0bnpkq1.js → file-d1j0qnxw.js} +15 -15
- package/dist/chunks/{image-6kyk1s1d.js → file-d5jzmsg2.js} +13 -13
- package/dist/chunks/{image-tkt8k2an.js → file-d7fqxd0w.js} +20 -20
- package/dist/chunks/{image-qkb9ksse.js → file-d7w252zj.js} +27 -27
- package/dist/chunks/{image-6q20z57g.js → file-d93gxzhm.js} +14 -14
- package/dist/chunks/{image-5n1tag38.js → file-de9ewzfh.js} +13 -13
- package/dist/chunks/{image-2fg7feb3.js → file-df6g96g5.js} +5 -5
- package/dist/chunks/{image-dj2t23y0.js → file-dj2t23y0.js} +2 -2
- package/dist/chunks/{image-gcaewnb3.js → file-dj631km8.js} +6 -6
- package/dist/chunks/{image-9n5m0pzr.js → file-djqf8388.js} +34 -34
- package/dist/chunks/{image-v0cj4jgk.js → file-dkm5q57s.js} +95 -95
- package/dist/chunks/{image-e83b4wjw.js → file-dkn9b9f5.js} +9 -9
- package/dist/chunks/{image-y71avatq.js → file-dpkg50ah.js} +4 -4
- package/dist/chunks/{image-tvqm6ts3.js → file-dq8nh84r.js} +16 -16
- package/dist/chunks/{image-bbvn5bpq.js → file-dqezrhz2.js} +25 -25
- package/dist/chunks/file-dxj72tfx.js +18 -0
- package/dist/chunks/{image-g2dvk4e7.js → file-e8mvkq4k.js} +17 -17
- package/dist/chunks/{image-61pe7ftv.js → file-e8nv9k1e.js} +7 -7
- package/dist/chunks/{image-pecb0brz.js → file-ead3g9p8.js} +5 -5
- package/dist/chunks/{image-eaj1djv9.js → file-eaj1djv9.js} +1 -1
- package/dist/chunks/{image-7qky9ae7.js → file-ee73fed3.js} +47 -47
- package/dist/chunks/{image-ef5x83kb.js → file-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-j59qwfbj.js → file-eq0qfh2k.js} +34 -34
- package/dist/chunks/{image-erw5rpbs.js → file-erw5rpbs.js} +2 -2
- package/dist/chunks/{image-7yjzmpmm.js → file-et91bqp9.js} +10 -10
- package/dist/chunks/{image-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-dj9sq318.js → file-evbgk2k8.js} +5 -5
- package/dist/chunks/{image-jdnp2mh3.js → file-evsjhyqp.js} +4 -4
- package/dist/chunks/{image-magykp64.js → file-f3ngv102.js} +4 -4
- package/dist/chunks/{image-kfaxk64y.js → file-f8e7pbj3.js} +11 -11
- package/dist/chunks/{image-qgn6gcr1.js → file-fcrkznn8.js} +5 -5
- package/dist/chunks/{image-p4wnq9w8.js → file-fr6sv4wz.js} +15 -15
- package/dist/chunks/{image-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{image-0k7zad8a.js → file-g0bdsd7s.js} +7 -7
- package/dist/chunks/{image-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-096mz8kq.js → file-gfnjd6a9.js} +5 -5
- package/dist/chunks/{image-v0a3n2n2.js → file-gghxsv2g.js} +32 -32
- package/dist/chunks/{image-hare45ya.js → file-gkbem5z3.js} +31 -31
- package/dist/chunks/{image-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-hwxt3g9r.js → file-gw23creq.js} +33 -33
- package/dist/chunks/{image-rwp78atz.js → file-h0qt5e5y.js} +3 -3
- package/dist/chunks/{image-wnt6v6p0.js → file-h1a82ttv.js} +35 -35
- package/dist/chunks/{image-k4msv9rg.js → file-h41rq5z1.js} +25 -25
- package/dist/chunks/{image-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-q818k922.js → file-h85dz378.js} +8 -8
- package/dist/chunks/{image-9gda8h3b.js → file-haa19701.js} +4 -4
- package/dist/chunks/{image-hdnk95c8.js → file-hdnk95c8.js} +2 -2
- package/dist/chunks/{image-nesvm5v2.js → file-hg6thggv.js} +23 -23
- package/dist/chunks/{image-9gnetxtg.js → file-hp7eqkgq.js} +2 -2
- package/dist/chunks/{image-ybeakdkx.js → file-hx99ev5f.js} +15 -15
- package/dist/chunks/{image-8vzkmd2j.js → file-j33mnh1x.js} +24 -24
- package/dist/chunks/{image-ffg0s7y6.js → file-j381zx68.js} +35 -35
- package/dist/chunks/{image-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{image-j7t2khjb.js → file-j7t2khjb.js} +3 -3
- package/dist/chunks/{image-j699j8bt.js → file-jca4demv.js} +2 -2
- package/dist/chunks/{image-e8ymqar5.js → file-jcemy7wp.js} +74 -74
- package/dist/chunks/{image-sxz6gkc3.js → file-jfqtm2ew.js} +7 -7
- package/dist/chunks/{image-2b1p80hb.js → file-jjpeq0x6.js} +19 -19
- package/dist/chunks/{image-djazf891.js → file-k13v7s70.js} +20 -20
- package/dist/chunks/{image-thrv2w6y.js → file-k2ceccft.js} +5 -5
- package/dist/chunks/{image-fvgnskq7.js → file-k53nzgjr.js} +17 -17
- package/dist/chunks/{image-2gm71543.js → file-k56qavf2.js} +36 -36
- package/dist/chunks/{image-44ke2mar.js → file-k9kj6xed.js} +6 -6
- package/dist/chunks/{image-16tkqbq4.js → file-kvxz1nnx.js} +12 -12
- package/dist/chunks/{image-fkj783w2.js → file-kztag27a.js} +26 -26
- package/dist/chunks/{image-m0jqrx5p.js → file-m0jqrx5p.js} +2 -2
- package/dist/chunks/{image-m3fdjcah.js → file-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-ycnbsp3j.js → file-m6nr1r89.js} +11 -11
- package/dist/chunks/{image-m0bs8e2g.js → file-m7e4enkd.js} +43 -43
- package/dist/chunks/{image-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-8tpzrn2j.js → file-mhstgcjq.js} +11 -11
- package/dist/chunks/{image-7bpxshnk.js → file-mxvdmhxd.js} +11 -11
- package/dist/chunks/{image-8x7kb0dp.js → file-mzgjcq6e.js} +23 -23
- package/dist/chunks/{image-0996nyz8.js → file-n37c4crj.js} +2 -2
- package/dist/chunks/{image-4en9k6ag.js → file-n9hnzybb.js} +23 -23
- package/dist/chunks/{image-0r3xy393.js → file-nbep77rb.js} +18 -18
- package/dist/chunks/{image-ndqtf2h8.js → file-ndqtf2h8.js} +1 -1
- package/dist/chunks/{image-m2d0j7c0.js → file-nscznvay.js} +9 -9
- package/dist/chunks/{image-rfxgs9t3.js → file-nwswft9z.js} +1 -1
- package/dist/chunks/{image-k3c624dm.js → file-nzks3jc8.js} +3 -3
- package/dist/chunks/{image-1rj7qwbn.js → file-p11pfbbp.js} +20 -20
- package/dist/chunks/{image-p28j5sbe.js → file-p28j5sbe.js} +2 -2
- package/dist/chunks/{image-ye2ymfh9.js → file-p41fbzgp.js} +6 -6
- package/dist/chunks/{image-s7zd2jzd.js → file-p8s1tbxz.js} +29 -29
- package/dist/chunks/{image-dv747h8f.js → file-p8tq6xht.js} +16 -16
- package/dist/chunks/{image-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{image-tst491ea.js → file-pq65tk6f.js} +10 -10
- package/dist/chunks/{image-s93dsjvp.js → file-px76j0pk.js} +9 -9
- package/dist/chunks/{image-pk2244jm.js → file-q3t37ft6.js} +3 -3
- package/dist/chunks/{image-d8hn99j1.js → file-qkxsz2mg.js} +15 -15
- package/dist/chunks/{image-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{image-b8hzf7nw.js → file-r4xn8cgd.js} +5 -5
- package/dist/chunks/{image-cr5e6c9v.js → file-r52efjxa.js} +46 -46
- package/dist/chunks/{image-rdw6cm16.js → file-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-yp2x3t23.js → file-rhraev7y.js} +4 -4
- package/dist/chunks/{image-w4arg62q.js → file-rph3zd4r.js} +4 -4
- package/dist/chunks/{image-da8am2av.js → file-rtkpxbf2.js} +22 -22
- package/dist/chunks/{image-9espvn2j.js → file-ry1kfgw7.js} +28 -28
- package/dist/chunks/{image-3v2q00bj.js → file-s0bk0r1z.js} +13 -13
- package/dist/chunks/{image-d090tx9v.js → file-s6c03qyq.js} +17 -17
- package/dist/chunks/{image-r9232fht.js → file-s7y6nykf.js} +20 -20
- package/dist/chunks/{image-bejcrqds.js → file-safzyg6n.js} +14 -14
- package/dist/chunks/{image-remj23m8.js → file-sw35dprj.js} +5 -5
- package/dist/chunks/{image-7j5hs8df.js → file-t1q5pb01.js} +4 -4
- package/dist/chunks/{image-53md4s8b.js → file-t4ep399p.js} +12 -12
- package/dist/chunks/{image-4zxrr8c3.js → file-t69pkn8h.js} +14 -14
- package/dist/chunks/{image-0tesc0cp.js → file-tac0hfxd.js} +59 -59
- package/dist/chunks/{image-9qda3fsd.js → file-targrq6s.js} +9 -9
- package/dist/chunks/{image-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{image-bjdzf017.js → file-tkmzzze4.js} +21 -21
- package/dist/chunks/{image-rpg9c19m.js → file-ttqh24zm.js} +4 -4
- package/dist/chunks/{image-h2mxsdb2.js → file-ttzf9e0x.js} +28 -28
- package/dist/chunks/{image-c4056kjb.js → file-tv8tew1t.js} +20 -20
- package/dist/chunks/{image-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{image-6xrxpe8b.js → file-tzdy52s7.js} +13 -13
- package/dist/chunks/{image-rv5rhnwn.js → file-v5gzehfd.js} +6 -6
- package/dist/chunks/{image-4y72ap3v.js → file-vadan2xk.js} +12 -12
- package/dist/chunks/{image-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{image-gz8ekwtz.js → file-vsmvdy9p.js} +11 -11
- package/dist/chunks/{image-z0eq1mse.js → file-vtm79yg5.js} +11 -11
- package/dist/chunks/{image-vevjmzcs.js → file-vx7aa5m2.js} +22 -22
- package/dist/chunks/{image-m7x6mvdf.js → file-vy9gj3hz.js} +7 -7
- package/dist/chunks/{image-a694798e.js → file-vykevjvn.js} +5 -5
- package/dist/chunks/{image-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-jdxnr9v5.js → file-w1ezb4ke.js} +14 -14
- package/dist/chunks/{image-msq0jde0.js → file-w1k39n5e.js} +4 -4
- package/dist/chunks/{image-wv1a429p.js → file-w2a5z8kt.js} +8 -8
- package/dist/chunks/{image-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-kxb46qvg.js → file-w8vgje9p.js} +7 -7
- package/dist/chunks/{image-c60yd45z.js → file-w9nahaws.js} +11 -11
- package/dist/chunks/{image-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{image-jvgf4mts.js → file-wf5bnb3c.js} +37 -37
- package/dist/chunks/{image-h868bt0t.js → file-wrxzva30.js} +10 -10
- package/dist/chunks/{image-wsw7wh6v.js → file-x00jkr1b.js} +42 -42
- package/dist/chunks/{image-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/file-xb0ahqs4.js +26 -0
- package/dist/chunks/{image-xynqawvq.js → file-xfhar90w.js} +16 -16
- package/dist/chunks/{image-xfkkasph.js → file-xfkkasph.js} +1 -1
- package/dist/chunks/{image-6ae436se.js → file-xgj79bh7.js} +19 -19
- package/dist/chunks/{image-tvzewt7x.js → file-xhd31qk1.js} +5 -5
- package/dist/chunks/{image-ea64kw3d.js → file-xm7z07hf.js} +19 -19
- package/dist/chunks/{image-8mp5am81.js → file-xqc9z03y.js} +12 -12
- package/dist/chunks/{image-5fkza10m.js → file-xvfb9kxe.js} +5 -5
- package/dist/chunks/{image-tdfwg5cp.js → file-xxnqwd1r.js} +37 -37
- package/dist/chunks/{image-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-jp0sq0c2.js → file-y1s26r5f.js} +19 -19
- package/dist/chunks/{image-799r1xjp.js → file-y3qff3a1.js} +5 -5
- package/dist/chunks/{image-740h8prc.js → file-y9heqbmp.js} +24 -24
- package/dist/chunks/{image-q27m98z5.js → file-ygwg1shg.js} +6 -6
- package/dist/chunks/{image-njc7fd3x.js → file-ymd9ngfh.js} +24 -24
- package/dist/chunks/{image-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-aszzyynm.js → file-yrn7vwjt.js} +11 -11
- package/dist/chunks/{image-yrznvahk.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{image-9c3np669.js → file-yvvvp4gn.js} +8 -8
- package/dist/chunks/{image-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z63w68vq.js → file-z63w68vq.js} +2 -2
- package/dist/chunks/{image-6z0kz2ac.js → file-z9k7j840.js} +16 -16
- package/dist/chunks/{image-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-5sea6wyy.js → file-zhgmxcrc.js} +85 -85
- package/dist/chunks/{image-4r4gs5bv.js → file-zpyz6kjf.js} +8 -8
- package/dist/chunks/{image-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- 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 +211 -211
- 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 +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +120 -120
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +92 -92
- 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 +73 -73
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- 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 +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +123 -123
- 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 +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +1 -1
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +95 -95
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- 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 +74 -74
- 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 +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- 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 +106 -106
- package/dist/skill.js +105 -105
- 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 +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- 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 +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- 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 +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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/image-511hynh8.js +0 -252
- package/dist/chunks/image-p1y881a7.js +0 -26
- package/dist/chunks/image-rap9a73h.js +0 -18
- /package/dist/chunks/{image-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{image-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → file-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → file-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → file-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → file-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./file-r52efjxa.js";
|
|
4
4
|
import {
|
|
5
5
|
Service12
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin21 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin46, exports_location_watcher2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node87
|
|
6
|
+
} from "./file-vadan2xk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./file-safzyg6n.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-r4xn8cgd.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service22,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service22 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service22.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node25 = makeLocationNode({
|
|
61
|
+
service: Service22,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node83, Global.node, node87, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service22, node25, exports_strategies };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-2zqpyx7j.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service66,
|
|
17
|
+
node: () => node70
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service66 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service82).db;
|
|
26
|
+
return Service66.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [node86] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service66, node70, exports_kv };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./file-r52efjxa.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin23,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin23 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin10 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin23, exports_warming };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service59,
|
|
9
|
+
node63
|
|
10
|
+
} from "./file-x00jkr1b.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-q3t37ft6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -28,7 +28,7 @@ __export(exports_model, {
|
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node59,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -73,7 +73,7 @@ var resolved2 = (model, options) => ({
|
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
75
|
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
76
|
-
const resolver = yield*
|
|
76
|
+
const resolver = yield* Service59;
|
|
77
77
|
return Service55.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node59 = makeLocationNode({ service: Service55, layer, deps: [node63] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, resolved2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, resolved2, node59, exports_model };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service77,
|
|
10
|
+
node: () => node81
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service77 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service77.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service77, node81, exports_hooks };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./file-0493g1vy.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service64
|
|
8
|
+
} from "./file-j381zx68.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service61
|
|
12
|
+
} from "./file-r52efjxa.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service57
|
|
18
|
+
} from "./file-s6c03qyq.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./file-7ynk84wd.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./file-dkm5q57s.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make8
|
|
31
|
+
} from "./file-mxvdmhxd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin17,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin17 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service57;
|
|
94
|
+
const agents = yield* Service78;
|
|
95
|
+
const config = yield* Service61;
|
|
96
|
+
const permission = yield* Service74;
|
|
97
|
+
const models = yield* Service64;
|
|
98
|
+
const subagents = yield* make8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin46 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin46 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin46 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID16.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name2];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name2, Input2, Output2, description2, Plugin17, exports_subagent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin16,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin16 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin12 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin16, exports_identity };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node66
|
|
4
|
+
} from "./file-a7atmr7r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-safzyg6n.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./file-r52efjxa.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service10,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer7,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node12
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer7 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service61;
|
|
40
|
+
const watcher = yield* Service62;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service79;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service10.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node12 = makeLocationNode({
|
|
74
|
+
service: Service10,
|
|
75
75
|
layer: layer7,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node65, FSUtil.node, node66, node83]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service10,
|
|
80
|
+
layer: Layer.succeed(Service10, Service10.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service10, layer7, node12, empty2, exports_source };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./file-j381zx68.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|