@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
|
-
node96
|
|
4
|
-
} from "./event-logger-deq7zezz.js";
|
|
5
|
-
import {
|
|
6
|
-
Service91,
|
|
7
3
|
node95
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./filesystem-1na8pg7t.js";
|
|
5
|
+
import {
|
|
6
|
+
Service89,
|
|
7
|
+
node92
|
|
8
|
+
} from "./filesystem-v7rmebyy.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID17,
|
|
26
|
+
Info: () => Info26,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service75,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node77
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,26 +37,26 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID17 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event17 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID17,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service92).db;
|
|
59
|
-
const bus = yield*
|
|
59
|
+
const bus = yield* Service89;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
61
61
|
const scope = yield* Effect.scope;
|
|
62
62
|
const pending = new Map;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info26({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -83,7 +83,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
83
83
|
yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, id)).run();
|
|
84
84
|
});
|
|
85
85
|
const logFailure = (message, fields) => (effect) => effect.pipe(Effect.onError((cause) => Effect.logError(message, { ...fields, errors: from2(Cause.squash(cause)) })), Effect.orDie);
|
|
86
|
-
return
|
|
86
|
+
return Service75.of({
|
|
87
87
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
88
88
|
const current = pending.get(id);
|
|
89
89
|
if (current)
|
|
@@ -99,8 +99,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
99
99
|
return row ? stored(row) : undefined;
|
|
100
100
|
}),
|
|
101
101
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
102
|
-
const credential = new
|
|
103
|
-
id: input.id ??
|
|
102
|
+
const credential = new Info26({
|
|
103
|
+
id: input.id ?? ID17.create(),
|
|
104
104
|
integrationID: input.integrationID,
|
|
105
105
|
label: input.label ?? "default",
|
|
106
106
|
value: input.value
|
|
@@ -130,9 +130,9 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
130
130
|
type: credential.value.type,
|
|
131
131
|
active: activated
|
|
132
132
|
});
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
134
134
|
if (activated)
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
136
136
|
return credential;
|
|
137
137
|
}),
|
|
138
138
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
148
148
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
149
149
|
if (integrationID) {
|
|
150
150
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
151
|
-
yield* bus.publish(
|
|
151
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
152
152
|
}
|
|
153
153
|
}),
|
|
154
154
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
173
173
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
174
174
|
});
|
|
175
175
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
177
177
|
}),
|
|
178
178
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
179
179
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -201,12 +201,12 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
201
201
|
active: removed.switched,
|
|
202
202
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
203
203
|
});
|
|
204
|
-
yield* bus.publish(
|
|
204
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
205
205
|
if (removed.switched)
|
|
206
|
-
yield* bus.publish(
|
|
206
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
207
207
|
})
|
|
208
208
|
});
|
|
209
209
|
}));
|
|
210
|
-
var
|
|
210
|
+
var node77 = makeGlobalNode({ service: Service75, layer, deps: [node95, node92, EffectFlock.node] });
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { ID17, OAuth3, Key4, External2, Value2, Event17, Info26, Service75, node77, exports_credential };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node84
|
|
4
|
+
} from "./filesystem-nqy8vhw1.js";
|
|
5
5
|
import {
|
|
6
6
|
invocation2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node62
|
|
9
|
+
} from "./filesystem-xep6jqgx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service17,
|
|
12
|
+
node19
|
|
13
|
+
} from "./filesystem-cdnzabwv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service78,
|
|
16
16
|
readOptionalText2,
|
|
17
17
|
syncTextBom2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node80
|
|
19
|
+
} from "./filesystem-n9vcj540.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service16,
|
|
22
|
+
node18
|
|
23
|
+
} from "./filesystem-s6v5r3nd.js";
|
|
24
24
|
import {
|
|
25
25
|
fileDiff2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-6prwharc.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/file-write.ts
|
|
32
32
|
var exports_file_write = {};
|
|
33
33
|
__export(exports_file_write, {
|
|
34
34
|
FileWrite: () => exports_file_write,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service15,
|
|
36
|
+
node: () => node17
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Bom } from "@opencode/util/bom";
|
|
40
40
|
import { Context, Effect, Layer } from "effect";
|
|
41
|
-
class
|
|
41
|
+
class Service15 extends Context.Service()("@opencode/FileWrite") {
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const access = yield*
|
|
45
|
-
const environment = yield*
|
|
46
|
-
const fileMutation = yield*
|
|
47
|
-
const formatter = yield*
|
|
48
|
-
const permission = yield*
|
|
43
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
44
|
+
const access = yield* Service17;
|
|
45
|
+
const environment = yield* Service82;
|
|
46
|
+
const fileMutation = yield* Service78;
|
|
47
|
+
const formatter = yield* Service16;
|
|
48
|
+
const permission = yield* Service61;
|
|
49
49
|
const target = Effect.fn("FileWrite.target")(function* (file, context) {
|
|
50
50
|
const target = yield* access.resolve({ path: file, kind: "file" });
|
|
51
51
|
yield* access.authorizeExternal([target], context);
|
|
@@ -75,12 +75,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
75
75
|
yield* authorize(resolved, context, fileDiff2(resolved.resource, current?.text ?? "", Bom.split(input.content).text, current ? "modified" : "added"));
|
|
76
76
|
return yield* commit(resolved, input.content);
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service15.of({ target, authorize, commit, write });
|
|
79
79
|
}));
|
|
80
|
-
var
|
|
81
|
-
service:
|
|
80
|
+
var node17 = makeLocationNode({
|
|
81
|
+
service: Service15,
|
|
82
82
|
layer,
|
|
83
|
-
deps: [
|
|
83
|
+
deps: [node84, node19, node80, node18, node62]
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service15, node17, exports_file_write };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-skbh59st.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID14,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-bh17vazq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load4
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect, Option, Schema } from "effect";
|
|
25
25
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID15.make("modal");
|
|
27
27
|
var ReasoningOption = Schema.Struct({
|
|
28
28
|
type: Schema.Literal("effort"),
|
|
29
29
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,22 +54,22 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
});
|
|
55
55
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function get2(http, baseURL, apiKey, existing) {
|
|
58
|
+
return load4(http, baseURL, apiKey).pipe(Effect.map((remote) => derive2(baseURL, remote, existing)));
|
|
59
59
|
}
|
|
60
|
-
var
|
|
60
|
+
var load4 = Effect.fn("ModalModels.load")(function* (http, baseURL, apiKey) {
|
|
61
61
|
const response = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(`${baseURL.replace(/\/+$/, "")}/models`).pipe(HttpClientRequest.bearerToken(apiKey))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Response)), Effect.timeout("3 seconds"));
|
|
62
62
|
return response.data.flatMap((raw) => {
|
|
63
63
|
const model = Option.getOrUndefined(decodeModel(raw));
|
|
64
64
|
return model ? [model] : [];
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
function
|
|
67
|
+
function derive2(baseURL, remote, existing) {
|
|
68
68
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
69
69
|
const result = new Map;
|
|
70
70
|
for (const item of remote) {
|
|
71
|
-
const template = templates.get(
|
|
72
|
-
const id =
|
|
71
|
+
const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
72
|
+
const id = ID14.make(item.id);
|
|
73
73
|
result.set(id, build(id, item, baseURL, template));
|
|
74
74
|
}
|
|
75
75
|
return result;
|
|
@@ -87,10 +87,10 @@ function limit(value, fallback) {
|
|
|
87
87
|
function build(id, remote, baseURL, previous) {
|
|
88
88
|
const cost = previous?.cost[0];
|
|
89
89
|
const input = previous?.limit.input;
|
|
90
|
-
return
|
|
91
|
-
...
|
|
90
|
+
return Info22.make({
|
|
91
|
+
...Info22.default(providerID, id),
|
|
92
92
|
id,
|
|
93
|
-
modelID:
|
|
93
|
+
modelID: ID14.make(remote.id),
|
|
94
94
|
providerID,
|
|
95
95
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
96
96
|
family: previous?.family,
|
|
@@ -137,4 +137,4 @@ function variants(remote) {
|
|
|
137
137
|
return [...seen.values()];
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { get2, load4, derive2, exports_models };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./filesystem-v7rmebyy.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service42,
|
|
17
|
+
node45
|
|
18
|
+
} from "./filesystem-8bfbfs0m.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event7,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info11,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service40,
|
|
36
|
+
Source: () => Source3,
|
|
37
|
+
node: () => node43
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source3 = Reference.Source;
|
|
47
|
+
var Info11 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service40 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
|
-
const bus = yield*
|
|
54
|
-
const cache = yield*
|
|
53
|
+
const bus = yield* Service89;
|
|
54
|
+
const cache = yield* Service42;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info11.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info11.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service40.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node43 = makeLocationNode({
|
|
117
|
+
service: Service40,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node92, node45]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info11, Service40, node43, exports_reference2, Event7 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/tools/result.ts
|
|
12
12
|
var exports_result = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z1y40jkr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make15 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make16 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make15();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make15, LMStudioPlugin2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-1na8pg7t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./filesystem-v7rmebyy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./filesystem-9yqjp86x.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-cvwe7hsa.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service62
|
|
29
|
+
} from "./filesystem-hsgagtv4.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service57
|
|
33
|
+
} from "./filesystem-882t1npe.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service55
|
|
36
|
+
} from "./filesystem-g9t47zy8.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./filesystem-y9yxqpkb.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./filesystem-ge2z13zp.js";
|
|
45
45
|
import {
|
|
46
46
|
start4
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./filesystem-rdn5fp89.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./filesystem-nqx1ern4.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
@@ -62,18 +62,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
var make23 = Effect.fn("Session.make")(function* () {
|
|
65
|
-
const bus = yield*
|
|
65
|
+
const bus = yield* Service89;
|
|
66
66
|
const database = yield* Service92;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service62;
|
|
68
|
+
const instances = yield* Service58;
|
|
69
|
+
const execution = yield* Service55;
|
|
70
|
+
const admission = yield* Service57;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError9({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -164,7 +164,7 @@ var make23 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service58, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service58, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service58, instances), Effect.provideService(Service92, database), Effect.provideService(Service89, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service58, instances), Effect.provideService(Service89, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|