@opencode-ai/core 0.0.0-beta-19129 → 0.0.0-beta-19135
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{pty-008qgtj7.js → event-logger-02cz66nk.js} +18 -18
- package/dist/chunks/{pty-r79tve40.js → event-logger-0ak8fpq9.js} +84 -84
- package/dist/chunks/{pty-gts5f7ad.js → event-logger-0cy25tfm.js} +64 -64
- package/dist/chunks/{pty-0e0xafbb.js → event-logger-0e0xafbb.js} +2 -2
- package/dist/chunks/{pty-94ms672g.js → event-logger-0fxt3z96.js} +3 -3
- package/dist/chunks/{pty-nxrz604p.js → event-logger-0k45et74.js} +9 -9
- package/dist/chunks/{pty-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-3khkq25c.js → event-logger-0qjj9ymt.js} +10 -10
- package/dist/chunks/{pty-0s9ayhjt.js → event-logger-0s9ayhjt.js} +1 -1
- package/dist/chunks/{pty-19g5gqh3.js → event-logger-0t17cbyp.js} +29 -29
- package/dist/chunks/{pty-t39q75fx.js → event-logger-13nnacyb.js} +13 -13
- package/dist/chunks/{pty-eqyz6y0f.js → event-logger-1bwnd4hf.js} +57 -57
- package/dist/chunks/{pty-1ct4r87x.js → event-logger-1ct4r87x.js} +1 -1
- package/dist/chunks/{pty-qydr0h4k.js → event-logger-1m9v8mn3.js} +24 -24
- package/dist/chunks/{pty-rh6rd7ag.js → event-logger-1p8bnmch.js} +4 -4
- package/dist/chunks/{pty-shtw02y9.js → event-logger-1s8r4w4e.js} +33 -33
- package/dist/chunks/{pty-1sbqnd7p.js → event-logger-212ph2vw.js} +6 -6
- package/dist/chunks/{pty-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6h73sxmp.js → event-logger-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-3zdgt117.js → event-logger-29dnvths.js} +4 -4
- package/dist/chunks/{pty-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-h50kfk2b.js → event-logger-2a8s8ztn.js} +13 -13
- package/dist/chunks/{pty-kh5wzj48.js → event-logger-2bbpb5tz.js} +37 -37
- package/dist/chunks/{pty-wxcf70d6.js → event-logger-2ftxdpw7.js} +10 -10
- package/dist/chunks/{pty-2ht70gj7.js → event-logger-2ht70gj7.js} +1 -1
- package/dist/chunks/{pty-2jqmte8w.js → event-logger-2jqmte8w.js} +2 -2
- package/dist/chunks/{pty-sb910js5.js → event-logger-2m4g9ewj.js} +20 -20
- package/dist/chunks/{pty-dc9emjf0.js → event-logger-2qfefwnw.js} +3 -3
- package/dist/chunks/{pty-e1qkg8tm.js → event-logger-2van94j2.js} +15 -15
- package/dist/chunks/{pty-j5w0a358.js → event-logger-3aqmas22.js} +11 -11
- package/dist/chunks/{pty-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-hqhp5amc.js → event-logger-3hege6zb.js} +20 -20
- package/dist/chunks/{pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3qzbfqsy.js → event-logger-3qzbfqsy.js} +2 -2
- package/dist/chunks/{pty-1wm9p8v7.js → event-logger-3rbx21vn.js} +18 -18
- package/dist/chunks/{pty-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-rp8r0d5g.js → event-logger-3vma5df0.js} +26 -26
- package/dist/chunks/{pty-z78tg67p.js → event-logger-41mncz27.js} +5 -5
- package/dist/chunks/{pty-454k5vzh.js → event-logger-454k5vzh.js} +1 -1
- package/dist/chunks/{pty-9j3029qe.js → event-logger-4ffk9bk5.js} +9 -9
- package/dist/chunks/{pty-3w073660.js → event-logger-4fs60wf0.js} +13 -13
- package/dist/chunks/{pty-y974v3mv.js → event-logger-4m6zeev3.js} +4 -4
- package/dist/chunks/{pty-wcj1zaj1.js → event-logger-4n5vt0rn.js} +49 -49
- package/dist/chunks/{pty-4r2nyarf.js → event-logger-4r2nyarf.js} +1 -1
- package/dist/chunks/{pty-zya0p8p9.js → event-logger-54q4ab61.js} +18 -18
- package/dist/chunks/{pty-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-3hfmeb9q.js → event-logger-5eze0v7x.js} +35 -35
- package/dist/chunks/{pty-5fmxt4p5.js → event-logger-5fmxt4p5.js} +1 -1
- package/dist/chunks/{pty-1ydgq2r4.js → event-logger-5fnfwqar.js} +5 -5
- package/dist/chunks/{pty-mj6q7gvy.js → event-logger-5jf9zvh7.js} +13 -13
- package/dist/chunks/{pty-5jvc5tg2.js → event-logger-5jvc5tg2.js} +1 -1
- package/dist/chunks/{pty-qhehnkc2.js → event-logger-5knqzda6.js} +23 -23
- package/dist/chunks/{pty-ps7tg90p.js → event-logger-5kt6hdqr.js} +24 -24
- package/dist/chunks/{pty-c0ggnrvh.js → event-logger-5ranmbyz.js} +13 -13
- package/dist/chunks/{pty-7dqw4kz8.js → event-logger-607tc6va.js} +5 -5
- package/dist/chunks/event-logger-639wr4eg.js +22 -0
- package/dist/chunks/{pty-0gaj4617.js → event-logger-6anwy9fs.js} +6 -6
- package/dist/chunks/{pty-6e958v7x.js → event-logger-6e958v7x.js} +1 -1
- package/dist/chunks/{pty-tdt6s1r3.js → event-logger-6fwq361y.js} +6 -6
- package/dist/chunks/{pty-a615ws19.js → event-logger-6fy45jp5.js} +4 -4
- package/dist/chunks/{pty-3jj6bjb6.js → event-logger-6h414ywr.js} +5 -5
- package/dist/chunks/{pty-tp89m72a.js → event-logger-6mwj1pae.js} +6 -6
- package/dist/chunks/{pty-1hb2jj92.js → event-logger-6mxrwzjk.js} +11 -11
- package/dist/chunks/{pty-gxeqtc45.js → event-logger-6y4y2zs8.js} +6 -6
- package/dist/chunks/{pty-saak5ttd.js → event-logger-6z5bwd8g.js} +6 -6
- package/dist/chunks/{pty-ktgp4y5h.js → event-logger-6zmw1f7k.js} +10 -10
- package/dist/chunks/{pty-711hfp6y.js → event-logger-711hfp6y.js} +2 -2
- package/dist/chunks/{pty-6tf8tr4v.js → event-logger-72nftnjy.js} +3 -3
- package/dist/chunks/{pty-1wbsj790.js → event-logger-75ves8gm.js} +22 -22
- package/dist/chunks/{pty-gf185zmw.js → event-logger-7a627tte.js} +14 -14
- package/dist/chunks/{pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-bj2c3eqn.js → event-logger-7mm1a5xk.js} +11 -11
- package/dist/chunks/{pty-w1r5ypf7.js → event-logger-7n1ftcmm.js} +32 -32
- package/dist/chunks/{pty-t33fapxs.js → event-logger-7n2tcerd.js} +11 -11
- package/dist/chunks/{pty-bp2y3dz3.js → event-logger-7np481va.js} +18 -18
- package/dist/chunks/{pty-rha7dayt.js → event-logger-7twspavz.js} +10 -10
- package/dist/chunks/{pty-bsfcvmm2.js → event-logger-7yaq8a5f.js} +3 -3
- package/dist/chunks/{pty-gd248znf.js → event-logger-7yg14vcd.js} +31 -31
- package/dist/chunks/{pty-eq1pz5kg.js → event-logger-7yh4e7ss.js} +3 -3
- package/dist/chunks/{pty-tcezcvh9.js → event-logger-89znhe33.js} +4 -4
- package/dist/chunks/{pty-actzaqhd.js → event-logger-8en7wc9m.js} +26 -26
- package/dist/chunks/{pty-vb336b53.js → event-logger-8g4myvzm.js} +5 -5
- package/dist/chunks/{pty-93a8yfjt.js → event-logger-93a8yfjt.js} +2 -2
- package/dist/chunks/{pty-76ma23qb.js → event-logger-9714khfe.js} +27 -27
- package/dist/chunks/{pty-8wng66kw.js → event-logger-97b65712.js} +19 -19
- package/dist/chunks/{pty-7zvydh0p.js → event-logger-99hgvjf7.js} +11 -11
- package/dist/chunks/{pty-t3daf40q.js → event-logger-9csrpy9m.js} +8 -8
- package/dist/chunks/{pty-4x0nmcjx.js → event-logger-9kj12sde.js} +9 -9
- package/dist/chunks/{pty-qvbcabdc.js → event-logger-9qm9egsn.js} +2 -2
- package/dist/chunks/{pty-a40eyqg5.js → event-logger-a2rthcw1.js} +16 -16
- package/dist/chunks/{pty-na4p81s6.js → event-logger-a5cfrypt.js} +17 -17
- package/dist/chunks/{pty-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-0ywnm299.js → event-logger-ah9gen6x.js} +12 -12
- package/dist/chunks/{pty-yg7sb877.js → event-logger-ajtjthsy.js} +2 -2
- package/dist/chunks/{pty-rbjghvkh.js → event-logger-ajxr8k0d.js} +39 -39
- package/dist/chunks/{pty-pjdqv3xm.js → event-logger-amdbyq20.js} +11 -11
- package/dist/chunks/{pty-hhv3cd3z.js → event-logger-atzdg8qx.js} +1 -1
- package/dist/chunks/{pty-7n1wp2cn.js → event-logger-avrzsbhx.js} +23 -23
- package/dist/chunks/{pty-ctwxaq1f.js → event-logger-axxvr9d6.js} +3 -3
- package/dist/chunks/{pty-0rbnrynr.js → event-logger-axzb5kc8.js} +5 -5
- package/dist/chunks/{pty-pk02mbyy.js → event-logger-ay0pnvrs.js} +24 -24
- package/dist/chunks/{pty-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-maf5n4v0.js → event-logger-b82t57ej.js} +11 -11
- package/dist/chunks/{pty-b9wsbatv.js → event-logger-b9wsbatv.js} +1 -1
- package/dist/chunks/{pty-cfwzd6ef.js → event-logger-bf4jq1tz.js} +6 -6
- package/dist/chunks/{pty-jv6tbxxe.js → event-logger-bg0z499z.js} +8 -8
- package/dist/chunks/{pty-q0zss3w0.js → event-logger-bjx73de6.js} +18 -18
- package/dist/chunks/{pty-bq6az8vb.js → event-logger-bncvnm42.js} +3 -3
- package/dist/chunks/{pty-thfv75je.js → event-logger-bphmvjfp.js} +5 -5
- package/dist/chunks/{pty-1we85e4n.js → event-logger-by65e51k.js} +36 -36
- package/dist/chunks/{pty-ytrgf914.js → event-logger-bzx0t2dm.js} +17 -17
- package/dist/chunks/{pty-xwq131f5.js → event-logger-c370bb3n.js} +46 -46
- package/dist/chunks/{pty-xk0vfajd.js → event-logger-cdp882tc.js} +10 -10
- package/dist/chunks/{pty-92y7g8ad.js → event-logger-cfc6tg4q.js} +14 -14
- package/dist/chunks/{pty-vywxfc32.js → event-logger-cgtt7c7n.js} +43 -43
- package/dist/chunks/{pty-jysfrgga.js → event-logger-d4fga7fm.js} +3 -3
- package/dist/chunks/{pty-g2gt0w0k.js → event-logger-d72308c8.js} +2 -2
- package/dist/chunks/{pty-amgxn0m4.js → event-logger-dfv457cv.js} +45 -45
- package/dist/chunks/{pty-2vw6f4gm.js → event-logger-dfvjmczd.js} +9 -9
- package/dist/chunks/{pty-kerhshr9.js → event-logger-dfzjqex4.js} +5 -5
- package/dist/chunks/{pty-5b9mh310.js → event-logger-dgf2qf9w.js} +24 -24
- package/dist/chunks/{pty-nry7nvbp.js → event-logger-dgycpedt.js} +24 -24
- package/dist/chunks/{pty-4rnz283z.js → event-logger-djkrpdfn.js} +15 -15
- package/dist/chunks/event-logger-dmrrm8p8.js +247 -0
- package/dist/chunks/{pty-63k70rre.js → event-logger-dseghc32.js} +29 -29
- package/dist/chunks/{pty-kd0z462q.js → event-logger-dwfxx02h.js} +20 -20
- package/dist/chunks/{pty-07bmqgvp.js → event-logger-e2dewr1q.js} +20 -18
- package/dist/chunks/{pty-ttbkqz8v.js → event-logger-e85xrhz5.js} +4 -4
- package/dist/chunks/{pty-jasnfvjs.js → event-logger-eg4pr325.js} +10 -10
- package/dist/chunks/{pty-r0av7t19.js → event-logger-eh4ym285.js} +32 -32
- package/dist/chunks/{pty-5sg4xzjf.js → event-logger-ez5b8bq3.js} +7 -7
- package/dist/chunks/{pty-k558dr3h.js → event-logger-f9x4js2z.js} +6 -6
- package/dist/chunks/{pty-4vp46et4.js → event-logger-fdjyeynq.js} +6 -6
- package/dist/chunks/{pty-k65x9esf.js → event-logger-fej0en8h.js} +10 -10
- package/dist/chunks/{pty-hcz6m02t.js → event-logger-fqyt6sf6.js} +17 -17
- package/dist/chunks/{pty-9rb0g439.js → event-logger-frxc79s3.js} +28 -28
- package/dist/chunks/{pty-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-fxypknc8.js → event-logger-fxypknc8.js} +1 -1
- package/dist/chunks/{pty-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-b5g03hab.js → event-logger-gn6tz21j.js} +9 -9
- package/dist/chunks/{pty-wrtxarjq.js → event-logger-gpsmhah5.js} +16 -16
- package/dist/chunks/{pty-97mrdvqz.js → event-logger-grrzmf21.js} +16 -16
- package/dist/chunks/{pty-qnzq15jm.js → event-logger-gt211jxx.js} +7 -7
- package/dist/chunks/{pty-j2n289q7.js → event-logger-gy8nx2k9.js} +6 -6
- package/dist/chunks/{pty-ct6p9e56.js → event-logger-h2wg2nnm.js} +9 -9
- package/dist/chunks/{pty-twvb3q6j.js → event-logger-h4pz2xm7.js} +20 -20
- package/dist/chunks/{pty-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-heyhwy2w.js → event-logger-heyhwy2w.js} +1 -1
- package/dist/chunks/{pty-1c5j02v1.js → event-logger-hjagmg68.js} +46 -46
- package/dist/chunks/{pty-403y7qtc.js → event-logger-hngne7ee.js} +11 -11
- package/dist/chunks/{pty-n7x3jcdn.js → event-logger-hpkkrthc.js} +9 -9
- package/dist/chunks/{pty-g2dy4bvs.js → event-logger-hrvm11jt.js} +3 -3
- package/dist/chunks/{pty-fn68vvm1.js → event-logger-hs8qbhdc.js} +24 -24
- package/dist/chunks/{pty-kvsjn1dr.js → event-logger-hw4pv20g.js} +2 -2
- package/dist/chunks/{pty-3wx44s71.js → event-logger-j3g33syr.js} +9 -9
- package/dist/chunks/{pty-cwfwshwn.js → event-logger-j6qh3c6r.js} +28 -28
- package/dist/chunks/{pty-wafa9yr2.js → event-logger-j8fs78by.js} +20 -20
- package/dist/chunks/{pty-5qd3pb7m.js → event-logger-j935v87r.js} +2 -2
- package/dist/chunks/{pty-seka0gvy.js → event-logger-jmcfde88.js} +4 -4
- package/dist/chunks/{pty-vrktewq8.js → event-logger-jnxwsp9s.js} +25 -25
- package/dist/chunks/{pty-0363n1t5.js → event-logger-jrtjs9gg.js} +9 -9
- package/dist/chunks/{pty-b0mtdz8k.js → event-logger-k2ean0hm.js} +41 -41
- package/dist/chunks/{pty-k4bwy1x5.js → event-logger-k4bwy1x5.js} +1 -1
- package/dist/chunks/{pty-mmt6p78x.js → event-logger-k4j645x5.js} +22 -22
- package/dist/chunks/{pty-1459b0x6.js → event-logger-k575832b.js} +16 -16
- package/dist/chunks/{pty-n3qm3e12.js → event-logger-kaxzdh27.js} +11 -11
- package/dist/chunks/{pty-xy4dk1dp.js → event-logger-kft55aaf.js} +6 -6
- package/dist/chunks/{pty-kg06axw8.js → event-logger-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-1bbszw8w.js → event-logger-kgn87dt0.js} +16 -16
- package/dist/chunks/{pty-kk3rr3qh.js → event-logger-kk3rr3qh.js} +2 -2
- package/dist/chunks/{pty-00nfbmm6.js → event-logger-ks1mw15q.js} +18 -18
- package/dist/chunks/{pty-h95089yr.js → event-logger-m3cacpdp.js} +24 -24
- package/dist/chunks/{pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-wahfyr88.js → event-logger-mnzf0qgg.js} +15 -15
- package/dist/chunks/{pty-jb7pc305.js → event-logger-mq88n3ng.js} +46 -46
- package/dist/chunks/{pty-b1bsdq9a.js → event-logger-mra0x5cd.js} +8 -8
- package/dist/chunks/{pty-a95b1rzb.js → event-logger-mynagy99.js} +32 -32
- package/dist/chunks/{pty-t3v3vr71.js → event-logger-n2sxdf31.js} +29 -29
- package/dist/chunks/{pty-4sz2x7hf.js → event-logger-n6rh12ap.js} +7 -7
- package/dist/chunks/{pty-xqe0fhba.js → event-logger-nhbw4kpx.js} +10 -10
- package/dist/chunks/{pty-q38gg7qs.js → event-logger-nmdzejnn.js} +15 -15
- package/dist/chunks/{pty-fyzy9awj.js → event-logger-nn8rcarv.js} +1 -1
- package/dist/chunks/{pty-vn9f2x03.js → event-logger-nx3qahkd.js} +14 -14
- package/dist/chunks/{pty-577gck9x.js → event-logger-nx4j5qsf.js} +1 -1
- package/dist/chunks/{pty-vh2xdqjs.js → event-logger-pgm7ae5m.js} +23 -23
- package/dist/chunks/{pty-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{pty-hbax5y4r.js → event-logger-pqgeajyn.js} +18 -18
- package/dist/chunks/{pty-tk2yzb1v.js → event-logger-q1vjbhxy.js} +8 -8
- package/dist/chunks/{pty-7k8mdtae.js → event-logger-qawf6k84.js} +11 -11
- package/dist/chunks/{pty-zx7jt85y.js → event-logger-qeanwbcn.js} +32 -32
- package/dist/chunks/{pty-szkq7e78.js → event-logger-qkekek93.js} +16 -16
- package/dist/chunks/{pty-ndgdc4c9.js → event-logger-qpvzpfsv.js} +11 -11
- package/dist/chunks/{pty-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-msqtn7fd.js → event-logger-r11njyrn.js} +15 -15
- package/dist/chunks/{pty-scd9nzg0.js → event-logger-r31xxp0s.js} +2 -2
- package/dist/chunks/{pty-r8dhm0tv.js → event-logger-r8dhm0tv.js} +1 -1
- package/dist/chunks/{pty-gy57ja53.js → event-logger-r94krbn8.js} +12 -12
- package/dist/chunks/{pty-exrgs9wp.js → event-logger-rf15saw8.js} +10 -10
- package/dist/chunks/{pty-9hq8x1wg.js → event-logger-rhe1rhkd.js} +4 -4
- package/dist/chunks/{pty-kcb6z3jk.js → event-logger-rjb1sb0e.js} +4 -4
- package/dist/chunks/{pty-wdq8bkk0.js → event-logger-rkyzgqd0.js} +25 -25
- package/dist/chunks/{pty-759pz1a2.js → event-logger-rpstmqvz.js} +8 -8
- package/dist/chunks/{pty-71c4ctfp.js → event-logger-rq543nqh.js} +26 -26
- package/dist/chunks/{pty-cznc2qrv.js → event-logger-rr2690n5.js} +9 -9
- package/dist/chunks/{pty-2wkcjqsg.js → event-logger-ry0a9y46.js} +1 -1
- package/dist/chunks/{pty-bzq1f2yq.js → event-logger-s5amd0ws.js} +27 -27
- package/dist/chunks/{pty-sba4qhjf.js → event-logger-sba4qhjf.js} +1 -1
- package/dist/chunks/{pty-7w3s9kd0.js → event-logger-spt9fbav.js} +6 -6
- package/dist/chunks/{pty-nmjynsra.js → event-logger-ss94fdxg.js} +50 -50
- package/dist/chunks/{pty-vkpagyjs.js → event-logger-t03f5674.js} +11 -11
- package/dist/chunks/{pty-yxw0cavp.js → event-logger-t0mf683j.js} +7 -7
- package/dist/chunks/{pty-g8d3gcyj.js → event-logger-t2fc4mz5.js} +7 -7
- package/dist/chunks/{pty-8yr65315.js → event-logger-t4n9vf9m.js} +4 -4
- package/dist/chunks/{pty-bct739vz.js → event-logger-t9zs3egg.js} +4 -4
- package/dist/chunks/{pty-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-zbqrk12b.js → event-logger-tfw7h05d.js} +13 -13
- package/dist/chunks/{pty-zdk6vxsj.js → event-logger-tgtjrhay.js} +86 -86
- package/dist/chunks/{pty-jxyej7y6.js → event-logger-th7wrnyd.js} +11 -11
- package/dist/chunks/event-logger-thbve8h8.js +460 -0
- package/dist/chunks/{pty-graq44t8.js → event-logger-tjtda90p.js} +2 -2
- package/dist/chunks/{pty-tjykrgmx.js → event-logger-tjykrgmx.js} +1 -1
- package/dist/chunks/{pty-fc5mkwbz.js → event-logger-tm8p6d2n.js} +3 -3
- package/dist/chunks/{pty-cfsy2wpb.js → event-logger-tmg7j62d.js} +36 -36
- package/dist/chunks/{pty-cq8wrtqn.js → event-logger-tppvcy65.js} +9 -9
- package/dist/chunks/{pty-nmg9j082.js → event-logger-tt9qdt9n.js} +31 -31
- package/dist/chunks/{pty-9d4vrqc0.js → event-logger-tynz9yxk.js} +9 -9
- package/dist/chunks/{pty-be52w0n4.js → event-logger-v3tbpymg.js} +25 -25
- package/dist/chunks/{pty-0p9r6mft.js → event-logger-v9gj1rzz.js} +9 -9
- package/dist/chunks/{pty-f08hbj4m.js → event-logger-vdn8fb77.js} +22 -22
- package/dist/chunks/{pty-96gb8wnx.js → event-logger-vj5n2wyh.js} +8 -8
- package/dist/chunks/{pty-ythy6836.js → event-logger-vkfnfj36.js} +1 -1
- package/dist/chunks/{pty-4qfjm3y1.js → event-logger-vkn1y4t9.js} +14 -14
- package/dist/chunks/event-logger-vnkjks7b.js +18 -0
- package/dist/chunks/{pty-hkzxevja.js → event-logger-vnmqmt3b.js} +9 -9
- package/dist/chunks/{pty-be60nag3.js → event-logger-vrewfqnt.js} +1 -1
- package/dist/chunks/{pty-0vydt2xt.js → event-logger-vv4xtdqm.js} +37 -37
- package/dist/chunks/{pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-0rag4e4f.js → event-logger-w4600456.js} +4 -4
- package/dist/chunks/{pty-6my8ebcr.js → event-logger-wba6vet1.js} +4 -4
- package/dist/chunks/{pty-2aqpvcef.js → event-logger-wcvbg4sk.js} +30 -30
- package/dist/chunks/{pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{pty-ag4rn41e.js → event-logger-wsfy2223.js} +4 -4
- package/dist/chunks/{pty-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-qepd2pkj.js → event-logger-x4vht8q3.js} +2 -2
- package/dist/chunks/{pty-8w99qwke.js → event-logger-x8m158k6.js} +14 -14
- package/dist/chunks/{pty-gnar656t.js → event-logger-xajqexeq.js} +10 -10
- package/dist/chunks/{pty-0avfzrjc.js → event-logger-xggrrz8m.js} +27 -27
- package/dist/chunks/{pty-p3ds9s6g.js → event-logger-xhpv3p5z.js} +3 -3
- package/dist/chunks/{pty-s0gfpzhy.js → event-logger-xj9wkxzj.js} +8 -8
- package/dist/chunks/{pty-rp0x3qp0.js → event-logger-xk5brt97.js} +5 -5
- package/dist/chunks/{pty-sy5z5695.js → event-logger-xmdjc390.js} +162 -162
- package/dist/chunks/{pty-6jea8mds.js → event-logger-xn2yye2k.js} +16 -16
- package/dist/chunks/{pty-rgnb5s7e.js → event-logger-xpr0d24v.js} +4 -4
- package/dist/chunks/{pty-baqx186v.js → event-logger-xpxp6qhx.js} +6 -6
- package/dist/chunks/{pty-ghzvc9jv.js → event-logger-xr1t7wkk.js} +31 -31
- package/dist/chunks/{pty-jab386st.js → event-logger-xzj9hzk7.js} +19 -19
- package/dist/chunks/{pty-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → event-logger-y71avatq.js} +1 -1
- package/dist/chunks/{pty-x5hde6ee.js → event-logger-y9j759kk.js} +4 -4
- package/dist/chunks/{pty-cpkp23c7.js → event-logger-ycpnj09z.js} +10 -10
- package/dist/chunks/{pty-pcxcrysh.js → event-logger-yecnm2gk.js} +18 -18
- package/dist/chunks/{pty-rq421gwk.js → event-logger-yr3nda31.js} +15 -15
- package/dist/chunks/{pty-693tgxwd.js → event-logger-ysykkmz7.js} +37 -37
- package/dist/chunks/{pty-5aq0nxp3.js → event-logger-ywmycgam.js} +16 -16
- package/dist/chunks/{pty-z1k01bn4.js → event-logger-z1k01bn4.js} +2 -2
- package/dist/chunks/{pty-1vxvbkdw.js → event-logger-z1vky7gh.js} +11 -11
- package/dist/chunks/{pty-z3xgatyd.js → event-logger-z3xgatyd.js} +1 -1
- package/dist/chunks/{pty-vjgwbf9e.js → event-logger-z512nx12.js} +17 -17
- package/dist/chunks/event-logger-z5h5yern.js +4 -0
- package/dist/chunks/{pty-29x78va6.js → event-logger-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-qs7zdahm.js → event-logger-zcb9rk6b.js} +5 -5
- package/dist/chunks/{pty-gfsgf35y.js → event-logger-zhqrqcxr.js} +5 -5
- package/dist/chunks/{pty-y5bfzsd4.js → event-logger-zjkv6nhg.js} +21 -21
- package/dist/chunks/{pty-yyy5ev01.js → event-logger-zkq9ev9h.js} +27 -27
- package/dist/chunks/{pty-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +80 -80
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/pty-0t58jqdp.js +0 -247
- package/dist/chunks/pty-1x11rq2a.js +0 -18
- package/dist/chunks/pty-51e9twpg.js +0 -460
- package/dist/chunks/pty-9zwhrd2p.js +0 -4
- package/dist/chunks/pty-a0w3frjs.js +0 -22
- /package/dist/chunks/{pty-0fabt78z.js → event-logger-0fabt78z.js} +0 -0
- /package/dist/chunks/{pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t738kvx.js → event-logger-3t738kvx.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-41nvscxy.js → event-logger-41nvscxy.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-982e01ww.js → event-logger-982e01ww.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → event-logger-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mntxs535.js → event-logger-mntxs535.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-p8qxwesx.js → event-logger-p8qxwesx.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-se0s1eqw.js → event-logger-se0s1eqw.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x1b8g1yb.js → event-logger-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
- /package/dist/chunks/{pty-zbjnn3ac.js → event-logger-zbjnn3ac.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./event-logger-ywmycgam.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service47,
|
|
10
|
+
node51
|
|
11
|
+
} from "./event-logger-nx3qahkd.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./event-logger-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options8,
|
|
25
|
+
Service: () => Service46,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node50,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service47;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service46.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service46.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service46.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service46, layer: layer22(options), deps: [node81, node51] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node50 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options8, Service46, ripgrepLayer2, fffLayer2, layer22, configured8, node50, exports_search };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service32,
|
|
3
|
+
node35
|
|
4
|
+
} from "./event-logger-frxc79s3.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-6e958v7x.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service17,
|
|
20
|
+
node: () => node21
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service17 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service32;
|
|
64
|
+
return Service17.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node21 = makeLocationNode({ service: Service17, layer, deps: [node35] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service17, node21, exports_instructions2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service41
|
|
4
|
+
} from "./event-logger-dfv457cv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./event-logger-dseghc32.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service41;
|
|
27
|
+
const snapshot = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin30 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin31, exports_snapshot };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./event-logger-dgycpedt.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-rkyzgqd0.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service9,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node11,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service74;
|
|
331
|
+
return Service9.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [node78] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node11, exports_read_filesystem };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-6fwq361y.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-k4bwy1x5.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service48,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node52
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service48 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service48.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node52 = makeLocationNode({
|
|
143
|
+
service: Service48,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service48, node52, exports_tool_output2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-4m6zeev3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service52,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./event-logger-bjx73de6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin15,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service52;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin14 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin15, exports_plugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-6fwq361y.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID12
|
|
7
|
+
} from "./event-logger-ah9gen6x.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./event-logger-dgycpedt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service74;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./event-logger-ywmycgam.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node50
|
|
12
|
+
} from "./event-logger-qeanwbcn.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -20,25 +20,25 @@ __export(exports_filesystem, {
|
|
|
20
20
|
Content: () => Content2,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
|
-
Entry: () =>
|
|
24
|
-
Event: () =>
|
|
23
|
+
Entry: () => Entry4,
|
|
24
|
+
Event: () => Event8,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput3,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service45,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node49
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
40
40
|
import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode-ai/schema/filesystem";
|
|
41
|
-
import { Entry as
|
|
41
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode-ai/schema/filesystem";
|
|
42
42
|
var ReadInput2 = Schema.Struct({
|
|
43
43
|
path: RelativePath2
|
|
44
44
|
});
|
|
@@ -49,7 +49,7 @@ var Content2 = Schema.Struct({
|
|
|
49
49
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
50
50
|
mime: Schema.String
|
|
51
51
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
52
|
-
var
|
|
52
|
+
var ListInput3 = Schema.Struct({
|
|
53
53
|
path: Schema.String.pipe(Schema.optional)
|
|
54
54
|
});
|
|
55
55
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event8 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service45 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service45, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service76;
|
|
82
|
+
const search = yield* Service46;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service45.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node49 = makeLocationNode({
|
|
126
|
+
service: Service45,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node81, node50]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event8, Service45, node49, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|