@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,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node67
|
|
5
|
+
} from "./filesystem-qa3zm6vn.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-ph2hg484.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node70
|
|
12
|
+
} from "./filesystem-0gwbn6a0.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-xep6jqgx.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-dgb83nsm.js";
|
|
19
19
|
import {
|
|
20
20
|
Error2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-nkphb79f.js";
|
|
22
22
|
import {
|
|
23
23
|
get5
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service30,
|
|
27
|
+
node33
|
|
28
|
+
} from "./filesystem-0ezh5f4m.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make25
|
|
31
|
+
} from "./filesystem-wvr8xscb.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-921qrkta.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service29,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
46
|
layer: () => layer12,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node32,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -81,7 +81,7 @@ var baseTranscript2 = (input) => {
|
|
|
81
81
|
return {
|
|
82
82
|
providerMetadataKey,
|
|
83
83
|
system: [
|
|
84
|
-
SystemPart.make(input.agent.system ? input.agent.system :
|
|
84
|
+
SystemPart.make(input.agent.system ? input.agent.system : make25(input.tools.definitions.map((tool) => tool.name))),
|
|
85
85
|
{
|
|
86
86
|
...SystemPart.make(join2(input.initial)),
|
|
87
87
|
metadata: { experimental: { instructions: input.initial } }
|
|
@@ -187,11 +187,11 @@ var boundImages2 = (messages) => {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
class
|
|
190
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
191
191
|
}
|
|
192
|
-
var layer12 = Layer.effect(
|
|
193
|
-
const hooks = yield*
|
|
194
|
-
const transport = yield*
|
|
192
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
193
|
+
const hooks = yield* Service68;
|
|
194
|
+
const transport = yield* Service30;
|
|
195
195
|
const app = yield* Metadata2;
|
|
196
196
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
197
197
|
const session = input.session;
|
|
@@ -286,17 +286,17 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
286
286
|
};
|
|
287
287
|
});
|
|
288
288
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
289
|
-
return
|
|
289
|
+
return Service29.of({
|
|
290
290
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
291
291
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
292
292
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
293
293
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
294
294
|
});
|
|
295
295
|
}));
|
|
296
|
-
var
|
|
297
|
-
service:
|
|
296
|
+
var node32 = makeLocationNode({
|
|
297
|
+
service: Service29,
|
|
298
298
|
layer: layer12,
|
|
299
|
-
deps: [
|
|
299
|
+
deps: [node70, node33, node67]
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
302
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service29, layer12, node32, exports_model_request };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-qa3zm6vn.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
register2
|
|
9
|
+
} from "./filesystem-xjr6c8m4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/websearch/parallel.ts
|
|
15
15
|
var exports_parallel = {};
|
|
16
16
|
__export(exports_parallel, {
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin3,
|
|
18
18
|
WebSearchParallel: () => exports_parallel,
|
|
19
|
-
endpoint: () =>
|
|
19
|
+
endpoint: () => endpoint2
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Schema } from "effect";
|
|
23
23
|
import { HttpClient } from "effect/http";
|
|
24
|
-
var
|
|
24
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
25
25
|
var McpInput = Schema.Struct({
|
|
26
26
|
objective: Schema.String,
|
|
27
27
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -50,16 +50,16 @@ var McpOutput = Schema.Struct({
|
|
|
50
50
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
51
51
|
structuredContent: SearchResponse
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Plugin3 = define({
|
|
54
54
|
id: "opencode.websearch.parallel",
|
|
55
55
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
56
56
|
const http = yield* HttpClient.HttpClient;
|
|
57
|
-
yield*
|
|
57
|
+
yield* register2(ctx, {
|
|
58
58
|
id: "parallel",
|
|
59
59
|
name: "Parallel",
|
|
60
60
|
env: "PARALLEL_API_KEY",
|
|
61
61
|
execute: (input, credential) => Effect.gen(function* () {
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
63
63
|
objective: input.query,
|
|
64
64
|
search_queries: [input.query]
|
|
65
65
|
}, {
|
|
@@ -82,4 +82,4 @@ var Plugin43 = define({
|
|
|
82
82
|
})
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { endpoint2, Plugin3, exports_parallel };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service49,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node51
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service49 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service49, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service49.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service53, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node51 = makeGlobalNode({ service: Service49, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service49, node51, exports_environment };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./filesystem-xep6jqgx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service44
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-qwz12hkq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/codemode/fetch.ts
|
|
12
12
|
var exports_fetch = {};
|
|
@@ -28,7 +28,7 @@ var fetch = (input, init = {}) => Effect.gen(function* () {
|
|
|
28
28
|
if (parsed?.username || parsed?.password)
|
|
29
29
|
return yield* Effect.fail(new TypeError("fetch cannot be used with credentials in the URL."));
|
|
30
30
|
const execution = yield* Service44;
|
|
31
|
-
const permission = yield*
|
|
31
|
+
const permission = yield* Service61;
|
|
32
32
|
const source = { type: "tool", messageID: execution.messageID, id: execution.id };
|
|
33
33
|
yield* permission.assert({
|
|
34
34
|
action: "webfetch",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-tr8x705m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/fork.ts
|
|
9
9
|
var exports_fork = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-8zv0xmg5.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-wryyvkqn.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service69
|
|
3
|
+
} from "./filesystem-yqhvz5dd.js";
|
|
4
|
+
import {
|
|
5
|
+
Service36
|
|
6
|
+
} from "./filesystem-ck7e0r21.js";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
|
+
|
|
11
|
+
// src/config/plugin/mcp.ts
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin27,
|
|
16
|
+
register: () => register8
|
|
17
|
+
});
|
|
18
|
+
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
|
+
import { Effect, Stream } from "effect";
|
|
20
|
+
var Plugin27 = define({
|
|
21
|
+
id: "opencode.config.mcp",
|
|
22
|
+
effect: Effect.fn(function* (ctx) {
|
|
23
|
+
yield* register8(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
+
const config = yield* Service69;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
|
+
const loaded = { entries: [] };
|
|
30
|
+
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
|
+
loaded.entries = yield* config.entries();
|
|
32
|
+
yield* mcp.transform((editor) => {
|
|
33
|
+
const documents = loaded.entries.filter((entry) => entry.type === "document");
|
|
34
|
+
const timeout = Object.assign({}, ...documents.flatMap((entry) => entry.info.mcp?.timeout ? [entry.info.mcp.timeout] : []));
|
|
35
|
+
const servers = new Map;
|
|
36
|
+
for (const document of documents) {
|
|
37
|
+
for (const [name, server] of Object.entries(document.info.mcp?.servers ?? {})) {
|
|
38
|
+
servers.set(name, server);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
for (const [name, server] of servers) {
|
|
42
|
+
if (editor.get(name))
|
|
43
|
+
continue;
|
|
44
|
+
editor.set(name, { ...server, timeout: { ...timeout, ...server.timeout } });
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export { Plugin27, register8, exports_mcp2 };
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2,
|
|
6
6
|
exists2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-svcy3p9a.js";
|
|
8
8
|
import {
|
|
9
9
|
execDefaults2,
|
|
10
10
|
makeFiles2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-rgc9cx3e.js";
|
|
12
12
|
import {
|
|
13
13
|
makeLocalDriver2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-cwrgdav8.js";
|
|
15
15
|
import {
|
|
16
16
|
makeMemoryDriver2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-twssxy5n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node84
|
|
21
|
+
} from "./filesystem-nqy8vhw1.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/environment/index.ts
|
|
27
27
|
var exports_environment2 = {};
|
|
@@ -29,14 +29,14 @@ __export(exports_environment2, {
|
|
|
29
29
|
Environment: () => exports_environment2,
|
|
30
30
|
Failed: () => Failed2,
|
|
31
31
|
NotFound: () => NotFound3,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service82,
|
|
33
33
|
WrongKind: () => WrongKind2,
|
|
34
34
|
execDefaults: () => execDefaults2,
|
|
35
35
|
exists: () => exists2,
|
|
36
36
|
makeFiles: () => makeFiles2,
|
|
37
37
|
makeLocalDriver: () => makeLocalDriver2,
|
|
38
38
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node84,
|
|
40
40
|
typeFollowing: () => typeFollowing2
|
|
41
41
|
});
|
|
42
42
|
export { exports_environment2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node74
|
|
8
|
+
} from "./filesystem-bh17vazq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node68
|
|
12
|
+
} from "./filesystem-jz2wm8q8.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
24
|
-
InvalidRequestError: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service22,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer11,
|
|
32
|
+
node: () => node25
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service22 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer11 = Layer.effect(Service22, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service66;
|
|
89
|
+
const models = yield* Service72;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer20 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer20 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service22.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node25 = makeLocationNode({
|
|
219
|
+
service: Service22,
|
|
220
|
+
layer: layer11,
|
|
221
|
+
deps: [node68, node74, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service22, layer11, node25, exports_generate };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/usage.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
SessionUsage: () =>
|
|
6
|
+
var exports_usage2 = {};
|
|
7
|
+
__export(exports_usage2, {
|
|
8
|
+
SessionUsage: () => exports_usage2,
|
|
9
9
|
add: () => add2,
|
|
10
10
|
calculateCost: () => calculateCost2,
|
|
11
11
|
record: () => record2,
|
|
@@ -51,4 +51,4 @@ var add2 = (a, b) => ({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
export { tokens2, calculateCost2, record2, add2,
|
|
54
|
+
export { tokens2, calculateCost2, record2, add2, exports_usage2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./filesystem-nqy8vhw1.js";
|
|
4
4
|
import {
|
|
5
5
|
resolvePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-cdnzabwv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/stdio.ts
|
|
12
12
|
var exports_stdio = {};
|
|
@@ -26,7 +26,7 @@ var EXIT_WAIT = Duration.seconds(1);
|
|
|
26
26
|
var STDERR_TAIL = 1000;
|
|
27
27
|
var resolveCwd2 = (directory, cwd) => cwd ? resolvePath2(directory, cwd) : directory;
|
|
28
28
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
29
|
-
const environment = yield*
|
|
29
|
+
const environment = yield* Service82;
|
|
30
30
|
const scope = yield* Effect.scope;
|
|
31
31
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
32
32
|
const state = { phase: "ready" };
|