@opencode/core 0.0.0-dev-686 → 0.0.0-dev-703
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +248 -248
- package/dist/bus.js +80 -80
- package/dist/chunks/{schedule-b9kbjv1k.js → flag-023w48re.js} +15 -15
- package/dist/chunks/{schedule-chkbmpvn.js → flag-02d6bhe0.js} +15 -15
- package/dist/chunks/{schedule-py3q755f.js → flag-0bc8wfaz.js} +9 -9
- package/dist/chunks/{schedule-p3gbw4t8.js → flag-0e11sktb.js} +23 -23
- package/dist/chunks/{schedule-mgc72pkg.js → flag-0gfx6v9p.js} +18 -18
- package/dist/chunks/{schedule-15x645cy.js → flag-0j40d8rc.js} +10 -10
- package/dist/chunks/{schedule-0j7gp832.js → flag-0j7gp832.js} +1 -1
- package/dist/chunks/{schedule-zjsed7de.js → flag-0kqs6rny.js} +33 -33
- package/dist/chunks/{schedule-0ma9gw4f.js → flag-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schedule-2m2gb2s4.js → flag-0rarzwaj.js} +8 -8
- package/dist/chunks/{schedule-a19p7gfw.js → flag-0yn32hjb.js} +6 -6
- package/dist/chunks/{schedule-en84nz8k.js → flag-14xds8kf.js} +45 -45
- package/dist/chunks/{schedule-1ez8xfxa.js → flag-15vm986v.js} +35 -35
- package/dist/chunks/{schedule-rsqa8gar.js → flag-16ejsnhh.js} +23 -23
- package/dist/chunks/{schedule-1aqsckx4.js → flag-1aqsckx4.js} +1 -1
- package/dist/chunks/{schedule-7a5h224a.js → flag-1jh9wfpv.js} +5 -5
- package/dist/chunks/{schedule-sbz71ybr.js → flag-1scgcwfj.js} +3 -3
- package/dist/chunks/{schedule-1x2knyw4.js → flag-1x2knyw4.js} +1 -1
- package/dist/chunks/{schedule-wr3re1en.js → flag-1yped5qa.js} +4 -4
- package/dist/chunks/{schedule-zt9fsb3z.js → flag-21mfesqj.js} +8 -8
- package/dist/chunks/{schedule-t8w18rpb.js → flag-27hbt5ky.js} +12 -12
- package/dist/chunks/{schedule-1ep2p91f.js → flag-27w5k9zf.js} +2 -2
- package/dist/chunks/{schedule-2fmed49y.js → flag-2848wdzx.js} +10 -10
- package/dist/chunks/{schedule-nsszx1af.js → flag-2az7p6sc.js} +16 -16
- package/dist/chunks/{schedule-ysbpyctd.js → flag-2dzq860g.js} +6 -6
- package/dist/chunks/{schedule-wnhgecwx.js → flag-2fc7eemy.js} +14 -3
- package/dist/chunks/{schedule-qvcacynk.js → flag-2ftyd5qw.js} +26 -26
- package/dist/chunks/{schedule-w79nt68w.js → flag-2kg89srt.js} +4 -4
- package/dist/chunks/{schedule-mfyy0y59.js → flag-2vbyz3ve.js} +20 -20
- package/dist/chunks/{schedule-38aws4xb.js → flag-38aws4xb.js} +1 -1
- package/dist/chunks/{schedule-ayjs7tqn.js → flag-3cbjf1nt.js} +2 -2
- package/dist/chunks/{schedule-rcbjwvze.js → flag-3gv0spa2.js} +4 -4
- package/dist/chunks/{schedule-3hepkmqq.js → flag-3hepkmqq.js} +1 -1
- package/dist/chunks/{schedule-0q5tt568.js → flag-3hk9adsa.js} +13 -13
- package/dist/chunks/{schedule-3nnrz6f6.js → flag-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schedule-d0b7cqeb.js → flag-3ppfbg49.js} +11 -11
- package/dist/chunks/{schedule-3qgwywyc.js → flag-3qgwywyc.js} +1 -1
- package/dist/chunks/{schedule-40y6dtc2.js → flag-40y6dtc2.js} +1 -1
- package/dist/chunks/{schedule-sanmc49g.js → flag-41vagnw5.js} +21 -21
- package/dist/chunks/{schedule-b3qxr9rm.js → flag-436seg2v.js} +1 -1
- package/dist/chunks/{schedule-vjfmj856.js → flag-43xtk0qx.js} +12 -12
- package/dist/chunks/{schedule-5qff6t3n.js → flag-44ewmqts.js} +14 -14
- package/dist/chunks/{schedule-yf18qbjx.js → flag-4aetv9s2.js} +12 -12
- package/dist/chunks/{schedule-4dx1dgte.js → flag-4dx1dgte.js} +1 -1
- package/dist/chunks/{schedule-4f25tdd0.js → flag-4f25tdd0.js} +1 -1
- package/dist/chunks/{schedule-53nv8vz9.js → flag-4k3ewznj.js} +8 -8
- package/dist/chunks/{schedule-kg6jt9r5.js → flag-4pqak4bs.js} +5 -5
- package/dist/chunks/{schedule-4pyp9zr9.js → flag-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schedule-msd2a3qm.js → flag-4tnarq1t.js} +6 -6
- package/dist/chunks/{schedule-9wd3bxs7.js → flag-4tvfx95k.js} +4 -4
- package/dist/chunks/{schedule-4v008n1t.js → flag-4v008n1t.js} +1 -1
- package/dist/chunks/{schedule-4ter8nn5.js → flag-4x7taxmj.js} +8 -8
- package/dist/chunks/{schedule-svg88tjp.js → flag-5030jfk7.js} +33 -33
- package/dist/chunks/{schedule-1yps095g.js → flag-56jfvdyx.js} +24 -24
- package/dist/chunks/{schedule-9xktb6fm.js → flag-593ra3z7.js} +7 -7
- package/dist/chunks/{schedule-jm5my9ft.js → flag-59cs8yn3.js} +41 -41
- package/dist/chunks/{schedule-1x38pq2b.js → flag-5b42kqag.js} +19 -19
- package/dist/chunks/{schedule-9e4qax69.js → flag-5h354152.js} +11 -11
- package/dist/chunks/{schedule-djejg4dy.js → flag-5jve1gyn.js} +5 -5
- package/dist/chunks/{schedule-5m9w47nd.js → flag-5m9w47nd.js} +1 -1
- package/dist/chunks/{schedule-md69vhb1.js → flag-5nbmkez3.js} +16 -16
- package/dist/chunks/{schedule-5whx36p1.js → flag-5whx36p1.js} +1 -1
- package/dist/chunks/{schedule-8s2e02hj.js → flag-5z69tzgz.js} +28 -28
- package/dist/chunks/{schedule-mvzskzz7.js → flag-6079vd0y.js} +1 -1
- package/dist/chunks/{schedule-r79t1sbh.js → flag-643a13m8.js} +22 -22
- package/dist/chunks/{schedule-x4x8y5hq.js → flag-66qrnzd4.js} +4 -4
- package/dist/chunks/{schedule-z5cfjdzk.js → flag-67mcrh1f.js} +17 -17
- package/dist/chunks/flag-6bshxcsx.js +18 -0
- package/dist/chunks/{schedule-452eezw1.js → flag-6d78zjtf.js} +20 -20
- package/dist/chunks/{schedule-pty8fqd0.js → flag-6p5ysxk1.js} +24 -24
- package/dist/chunks/{schedule-kkyaqft1.js → flag-6wt6gmsj.js} +28 -28
- package/dist/chunks/{schedule-wvr8xscb.js → flag-6y2b864j.js} +4 -4
- package/dist/chunks/{schedule-4js1ps88.js → flag-71b6exvm.js} +22 -22
- package/dist/chunks/{schedule-z21zzf48.js → flag-78m7t9x5.js} +2 -2
- package/dist/chunks/{schedule-7bmhse3q.js → flag-7bmhse3q.js} +1 -1
- package/dist/chunks/{schedule-2t31j28j.js → flag-7gq44nr2.js} +20 -20
- package/dist/chunks/{schedule-xfb8s8r9.js → flag-7jmkd9gk.js} +8 -8
- package/dist/chunks/{schedule-ar5bbpfm.js → flag-7k9kz9jy.js} +28 -28
- package/dist/chunks/{schedule-6ds22w30.js → flag-7m7yw9xb.js} +11 -11
- package/dist/chunks/{schedule-5v9jrktj.js → flag-7qv3ry32.js} +17 -17
- package/dist/chunks/{schedule-7w2ypzdf.js → flag-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schedule-7weczvnd.js → flag-7weczvnd.js} +1 -1
- package/dist/chunks/{schedule-jkd5pw7e.js → flag-7y8vdrm0.js} +40 -40
- package/dist/chunks/{schedule-775hqbnd.js → flag-80mg3ag8.js} +3 -3
- package/dist/chunks/{schedule-89287pr7.js → flag-89287pr7.js} +1 -1
- package/dist/chunks/{schedule-43p0se9m.js → flag-89ypf89t.js} +43 -43
- package/dist/chunks/{schedule-8b3vzgkx.js → flag-8b3vzgkx.js} +1 -1
- package/dist/chunks/{schedule-jkx5qjva.js → flag-8ek53k77.js} +9 -9
- package/dist/chunks/{schedule-qk5sk9d1.js → flag-8hfctyyf.js} +5 -5
- package/dist/chunks/{schedule-8wtp7s3z.js → flag-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schedule-q2mt312k.js → flag-8wwdcf3x.js} +20 -20
- package/dist/chunks/{schedule-8jfteesb.js → flag-8x4qn23y.js} +20 -20
- package/dist/chunks/{schedule-rt5qjrvj.js → flag-8xz27cp9.js} +4 -4
- package/dist/chunks/{schedule-mb7mbhnz.js → flag-8z6m94af.js} +3 -3
- package/dist/chunks/{schedule-8zv0xmg5.js → flag-8zv0xmg5.js} +1 -1
- package/dist/chunks/{schedule-10w7qahk.js → flag-904twzva.js} +7 -7
- package/dist/chunks/{schedule-90zstvax.js → flag-90zstvax.js} +1 -1
- package/dist/chunks/{schedule-zyfhsknv.js → flag-963hk181.js} +9 -9
- package/dist/chunks/{schedule-vxz4qgky.js → flag-99qjshey.js} +29 -29
- package/dist/chunks/{schedule-nbdc5g9y.js → flag-9bpm0caw.js} +24 -24
- package/dist/chunks/{schedule-mzxznew9.js → flag-9dby1x0g.js} +7 -7
- package/dist/chunks/{schedule-s8n3je6h.js → flag-9kb7csvb.js} +36 -36
- package/dist/chunks/{schedule-rk3kbh2z.js → flag-9nwpctz8.js} +5 -5
- package/dist/chunks/{schedule-q76gz7re.js → flag-9t9e6z1k.js} +18 -18
- package/dist/chunks/{schedule-0vqsc841.js → flag-a81bvg07.js} +46 -46
- package/dist/chunks/{schedule-2p60zmnr.js → flag-ad21tgm2.js} +4 -4
- package/dist/chunks/{schedule-68p2mkjz.js → flag-adsyangh.js} +32 -32
- package/dist/chunks/{schedule-edgjwm5w.js → flag-ady5eesf.js} +11 -11
- package/dist/chunks/{schedule-pbhffdn8.js → flag-aj3gmhrk.js} +16 -16
- package/dist/chunks/{schedule-034tev2y.js → flag-aj7mw0zk.js} +2 -2
- package/dist/chunks/{schedule-ynk5v7hw.js → flag-atves291.js} +38 -38
- package/dist/chunks/{schedule-p0ytsbkd.js → flag-awqgm1xr.js} +5 -5
- package/dist/chunks/{schedule-jddkyyae.js → flag-b4aph2fn.js} +55 -55
- package/dist/chunks/{schedule-me215f18.js → flag-b7nkz392.js} +1 -1
- package/dist/chunks/{schedule-8sxe6kv8.js → flag-bb3mmwvh.js} +2 -2
- package/dist/chunks/{schedule-bdhd9h6e.js → flag-bdhd9h6e.js} +1 -1
- package/dist/chunks/{schedule-r5rh6b40.js → flag-bhqhj1dd.js} +21 -21
- package/dist/chunks/{schedule-xd8c3xdw.js → flag-bm0xqw3z.js} +3 -3
- package/dist/chunks/{schedule-y32xxt00.js → flag-bp4tfqdd.js} +5 -5
- package/dist/chunks/{schedule-0b75wxbn.js → flag-bpb6gxr9.js} +14 -14
- package/dist/chunks/{schedule-bstexjd6.js → flag-bstexjd6.js} +1 -1
- package/dist/chunks/{schedule-zpdbqgja.js → flag-by8ty0bx.js} +4 -4
- package/dist/chunks/{schedule-jcp6wf65.js → flag-byhqx4g5.js} +14 -14
- package/dist/chunks/{schedule-4ax1tcsh.js → flag-bzx61477.js} +18 -11
- package/dist/chunks/{schedule-0ahs07zn.js → flag-c6x7d2ts.js} +4 -4
- package/dist/chunks/{schedule-c7cw818c.js → flag-c7cw818c.js} +2 -2
- package/dist/chunks/{schedule-th8h9fxj.js → flag-cg51fk4c.js} +4 -4
- package/dist/chunks/{schedule-1x32jd6x.js → flag-cgf9sdf9.js} +354 -354
- package/dist/chunks/{schedule-e0j8ckc8.js → flag-cn1901n6.js} +19 -19
- package/dist/chunks/{schedule-56hvpn8s.js → flag-cpzzhyr1.js} +8 -8
- package/dist/chunks/{schedule-3ay6yzp4.js → flag-cr44ae3x.js} +5 -5
- package/dist/chunks/{schedule-vq0qa3sh.js → flag-ctmpqb7w.js} +9 -9
- package/dist/chunks/{schedule-cwrgdav8.js → flag-cwrgdav8.js} +2 -2
- package/dist/chunks/{schedule-sc7awa1p.js → flag-cy88k38k.js} +11 -11
- package/dist/chunks/{schedule-br3gwnyw.js → flag-d1weh077.js} +2 -2
- package/dist/chunks/{schedule-6f6jm3cp.js → flag-d390zwf3.js} +8 -8
- package/dist/chunks/{schedule-d4v9tmah.js → flag-d4v9tmah.js} +2 -2
- package/dist/chunks/{schedule-haw9pew3.js → flag-d9bwbd34.js} +11 -11
- package/dist/chunks/{schedule-nwy6wnn4.js → flag-da73gr06.js} +14 -14
- package/dist/chunks/{schedule-xgaw0q3s.js → flag-dbk9fhqm.js} +17 -17
- package/dist/chunks/{schedule-kemh5pzy.js → flag-dcscqx6t.js} +7 -7
- package/dist/chunks/{schedule-ydsespw1.js → flag-ddvn7d3w.js} +8 -8
- package/dist/chunks/{schedule-2f9dqpwj.js → flag-de13v7mz.js} +18 -18
- package/dist/chunks/{schedule-4wtarxqr.js → flag-de6vx7qv.js} +10 -10
- package/dist/chunks/{schedule-z2p36z24.js → flag-dha4d4jk.js} +25 -25
- package/dist/chunks/{schedule-prntcwwv.js → flag-dsdhytqw.js} +10 -10
- package/dist/chunks/{schedule-dt77769w.js → flag-dt77769w.js} +1 -1
- package/dist/chunks/{schedule-pmpbejw9.js → flag-dv64j6bj.js} +6 -6
- package/dist/chunks/{schedule-r1n5ts8s.js → flag-dxcj994g.js} +13 -13
- package/dist/chunks/{schedule-e0nd6rg0.js → flag-dznvadht.js} +9 -9
- package/dist/chunks/{schedule-bnmw4rk3.js → flag-e6jghphk.js} +15 -15
- package/dist/chunks/{schedule-e834z07m.js → flag-e834z07m.js} +1 -1
- package/dist/chunks/{schedule-530xg6vw.js → flag-edm37t96.js} +6 -6
- package/dist/chunks/{schedule-36ekhs25.js → flag-eqd5bg7r.js} +5 -5
- package/dist/chunks/{schedule-eqw4pqj1.js → flag-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schedule-deycb1r9.js → flag-evy5hxmv.js} +45 -45
- package/dist/chunks/{schedule-qdw026rf.js → flag-f19zgvc4.js} +51 -51
- package/dist/chunks/{schedule-trqxm2df.js → flag-f9qc2wt8.js} +20 -20
- package/dist/chunks/{schedule-a0ksp69p.js → flag-fc2famm9.js} +12 -12
- package/dist/chunks/{schedule-gb0h1d5q.js → flag-fcktxjz8.js} +9 -9
- package/dist/chunks/{schedule-7sxxhyja.js → flag-fej3esqb.js} +8 -8
- package/dist/chunks/{schedule-fffv3p7h.js → flag-fffv3p7h.js} +1 -1
- package/dist/chunks/{schedule-fg9p65nk.js → flag-fg9p65nk.js} +2 -2
- package/dist/chunks/{schedule-pen16d07.js → flag-fkasyrab.js} +6 -6
- package/dist/chunks/{schedule-rnjpw3jx.js → flag-fkzdwwx0.js} +19 -19
- package/dist/chunks/{schedule-0cjxpex9.js → flag-g1e8prjs.js} +22 -22
- package/dist/chunks/{schedule-b8dt3yzy.js → flag-g1kn1j67.js} +11 -11
- package/dist/chunks/{schedule-gbjdnr5j.js → flag-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schedule-8m9dyvqe.js → flag-gdb0ys4e.js} +6 -6
- package/dist/chunks/{schedule-3ya61fkd.js → flag-gdqab8my.js} +5 -5
- package/dist/chunks/{schedule-mz0s244b.js → flag-gf34717g.js} +11 -11
- package/dist/chunks/{schedule-cezysnr4.js → flag-gfgj8a08.js} +15 -15
- package/dist/chunks/{schedule-8wjgamp7.js → flag-ggx84v7x.js} +6 -6
- package/dist/chunks/{schedule-ghrv1g9c.js → flag-ghrv1g9c.js} +1 -1
- package/dist/chunks/{schedule-s56ek1wh.js → flag-gj900dj9.js} +25 -25
- package/dist/chunks/{schedule-tj4g0j82.js → flag-gzxwvkk4.js} +59 -59
- package/dist/chunks/{schedule-92n69qk6.js → flag-h45fex01.js} +10 -10
- package/dist/chunks/{schedule-g53emsnk.js → flag-hrvyb3yv.js} +6 -6
- package/dist/chunks/{schedule-aqdg9tv8.js → flag-hxxjyvvt.js} +35 -35
- package/dist/chunks/{schedule-9yk42r3d.js → flag-hyb99r0e.js} +19 -19
- package/dist/chunks/{schedule-d34c0f98.js → flag-j0p3wt22.js} +8 -8
- package/dist/chunks/{schedule-ms29ednv.js → flag-j1md2365.js} +32 -32
- package/dist/chunks/{schedule-3pb0ga01.js → flag-j8qa49gr.js} +4 -4
- package/dist/chunks/{schedule-515b1a2m.js → flag-jfqxjkss.js} +11 -11
- package/dist/chunks/{schedule-wfdx5ztx.js → flag-jg11hrrc.js} +4 -4
- package/dist/chunks/{schedule-tr8x705m.js → flag-jht64jd1.js} +4 -4
- package/dist/chunks/{schedule-jm70asfg.js → flag-jm70asfg.js} +1 -1
- package/dist/chunks/{schedule-hqgfnac2.js → flag-jt1fmwse.js} +4 -4
- package/dist/chunks/{schedule-w71txqng.js → flag-k88mc761.js} +9 -9
- package/dist/chunks/{schedule-qg3hty4h.js → flag-k8k8cw5x.js} +19 -19
- package/dist/chunks/{schedule-2axffth4.js → flag-kah1des0.js} +13 -13
- package/dist/chunks/{schedule-k46dd5bg.js → flag-kj9n5bvh.js} +4 -4
- package/dist/chunks/{schedule-kn4zqwcq.js → flag-kn4zqwcq.js} +3 -3
- package/dist/chunks/{schedule-3a5d0dms.js → flag-ktdfez1z.js} +28 -28
- package/dist/chunks/{schedule-4ha5ey8q.js → flag-kvnzvr36.js} +4 -4
- package/dist/chunks/{schedule-7c2x8mgs.js → flag-kxkkah86.js} +2 -2
- package/dist/chunks/{schedule-kzczzf4v.js → flag-kzczzf4v.js} +1 -1
- package/dist/chunks/{schedule-m1714858.js → flag-m1714858.js} +1 -1
- package/dist/chunks/{schedule-xv1p845y.js → flag-m2r94a4c.js} +27 -27
- package/dist/chunks/{schedule-m9w0rfyh.js → flag-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schedule-e0szf70s.js → flag-mdpn3ac9.js} +21 -21
- package/dist/chunks/{schedule-d27x3et7.js → flag-mftnr7k7.js} +13 -13
- package/dist/chunks/{schedule-mm06edep.js → flag-mm06edep.js} +1 -1
- package/dist/chunks/{schedule-jb15q0zr.js → flag-ms3vknx6.js} +7 -7
- package/dist/chunks/{schedule-gyyehfwn.js → flag-mxf61dw8.js} +3 -3
- package/dist/chunks/{schedule-0afheaxr.js → flag-mxfw6byj.js} +11 -11
- package/dist/chunks/{schedule-jnv119rq.js → flag-mxg97kar.js} +9 -9
- package/dist/chunks/{schedule-pnwx6aa8.js → flag-n1gj87y9.js} +79 -79
- package/dist/chunks/{schedule-azqdag7d.js → flag-n320gsn2.js} +4 -4
- package/dist/chunks/{schedule-r7zrbnjn.js → flag-n3j33rb6.js} +4 -4
- package/dist/chunks/{schedule-6jznvdw2.js → flag-n4c9d60b.js} +17 -17
- package/dist/chunks/{schedule-szwm4crx.js → flag-n4z1q12f.js} +7 -7
- package/dist/chunks/{schedule-qqpwcckv.js → flag-ndgws28h.js} +22 -22
- package/dist/chunks/{schedule-qffk4v12.js → flag-nemnqzpn.js} +4 -4
- package/dist/chunks/{schedule-0h5xfrrd.js → flag-npz8myfn.js} +3 -3
- package/dist/chunks/{schedule-f8zzb7ta.js → flag-nvhv17z1.js} +31 -31
- package/dist/chunks/{schedule-wegkxhrn.js → flag-nx4vzyjd.js} +2 -2
- package/dist/chunks/{schedule-mj5nh2sa.js → flag-p1yctq83.js} +6 -6
- package/dist/chunks/{schedule-8m47qdaj.js → flag-p2t9xhrw.js} +13 -13
- package/dist/chunks/{schedule-nwz4j469.js → flag-p319bwjr.js} +25 -25
- package/dist/chunks/{schedule-82hdr4h6.js → flag-p52kq8pf.js} +30 -30
- package/dist/chunks/{schedule-es8na9zh.js → flag-p8x3s9s0.js} +21 -21
- package/dist/chunks/{schedule-js987tb6.js → flag-p8zy8ekr.js} +12 -12
- package/dist/chunks/{schedule-h21a9mrd.js → flag-pjc6mvna.js} +4 -4
- package/dist/chunks/{schedule-pknna89w.js → flag-pknna89w.js} +1 -1
- package/dist/chunks/{schedule-2zr7k3mv.js → flag-pr55ezka.js} +18 -18
- package/dist/chunks/{schedule-ddcgp18z.js → flag-prev81pe.js} +17 -17
- package/dist/chunks/{schedule-kf3s0fbx.js → flag-pxyqg0fd.js} +12 -12
- package/dist/chunks/{schedule-vzy1vfyx.js → flag-pzq1pwd4.js} +12 -12
- package/dist/chunks/{schedule-q9e2xj9k.js → flag-q0ghkzhd.js} +39 -39
- package/dist/chunks/{schedule-vvc2fc9j.js → flag-q0mrkb4f.js} +3 -3
- package/dist/chunks/{schedule-vw2s14ye.js → flag-q4mn8rz9.js} +33 -33
- package/dist/chunks/{schedule-4g9xxe18.js → flag-qajc28y8.js} +4 -4
- package/dist/chunks/{schedule-jm6vs40d.js → flag-qbgtjm4x.js} +4 -4
- package/dist/chunks/{schedule-75e0mykg.js → flag-qftch89m.js} +37 -37
- package/dist/chunks/{schedule-zgmxmaa3.js → flag-qh4edj6m.js} +15 -15
- package/dist/chunks/{schedule-qp7r0hxv.js → flag-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schedule-53cgdkqc.js → flag-qs5yh7hs.js} +30 -30
- package/dist/chunks/{schedule-2n444ktb.js → flag-qtf35215.js} +3 -3
- package/dist/chunks/{schedule-b8jt0kff.js → flag-qxvzmfp5.js} +11 -11
- package/dist/chunks/{schedule-zgxkb297.js → flag-qyba36f5.js} +5 -5
- package/dist/chunks/{schedule-jartsrdr.js → flag-r3k22sjy.js} +13 -13
- package/dist/chunks/{schedule-r41sfy63.js → flag-r41sfy63.js} +2 -2
- package/dist/chunks/{schedule-2fznz76e.js → flag-r66m1ym6.js} +64 -64
- package/dist/chunks/{schedule-r9dsj852.js → flag-r9dd0xct.js} +2 -2
- package/dist/chunks/{schedule-rb9dy4dg.js → flag-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schedule-rgc9cx3e.js → flag-rgc9cx3e.js} +2 -2
- package/dist/chunks/{schedule-hq6sd4cb.js → flag-rp320nw4.js} +3 -3
- package/dist/chunks/{schedule-wqmfrs47.js → flag-rpc5eq17.js} +3 -3
- package/dist/chunks/flag-rpq636vb.js +265 -0
- package/dist/chunks/{schedule-rt5dr6hb.js → flag-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schedule-cwkct942.js → flag-rwx12ajr.js} +4 -4
- package/dist/chunks/{schedule-j0ef2yta.js → flag-rx0nm2qe.js} +21 -21
- package/dist/chunks/{schedule-cr4rfj9z.js → flag-s26c8eb5.js} +4 -4
- package/dist/chunks/{schedule-w9n0z20q.js → flag-s2p4nhbh.js} +26 -26
- package/dist/chunks/{schedule-rnjcb23j.js → flag-s2z0me27.js} +6 -6
- package/dist/chunks/{schedule-zgwf5exd.js → flag-s6jqqyhe.js} +4 -4
- package/dist/chunks/{schedule-pr4e2d8h.js → flag-s7agjm8x.js} +9 -9
- package/dist/chunks/{schedule-axnt3hf3.js → flag-s7y9d25e.js} +25 -25
- package/dist/chunks/{schedule-d3gyhf8x.js → flag-s9ah0c7h.js} +47 -47
- package/dist/chunks/{schedule-sa3fpqfw.js → flag-sa3fpqfw.js} +2 -2
- package/dist/chunks/{schedule-sbya78hr.js → flag-sbya78hr.js} +1 -1
- package/dist/chunks/{schedule-yhsz6jpn.js → flag-sc8gk52j.js} +14 -14
- package/dist/chunks/{schedule-vre17ymf.js → flag-scn5v30h.js} +9 -9
- package/dist/chunks/{schedule-y3gkhhcc.js → flag-sdw8kdqn.js} +36 -36
- package/dist/chunks/{schedule-vgk6tj23.js → flag-se06t1th.js} +16 -16
- package/dist/chunks/{schedule-sg4yzpe7.js → flag-sh1zp5p1.js} +171 -171
- package/dist/chunks/{schedule-nw71pkjf.js → flag-shy79f59.js} +48 -48
- package/dist/chunks/{schedule-2xg2ghn7.js → flag-smheew1c.js} +88 -88
- package/dist/chunks/{schedule-yb9etwc4.js → flag-sskhdzv5.js} +17 -5
- package/dist/chunks/{schedule-aenkp864.js → flag-stab2pv9.js} +11 -11
- package/dist/chunks/{schedule-svcy3p9a.js → flag-svcy3p9a.js} +1 -1
- package/dist/chunks/{schedule-7kqcf4b1.js → flag-sw6cj1fr.js} +8 -8
- package/dist/chunks/{schedule-js0jsfe2.js → flag-sy57q6d1.js} +17 -17
- package/dist/chunks/{schedule-5qx2dbf2.js → flag-tbesfxyn.js} +7 -7
- package/dist/chunks/{schedule-tczq8hjw.js → flag-tczq8hjw.js} +1 -1
- package/dist/chunks/{schedule-tg7s7b5t.js → flag-tg7s7b5t.js} +1 -1
- package/dist/chunks/{schedule-xmj8f07c.js → flag-tkzg5qhb.js} +12 -12
- package/dist/chunks/{schedule-nnrqcjs4.js → flag-tmmzgave.js} +11 -11
- package/dist/chunks/{schedule-046a6qm2.js → flag-trm8snxh.js} +3 -3
- package/dist/chunks/{schedule-7hfs2p01.js → flag-tt01103d.js} +18 -18
- package/dist/chunks/{schedule-44pmzq9c.js → flag-twhtcdx9.js} +4 -4
- package/dist/chunks/{schedule-twssxy5n.js → flag-twssxy5n.js} +2 -2
- package/dist/chunks/{schedule-39sgvy3e.js → flag-tycv7n3a.js} +4 -4
- package/dist/chunks/{schedule-dk1a1zn2.js → flag-tz9a6xhb.js} +5 -5
- package/dist/chunks/{schedule-v2r1d0zg.js → flag-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schedule-1wct49kp.js → flag-v3jwzdd2.js} +9 -9
- package/dist/chunks/{schedule-yqfnxatp.js → flag-v438kgpn.js} +7 -7
- package/dist/chunks/{schedule-26wfx3k0.js → flag-v4bj6baw.js} +4 -4
- package/dist/chunks/{schedule-cqsyyycn.js → flag-vaf27j96.js} +15 -15
- package/dist/chunks/{schedule-kcdxk2je.js → flag-vc28gdnb.js} +6 -6
- package/dist/chunks/{schedule-psv9kg8j.js → flag-vf4s44w5.js} +19 -19
- package/dist/chunks/{schedule-vjf35v1f.js → flag-vjf35v1f.js} +1 -1
- package/dist/chunks/{schedule-d7z16mvd.js → flag-vjvy448k.js} +15 -15
- package/dist/chunks/{schedule-px7qpgcn.js → flag-vt2d6wap.js} +4 -4
- package/dist/chunks/{schedule-w3wsvvr9.js → flag-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schedule-d59yxy2t.js → flag-w86n90pq.js} +18 -18
- package/dist/chunks/{schedule-4be567tq.js → flag-w8g1dskt.js} +40 -40
- package/dist/chunks/{schedule-53n97ahp.js → flag-waj4ykx6.js} +21 -21
- package/dist/chunks/{schedule-wakvkjy4.js → flag-wakvkjy4.js} +1 -1
- package/dist/chunks/{schedule-m9gx5nhs.js → flag-wcgr2qvn.js} +8 -8
- package/dist/chunks/{schedule-wd87259q.js → flag-wd87259q.js} +1 -1
- package/dist/chunks/{schedule-fyyc9v44.js → flag-wh69gkkt.js} +8 -8
- package/dist/chunks/{schedule-e3xcyn08.js → flag-wjnyvaf5.js} +22 -22
- package/dist/chunks/{schedule-nhz8yzt3.js → flag-wkwg78fg.js} +5 -5
- package/dist/chunks/{schedule-365mxc1z.js → flag-wrad7mqx.js} +23 -23
- package/dist/chunks/{schedule-8d9rgqff.js → flag-wz69xhs4.js} +18 -18
- package/dist/chunks/{schedule-a3fn0gmm.js → flag-x150ncgg.js} +2 -2
- package/dist/chunks/{schedule-q9xkvda0.js → flag-x2tyrk29.js} +20 -20
- package/dist/chunks/{schedule-wf03tcpm.js → flag-x618v0wq.js} +17 -17
- package/dist/chunks/{schedule-vwjf8eeg.js → flag-x77f537z.js} +11 -11
- package/dist/chunks/{schedule-ks8awkzv.js → flag-x7f1yxy8.js} +13 -13
- package/dist/chunks/{schedule-mrw7z2va.js → flag-x8rjh8ab.js} +4 -4
- package/dist/chunks/{schedule-5rxvphq6.js → flag-xbsjtb80.js} +9 -9
- package/dist/chunks/{schedule-6pxp8mgm.js → flag-xc73mdd1.js} +17 -17
- package/dist/chunks/{schedule-3adw4bt5.js → flag-xjbsd7zy.js} +9 -9
- package/dist/chunks/{schedule-xjr6c8m4.js → flag-xjr6c8m4.js} +1 -1
- package/dist/chunks/{schedule-f1s5tzga.js → flag-xpgwhcsc.js} +10 -10
- package/dist/chunks/{schedule-nttn14j9.js → flag-xsvq7cjt.js} +4 -4
- package/dist/chunks/{schedule-a5fx33f2.js → flag-xz07m27x.js} +6 -6
- package/dist/chunks/{schedule-61qraad9.js → flag-y3p3hzkr.js} +5 -5
- package/dist/chunks/{schedule-p064hd0f.js → flag-y4ba7xbg.js} +14 -14
- package/dist/chunks/{schedule-yb20nhc3.js → flag-yb20nhc3.js} +1 -1
- package/dist/chunks/{schedule-0ckr358p.js → flag-ycxmyaa8.js} +76 -76
- package/dist/chunks/{schedule-mtskj0r8.js → flag-ye59cvew.js} +33 -33
- package/dist/chunks/{schedule-4krr2nde.js → flag-yk4ram99.js} +3 -3
- package/dist/chunks/{schedule-wkc1225h.js → flag-ynfppmfj.js} +8 -8
- package/dist/chunks/{schedule-7sq7hdkh.js → flag-yphgnept.js} +9 -9
- package/dist/chunks/{schedule-yr705xyq.js → flag-yr705xyq.js} +1 -1
- package/dist/chunks/{schedule-6bw2753m.js → flag-yscjb6w8.js} +38 -38
- package/dist/chunks/{schedule-jkyac8e3.js → flag-yswt24xe.js} +5 -5
- package/dist/chunks/{schedule-f9z4ym60.js → flag-ytsx0jn4.js} +16 -16
- package/dist/chunks/{schedule-fk275v1e.js → flag-yv62rn4q.js} +9 -7
- package/dist/chunks/{schedule-yvtc2x31.js → flag-yvtc2x31.js} +1 -1
- package/dist/chunks/{schedule-n478ztqm.js → flag-z34m6vx4.js} +7 -7
- package/dist/chunks/{schedule-w6393bmh.js → flag-z7bx7nj5.js} +7 -7
- package/dist/chunks/flag-zd0f51kc.js +26 -0
- package/dist/chunks/{schedule-j9nxzz3g.js → flag-ze75qvmd.js} +3 -3
- package/dist/chunks/{schedule-9rr044bd.js → flag-zpcf3ktr.js} +20 -20
- package/dist/chunks/{schedule-wy68thbq.js → flag-zpvj7pbv.js} +7 -7
- package/dist/chunks/{schedule-87ctr95g.js → flag-zxgv4zyy.js} +30 -30
- package/dist/chunks/{schedule-majbzdh1.js → flag-zyqwfwdy.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -154
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -238
- 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 +131 -131
- 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 +139 -139
- 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 +130 -130
- 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 +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- 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 +131 -131
- package/dist/console-access.js +7 -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 +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +81 -81
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- package/dist/filesystem/protected.js +1 -1
- 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 +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -181
- 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 +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -186
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- 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 +5 -1
- package/dist/model.js +103 -103
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- 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 +85 -85
- package/dist/plugin/command.js +117 -117
- 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 +409 -409
- 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 +4 -4
- 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 +115 -115
- 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 +1 -1
- 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 +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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 +4 -4
- 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 +135 -135
- 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 +140 -140
- 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 +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- 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 +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- 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 +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +205 -204
- 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 +247 -247
- package/dist/session/execution.js +169 -168
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- 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 +171 -170
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -170
- 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 +258 -258
- 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 -152
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -187
- 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 +3 -3
- package/dist/session/title.js +209 -208
- package/dist/session/to-session-error.js +152 -151
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- 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 +7 -7
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +106 -106
- 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 +186 -185
- 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 +174 -174
- 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 +173 -173
- package/dist/tool/plugin/schedule.js +253 -253
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +154 -154
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- 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 +163 -162
- package/dist/types/flag.d.ts +8 -3
- package/dist/types/model-retry.d.ts +4 -1
- package/dist/usage-limits.js +100 -100
- 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 +1 -1
- 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 +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +111 -111
- package/package.json +8 -8
- package/dist/chunks/schedule-7zr3v0b4.js +0 -265
- package/dist/chunks/schedule-grzehpz7.js +0 -18
- package/dist/chunks/schedule-yqnaf91d.js +0 -26
- /package/dist/chunks/{schedule-0qkdqm5v.js → flag-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schedule-0zkw76rk.js → flag-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schedule-108x4f4w.js → flag-108x4f4w.js} +0 -0
- /package/dist/chunks/{schedule-17cy0kzp.js → flag-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schedule-1cnp2v09.js → flag-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schedule-1kah00gy.js → flag-1kah00gy.js} +0 -0
- /package/dist/chunks/{schedule-24dcb14g.js → flag-24dcb14g.js} +0 -0
- /package/dist/chunks/{schedule-2710q6r3.js → flag-2710q6r3.js} +0 -0
- /package/dist/chunks/{schedule-2bv980vf.js → flag-2bv980vf.js} +0 -0
- /package/dist/chunks/{schedule-2c3vjs8z.js → flag-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schedule-359p4xyc.js → flag-359p4xyc.js} +0 -0
- /package/dist/chunks/{schedule-3af0jn4w.js → flag-3af0jn4w.js} +0 -0
- /package/dist/chunks/{schedule-3asan66x.js → flag-3asan66x.js} +0 -0
- /package/dist/chunks/{schedule-3v8g72cx.js → flag-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schedule-3wcehsnq.js → flag-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schedule-43n2bw4t.js → flag-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schedule-4knz6hnm.js → flag-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schedule-4qk9sjk2.js → flag-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schedule-4y7fprxs.js → flag-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schedule-53557ph1.js → flag-53557ph1.js} +0 -0
- /package/dist/chunks/{schedule-550bvhaj.js → flag-550bvhaj.js} +0 -0
- /package/dist/chunks/{schedule-5w3e23ze.js → flag-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schedule-6agm2x70.js → flag-6agm2x70.js} +0 -0
- /package/dist/chunks/{schedule-6prwharc.js → flag-6prwharc.js} +0 -0
- /package/dist/chunks/{schedule-6q2bdcd1.js → flag-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schedule-7akdwqpd.js → flag-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schedule-7m9af43g.js → flag-7m9af43g.js} +0 -0
- /package/dist/chunks/{schedule-822emrt2.js → flag-822emrt2.js} +0 -0
- /package/dist/chunks/{schedule-84wd9syh.js → flag-84wd9syh.js} +0 -0
- /package/dist/chunks/{schedule-88xbtdfr.js → flag-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schedule-8n3pysct.js → flag-8n3pysct.js} +0 -0
- /package/dist/chunks/{schedule-8wj87zfr.js → flag-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schedule-9a4afbnw.js → flag-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schedule-9rqn6x4v.js → flag-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schedule-a6k6eb26.js → flag-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schedule-af5trqkr.js → flag-af5trqkr.js} +0 -0
- /package/dist/chunks/{schedule-afrmfg78.js → flag-afrmfg78.js} +0 -0
- /package/dist/chunks/{schedule-aqzs7mqg.js → flag-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schedule-atq7p7m5.js → flag-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schedule-beh6qq61.js → flag-beh6qq61.js} +0 -0
- /package/dist/chunks/{schedule-bhmrqjy3.js → flag-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{schedule-bkyjaxrp.js → flag-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schedule-bmr6ed5q.js → flag-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schedule-cf4snx6d.js → flag-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schedule-cqv5kn06.js → flag-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schedule-cvy3z8tj.js → flag-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schedule-d9fn303g.js → flag-d9fn303g.js} +0 -0
- /package/dist/chunks/{schedule-d9jj8t3e.js → flag-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schedule-dap0rakb.js → flag-dap0rakb.js} +0 -0
- /package/dist/chunks/{schedule-df08tz66.js → flag-df08tz66.js} +0 -0
- /package/dist/chunks/{schedule-dy18nga0.js → flag-dy18nga0.js} +0 -0
- /package/dist/chunks/{schedule-e5kj55wp.js → flag-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schedule-ean2d8b5.js → flag-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schedule-ec1grn59.js → flag-ec1grn59.js} +0 -0
- /package/dist/chunks/{schedule-emrn6kk6.js → flag-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schedule-f0mxakyp.js → flag-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schedule-f6n9ztr4.js → flag-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schedule-faypxj3z.js → flag-faypxj3z.js} +0 -0
- /package/dist/chunks/{schedule-fd410y7t.js → flag-fd410y7t.js} +0 -0
- /package/dist/chunks/{schedule-fkpq3x5p.js → flag-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schedule-g4wezp1m.js → flag-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schedule-g86h250q.js → flag-g86h250q.js} +0 -0
- /package/dist/chunks/{schedule-gebd4c9n.js → flag-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schedule-gftt206x.js → flag-gftt206x.js} +0 -0
- /package/dist/chunks/{schedule-hcxmzztb.js → flag-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schedule-hk9envan.js → flag-hk9envan.js} +0 -0
- /package/dist/chunks/{schedule-j2ntwpah.js → flag-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schedule-j5zkgpj8.js → flag-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schedule-jjkms2e6.js → flag-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schedule-jr7sbwjy.js → flag-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schedule-jwfs4k6c.js → flag-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schedule-jwr30sdr.js → flag-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schedule-jzg6c2d5.js → flag-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schedule-m18g726c.js → flag-m18g726c.js} +0 -0
- /package/dist/chunks/{schedule-mp448xyj.js → flag-mp448xyj.js} +0 -0
- /package/dist/chunks/{schedule-msx8hqn2.js → flag-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schedule-n05xt0ee.js → flag-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schedule-n3j8tn72.js → flag-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schedule-nh4v3znn.js → flag-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schedule-njntx4h6.js → flag-njntx4h6.js} +0 -0
- /package/dist/chunks/{schedule-p71gwv9c.js → flag-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schedule-q3sfg36h.js → flag-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schedule-q74kybfr.js → flag-q74kybfr.js} +0 -0
- /package/dist/chunks/{schedule-qaymkmh1.js → flag-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schedule-qb87gjwd.js → flag-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schedule-qfa1cgps.js → flag-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schedule-qg3g05ea.js → flag-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schedule-qrg20bc0.js → flag-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schedule-rcb2kzg1.js → flag-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schedule-sdp7kfr6.js → flag-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schedule-ssg3fenm.js → flag-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schedule-syrav9an.js → flag-syrav9an.js} +0 -0
- /package/dist/chunks/{schedule-t03h4f5z.js → flag-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schedule-ty7weeps.js → flag-ty7weeps.js} +0 -0
- /package/dist/chunks/{schedule-ve7vex1e.js → flag-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schedule-vtarvj67.js → flag-vtarvj67.js} +0 -0
- /package/dist/chunks/{schedule-w803qqfp.js → flag-w803qqfp.js} +0 -0
- /package/dist/chunks/{schedule-wc3fc9cn.js → flag-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schedule-wer8tq1h.js → flag-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schedule-wtztk69x.js → flag-wtztk69x.js} +0 -0
- /package/dist/chunks/{schedule-x0ckcb58.js → flag-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schedule-x61499pn.js → flag-x61499pn.js} +0 -0
- /package/dist/chunks/{schedule-y44na4kk.js → flag-y44na4kk.js} +0 -0
- /package/dist/chunks/{schedule-y8f7s663.js → flag-y8f7s663.js} +0 -0
- /package/dist/chunks/{schedule-ygaqb7jw.js → flag-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schedule-z0h12gs8.js → flag-z0h12gs8.js} +0 -0
- /package/dist/chunks/{schedule-z5v4ffb3.js → flag-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schedule-z9919s4g.js → flag-z9919s4g.js} +0 -0
- /package/dist/chunks/{schedule-zxpyjp51.js → flag-zxpyjp51.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./flag-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./flag-jt1fmwse.js";
|
|
8
8
|
import {
|
|
9
9
|
Service91,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./flag-s6jqqyhe.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service90,
|
|
14
|
+
node94
|
|
15
|
+
} from "./flag-4aetv9s2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./flag-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./flag-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./flag-bb3mmwvh.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./flag-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./flag-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service89,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured13,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node93,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service89 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service90;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service91;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service89.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured13(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service89,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node95, node96, FSUtil.node,
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node93 = configured13();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service89;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node93]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service89, configured13, node93, sweepNode2, exports_project };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info18,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./flag-qtf35215.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./flag-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service92,
|
|
11
11
|
node96
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./flag-jt1fmwse.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service91,
|
|
16
16
|
node95
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./flag-s6jqqyhe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service89,
|
|
20
|
+
node93
|
|
21
|
+
} from "./flag-shy79f59.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service62,
|
|
24
|
+
node65
|
|
25
|
+
} from "./flag-fkasyrab.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./flag-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
Metadata2,
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
node79
|
|
32
|
+
} from "./flag-tbesfxyn.js";
|
|
33
33
|
import {
|
|
34
34
|
SessionMessageTable2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./flag-8z6m94af.js";
|
|
36
36
|
import {
|
|
37
37
|
enabledFor2,
|
|
38
38
|
ForkMedia2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./flag-0bc8wfaz.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
NotFoundError12,
|
|
42
42
|
InvalidListCursorError2,
|
|
43
43
|
MessageNotFoundError2,
|
|
44
44
|
ForkEmptyError2,
|
|
@@ -50,76 +50,76 @@ import {
|
|
|
50
50
|
BusyError2,
|
|
51
51
|
InboxConflictError2,
|
|
52
52
|
SkillNotFoundError2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./flag-edm37t96.js";
|
|
54
54
|
import {
|
|
55
55
|
current2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./flag-tycv7n3a.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
58
|
+
node64,
|
|
59
59
|
listWithRefs2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./flag-0gfx6v9p.js";
|
|
61
61
|
import {
|
|
62
62
|
snapshot2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./flag-kah1des0.js";
|
|
64
64
|
import {
|
|
65
65
|
Slug2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./flag-gebd4c9n.js";
|
|
67
67
|
import {
|
|
68
68
|
SessionAlreadyProjected2,
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
69
|
+
node35
|
|
70
|
+
} from "./flag-0e11sktb.js";
|
|
71
71
|
import {
|
|
72
72
|
ListInput3,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service73,
|
|
74
|
+
node76
|
|
75
|
+
} from "./flag-43xtk0qx.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service67,
|
|
78
|
+
node70
|
|
79
|
+
} from "./flag-gfgj8a08.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
81
|
+
Service59,
|
|
82
|
+
node63
|
|
83
|
+
} from "./flag-yscjb6w8.js";
|
|
84
84
|
import {
|
|
85
85
|
llmClient2
|
|
86
|
-
} from "./
|
|
86
|
+
} from "./flag-0ma9gw4f.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
88
|
+
Service43,
|
|
89
|
+
node47
|
|
90
|
+
} from "./flag-qxvzmfp5.js";
|
|
91
91
|
import {
|
|
92
92
|
generate2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./flag-y4ba7xbg.js";
|
|
94
94
|
import {
|
|
95
95
|
execute2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./flag-21mfesqj.js";
|
|
97
97
|
import {
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
Service64,
|
|
99
|
+
node67,
|
|
100
100
|
canonical3
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./flag-ady5eesf.js";
|
|
102
102
|
import {
|
|
103
103
|
DestinationNotFoundError2,
|
|
104
104
|
DestinationNotDirectoryError2,
|
|
105
105
|
DestinationUnavailableError2,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
106
|
+
Service30,
|
|
107
|
+
node34
|
|
108
|
+
} from "./flag-b4aph2fn.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
} from "./
|
|
110
|
+
Service49,
|
|
111
|
+
node53
|
|
112
|
+
} from "./flag-fej3esqb.js";
|
|
113
113
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./
|
|
114
|
+
make24
|
|
115
|
+
} from "./flag-zyqwfwdy.js";
|
|
116
116
|
import {
|
|
117
117
|
TurnRangeError2,
|
|
118
118
|
turn2
|
|
119
|
-
} from "./
|
|
119
|
+
} from "./flag-gf34717g.js";
|
|
120
120
|
import {
|
|
121
121
|
__export
|
|
122
|
-
} from "./
|
|
122
|
+
} from "./flag-9rqn6x4v.js";
|
|
123
123
|
|
|
124
124
|
// src/session.ts
|
|
125
125
|
var exports_session3 = {};
|
|
@@ -131,24 +131,24 @@ __export(exports_session3, {
|
|
|
131
131
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
132
132
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
133
133
|
ForkEmptyError: () => ForkEmptyError2,
|
|
134
|
-
ID: () =>
|
|
134
|
+
ID: () => ID15,
|
|
135
135
|
InboxConflictError: () => InboxConflictError2,
|
|
136
|
-
Info: () =>
|
|
136
|
+
Info: () => Info18,
|
|
137
137
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
138
138
|
ListAnchor: () => ListAnchor2,
|
|
139
139
|
ListCursor: () => ListCursor2,
|
|
140
140
|
ListInput: () => ListInput2,
|
|
141
141
|
MessageDecodeError: () => MessageDecodeError2,
|
|
142
142
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
143
|
-
NotFoundError: () =>
|
|
143
|
+
NotFoundError: () => NotFoundError12,
|
|
144
144
|
PromptConflictError: () => PromptConflictError2,
|
|
145
|
-
Service: () =>
|
|
145
|
+
Service: () => Service29,
|
|
146
146
|
Session: () => exports_session3,
|
|
147
147
|
SessionSchema: () => SessionSchema2,
|
|
148
148
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
149
149
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
150
150
|
TurnRangeError: () => TurnRangeError2,
|
|
151
|
-
node: () =>
|
|
151
|
+
node: () => node33
|
|
152
152
|
});
|
|
153
153
|
import { DateTime, Effect, Layer, Context, Option, Stream } from "effect";
|
|
154
154
|
import { LLMClient } from "@opencode/ai/effect";
|
|
@@ -159,27 +159,27 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
159
159
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
160
160
|
var ListInput2 = ListInput3;
|
|
161
161
|
var DefaultListLimit = 50;
|
|
162
|
-
class
|
|
162
|
+
class Service29 extends Context.Service()("@opencode/Session") {
|
|
163
163
|
}
|
|
164
|
-
var layer = Layer.effect(
|
|
164
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
165
165
|
const app = yield* Metadata2;
|
|
166
166
|
const database = yield* Service92;
|
|
167
167
|
const db = database.db;
|
|
168
168
|
const bus = yield* Service91;
|
|
169
|
-
const projects = yield*
|
|
170
|
-
const execution = yield*
|
|
169
|
+
const projects = yield* Service89;
|
|
170
|
+
const execution = yield* Service59;
|
|
171
171
|
const llm = yield* LLMClient.Service;
|
|
172
|
-
const transport = yield*
|
|
173
|
-
const store = yield*
|
|
174
|
-
const instances = yield*
|
|
175
|
-
const moves = yield*
|
|
176
|
-
const jobs = yield*
|
|
177
|
-
const environments = yield*
|
|
178
|
-
const locations = yield*
|
|
179
|
-
const sessions = yield*
|
|
172
|
+
const transport = yield* Service43;
|
|
173
|
+
const store = yield* Service73;
|
|
174
|
+
const instances = yield* Service62;
|
|
175
|
+
const moves = yield* Service30;
|
|
176
|
+
const jobs = yield* Service67;
|
|
177
|
+
const environments = yield* Service49;
|
|
178
|
+
const locations = yield* Service64;
|
|
179
|
+
const sessions = yield* make24();
|
|
180
180
|
const mediaBlob = (session) => enabledFor2(instances, app, session);
|
|
181
181
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
182
|
-
const result =
|
|
182
|
+
const result = Service29.of({
|
|
183
183
|
create: Effect.fn("Session.create")(function* (input) {
|
|
184
184
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
185
185
|
const recorded = yield* store.get(sessionID);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
187
187
|
return recorded;
|
|
188
188
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
189
189
|
if (input.parentID && parent === undefined)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError12({ sessionID: input.parentID });
|
|
191
191
|
const location = parent?.location ?? (input.location && canonical3(input.location));
|
|
192
192
|
if (location === undefined)
|
|
193
193
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -327,11 +327,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
327
327
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
328
328
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
329
329
|
const session = yield* result.get(input.sessionID);
|
|
330
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
330
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service92, database), Effect.provideService(LLMClient.Service, llm));
|
|
331
331
|
}),
|
|
332
332
|
command: Effect.fn("Session.command")(function* (input) {
|
|
333
333
|
const session = yield* result.get(input.sessionID);
|
|
334
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
334
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service62, instances));
|
|
335
335
|
}),
|
|
336
336
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
337
337
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -375,27 +375,27 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
375
375
|
});
|
|
376
376
|
return result;
|
|
377
377
|
}));
|
|
378
|
-
var
|
|
379
|
-
service:
|
|
378
|
+
var node33 = Node.makeGlobalNode({
|
|
379
|
+
service: Service29,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
|
-
node54,
|
|
383
382
|
node70,
|
|
383
|
+
node53,
|
|
384
384
|
node96,
|
|
385
385
|
node95,
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
386
|
+
node93,
|
|
387
|
+
node63,
|
|
388
|
+
node47,
|
|
389
389
|
llmClient2,
|
|
390
|
+
node76,
|
|
391
|
+
node65,
|
|
392
|
+
node64,
|
|
393
|
+
node34,
|
|
394
|
+
node35,
|
|
390
395
|
node67,
|
|
391
|
-
node53,
|
|
392
|
-
node52,
|
|
393
|
-
node32,
|
|
394
|
-
node33,
|
|
395
|
-
node55,
|
|
396
396
|
FSUtil.node,
|
|
397
|
-
|
|
397
|
+
node79
|
|
398
398
|
]
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
export { ListAnchor2, ListCursor2, ListInput2,
|
|
401
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service29, node33, exports_session3 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./flag-edm37t96.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./flag-7k9kz9jy.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./flag-89ypf89t.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./flag-9bpm0caw.js";
|
|
20
|
+
import {
|
|
21
|
+
isUnreachable2
|
|
22
|
+
} from "./flag-2fc7eemy.js";
|
|
20
23
|
import {
|
|
21
24
|
ModelNotSelectedError2,
|
|
22
25
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
26
|
+
} from "./flag-x618v0wq.js";
|
|
24
27
|
|
|
25
28
|
// src/session/to-session-error.ts
|
|
26
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -59,6 +62,8 @@ function toSessionError2(cause) {
|
|
|
59
62
|
case "ContentPolicy":
|
|
60
63
|
return providerError("provider.content-filter", cause.reason);
|
|
61
64
|
case "Transport":
|
|
65
|
+
if (isUnreachable2(cause))
|
|
66
|
+
return unreachable(cause.reason);
|
|
62
67
|
return providerError("provider.transport", cause.reason);
|
|
63
68
|
case "ProviderInternal":
|
|
64
69
|
return providerError("provider.internal", cause.reason);
|
|
@@ -118,6 +123,13 @@ function goLimit(reason) {
|
|
|
118
123
|
message: `OpenCode Go ${name ? `${name} ` : ""}usage limit reached. Switch to a free model, or turn on Extra Usage on the Go page in OpenCode Console to keep going.`
|
|
119
124
|
};
|
|
120
125
|
}
|
|
126
|
+
function unreachable(reason) {
|
|
127
|
+
const host = "url" in reason && reason.url !== undefined ? URL.parse(reason.url)?.hostname : undefined;
|
|
128
|
+
return {
|
|
129
|
+
...providerError("provider.transport", reason),
|
|
130
|
+
message: `Can't reach ${host || "the provider"}. Check the network connection. (${reason.message})`
|
|
131
|
+
};
|
|
132
|
+
}
|
|
121
133
|
function providerError(type, reason) {
|
|
122
134
|
const status = reason.http?.status;
|
|
123
135
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|