@opencode-ai/core 0.0.0-beta-19135 → 0.0.0-beta-19157
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/{event-logger-w4600456.js → wellknown-024e4rjz.js} +10 -6
- package/dist/chunks/{event-logger-6y4y2zs8.js → wellknown-03z534ys.js} +9 -9
- package/dist/chunks/{event-logger-3hege6zb.js → wellknown-041mrh4x.js} +25 -25
- package/dist/chunks/{event-logger-0e0xafbb.js → wellknown-0e0xafbb.js} +2 -2
- package/dist/chunks/{event-logger-hjagmg68.js → wellknown-0krgqetd.js} +43 -43
- package/dist/chunks/{event-logger-nn8rcarv.js → wellknown-0n6t9trj.js} +1 -1
- package/dist/chunks/{event-logger-97b65712.js → wellknown-0nk2sz5z.js} +23 -23
- package/dist/chunks/{event-logger-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0s9ayhjt.js → wellknown-0s9ayhjt.js} +1 -1
- package/dist/chunks/{event-logger-jmcfde88.js → wellknown-0z4qk8xt.js} +4 -4
- package/dist/chunks/{event-logger-eh4ym285.js → wellknown-174menj9.js} +30 -30
- package/dist/chunks/{event-logger-rf15saw8.js → wellknown-187zhppa.js} +10 -10
- package/dist/chunks/{event-logger-djkrpdfn.js → wellknown-1a0y61fc.js} +14 -14
- package/dist/chunks/{event-logger-1ct4r87x.js → wellknown-1ct4r87x.js} +1 -1
- package/dist/chunks/{event-logger-gpsmhah5.js → wellknown-1zjgdmhv.js} +14 -14
- package/dist/chunks/{event-logger-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-frxc79s3.js → wellknown-23ym420b.js} +20 -20
- package/dist/chunks/{event-logger-2402vzrj.js → wellknown-2402vzrj.js} +1 -1
- package/dist/chunks/{event-logger-6e958v7x.js → wellknown-28pcbh69.js} +4 -4
- package/dist/chunks/{event-logger-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-6anwy9fs.js → wellknown-2d57kztd.js} +4 -4
- package/dist/chunks/{event-logger-2ht70gj7.js → wellknown-2ht70gj7.js} +1 -1
- package/dist/chunks/{event-logger-2a8s8ztn.js → wellknown-2j3d2w2t.js} +13 -13
- package/dist/chunks/{event-logger-2jqmte8w.js → wellknown-2jqmte8w.js} +2 -2
- package/dist/chunks/{event-logger-607tc6va.js → wellknown-2k8khapm.js} +5 -5
- package/dist/chunks/{event-logger-k575832b.js → wellknown-2kj0pn7y.js} +12 -12
- package/dist/chunks/{event-logger-xpr0d24v.js → wellknown-2w4chj1g.js} +4 -4
- package/dist/chunks/{event-logger-ywmycgam.js → wellknown-37ct2frz.js} +2 -2
- package/dist/chunks/{event-logger-zkq9ev9h.js → wellknown-39sgaahe.js} +31 -31
- package/dist/chunks/{event-logger-gy8nx2k9.js → wellknown-3d43f50e.js} +6 -6
- package/dist/chunks/{event-logger-jnxwsp9s.js → wellknown-3e5q22gm.js} +25 -25
- package/dist/chunks/{event-logger-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-6h414ywr.js → wellknown-3g2y1byn.js} +5 -5
- package/dist/chunks/{event-logger-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-rhe1rhkd.js → wellknown-3n69mpxt.js} +4 -4
- package/dist/chunks/{event-logger-xzj9hzk7.js → wellknown-3n75mgw6.js} +16 -16
- package/dist/chunks/{event-logger-3qzbfqsy.js → wellknown-3qzbfqsy.js} +2 -2
- package/dist/chunks/{event-logger-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-rr2690n5.js → wellknown-3z627vwq.js} +5 -5
- package/dist/chunks/{event-logger-41mncz27.js → wellknown-41mncz27.js} +2 -2
- package/dist/chunks/{event-logger-454k5vzh.js → wellknown-454k5vzh.js} +1 -1
- package/dist/chunks/{event-logger-yr3nda31.js → wellknown-46v7nc60.js} +11 -11
- package/dist/chunks/{event-logger-dgf2qf9w.js → wellknown-49hz62j1.js} +16 -16
- package/dist/chunks/{event-logger-fqyt6sf6.js → wellknown-4a5fwm7b.js} +17 -17
- package/dist/chunks/{event-logger-j6qh3c6r.js → wellknown-4afpmjwz.js} +35 -35
- package/dist/chunks/{event-logger-ajxr8k0d.js → wellknown-4br8j3xe.js} +38 -38
- package/dist/chunks/{event-logger-xk5brt97.js → wellknown-4hh0p0ng.js} +5 -5
- package/dist/chunks/{event-logger-4r2nyarf.js → wellknown-4r2nyarf.js} +1 -1
- package/dist/chunks/wellknown-5310qyg9.js +18 -0
- package/dist/chunks/{event-logger-dfzjqex4.js → wellknown-5d17xbav.js} +5 -5
- package/dist/chunks/{event-logger-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-5fmxt4p5.js → wellknown-5fmxt4p5.js} +1 -1
- package/dist/chunks/{event-logger-tm8p6d2n.js → wellknown-5hannepb.js} +3 -3
- package/dist/chunks/{event-logger-5jvc5tg2.js → wellknown-5jvc5tg2.js} +1 -1
- package/dist/chunks/{event-logger-xhpv3p5z.js → wellknown-5zc2x0sb.js} +3 -3
- package/dist/chunks/{event-logger-amdbyq20.js → wellknown-663b6dh9.js} +14 -14
- package/dist/chunks/{event-logger-jrtjs9gg.js → wellknown-66y1b5dw.js} +9 -9
- package/dist/chunks/{event-logger-yecnm2gk.js → wellknown-67gs2z40.js} +15 -15
- package/dist/chunks/{event-logger-6z5bwd8g.js → wellknown-6abnk40k.js} +9 -9
- package/dist/chunks/{event-logger-9714khfe.js → wellknown-6ba29tk2.js} +17 -17
- package/dist/chunks/{event-logger-b82t57ej.js → wellknown-6jcrhkhg.js} +12 -12
- package/dist/chunks/{event-logger-ez5b8bq3.js → wellknown-6jdg21kp.js} +85 -71
- package/dist/chunks/{event-logger-nx4j5qsf.js → wellknown-6ta01fq9.js} +1 -1
- package/dist/chunks/{event-logger-75ves8gm.js → wellknown-6w9g96bv.js} +22 -22
- package/dist/chunks/{event-logger-711hfp6y.js → wellknown-711hfp6y.js} +2 -2
- package/dist/chunks/{event-logger-72nftnjy.js → wellknown-72nftnjy.js} +2 -2
- package/dist/chunks/{event-logger-t0mf683j.js → wellknown-75ws2xfr.js} +7 -7
- package/dist/chunks/{event-logger-xn2yye2k.js → wellknown-76xf8n6j.js} +12 -12
- package/dist/chunks/{event-logger-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-ah9gen6x.js → wellknown-7nh4ntd5.js} +12 -12
- package/dist/chunks/{event-logger-0ak8fpq9.js → wellknown-7thqmzsc.js} +78 -78
- package/dist/chunks/{event-logger-s5amd0ws.js → wellknown-7wp9r7ba.js} +27 -27
- package/dist/chunks/wellknown-7zk4hah4.js +4 -0
- package/dist/chunks/{event-logger-eg4pr325.js → wellknown-888k7gfv.js} +3 -3
- package/dist/chunks/{event-logger-mynagy99.js → wellknown-8a3y5q1n.js} +32 -32
- package/dist/chunks/{event-logger-29dnvths.js → wellknown-8r5whp28.js} +4 -4
- package/dist/chunks/{event-logger-02cz66nk.js → wellknown-8s80arjs.js} +18 -18
- package/dist/chunks/{event-logger-zcb9rk6b.js → wellknown-917dq7d6.js} +5 -5
- package/dist/chunks/{event-logger-rkyzgqd0.js → wellknown-920cr0mh.js} +22 -22
- package/dist/chunks/{event-logger-axzb5kc8.js → wellknown-93wzm26s.js} +8 -8
- package/dist/chunks/{event-logger-atzdg8qx.js → wellknown-96tsfsen.js} +1 -1
- package/dist/chunks/{event-logger-5ranmbyz.js → wellknown-987p19s4.js} +13 -13
- package/dist/chunks/{event-logger-6mxrwzjk.js → wellknown-98rh1jc3.js} +11 -11
- package/dist/chunks/{event-logger-7twspavz.js → wellknown-99m4pprq.js} +10 -10
- package/dist/chunks/{event-logger-3vma5df0.js → wellknown-9e966tng.js} +26 -26
- package/dist/chunks/{event-logger-9qm9egsn.js → wellknown-9qm9egsn.js} +2 -2
- package/dist/chunks/{event-logger-e2dewr1q.js → wellknown-9ttajpzr.js} +16 -16
- package/dist/chunks/{event-logger-v3tbpymg.js → wellknown-9wt3tsrn.js} +29 -29
- package/dist/chunks/{event-logger-qeanwbcn.js → wellknown-a4bdw771.js} +27 -27
- package/dist/chunks/{event-logger-j8fs78by.js → wellknown-a4cbam25.js} +16 -16
- package/dist/chunks/{event-logger-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-rjb1sb0e.js → wellknown-aaf6tv83.js} +4 -4
- package/dist/chunks/{event-logger-2van94j2.js → wellknown-adysj9cr.js} +13 -13
- package/dist/chunks/{event-logger-ajtjthsy.js → wellknown-ajtjthsy.js} +2 -2
- package/dist/chunks/{event-logger-spt9fbav.js → wellknown-apn8f15b.js} +9 -9
- package/dist/chunks/{event-logger-pgm7ae5m.js → wellknown-avahfm6t.js} +26 -26
- package/dist/chunks/{event-logger-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-b9wsbatv.js → wellknown-b9wsbatv.js} +1 -1
- package/dist/chunks/{event-logger-bg0z499z.js → wellknown-ba723ajb.js} +8 -8
- package/dist/chunks/{event-logger-t4n9vf9m.js → wellknown-barxnhzp.js} +4 -4
- package/dist/chunks/{event-logger-v9gj1rzz.js → wellknown-bfdnm1te.js} +9 -9
- package/dist/chunks/{event-logger-d4fga7fm.js → wellknown-bmr4rzrd.js} +2 -2
- package/dist/chunks/{event-logger-0k45et74.js → wellknown-bskj9zs2.js} +9 -9
- package/dist/chunks/{event-logger-vkn1y4t9.js → wellknown-bth0hr76.js} +19 -19
- package/dist/chunks/{event-logger-ss94fdxg.js → wellknown-bwm9kjcw.js} +46 -46
- package/dist/chunks/wellknown-bxw8fhk8.js +247 -0
- package/dist/chunks/{event-logger-2ftxdpw7.js → wellknown-c2j3fvxb.js} +11 -11
- package/dist/chunks/{event-logger-1p8bnmch.js → wellknown-c7s9k239.js} +4 -4
- package/dist/chunks/{event-logger-zhqrqcxr.js → wellknown-ceqnmb02.js} +5 -5
- package/dist/chunks/{event-logger-vkfnfj36.js → wellknown-cmdp56dw.js} +1 -1
- package/dist/chunks/{event-logger-r94krbn8.js → wellknown-d2x6rcjx.js} +12 -12
- package/dist/chunks/{event-logger-d72308c8.js → wellknown-d72308c8.js} +2 -2
- package/dist/chunks/{event-logger-dfv457cv.js → wellknown-dapwfvd2.js} +42 -42
- package/dist/chunks/{event-logger-z3xgatyd.js → wellknown-djtdz80w.js} +4 -4
- package/dist/chunks/{event-logger-8g4myvzm.js → wellknown-dk9a5vne.js} +5 -5
- package/dist/chunks/{event-logger-9csrpy9m.js → wellknown-dmwgd9rj.js} +9 -9
- package/dist/chunks/{event-logger-k2ean0hm.js → wellknown-e9z9h9yy.js} +8 -8
- package/dist/chunks/{event-logger-tfw7h05d.js → wellknown-fkwg44rt.js} +19 -19
- package/dist/chunks/{event-logger-0qjj9ymt.js → wellknown-frb89zj9.js} +15 -15
- package/dist/chunks/{event-logger-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-fxypknc8.js → wellknown-fxypknc8.js} +1 -1
- package/dist/chunks/{event-logger-y9j759kk.js → wellknown-g585tkj2.js} +4 -4
- package/dist/chunks/{event-logger-tjtda90p.js → wellknown-g5wgwrzw.js} +2 -2
- package/dist/chunks/{event-logger-nx3qahkd.js → wellknown-g94f0f01.js} +18 -18
- package/dist/chunks/{event-logger-z512nx12.js → wellknown-gb89bdhv.js} +15 -15
- package/dist/chunks/{event-logger-mq88n3ng.js → wellknown-gbmaq3ra.js} +46 -46
- package/dist/chunks/{event-logger-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-t03f5674.js → wellknown-gqy8qs28.js} +11 -11
- package/dist/chunks/{event-logger-qawf6k84.js → wellknown-gw5qc7da.js} +11 -11
- package/dist/chunks/{event-logger-kaxzdh27.js → wellknown-h0ehx5mk.js} +9 -9
- package/dist/chunks/{event-logger-r31xxp0s.js → wellknown-h5xdhsym.js} +2 -2
- package/dist/chunks/{event-logger-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-r11njyrn.js → wellknown-h7shmymb.js} +15 -15
- package/dist/chunks/{event-logger-c370bb3n.js → wellknown-hcx11q7e.js} +46 -46
- package/dist/chunks/{event-logger-heyhwy2w.js → wellknown-heyhwy2w.js} +1 -1
- package/dist/chunks/{event-logger-2m4g9ewj.js → wellknown-hha4zry8.js} +4 -4
- package/dist/chunks/{event-logger-hs8qbhdc.js → wellknown-hhfqndnr.js} +22 -22
- package/dist/chunks/{event-logger-h2wg2nnm.js → wellknown-hhvbpypa.js} +10 -10
- package/dist/chunks/{event-logger-0t17cbyp.js → wellknown-hnpt5b9g.js} +33 -33
- package/dist/chunks/{event-logger-bphmvjfp.js → wellknown-hnyf01b0.js} +5 -5
- package/dist/chunks/{event-logger-hrvm11jt.js → wellknown-hrvm11jt.js} +3 -3
- package/dist/chunks/{event-logger-hw4pv20g.js → wellknown-hw4pv20g.js} +2 -2
- package/dist/chunks/{event-logger-xggrrz8m.js → wellknown-hwhktdy4.js} +20 -20
- package/dist/chunks/{event-logger-e85xrhz5.js → wellknown-j3pby61b.js} +4 -4
- package/dist/chunks/{event-logger-m3cacpdp.js → wellknown-j8fxhnqh.js} +20 -20
- package/dist/chunks/{event-logger-3aqmas22.js → wellknown-jbhh2rmh.js} +11 -11
- package/dist/chunks/{event-logger-5kt6hdqr.js → wellknown-jbzwckha.js} +21 -21
- package/dist/chunks/{event-logger-avrzsbhx.js → wellknown-jenf2w30.js} +17 -17
- package/dist/chunks/{event-logger-bzx0t2dm.js → wellknown-jfvmqd5d.js} +17 -17
- package/dist/chunks/{event-logger-hngne7ee.js → wellknown-jk4n7dck.js} +11 -11
- package/dist/chunks/{event-logger-y71avatq.js → wellknown-jwcy2c2z.js} +4 -4
- package/dist/chunks/{event-logger-wcvbg4sk.js → wellknown-jxc8y161.js} +30 -30
- package/dist/chunks/{event-logger-nhbw4kpx.js → wellknown-k2kb66cj.js} +8 -8
- package/dist/chunks/{event-logger-k4bwy1x5.js → wellknown-k4bwy1x5.js} +1 -1
- package/dist/chunks/{event-logger-7mm1a5xk.js → wellknown-kademwqx.js} +11 -11
- package/dist/chunks/{event-logger-n2sxdf31.js → wellknown-kbndngdv.js} +31 -31
- package/dist/chunks/{event-logger-kgn87dt0.js → wellknown-kcz3kyzp.js} +20 -20
- package/dist/chunks/{event-logger-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{event-logger-h4pz2xm7.js → wellknown-kjm195mv.js} +20 -20
- package/dist/chunks/{event-logger-kk3rr3qh.js → wellknown-kk3rr3qh.js} +2 -2
- package/dist/chunks/wellknown-kpe4sfyz.js +20 -0
- package/dist/chunks/{event-logger-ay0pnvrs.js → wellknown-m1c4gy78.js} +24 -24
- package/dist/chunks/{event-logger-tynz9yxk.js → wellknown-m5045k8y.js} +5 -5
- package/dist/chunks/{event-logger-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-j3g33syr.js → wellknown-mafkkaev.js} +6 -6
- package/dist/chunks/{event-logger-q1vjbhxy.js → wellknown-mfmy0k16.js} +8 -8
- package/dist/chunks/{event-logger-7n2tcerd.js → wellknown-mhyp03ce.js} +8 -8
- package/dist/chunks/{event-logger-1s8r4w4e.js → wellknown-mjzbwbtj.js} +25 -25
- package/dist/chunks/{event-logger-6mwj1pae.js → wellknown-mp00anfa.js} +6 -6
- package/dist/chunks/{event-logger-x4vht8q3.js → wellknown-mt6mcg2h.js} +2 -2
- package/dist/chunks/{event-logger-7yh4e7ss.js → wellknown-mvfsc1pv.js} +3 -3
- package/dist/chunks/{event-logger-bjx73de6.js → wellknown-n149779n.js} +20 -20
- package/dist/chunks/{event-logger-th7wrnyd.js → wellknown-n2dzf7ax.js} +11 -11
- package/dist/chunks/{event-logger-3rbx21vn.js → wellknown-n52mxx0b.js} +21 -21
- package/dist/chunks/{event-logger-5fnfwqar.js → wellknown-n95nq84g.js} +5 -5
- package/dist/chunks/{event-logger-kft55aaf.js → wellknown-na7k47ng.js} +6 -6
- package/dist/chunks/{event-logger-6fwq361y.js → wellknown-nga86p6q.js} +6 -6
- package/dist/chunks/{event-logger-dwfxx02h.js → wellknown-ngabqghr.js} +20 -20
- package/dist/chunks/{event-logger-qkekek93.js → wellknown-nhjpgrh4.js} +18 -18
- package/dist/chunks/{event-logger-vdn8fb77.js → wellknown-njfaq3nk.js} +22 -22
- package/dist/chunks/{event-logger-k4j645x5.js → wellknown-nmdpg4hr.js} +22 -22
- package/dist/chunks/{event-logger-axxvr9d6.js → wellknown-nn46x40y.js} +3 -3
- package/dist/chunks/{event-logger-tt9qdt9n.js → wellknown-nqmxhx1w.js} +26 -26
- package/dist/chunks/{event-logger-5knqzda6.js → wellknown-ny9q6q4v.js} +23 -23
- package/dist/chunks/{event-logger-gt211jxx.js → wellknown-nykyeqwq.js} +7 -7
- package/dist/chunks/{event-logger-vv4xtdqm.js → wellknown-nz7wfeq1.js} +38 -38
- package/dist/chunks/{event-logger-1m9v8mn3.js → wellknown-p7eywz5b.js} +22 -22
- package/dist/chunks/{event-logger-0cy25tfm.js → wellknown-pedw5n3n.js} +63 -63
- package/dist/chunks/{event-logger-54q4ab61.js → wellknown-pgnp76q4.js} +20 -20
- package/dist/chunks/{event-logger-bf4jq1tz.js → wellknown-pgt0fkwt.js} +15 -15
- package/dist/chunks/{event-logger-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-cfc6tg4q.js → wellknown-pmnt38wb.js} +14 -14
- package/dist/chunks/{event-logger-cgtt7c7n.js → wellknown-pwnnz8en.js} +38 -38
- package/dist/chunks/{event-logger-7n1ftcmm.js → wellknown-pxc9rw6c.js} +36 -36
- package/dist/chunks/{event-logger-thbve8h8.js → wellknown-q0xzcr7f.js} +291 -291
- package/dist/chunks/{event-logger-n6rh12ap.js → wellknown-q1md1zjj.js} +7 -7
- package/dist/chunks/{event-logger-xpxp6qhx.js → wellknown-q7805caa.js} +4 -4
- package/dist/chunks/{event-logger-xmdjc390.js → wellknown-q961dm7m.js} +159 -159
- package/dist/chunks/{event-logger-vrewfqnt.js → wellknown-q9792xnb.js} +1 -1
- package/dist/chunks/{event-logger-13nnacyb.js → wellknown-qbzb1j1c.js} +8 -8
- package/dist/chunks/{event-logger-xj9wkxzj.js → wellknown-qm8ev4wm.js} +8 -8
- package/dist/chunks/{event-logger-dseghc32.js → wellknown-qqvjzcxr.js} +25 -25
- package/dist/chunks/{event-logger-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-xr1t7wkk.js → wellknown-qw8c6yqg.js} +33 -33
- package/dist/chunks/{event-logger-a5cfrypt.js → wellknown-qxe975hr.js} +15 -15
- package/dist/chunks/{event-logger-fej0en8h.js → wellknown-r6cgjeqn.js} +10 -10
- package/dist/chunks/{event-logger-5eze0v7x.js → wellknown-r7t96r8n.js} +37 -37
- package/dist/chunks/{event-logger-r8dhm0tv.js → wellknown-r8dhm0tv.js} +1 -1
- package/dist/chunks/{event-logger-ks1mw15q.js → wellknown-r8w8bq91.js} +13 -13
- package/dist/chunks/{event-logger-rpstmqvz.js → wellknown-rae26gbb.js} +8 -8
- package/dist/chunks/{event-logger-0fxt3z96.js → wellknown-raycc6w1.js} +5 -5
- package/dist/chunks/{event-logger-dfvjmczd.js → wellknown-rfq7xs4d.js} +9 -9
- package/dist/chunks/{event-logger-7np481va.js → wellknown-rhbe1v15.js} +18 -18
- package/dist/chunks/{event-logger-vnmqmt3b.js → wellknown-rhp4699a.js} +7 -7
- package/dist/chunks/{event-logger-z1vky7gh.js → wellknown-rhwwv70e.js} +11 -11
- package/dist/chunks/{event-logger-mnzf0qgg.js → wellknown-rsvs0vjg.js} +15 -15
- package/dist/chunks/{event-logger-8en7wc9m.js → wellknown-rszzns79.js} +24 -24
- package/dist/chunks/{event-logger-7yaq8a5f.js → wellknown-rtm4n6fb.js} +6 -6
- package/dist/chunks/{event-logger-qpvzpfsv.js → wellknown-ry16e5g7.js} +11 -11
- package/dist/chunks/{event-logger-9kj12sde.js → wellknown-rz31k017.js} +9 -9
- package/dist/chunks/{event-logger-xajqexeq.js → wellknown-s06xe5v4.js} +13 -13
- package/dist/chunks/{event-logger-x8m158k6.js → wellknown-s3rbnf14.js} +12 -12
- package/dist/chunks/{event-logger-99hgvjf7.js → wellknown-sba2xw4p.js} +11 -11
- package/dist/chunks/{event-logger-sba4qhjf.js → wellknown-sba4qhjf.js} +1 -1
- package/dist/chunks/{event-logger-pqgeajyn.js → wellknown-sfyg8jca.js} +18 -18
- package/dist/chunks/{event-logger-grrzmf21.js → wellknown-smy8j9tb.js} +14 -14
- package/dist/chunks/{event-logger-ycpnj09z.js → wellknown-sr0zn850.js} +10 -10
- package/dist/chunks/{event-logger-t9zs3egg.js → wellknown-sx1n432n.js} +4 -4
- package/dist/chunks/{event-logger-gn6tz21j.js → wellknown-sxrpqsmr.js} +9 -9
- package/dist/chunks/{event-logger-212ph2vw.js → wellknown-t1d80fqj.js} +6 -6
- package/dist/chunks/{event-logger-wsfy2223.js → wellknown-t2az9yje.js} +4 -4
- package/dist/chunks/{event-logger-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-89znhe33.js → wellknown-tcezcvh9.js} +4 -4
- package/dist/chunks/wellknown-te378a9x.js +22 -0
- package/dist/chunks/{event-logger-tjykrgmx.js → wellknown-tjykrgmx.js} +1 -1
- package/dist/chunks/{event-logger-tgtjrhay.js → wellknown-tmfnh1q5.js} +82 -82
- package/dist/chunks/{event-logger-4ffk9bk5.js → wellknown-tph2mkjf.js} +7 -7
- package/dist/chunks/{event-logger-tppvcy65.js → wellknown-tppvcy65.js} +2 -2
- package/dist/chunks/{event-logger-7yg14vcd.js → wellknown-tz1mz783.js} +31 -31
- package/dist/chunks/{event-logger-tmg7j62d.js → wellknown-v50e20c6.js} +34 -34
- package/dist/chunks/{event-logger-t2fc4mz5.js → wellknown-v5dkyp31.js} +4 -4
- package/dist/chunks/{event-logger-ysykkmz7.js → wellknown-vhg4wxph.js} +35 -35
- package/dist/chunks/{event-logger-bncvnm42.js → wellknown-vj82my2s.js} +1 -1
- package/dist/chunks/{event-logger-zjkv6nhg.js → wellknown-vk9s0zr3.js} +21 -21
- package/dist/chunks/{event-logger-5jf9zvh7.js → wellknown-vy9axbw1.js} +15 -15
- package/dist/chunks/{event-logger-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-wba6vet1.js → wellknown-w5a8z9r2.js} +4 -4
- package/dist/chunks/{event-logger-4fs60wf0.js → wellknown-w8hr26yt.js} +13 -13
- package/dist/chunks/{event-logger-4n5vt0rn.js → wellknown-wa6q3vex.js} +49 -49
- package/dist/chunks/{event-logger-nmdzejnn.js → wellknown-wbvq8g8t.js} +13 -13
- package/dist/chunks/{event-logger-fdjyeynq.js → wellknown-wctfcgtb.js} +6 -6
- package/dist/chunks/{event-logger-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-by65e51k.js → wellknown-wz4fbqay.js} +34 -34
- package/dist/chunks/{event-logger-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-2qfefwnw.js → wellknown-x545et0z.js} +3 -3
- package/dist/chunks/{event-logger-a2rthcw1.js → wellknown-xkxektkz.js} +16 -16
- package/dist/chunks/{event-logger-1bwnd4hf.js → wellknown-xnxegkmr.js} +46 -46
- package/dist/chunks/{event-logger-cdp882tc.js → wellknown-xtmm7gkk.js} +10 -10
- package/dist/chunks/{event-logger-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-93a8yfjt.js → wellknown-y2cqme3r.js} +5 -5
- package/dist/chunks/{event-logger-mra0x5cd.js → wellknown-y55kwzvm.js} +8 -8
- package/dist/chunks/{event-logger-6zmw1f7k.js → wellknown-yanbnw58.js} +7 -7
- package/dist/chunks/{event-logger-4m6zeev3.js → wellknown-ycfbty71.js} +4 -4
- package/dist/chunks/{event-logger-ry0a9y46.js → wellknown-yk5chycy.js} +1 -1
- package/dist/chunks/{event-logger-2bbpb5tz.js → wellknown-yqzjyyxs.js} +35 -35
- package/dist/chunks/{event-logger-6fy45jp5.js → wellknown-yw9364ag.js} +4 -4
- package/dist/chunks/{event-logger-z1k01bn4.js → wellknown-z1k01bn4.js} +2 -2
- package/dist/chunks/{event-logger-dgycpedt.js → wellknown-z3njjm07.js} +21 -21
- package/dist/chunks/{event-logger-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
- package/dist/chunks/{event-logger-hpkkrthc.js → wellknown-z9d8dnaf.js} +6 -6
- package/dist/chunks/{event-logger-vj5n2wyh.js → wellknown-zf2mdqhr.js} +10 -10
- package/dist/chunks/{event-logger-7a627tte.js → wellknown-zmye7hbx.js} +20 -20
- package/dist/chunks/{event-logger-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-rq543nqh.js → wellknown-zywh7q6e.js} +20 -20
- 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 +81 -81
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +110 -110
- package/dist/config/plugin/reference.js +114 -114
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +112 -112
- 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 +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.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 +3 -3
- 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 +4 -4
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +90 -90
- package/dist/git.js +3 -3
- 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 +4 -4
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +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 +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +87 -87
- 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 +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- 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 +2 -2
- 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 +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +4 -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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +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 +5 -5
- 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 +12 -12
- package/dist/session/inbox.js +84 -84
- 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 +3 -3
- 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 +3 -3
- 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 +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +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 +99 -99
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +99 -99
- package/dist/tool/plugin/subagent.js +210 -210
- 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/types/plugin/system-prompt.d.ts +1 -2
- package/dist/types/session/system-prompt.d.ts +1 -0
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- 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 +91 -91
- package/package.json +7 -7
- package/dist/chunks/event-logger-639wr4eg.js +0 -22
- package/dist/chunks/event-logger-dmrrm8p8.js +0 -247
- package/dist/chunks/event-logger-f9x4js2z.js +0 -20
- package/dist/chunks/event-logger-vnkjks7b.js +0 -18
- package/dist/chunks/event-logger-z5h5yern.js +0 -4
- /package/dist/chunks/{event-logger-0fabt78z.js → wellknown-0fabt78z.js} +0 -0
- /package/dist/chunks/{event-logger-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3t738kvx.js → wellknown-3t738kvx.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-41nvscxy.js → wellknown-41nvscxy.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-982e01ww.js → wellknown-982e01ww.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a1tpkmh4.js → wellknown-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-j935v87r.js → wellknown-j935v87r.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mntxs535.js → wellknown-mntxs535.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p8qxwesx.js → wellknown-p8qxwesx.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-se0s1eqw.js → wellknown-se0s1eqw.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x1b8g1yb.js → wellknown-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zbjnn3ac.js → wellknown-zbjnn3ac.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-nga86p6q.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID11
|
|
8
|
+
} from "./wellknown-7nh4ntd5.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ycfbty71.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event19
|
|
15
|
+
} from "./wellknown-7wp9r7ba.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-m1c4gy78.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service59
|
|
22
|
+
} from "./wellknown-3e5q22gm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get2
|
|
25
|
+
} from "./wellknown-jfvmqd5d.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-gqy8qs28.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID13.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service59;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID12.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID12.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID12.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID11.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID11.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -235,9 +235,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
236
236
|
if (interaction !== "conversation-agent")
|
|
237
237
|
evt.headers["x-initiator"] = "agent";
|
|
238
|
-
}), { providerID:
|
|
238
|
+
}), { providerID: ID12.githubCopilot });
|
|
239
239
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
240
|
-
if (evt.model.providerID !==
|
|
240
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
241
241
|
return;
|
|
242
242
|
const token = evt.request.headers.get("x-api-key");
|
|
243
243
|
if (!token)
|
|
@@ -245,9 +245,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
245
245
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
246
246
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
247
247
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
248
|
-
}), { providerID:
|
|
248
|
+
}), { providerID: ID12.githubCopilot });
|
|
249
249
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
250
|
-
if (evt.model.providerID !==
|
|
250
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
251
251
|
return;
|
|
252
252
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
253
253
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-37ct2frz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode-ai/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-nga86p6q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service60,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node63
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID12,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service60 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service60.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node63 = makeLocationNode({ service: Service60, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service60, locationLayer2, node63, exports_aisdk };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-ycfbty71.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-37ct2frz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./wellknown-7zk4hah4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service45,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node48
|
|
16
|
+
} from "./wellknown-fkwg44rt.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service16,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node19
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode-ai/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode-ai/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service16 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
62
|
const location = yield* Service76;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service45;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service16.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node19 = makeLocationNode({
|
|
274
|
+
service: Service16,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84, node81,
|
|
276
|
+
deps: [node84, node81, node48]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node19, exports_pty, Event3 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-nn46x40y.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-ycfbty71.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service34
|
|
9
|
+
} from "./wellknown-kpe4sfyz.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service49
|
|
16
|
+
} from "./wellknown-qqvjzcxr.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./wellknown-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-mafkkaev.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service34;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service49;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service34;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service49;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service58,
|
|
6
|
+
node61
|
|
7
|
+
} from "./wellknown-nz7wfeq1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node24
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode-ai/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service20 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service58;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -60,12 +60,12 @@ var layer21 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
60
60
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
61
61
|
message: "Generation credentials are unavailable"
|
|
62
62
|
})));
|
|
63
|
-
return
|
|
63
|
+
return Service20.of({ text });
|
|
64
64
|
}));
|
|
65
|
-
var
|
|
66
|
-
service:
|
|
67
|
-
layer:
|
|
68
|
-
deps: [
|
|
65
|
+
var node24 = makeLocationNode({
|
|
66
|
+
service: Service20,
|
|
67
|
+
layer: layer10,
|
|
68
|
+
deps: [node61, llmClient2]
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
71
|
+
export { ModelSelectionError2, UnavailableError3, Service20, layer10, node24, exports_generate };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/instance/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Instance: () => exports_service,
|
|
9
|
+
Service: () => Service34,
|
|
10
|
+
node: () => node38
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
14
|
+
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
15
|
+
|
|
16
|
+
class Service34 extends Context.Service()("@opencode/Instance") {
|
|
17
|
+
}
|
|
18
|
+
var node38 = LayerNode.unbound(Service34, Node.tags.values.global);
|
|
19
|
+
|
|
20
|
+
export { Service34, node38, exports_service };
|