@opencode/core 0.0.0-dev-892 → 0.0.0-dev-900
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +254 -254
- package/dist/bus.js +86 -86
- package/dist/chunks/filesystem-00ve6mdn.js +18 -0
- package/dist/chunks/{event-logger-qt7xm8h2.js → filesystem-02z2ds17.js} +4 -4
- package/dist/chunks/{event-logger-034tev2y.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{event-logger-v2x06h94.js → filesystem-035wadpx.js} +3 -3
- package/dist/chunks/{event-logger-pgmzfdk5.js → filesystem-0a2yyxmk.js} +7 -7
- package/dist/chunks/{event-logger-9kh3h3y0.js → filesystem-0ezh5f4m.js} +9 -9
- package/dist/chunks/{event-logger-ycwj4jqj.js → filesystem-0f9gmxqb.js} +18 -18
- package/dist/chunks/{event-logger-gn6qas9s.js → filesystem-0gwbn6a0.js} +8 -8
- package/dist/chunks/{event-logger-0j7gp832.js → filesystem-0j7gp832.js} +1 -1
- package/dist/chunks/{event-logger-5byntdag.js → filesystem-0jm1xj0f.js} +26 -26
- package/dist/chunks/{event-logger-0ma9gw4f.js → filesystem-0ma9gw4f.js} +2 -2
- package/dist/chunks/{event-logger-tjvrwq0k.js → filesystem-0tfj7kb5.js} +20 -20
- package/dist/chunks/{event-logger-tsskc6h9.js → filesystem-0xrhftmq.js} +11 -11
- package/dist/chunks/{event-logger-t8rdgqhb.js → filesystem-0yhbbq00.js} +11 -11
- package/dist/chunks/{event-logger-8h77agxq.js → filesystem-15z4wtk0.js} +20 -20
- package/dist/chunks/{event-logger-aew8rpfa.js → filesystem-17sb9jwz.js} +18 -18
- package/dist/chunks/{event-logger-km9kxtn8.js → filesystem-17vt7wwr.js} +30 -30
- package/dist/chunks/{event-logger-srabb7dz.js → filesystem-181902zs.js} +22 -22
- package/dist/chunks/{event-logger-na4zh7w6.js → filesystem-19aj727q.js} +14 -14
- package/dist/chunks/{event-logger-aax7r870.js → filesystem-1a5bb6as.js} +6 -6
- package/dist/chunks/{event-logger-1aqsckx4.js → filesystem-1aqsckx4.js} +1 -1
- package/dist/chunks/{event-logger-cxvat2mj.js → filesystem-1dm1rjcg.js} +35 -35
- package/dist/chunks/{event-logger-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{event-logger-ex1wgdz4.js → filesystem-1fbngjjy.js} +17 -17
- package/dist/chunks/{event-logger-r0yxyc6f.js → filesystem-1k7rps55.js} +13 -13
- package/dist/chunks/{event-logger-deq7zezz.js → filesystem-1na8pg7t.js} +11 -11
- package/dist/chunks/{event-logger-0h86f0az.js → filesystem-1v2g13eq.js} +4 -4
- package/dist/chunks/{event-logger-bpc17s8v.js → filesystem-1wpz8b97.js} +20 -20
- package/dist/chunks/{event-logger-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{event-logger-7jmaf9hv.js → filesystem-1zez8a6k.js} +9 -9
- package/dist/chunks/{event-logger-65ckc8p3.js → filesystem-25rr9byq.js} +19 -19
- package/dist/chunks/{event-logger-md69vhb1.js → filesystem-2dfq8ch4.js} +16 -16
- package/dist/chunks/{event-logger-2fc7eemy.js → filesystem-2fc7eemy.js} +1 -1
- package/dist/chunks/{event-logger-srcdbpr2.js → filesystem-2fk4msj1.js} +8 -8
- package/dist/chunks/{event-logger-v0t96s7a.js → filesystem-2kg89srt.js} +4 -4
- package/dist/chunks/{event-logger-s1ba0vj0.js → filesystem-2p60zmnr.js} +2 -2
- package/dist/chunks/{event-logger-jhem0d9a.js → filesystem-2t6zpmzs.js} +6 -6
- package/dist/chunks/{event-logger-cyw90pqg.js → filesystem-2wk0sjak.js} +15 -15
- package/dist/chunks/{event-logger-3ztwrxep.js → filesystem-2ynhg311.js} +23 -23
- package/dist/chunks/{event-logger-xjbsd7zy.js → filesystem-3adw4bt5.js} +9 -9
- package/dist/chunks/{event-logger-mdrjseww.js → filesystem-3ag897fb.js} +34 -34
- package/dist/chunks/{event-logger-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{event-logger-hxmw4pfp.js → filesystem-3nzasfxf.js} +58 -58
- package/dist/chunks/{event-logger-grzj74dp.js → filesystem-3r13rg9x.js} +361 -367
- package/dist/chunks/{event-logger-7dykt898.js → filesystem-3vcxs8xg.js} +29 -29
- package/dist/chunks/{event-logger-4mahgh79.js → filesystem-3ws7347k.js} +12 -12
- package/dist/chunks/{event-logger-nwyfjcs7.js → filesystem-3wyhrqfb.js} +8 -8
- package/dist/chunks/{event-logger-40y6dtc2.js → filesystem-40y6dtc2.js} +1 -1
- package/dist/chunks/{event-logger-w2eysc6j.js → filesystem-40za9wsf.js} +9 -9
- package/dist/chunks/{event-logger-2rwbqqk4.js → filesystem-42csrcj6.js} +5 -5
- package/dist/chunks/{event-logger-jxd6f16v.js → filesystem-44pmzq9c.js} +2 -2
- package/dist/chunks/{event-logger-67s37gp7.js → filesystem-45xfphr3.js} +4 -4
- package/dist/chunks/filesystem-46esafq5.js +49 -0
- package/dist/chunks/{event-logger-189zs3b8.js → filesystem-48wgh0r5.js} +10 -10
- package/dist/chunks/{event-logger-f45mtqja.js → filesystem-4d76xdka.js} +36 -36
- package/dist/chunks/{event-logger-4dx1dgte.js → filesystem-4dx1dgte.js} +1 -1
- package/dist/chunks/{event-logger-r542h3bh.js → filesystem-4f25tdd0.js} +5 -5
- package/dist/chunks/{event-logger-02ct3eem.js → filesystem-4jcpm909.js} +5 -5
- package/dist/chunks/{event-logger-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{event-logger-9xzr77jx.js → filesystem-4qtvx9g1.js} +51 -51
- package/dist/chunks/{event-logger-7s1wk4pk.js → filesystem-4r8hh93p.js} +11 -11
- package/dist/chunks/{event-logger-80n0ya2z.js → filesystem-4tnszcv9.js} +7 -7
- package/dist/chunks/{event-logger-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{event-logger-tr50er13.js → filesystem-50pr8z8j.js} +14 -14
- package/dist/chunks/{event-logger-v8bjwhbx.js → filesystem-539dw32x.js} +4 -4
- package/dist/chunks/{event-logger-z0c26qk4.js → filesystem-55g2q5p5.js} +2 -2
- package/dist/chunks/{event-logger-8523rkyj.js → filesystem-5ejp9ww5.js} +16 -16
- package/dist/chunks/{event-logger-yj1d80n7.js → filesystem-5jp6ksrm.js} +9 -9
- package/dist/chunks/{event-logger-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{event-logger-c0r5cqvh.js → filesystem-5stch7mz.js} +12 -12
- package/dist/chunks/{event-logger-s11v5awe.js → filesystem-5tm0nqws.js} +21 -21
- package/dist/chunks/{event-logger-q500dmz2.js → filesystem-5x1njh48.js} +23 -23
- package/dist/chunks/{event-logger-76sc5fc6.js → filesystem-648ay51t.js} +37 -37
- package/dist/chunks/{event-logger-a3z1q8zt.js → filesystem-6kyk5zwt.js} +14 -14
- package/dist/chunks/{event-logger-mzhnyth5.js → filesystem-6pgb0c6g.js} +4 -4
- package/dist/chunks/{event-logger-tb6fee1v.js → filesystem-6rgg22fb.js} +3 -3
- package/dist/chunks/{event-logger-vhcs6f4s.js → filesystem-6rkgwr3t.js} +20 -20
- package/dist/chunks/{event-logger-ke8d4nz8.js → filesystem-6sfcjb92.js} +12 -12
- package/dist/chunks/{event-logger-cmffm6qs.js → filesystem-6vth7jmw.js} +22 -22
- package/dist/chunks/{event-logger-czx3by8z.js → filesystem-6zj50wfk.js} +20 -20
- package/dist/chunks/{event-logger-k2qpt0zk.js → filesystem-718p8p18.js} +39 -39
- package/dist/chunks/{event-logger-nhfg700v.js → filesystem-72rhbnyr.js} +43 -43
- package/dist/chunks/{event-logger-emwsg0fj.js → filesystem-7559cqc2.js} +33 -33
- package/dist/chunks/{event-logger-80mg3ag8.js → filesystem-775hqbnd.js} +3 -3
- package/dist/chunks/{event-logger-8gpdtejb.js → filesystem-78jb72c0.js} +17 -17
- package/dist/chunks/{event-logger-vdyb4s6e.js → filesystem-79bbe8py.js} +23 -23
- package/dist/chunks/{event-logger-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-25hkaegy.js → filesystem-7cwg0q3v.js} +13 -13
- package/dist/chunks/{event-logger-mptv2b35.js → filesystem-7h6anj5r.js} +5 -5
- package/dist/chunks/{event-logger-9h9gknhd.js → filesystem-7j2v9es1.js} +10 -10
- package/dist/chunks/{event-logger-x4mcewfn.js → filesystem-7nqkf5r1.js} +4 -4
- package/dist/chunks/{event-logger-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{event-logger-7weczvnd.js → filesystem-7weczvnd.js} +1 -1
- package/dist/chunks/{event-logger-gxx5n6vy.js → filesystem-7zzyr76m.js} +31 -31
- package/dist/chunks/{event-logger-rvnns7rr.js → filesystem-882t1npe.js} +26 -26
- package/dist/chunks/{event-logger-89287pr7.js → filesystem-89287pr7.js} +1 -1
- package/dist/chunks/{event-logger-8b3vzgkx.js → filesystem-8b3vzgkx.js} +1 -1
- package/dist/chunks/{event-logger-3dk66214.js → filesystem-8bfbfs0m.js} +19 -19
- package/dist/chunks/{event-logger-8cg7mtm3.js → filesystem-8cg7mtm3.js} +1 -1
- package/dist/chunks/{event-logger-a35sr0b6.js → filesystem-8es3pha2.js} +8 -8
- package/dist/chunks/{event-logger-074qhhck.js → filesystem-8ff7z165.js} +6 -6
- package/dist/chunks/{event-logger-8sxe6kv8.js → filesystem-8sxe6kv8.js} +2 -2
- package/dist/chunks/{event-logger-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{event-logger-0q7dyhp6.js → filesystem-8xs1szqy.js} +8 -8
- package/dist/chunks/{event-logger-8zv0xmg5.js → filesystem-8zv0xmg5.js} +1 -1
- package/dist/chunks/{event-logger-matrc5aw.js → filesystem-921qrkta.js} +2 -2
- package/dist/chunks/{event-logger-3mryy5hd.js → filesystem-938jxp85.js} +10 -10
- package/dist/chunks/{event-logger-kcrxe5g6.js → filesystem-95chw932.js} +21 -21
- package/dist/chunks/{event-logger-zyfhsknv.js → filesystem-963hk181.js} +9 -9
- package/dist/chunks/{event-logger-jj0fxw73.js → filesystem-9650aqwr.js} +20 -20
- package/dist/chunks/{event-logger-4wqemmxb.js → filesystem-9936y3jg.js} +8 -8
- package/dist/chunks/{event-logger-xj142ye1.js → filesystem-9bf0jn0y.js} +27 -27
- package/dist/chunks/{event-logger-3rq8m51m.js → filesystem-9dxkw32d.js} +18 -18
- package/dist/chunks/{event-logger-23wmfp43.js → filesystem-9e67kptv.js} +29 -29
- package/dist/chunks/{event-logger-fpjxw46t.js → filesystem-9yqjp86x.js} +6 -6
- package/dist/chunks/{event-logger-tjaqvmna.js → filesystem-a6b3g8hx.js} +28 -28
- package/dist/chunks/{event-logger-h0aw0xcs.js → filesystem-ag6wve2c.js} +9 -9
- package/dist/chunks/{event-logger-vsjvrq8f.js → filesystem-ar2hvv65.js} +27 -27
- package/dist/chunks/{event-logger-yrfzjmxs.js → filesystem-at088wgp.js} +38 -38
- package/dist/chunks/{event-logger-xyp0w5w2.js → filesystem-avz8bhs5.js} +15 -15
- package/dist/chunks/{event-logger-8dmpkg7y.js → filesystem-ay4fx4x8.js} +27 -27
- package/dist/chunks/{event-logger-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{event-logger-vzg9t7w7.js → filesystem-b1pxs4mx.js} +11 -11
- package/dist/chunks/{event-logger-g4txs7zc.js → filesystem-b26ddj6h.js} +4 -4
- package/dist/chunks/{event-logger-6538m5zf.js → filesystem-ba9sjspj.js} +12 -12
- package/dist/chunks/{event-logger-czsg6qa7.js → filesystem-bcjnxnhp.js} +59 -78
- package/dist/chunks/{event-logger-mc2cd50f.js → filesystem-bgwzppbt.js} +15 -15
- package/dist/chunks/{event-logger-csbkhh9r.js → filesystem-bh17vazq.js} +34 -34
- package/dist/chunks/{event-logger-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{event-logger-by8ty0bx.js → filesystem-by8ty0bx.js} +1 -1
- package/dist/chunks/{event-logger-nz6g494t.js → filesystem-c17c5xy0.js} +17 -17
- package/dist/chunks/{event-logger-w6ab945r.js → filesystem-c1edwwnv.js} +16 -16
- package/dist/chunks/{event-logger-hrfssxzn.js → filesystem-c2shajz4.js} +25 -25
- package/dist/chunks/{event-logger-jgegbhe4.js → filesystem-c5sns9rs.js} +49 -49
- package/dist/chunks/{event-logger-c7cw818c.js → filesystem-c7cw818c.js} +2 -2
- package/dist/chunks/{event-logger-axskksgc.js → filesystem-cdnzabwv.js} +24 -24
- package/dist/chunks/{event-logger-7dbrtjsx.js → filesystem-cdvjn5dz.js} +14 -14
- package/dist/chunks/{event-logger-vh1gbyr9.js → filesystem-cf8mej1f.js} +48 -48
- package/dist/chunks/{event-logger-dy7cgtbm.js → filesystem-ck7e0r21.js} +63 -63
- package/dist/chunks/{event-logger-5asgddgx.js → filesystem-ckn0kvtp.js} +6 -6
- package/dist/chunks/{event-logger-51kt8vqr.js → filesystem-cmm5btky.js} +86 -86
- package/dist/chunks/{event-logger-63xym3gh.js → filesystem-cpvd08na.js} +4 -4
- package/dist/chunks/{event-logger-jhkq54md.js → filesystem-cqv7tc87.js} +42 -42
- package/dist/chunks/{event-logger-teav1bzy.js → filesystem-ctmpqb7w.js} +9 -9
- package/dist/chunks/{event-logger-7ke2z32d.js → filesystem-cvwe7hsa.js} +6 -6
- package/dist/chunks/{event-logger-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{event-logger-2bswbpgz.js → filesystem-cxab28sr.js} +4 -4
- package/dist/chunks/{event-logger-0php2d2a.js → filesystem-czqb1qjr.js} +6 -6
- package/dist/chunks/{event-logger-2gcw5fz7.js → filesystem-d0pmvwgf.js} +5 -5
- package/dist/chunks/{event-logger-jndeg0s5.js → filesystem-d2bwycwa.js} +12 -12
- package/dist/chunks/{event-logger-31avdb49.js → filesystem-d390zwf3.js} +8 -8
- package/dist/chunks/{event-logger-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{event-logger-qqarxf7p.js → filesystem-d9qmvhen.js} +63 -63
- package/dist/chunks/{event-logger-zqvy8w2r.js → filesystem-dg5es6ze.js} +2 -2
- package/dist/chunks/{event-logger-qj3ncjqk.js → filesystem-dgb83nsm.js} +11 -11
- package/dist/chunks/{event-logger-bzz00sbm.js → filesystem-dpj6gsfx.js} +9 -9
- package/dist/chunks/{event-logger-3jgbjpr1.js → filesystem-dr1vsqzj.js} +12 -12
- package/dist/chunks/{event-logger-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/{event-logger-kyq61t9j.js → filesystem-e070wvce.js} +17 -17
- package/dist/chunks/{event-logger-9f4w71gj.js → filesystem-e2d6g660.js} +22 -22
- package/dist/chunks/{event-logger-ff2d2kf1.js → filesystem-e4cczzb6.js} +5 -5
- package/dist/chunks/{event-logger-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{event-logger-p96srfh5.js → filesystem-e851vs6d.js} +23 -23
- package/dist/chunks/{event-logger-bpqkk4rq.js → filesystem-ec7kz664.js} +86 -86
- package/dist/chunks/{event-logger-jtn88xg7.js → filesystem-ep6snxvm.js} +5 -5
- package/dist/chunks/{event-logger-0ex746g5.js → filesystem-epsw3z7t.js} +1 -1
- package/dist/chunks/{event-logger-9bs8vsaq.js → filesystem-epywfnkq.js} +76 -76
- package/dist/chunks/{event-logger-t0608nav.js → filesystem-eq6zysp6.js} +6 -6
- package/dist/chunks/{event-logger-eqw4pqj1.js → filesystem-eqw4pqj1.js} +2 -2
- package/dist/chunks/{event-logger-23ppzeqs.js → filesystem-f0mr1pc6.js} +23 -23
- package/dist/chunks/{event-logger-mzy1mbez.js → filesystem-f2vx8x8a.js} +16 -16
- package/dist/chunks/{event-logger-azqdag7d.js → filesystem-fcrd7kek.js} +4 -4
- package/dist/chunks/{event-logger-mecrap0n.js → filesystem-fe9jvyxb.js} +8 -8
- package/dist/chunks/{event-logger-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{event-logger-fg9p65nk.js → filesystem-fg9p65nk.js} +2 -2
- package/dist/chunks/{event-logger-sr0y9bv7.js → filesystem-fqshqzv0.js} +5 -5
- package/dist/chunks/{event-logger-qpw46gtf.js → filesystem-ft24z9as.js} +19 -19
- package/dist/chunks/{event-logger-0xkg24zk.js → filesystem-g7m0qqq0.js} +25 -25
- package/dist/chunks/{event-logger-nhmg6cd1.js → filesystem-g9t47zy8.js} +37 -37
- package/dist/chunks/{event-logger-gbjdnr5j.js → filesystem-gbjdnr5j.js} +2 -2
- package/dist/chunks/{event-logger-v3qajxv2.js → filesystem-ge2z13zp.js} +19 -19
- package/dist/chunks/{event-logger-m1vrgpkz.js → filesystem-gg7m0nzr.js} +15 -15
- package/dist/chunks/{event-logger-t2s9kz02.js → filesystem-gk0cbdm8.js} +5 -5
- package/dist/chunks/{event-logger-kpqqccsm.js → filesystem-gwv3crrh.js} +12 -12
- package/dist/chunks/{event-logger-tg7s7b5t.js → filesystem-gxs71cxp.js} +4 -4
- package/dist/chunks/{event-logger-ts3bqvg1.js → filesystem-gy4928xg.js} +17 -17
- package/dist/chunks/{event-logger-xbfsqk1q.js → filesystem-h0pfp02j.js} +12 -12
- package/dist/chunks/{event-logger-0d9h2c3x.js → filesystem-h5chy42v.js} +3 -3
- package/dist/chunks/filesystem-hcv8rxnm.js +265 -0
- package/dist/chunks/{event-logger-hgzwgvze.js → filesystem-hgzwgvze.js} +2 -2
- package/dist/chunks/{event-logger-zc8yksyc.js → filesystem-hpgky7br.js} +17 -17
- package/dist/chunks/{event-logger-s1s15f1s.js → filesystem-hsgagtv4.js} +13 -13
- package/dist/chunks/{event-logger-xyktq1rn.js → filesystem-hvj3ek6w.js} +49 -49
- package/dist/chunks/{event-logger-m3k4f4wp.js → filesystem-hx5nh5s3.js} +32 -32
- package/dist/chunks/{event-logger-7v9favrf.js → filesystem-hxcyyd46.js} +31 -31
- package/dist/chunks/{event-logger-e7gzwz94.js → filesystem-hzz3fta6.js} +23 -23
- package/dist/chunks/{event-logger-3w343411.js → filesystem-j181v3gh.js} +29 -29
- package/dist/chunks/{event-logger-ze75qvmd.js → filesystem-j9nxzz3g.js} +3 -3
- package/dist/chunks/{event-logger-p0fvjn2m.js → filesystem-jaed4v45.js} +4 -4
- package/dist/chunks/{event-logger-5js5wbdj.js → filesystem-jb1c1e15.js} +31 -31
- package/dist/chunks/{event-logger-7zek9829.js → filesystem-jhsnhsa7.js} +37 -37
- package/dist/chunks/{event-logger-jkdcm5hg.js → filesystem-jkdcm5hg.js} +1 -1
- package/dist/chunks/{event-logger-jm70asfg.js → filesystem-jm70asfg.js} +1 -1
- package/dist/chunks/{event-logger-bh44pqhp.js → filesystem-jmknrr9q.js} +15 -15
- package/dist/chunks/{event-logger-whyespqn.js → filesystem-jtgc3vqj.js} +27 -27
- package/dist/chunks/{event-logger-dcd7sf2d.js → filesystem-jvxqx3e4.js} +12 -12
- package/dist/chunks/{event-logger-xrsq8sp2.js → filesystem-jwbahhn3.js} +36 -36
- package/dist/chunks/{event-logger-cttnq2ya.js → filesystem-jy0jnkzv.js} +11 -11
- package/dist/chunks/{event-logger-ggz19km9.js → filesystem-jz2wm8q8.js} +45 -45
- package/dist/chunks/{event-logger-k46dd5bg.js → filesystem-k46dd5bg.js} +1 -1
- package/dist/chunks/{event-logger-qcsq32s1.js → filesystem-k4qe4bdb.js} +6 -6
- package/dist/chunks/{event-logger-1vw1hhqb.js → filesystem-kb2t6asd.js} +43 -43
- package/dist/chunks/{event-logger-8xz27cp9.js → filesystem-kbgs7tyr.js} +4 -4
- package/dist/chunks/{event-logger-q5h1hz5x.js → filesystem-kf0dj0r3.js} +26 -26
- package/dist/chunks/{event-logger-wfzyh5a9.js → filesystem-km4jpkz6.js} +4 -4
- package/dist/chunks/{event-logger-s6rsk2n9.js → filesystem-kq6p0m63.js} +29 -29
- package/dist/chunks/{event-logger-gdb8gb6g.js → filesystem-kqa1ww29.js} +7 -7
- package/dist/chunks/{event-logger-jhmmfs20.js → filesystem-kssh28p5.js} +5 -5
- package/dist/chunks/{event-logger-k6acvzzp.js → filesystem-kt3bjfbg.js} +2 -12
- package/dist/chunks/{event-logger-d4tmeg7z.js → filesystem-kyggev0f.js} +30 -30
- package/dist/chunks/{event-logger-kzczzf4v.js → filesystem-kzczzf4v.js} +1 -1
- package/dist/chunks/{event-logger-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{event-logger-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-mb7mbhnz.js → filesystem-mb7mbhnz.js} +3 -3
- package/dist/chunks/filesystem-mf97tfts.js +26 -0
- package/dist/chunks/{event-logger-9beqts2g.js → filesystem-mpq7brr0.js} +19 -19
- package/dist/chunks/{event-logger-572t6fnq.js → filesystem-mrzew5a0.js} +5 -5
- package/dist/chunks/{event-logger-h49hp34r.js → filesystem-mskkk8kf.js} +16 -16
- package/dist/chunks/{event-logger-0k9p0h2k.js → filesystem-n084kdnf.js} +17 -17
- package/dist/chunks/{event-logger-b9pvq46e.js → filesystem-n9vcj540.js} +13 -13
- package/dist/chunks/{event-logger-cr44ae3x.js → filesystem-nchw3v9s.js} +5 -5
- package/dist/chunks/{event-logger-17452w76.js → filesystem-njg3q12r.js} +12 -12
- package/dist/chunks/{event-logger-v0p3ytcm.js → filesystem-nkphb79f.js} +19 -19
- package/dist/chunks/{event-logger-qmpm55vb.js → filesystem-nnfhsy33.js} +25 -25
- package/dist/chunks/{event-logger-kytm3xky.js → filesystem-nqx1ern4.js} +9 -9
- package/dist/chunks/{event-logger-w57p72p4.js → filesystem-nqy8vhw1.js} +19 -19
- package/dist/chunks/{event-logger-8054w6j6.js → filesystem-nv1t5fvd.js} +11 -11
- package/dist/chunks/{event-logger-gnkmn8c6.js → filesystem-nw5eecxx.js} +1 -1
- package/dist/chunks/{event-logger-qxc5t3fh.js → filesystem-p10mzfnc.js} +5 -5
- package/dist/chunks/{event-logger-0rdj797v.js → filesystem-p17589ft.js} +5 -5
- package/dist/chunks/{event-logger-z88rdk3t.js → filesystem-p2tvx8t7.js} +9 -9
- package/dist/chunks/{event-logger-hz63kff2.js → filesystem-p6mqzsa5.js} +4 -4
- package/dist/chunks/{event-logger-bdhd9h6e.js → filesystem-p7vhpwh8.js} +5 -5
- package/dist/chunks/{event-logger-ead14kf1.js → filesystem-pd5348f3.js} +38 -38
- package/dist/chunks/{event-logger-n3j33rb6.js → filesystem-ph2hg484.js} +6 -6
- package/dist/chunks/{event-logger-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-xnreh5ed.js → filesystem-pks4cj27.js} +12 -12
- package/dist/chunks/{event-logger-vt2d6wap.js → filesystem-px7qpgcn.js} +4 -4
- package/dist/chunks/{event-logger-6n43x6px.js → filesystem-q1yqs2c4.js} +5 -5
- package/dist/chunks/{event-logger-m46fgh23.js → filesystem-q6ses74x.js} +18 -18
- package/dist/chunks/{event-logger-5wyzzdh8.js → filesystem-qa3zm6vn.js} +11 -11
- package/dist/chunks/{event-logger-byg8gfhm.js → filesystem-qe76v4mn.js} +7 -7
- package/dist/chunks/{event-logger-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{event-logger-r40cwf40.js → filesystem-qph9r1p4.js} +45 -16
- package/dist/chunks/{event-logger-wfdx5ztx.js → filesystem-qsdghx1p.js} +4 -4
- package/dist/chunks/{event-logger-qwz12hkq.js → filesystem-qwz12hkq.js} +1 -1
- package/dist/chunks/{event-logger-hkf8spj2.js → filesystem-r17fbvme.js} +7 -7
- package/dist/chunks/{event-logger-eqn2xv21.js → filesystem-r1xy8wjw.js} +47 -47
- package/dist/chunks/{event-logger-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{event-logger-37yf26y7.js → filesystem-rbebbts0.js} +5 -5
- package/dist/chunks/{event-logger-3gv0spa2.js → filesystem-rbg54dp1.js} +4 -4
- package/dist/chunks/{event-logger-hn1m907y.js → filesystem-rdn5fp89.js} +9 -9
- package/dist/chunks/{event-logger-rgc9cx3e.js → filesystem-rgc9cx3e.js} +2 -2
- package/dist/chunks/{event-logger-0n9bx249.js → filesystem-rrcsvc7m.js} +35 -35
- package/dist/chunks/{event-logger-j995642n.js → filesystem-rsdvfnet.js} +9 -9
- package/dist/chunks/{event-logger-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{event-logger-xwmw33nn.js → filesystem-rxdvn915.js} +6 -6
- package/dist/chunks/{event-logger-rjpqygew.js → filesystem-s063p80t.js} +22 -22
- package/dist/chunks/{event-logger-7hxw40qb.js → filesystem-s41e1wzc.js} +11 -11
- package/dist/chunks/{event-logger-9deqve51.js → filesystem-s6v5r3nd.js} +13 -13
- package/dist/chunks/{event-logger-sbya78hr.js → filesystem-sbya78hr.js} +1 -1
- package/dist/chunks/{event-logger-y8hpk01c.js → filesystem-scy8vkan.js} +11 -11
- package/dist/chunks/{event-logger-ghrv1g9c.js → filesystem-sdt5j0rm.js} +4 -4
- package/dist/chunks/{event-logger-q92r6wg6.js → filesystem-skbh59st.js} +32 -32
- package/dist/chunks/{event-logger-z33yrdx8.js → filesystem-ssh841z8.js} +9 -9
- package/dist/chunks/{event-logger-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{event-logger-t48jrnqq.js → filesystem-t48jrnqq.js} +1 -1
- package/dist/chunks/{event-logger-61qraad9.js → filesystem-t8erkws8.js} +5 -5
- package/dist/chunks/{event-logger-r58d7y94.js → filesystem-taa6ksrb.js} +3 -3
- package/dist/chunks/{event-logger-62zd5tzk.js → filesystem-tb2mrvc9.js} +7 -7
- package/dist/chunks/{event-logger-tbpn7jtk.js → filesystem-tbpn7jtk.js} +1 -1
- package/dist/chunks/{event-logger-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{event-logger-fdrbqvh6.js → filesystem-th0477r0.js} +8 -8
- package/dist/chunks/{event-logger-yjh7jbr3.js → filesystem-tk96nzak.js} +31 -31
- package/dist/chunks/{event-logger-j376ae4e.js → filesystem-tr8x705m.js} +5 -5
- package/dist/chunks/{event-logger-9d6wjg0a.js → filesystem-trz3127x.js} +23 -23
- package/dist/chunks/{event-logger-mm06edep.js → filesystem-tvtps2q9.js} +6 -7
- package/dist/chunks/{event-logger-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{event-logger-tqpaksp0.js → filesystem-v1ps7nwg.js} +8 -8
- package/dist/chunks/{event-logger-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{event-logger-160yv0cs.js → filesystem-v5hpj9dd.js} +8 -8
- package/dist/chunks/{event-logger-j3k739k1.js → filesystem-v7rmebyy.js} +16 -16
- package/dist/chunks/{event-logger-461f2rcz.js → filesystem-vcbvzcay.js} +3 -3
- package/dist/chunks/{event-logger-ntaabztc.js → filesystem-vhmjqsfk.js} +6 -6
- package/dist/chunks/{event-logger-vjf35v1f.js → filesystem-vjf35v1f.js} +1 -1
- package/dist/chunks/{event-logger-e253s4ac.js → filesystem-vkxtbcsc.js} +15 -15
- package/dist/chunks/{event-logger-s4mprw62.js → filesystem-vp24eq8c.js} +5 -5
- package/dist/chunks/{event-logger-9rztdry8.js → filesystem-vq0y6bse.js} +11 -11
- package/dist/chunks/{event-logger-3450dmdx.js → filesystem-vsbgvdf0.js} +23 -18
- package/dist/chunks/{event-logger-nznkv68n.js → filesystem-vyzkhsyt.js} +12 -12
- package/dist/chunks/{event-logger-55271zqq.js → filesystem-w0jedvew.js} +30 -30
- package/dist/chunks/{event-logger-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-m170w9hk.js → filesystem-w4zkc3a0.js} +16 -16
- package/dist/chunks/{event-logger-wr3re1en.js → filesystem-w687dnns.js} +4 -4
- package/dist/chunks/{event-logger-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{event-logger-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-wegkxhrn.js → filesystem-wegkxhrn.js} +2 -2
- package/dist/chunks/{event-logger-fyfzbt3s.js → filesystem-weqc7sb9.js} +2 -2
- package/dist/chunks/{event-logger-g4zsvtq0.js → filesystem-wfxxzfe0.js} +15 -15
- package/dist/chunks/{event-logger-bdaygxa6.js → filesystem-wk3tvmbz.js} +36 -36
- package/dist/chunks/{event-logger-3h5z7vgp.js → filesystem-wq8rmehe.js} +29 -29
- package/dist/chunks/{event-logger-68teftay.js → filesystem-wryyvkqn.js} +22 -22
- package/dist/chunks/{event-logger-79k544d0.js → filesystem-wvr8xscb.js} +7 -7
- package/dist/chunks/{event-logger-bbzy17b9.js → filesystem-wzcb695t.js} +59 -59
- package/dist/chunks/{event-logger-pct4p3yk.js → filesystem-x1hgtw2f.js} +6 -6
- package/dist/chunks/{event-logger-6ejjbczr.js → filesystem-x5cd4jne.js} +6 -6
- package/dist/chunks/{event-logger-ngyqh69c.js → filesystem-x6jvqskc.js} +27 -27
- package/dist/chunks/{event-logger-ejgeqqx1.js → filesystem-x7e420mc.js} +8 -8
- package/dist/chunks/{event-logger-e1gc2t3g.js → filesystem-x83082rg.js} +191 -191
- package/dist/chunks/{event-logger-spysdwxw.js → filesystem-x9tgsr9g.js} +11 -11
- package/dist/chunks/{event-logger-51zaerfh.js → filesystem-xep6jqgx.js} +49 -49
- package/dist/chunks/{event-logger-xxschbft.js → filesystem-xjr6c8m4.js} +4 -4
- package/dist/chunks/{event-logger-eqxe8rhz.js → filesystem-xrf5bdyr.js} +16 -16
- package/dist/chunks/{event-logger-4mcv9g69.js → filesystem-xv6av45t.js} +11 -11
- package/dist/chunks/{event-logger-zpzp6d8n.js → filesystem-xxphw40g.js} +6 -6
- package/dist/chunks/{event-logger-hyq7ny1j.js → filesystem-y2jyke39.js} +14 -14
- package/dist/chunks/{event-logger-bx958sf8.js → filesystem-y6psyawz.js} +26 -26
- package/dist/chunks/{event-logger-zxrwfkf3.js → filesystem-y7k285qd.js} +33 -33
- package/dist/chunks/{event-logger-vqmth87c.js → filesystem-y9yxqpkb.js} +16 -16
- package/dist/chunks/{event-logger-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{event-logger-zxwn8npj.js → filesystem-yqhvz5dd.js} +62 -66
- package/dist/chunks/{event-logger-yr705xyq.js → filesystem-yr705xyq.js} +1 -1
- package/dist/chunks/{event-logger-yvtc2x31.js → filesystem-yvtc2x31.js} +1 -1
- package/dist/chunks/{event-logger-4pw98qd4.js → filesystem-yydqqga9.js} +4 -4
- package/dist/chunks/{event-logger-38aws4xb.js → filesystem-z080rjh6.js} +4 -4
- package/dist/chunks/{event-logger-hm1ec11z.js → filesystem-z1y40jkr.js} +14 -14
- package/dist/chunks/{event-logger-y1g0wtcd.js → filesystem-z664tc7y.js} +3 -3
- package/dist/chunks/{event-logger-19s9nrwf.js → filesystem-z9cq7218.js} +4 -4
- package/dist/chunks/{event-logger-8c3a1y3h.js → filesystem-zaqe5xsm.js} +1 -1
- package/dist/chunks/{event-logger-83jaandp.js → filesystem-zdgre5kj.js} +23 -23
- package/dist/chunks/{event-logger-59hd7tc6.js → filesystem-zsp4v0js.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +1 -1
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +129 -129
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +128 -128
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +83 -83
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +9 -9
- 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 +112 -112
- 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/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +184 -184
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +185 -185
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +249 -249
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +246 -246
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +102 -102
- 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 +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +166 -166
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +240 -240
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/config/plugin/entry-observer.d.ts +1 -5
- package/dist/types/config.d.ts +0 -5
- package/dist/types/console-access.d.ts +0 -12
- package/dist/types/plugin/internal.d.ts +1 -3
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/event-logger-26xw1n6q.js +0 -26
- package/dist/chunks/event-logger-ffm8k566.js +0 -265
- package/dist/chunks/event-logger-qmh7vbk2.js +0 -18
- package/dist/chunks/event-logger-zbxcwakx.js +0 -47
- /package/dist/chunks/{event-logger-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-108x4f4w.js → filesystem-108x4f4w.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kah00gy.js → filesystem-1kah00gy.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3af0jn4w.js → filesystem-3af0jn4w.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4qk9sjk2.js → filesystem-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{event-logger-6agm2x70.js → filesystem-6agm2x70.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{event-logger-bhmrqjy3.js → filesystem-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-ean2d8b5.js → filesystem-ean2d8b5.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-syrav9an.js → filesystem-syrav9an.js} +0 -0
- /package/dist/chunks/{event-logger-t03h4f5z.js → filesystem-t03h4f5z.js} +0 -0
- /package/dist/chunks/{event-logger-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
- /package/dist/chunks/{event-logger-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{event-logger-vtarvj67.js → filesystem-vtarvj67.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x4th4bpe.js → filesystem-x4th4bpe.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-z0h12gs8.js → filesystem-z0h12gs8.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
- /package/dist/chunks/{event-logger-zxpyjp51.js → filesystem-zxpyjp51.js} +0 -0
|
@@ -1,68 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-qa3zm6vn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID17,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-hx5nh5s3.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-fcrd7kek.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-3ag897fb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID15
|
|
21
|
+
} from "./filesystem-skbh59st.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make32
|
|
26
|
+
} from "./filesystem-r17fbvme.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service69
|
|
29
|
+
} from "./filesystem-yqhvz5dd.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-h0pfp02j.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service46
|
|
36
|
+
} from "./filesystem-2ynhg311.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./filesystem-8ff7z165.js";
|
|
40
40
|
import {
|
|
41
|
-
Options3,
|
|
42
41
|
defaultServer2,
|
|
43
42
|
server2,
|
|
44
43
|
headers2
|
|
45
|
-
} from "./
|
|
44
|
+
} from "./filesystem-kt3bjfbg.js";
|
|
46
45
|
import {
|
|
47
46
|
File2,
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service41
|
|
48
|
+
} from "./filesystem-x6jvqskc.js";
|
|
50
49
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./event-logger-ejgeqqx1.js";
|
|
50
|
+
Service90
|
|
51
|
+
} from "./filesystem-x7e420mc.js";
|
|
54
52
|
import {
|
|
55
53
|
isSafeSegment2,
|
|
56
54
|
isSafeRelativePath2
|
|
57
|
-
} from "./
|
|
55
|
+
} from "./filesystem-3adw4bt5.js";
|
|
58
56
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
ID9,
|
|
58
|
+
Input16,
|
|
61
59
|
Response2
|
|
62
|
-
} from "./
|
|
60
|
+
} from "./filesystem-wk3tvmbz.js";
|
|
63
61
|
import {
|
|
64
62
|
onSwitch2
|
|
65
|
-
} from "./
|
|
63
|
+
} from "./filesystem-dpj6gsfx.js";
|
|
66
64
|
|
|
67
65
|
// src/plugin/provider/opencode.ts
|
|
68
66
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -131,7 +129,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
131
129
|
}
|
|
132
130
|
function oauth(http) {
|
|
133
131
|
return {
|
|
134
|
-
integrationID:
|
|
132
|
+
integrationID: ID16.make("opencode"),
|
|
135
133
|
method: {
|
|
136
134
|
id: methodID,
|
|
137
135
|
type: "oauth",
|
|
@@ -198,14 +196,13 @@ var OpencodePlugin2 = define({
|
|
|
198
196
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
199
197
|
const client = yield* HttpClient.HttpClient;
|
|
200
198
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
201
|
-
const config = yield*
|
|
202
|
-
const discovery = yield*
|
|
203
|
-
const skills = yield*
|
|
204
|
-
const cache = yield*
|
|
199
|
+
const config = yield* Service69;
|
|
200
|
+
const discovery = yield* Service41;
|
|
201
|
+
const skills = yield* Service46;
|
|
202
|
+
const cache = yield* Service90;
|
|
205
203
|
const scope = yield* Scope.Scope;
|
|
206
|
-
const settings = yield* Options3;
|
|
207
204
|
const loading = Semaphore.makeUnsafe(1);
|
|
208
|
-
let snapshot = { remote: undefined, connection: undefined, organization: undefined
|
|
205
|
+
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
209
206
|
let instructions = [];
|
|
210
207
|
let librarySkills = { owner: "", items: [] };
|
|
211
208
|
const owner = (from) => `${key3(from.connection) ?? ""}:${from.organization ?? ""}`;
|
|
@@ -216,7 +213,7 @@ var OpencodePlugin2 = define({
|
|
|
216
213
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
217
214
|
if (!connection) {
|
|
218
215
|
reported = undefined;
|
|
219
|
-
return {
|
|
216
|
+
return { remote: undefined, connection, organization: undefined };
|
|
220
217
|
}
|
|
221
218
|
const status = (status) => {
|
|
222
219
|
reported = status;
|
|
@@ -224,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
224
221
|
};
|
|
225
222
|
return yield* ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((credential) => {
|
|
226
223
|
if (!credential || credential.type === "external")
|
|
227
|
-
return Effect.succeed({ remote: undefined, connection, organization: undefined
|
|
224
|
+
return Effect.succeed({ remote: undefined, connection, organization: undefined });
|
|
228
225
|
return cache.get({
|
|
229
226
|
key: `opencode-console:${workspaceKey(connection, credential)}`,
|
|
230
227
|
interval: maxAge,
|
|
@@ -232,27 +229,25 @@ var OpencodePlugin2 = define({
|
|
|
232
229
|
}).pipe(Effect.flatMap((result) => ("failed" in result) ? Effect.fail(result.failed) : Effect.succeed(result.remote)), Effect.map((remote) => ({
|
|
233
230
|
remote,
|
|
234
231
|
connection,
|
|
235
|
-
organization: organizationName(credential)
|
|
236
|
-
access: accessFingerprint(credential)
|
|
232
|
+
organization: organizationName(credential)
|
|
237
233
|
})));
|
|
238
|
-
}), Effect.tap(() => status(undefined)), Effect.
|
|
234
|
+
}), Effect.tap(() => status(undefined)), Effect.catch((cause) => Effect.gen(function* () {
|
|
239
235
|
const next = connectionStatus(cause);
|
|
240
236
|
if (next)
|
|
241
237
|
yield* status(next);
|
|
242
238
|
yield* Effect.logWarning("failed to load OpenCode provider config", { cause });
|
|
243
|
-
return {
|
|
239
|
+
return key3(connection) === key3(snapshot.connection) ? { remote: snapshot.remote, connection, organization: snapshot.organization } : { remote: undefined, connection, organization: undefined };
|
|
244
240
|
})));
|
|
245
241
|
});
|
|
246
|
-
const fallback = (connection) => key3(connection) === key3(snapshot.connection) ? { ...snapshot, connection } : { remote: undefined, connection, organization: undefined, access: undefined };
|
|
247
242
|
let integrated;
|
|
248
243
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
249
|
-
yield* config.integration?.(
|
|
250
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
244
|
+
yield* config.integration?.(ID16.make("opencode"), document) ?? Effect.void;
|
|
245
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID16.make("opencode"));
|
|
251
246
|
});
|
|
252
247
|
const publish = Effect.fnUntraced(function* (next) {
|
|
253
|
-
const document = next.remote && next.connection &&
|
|
254
|
-
integrationID:
|
|
255
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
248
|
+
const document = next.remote && next.connection && make32({
|
|
249
|
+
integrationID: ID16.make("opencode"),
|
|
250
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID17.make(next.connection.id) } : next.connection,
|
|
256
251
|
organization: next.organization,
|
|
257
252
|
info: next.remote
|
|
258
253
|
});
|
|
@@ -303,7 +298,7 @@ var OpencodePlugin2 = define({
|
|
|
303
298
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
304
299
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
305
300
|
const server = yield* normalizeServer(server2(credential));
|
|
306
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
301
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input16)({
|
|
307
302
|
query: input.query,
|
|
308
303
|
providerID
|
|
309
304
|
}));
|
|
@@ -324,15 +319,14 @@ var OpencodePlugin2 = define({
|
|
|
324
319
|
editor.method.update(oauth(http));
|
|
325
320
|
editor.method.update({ integrationID: "opencode", method: { type: "key", label: "API key (service account)" } });
|
|
326
321
|
});
|
|
327
|
-
|
|
328
|
-
snapshot = initial._tag === "Loaded" ? initial.next : fallback(initial.connection);
|
|
322
|
+
snapshot = yield* load();
|
|
329
323
|
yield* publish(snapshot);
|
|
330
324
|
yield* ctx.provider.transform((providers) => {
|
|
331
325
|
if (integrated)
|
|
332
326
|
integrate2(providers, integrated);
|
|
333
327
|
});
|
|
334
328
|
yield* ctx.provider.transform((providers) => {
|
|
335
|
-
const item = providers.get(
|
|
329
|
+
const item = providers.get(ID15.opencode);
|
|
336
330
|
if (!item)
|
|
337
331
|
return;
|
|
338
332
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -344,7 +338,7 @@ var OpencodePlugin2 = define({
|
|
|
344
338
|
});
|
|
345
339
|
});
|
|
346
340
|
yield* ctx.model.transform((models) => {
|
|
347
|
-
const item = models.provider.get(
|
|
341
|
+
const item = models.provider.get(ID15.opencode);
|
|
348
342
|
if (!item)
|
|
349
343
|
return;
|
|
350
344
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -359,7 +353,7 @@ var OpencodePlugin2 = define({
|
|
|
359
353
|
}
|
|
360
354
|
});
|
|
361
355
|
yield* ctx.websearch.transform((editor) => {
|
|
362
|
-
const provider =
|
|
356
|
+
const provider = ID9.make("opencode");
|
|
363
357
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
364
358
|
editor.add(search(provider, snapshot.connection));
|
|
365
359
|
});
|
|
@@ -375,20 +369,12 @@ var OpencodePlugin2 = define({
|
|
|
375
369
|
yield* guard(next);
|
|
376
370
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload(), ctx.mcp.reload(), discovery.reload(), skills.reload()], { concurrency: 5, discard: true });
|
|
377
371
|
});
|
|
378
|
-
const
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
const active = yield* ctx.integration.connection.active("opencode");
|
|
385
|
-
if (key3(loaded) !== key3(active))
|
|
386
|
-
return;
|
|
387
|
-
const next = outcome._tag === "Loaded" ? outcome.next : fallback(outcome.connection);
|
|
388
|
-
if (!Equal.equals(snapshot, next))
|
|
389
|
-
yield* apply(next);
|
|
390
|
-
}));
|
|
391
|
-
});
|
|
372
|
+
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
373
|
+
const check = (maxAge) => loading.withPermit(Effect.gen(function* () {
|
|
374
|
+
const next = yield* load(maxAge);
|
|
375
|
+
if (!Equal.equals(snapshot, next))
|
|
376
|
+
yield* apply(next);
|
|
377
|
+
}));
|
|
392
378
|
const explain = (event) => Effect.gen(function* () {
|
|
393
379
|
if (event.response.status !== 401 && event.response.status !== 403)
|
|
394
380
|
return;
|
|
@@ -406,19 +392,18 @@ var OpencodePlugin2 = define({
|
|
|
406
392
|
});
|
|
407
393
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
408
394
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
409
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
395
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID15.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
410
396
|
});
|
|
411
397
|
yield* guard(snapshot);
|
|
412
|
-
yield* ctx.session.hook("prompt", () => check(Duration.minutes(1), Duration.seconds(3)));
|
|
413
398
|
const polling = yield* FiberHandle.make();
|
|
414
399
|
const poll = Effect.fnUntraced(function* () {
|
|
415
|
-
if (!snapshot.connection
|
|
400
|
+
if (!snapshot.connection)
|
|
416
401
|
return yield* FiberHandle.clear(polling);
|
|
417
402
|
yield* FiberHandle.run(polling, Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever), {
|
|
418
403
|
onlyIfMissing: true
|
|
419
404
|
});
|
|
420
405
|
});
|
|
421
|
-
yield* onSwitch2("opencode",
|
|
406
|
+
yield* onSwitch2("opencode", refresh().pipe(Effect.andThen(poll())));
|
|
422
407
|
yield* poll();
|
|
423
408
|
})
|
|
424
409
|
});
|
|
@@ -441,7 +426,7 @@ function fetchConfig(http, value) {
|
|
|
441
426
|
}
|
|
442
427
|
const body = yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap((ok) => ok.json));
|
|
443
428
|
return yield* Schema.decodeUnknownEffect(ConsoleConfig)(body);
|
|
444
|
-
})), Effect.scoped
|
|
429
|
+
})), Effect.scoped);
|
|
445
430
|
}
|
|
446
431
|
function ssoUrl(server, connectionID) {
|
|
447
432
|
return normalizeServer(server).pipe(Effect.map((base) => {
|
|
@@ -464,13 +449,9 @@ function workspaceKey(connection, credential) {
|
|
|
464
449
|
return JSON.stringify([
|
|
465
450
|
server2(credential),
|
|
466
451
|
key3(connection),
|
|
467
|
-
credential.metadata?.orgID
|
|
468
|
-
accessFingerprint(credential)
|
|
452
|
+
credential.metadata?.orgID
|
|
469
453
|
]);
|
|
470
454
|
}
|
|
471
|
-
function accessFingerprint(credential) {
|
|
472
|
-
return credential.type === "key" ? fingerprint2(credential.key) : undefined;
|
|
473
|
-
}
|
|
474
455
|
function organizationName(credential) {
|
|
475
456
|
return typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined;
|
|
476
457
|
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./filesystem-y2jyke39.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./filesystem-yqhvz5dd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service21
|
|
12
|
+
} from "./filesystem-c1edwwnv.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-tvtps2q9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin24
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin24 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service69;
|
|
34
|
+
const location = yield* Service86;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service21;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin27 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin24, exports_worktree };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./filesystem-v7rmebyy.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service86,
|
|
11
11
|
node89
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-y2jyke39.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service73,
|
|
20
|
+
node75,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./filesystem-skbh59st.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node74,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -50,8 +50,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
54
|
+
var ID14 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info22 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
78
|
-
const bus = yield*
|
|
79
|
-
const location = yield*
|
|
76
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service73;
|
|
78
|
+
const bus = yield* Service89;
|
|
79
|
+
const location = yield* Service86;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID15.opencode, ID15.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
227
227
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
yield* bus.subscribe(
|
|
231
|
-
return
|
|
230
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
+
return Service72.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node74 = makeLocationNode({ service: Service72, layer, deps: [node75, node92, node89] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID15.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service72, node74, supportsText2, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID16,
|
|
7
|
+
Service74,
|
|
8
|
+
node76
|
|
9
|
+
} from "./filesystem-3ag897fb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
17
|
Info: () => Info4,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service18,
|
|
19
19
|
UnavailableError: () => UnavailableError2,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
21
|
layer: () => layer10,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node20
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -36,13 +36,13 @@ class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableErr
|
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service18 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var layer10 = Layer.effect(
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service74;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID16.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
48
|
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
|
|
@@ -66,12 +66,12 @@ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service18.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
71
|
+
var node20 = makeLocationNode({
|
|
72
|
+
service: Service18,
|
|
73
73
|
layer: layer10,
|
|
74
|
-
deps: [
|
|
74
|
+
deps: [node76, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -130,4 +130,4 @@ function meter(value) {
|
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export { Info4, UnavailableError2,
|
|
133
|
+
export { Info4, UnavailableError2, Service18, layer10, node20, exports_usage_limits };
|