@opencode/core 0.0.0-dev-573 → 0.0.0-dev-575
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 +84 -84
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +234 -234
- package/dist/bus.js +84 -84
- package/dist/chunks/{usage-limits-zpz9s97j.js → project-019n5914.js} +22 -22
- package/dist/chunks/{usage-limits-034tev2y.js → project-034tev2y.js} +2 -2
- package/dist/chunks/{usage-limits-atzatmpf.js → project-04xdb978.js} +23 -23
- package/dist/chunks/{usage-limits-fd0psk50.js → project-07a6zqrb.js} +7 -7
- package/dist/chunks/{usage-limits-eq9a65a0.js → project-0j1zqr2k.js} +11 -11
- package/dist/chunks/{usage-limits-2ex0brrx.js → project-0jbw3gkr.js} +10 -10
- package/dist/chunks/{usage-limits-z6r6zdnr.js → project-0jf3g4p5.js} +28 -28
- package/dist/chunks/{usage-limits-0ma9gw4f.js → project-0ma9gw4f.js} +2 -2
- package/dist/chunks/{usage-limits-jcm9rqxc.js → project-0nxdczg9.js} +31 -31
- package/dist/chunks/{usage-limits-e0sq9t70.js → project-0svgr7xd.js} +21 -21
- package/dist/chunks/project-0t4nwps0.js +16 -0
- package/dist/chunks/{usage-limits-3gx309br.js → project-0twfw88w.js} +7 -7
- package/dist/chunks/{usage-limits-56b0fgj9.js → project-0wpz3h74.js} +15 -15
- package/dist/chunks/{usage-limits-g5faqgpy.js → project-0yw17pkx.js} +13 -13
- package/dist/chunks/{usage-limits-0rn8hfjz.js → project-135jvntg.js} +29 -29
- package/dist/chunks/{usage-limits-bh6c0vm3.js → project-16a46khb.js} +25 -25
- package/dist/chunks/{usage-limits-2bdbbcrx.js → project-16jxsy3y.js} +5 -5
- package/dist/chunks/{usage-limits-1aqsckx4.js → project-1aqsckx4.js} +1 -1
- package/dist/chunks/{usage-limits-1ep2p91f.js → project-1ep2p91f.js} +2 -2
- package/dist/chunks/{usage-limits-qsdghx1p.js → project-1fjzrn8a.js} +4 -4
- package/dist/chunks/{usage-limits-b7nkz392.js → project-1gdzt2xj.js} +1 -1
- package/dist/chunks/{usage-limits-xradptt1.js → project-1kmqmr0e.js} +36 -36
- package/dist/chunks/{usage-limits-2nnxa42p.js → project-1mpqg9fr.js} +15 -15
- package/dist/chunks/{usage-limits-27y15zj3.js → project-1tgvq00n.js} +24 -24
- package/dist/chunks/{usage-limits-1x2knyw4.js → project-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-w0v60pev.js → project-1xdkex0j.js} +47 -47
- package/dist/chunks/{usage-limits-tk1sjx1r.js → project-1ym5fh8n.js} +31 -31
- package/dist/chunks/{usage-limits-8b3vzgkx.js → project-25h84942.js} +4 -4
- package/dist/chunks/{usage-limits-xhad59sx.js → project-290cbanv.js} +10 -10
- package/dist/chunks/{usage-limits-wqgk33kt.js → project-29gg63gz.js} +3 -3
- package/dist/chunks/{usage-limits-k94aa5rt.js → project-29x9sgby.js} +12 -12
- package/dist/chunks/{usage-limits-mqe7nf5n.js → project-2cdjxzfg.js} +3 -3
- package/dist/chunks/{usage-limits-4ejecw04.js → project-2e2qfbf4.js} +27 -27
- package/dist/chunks/{usage-limits-6agn9vpb.js → project-2kpqbs2m.js} +41 -41
- package/dist/chunks/{usage-limits-xye6t0ev.js → project-2pyr13f1.js} +30 -30
- package/dist/chunks/{usage-limits-fjhgz55e.js → project-343zgq8q.js} +73 -54
- package/dist/chunks/{usage-limits-54gefbty.js → project-3696pwfc.js} +30 -30
- package/dist/chunks/{usage-limits-w00hgye2.js → project-36t74d6c.js} +11 -11
- package/dist/chunks/{usage-limits-es6sha7s.js → project-37jqyv1h.js} +4 -4
- package/dist/chunks/{usage-limits-nm549rgr.js → project-39hyj06c.js} +34 -34
- package/dist/chunks/{usage-limits-xjbsd7zy.js → project-3adw4bt5.js} +9 -9
- package/dist/chunks/{usage-limits-hwtefm7q.js → project-3d92dp21.js} +11 -11
- package/dist/chunks/{usage-limits-d9bt63kk.js → project-3dkr1mc7.js} +12 -12
- package/dist/chunks/{usage-limits-r10jg9w2.js → project-3gr38rez.js} +4 -4
- package/dist/chunks/{usage-limits-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-3nnrz6f6.js → project-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-t62dywgn.js → project-3spf441s.js} +6 -6
- package/dist/chunks/{usage-limits-nwgmktz5.js → project-3v25rph8.js} +5 -4
- package/dist/chunks/{usage-limits-40y6dtc2.js → project-40y6dtc2.js} +1 -1
- package/dist/chunks/{usage-limits-5enarcya.js → project-40za9wsf.js} +6 -6
- package/dist/chunks/{usage-limits-10m5wmrt.js → project-43mz42wn.js} +15 -15
- package/dist/chunks/{usage-limits-v06dy2nr.js → project-46mmnvnq.js} +30 -30
- package/dist/chunks/{usage-limits-7hb37y7f.js → project-4a9adyq1.js} +28 -28
- package/dist/chunks/{usage-limits-4dx1dgte.js → project-4dx1dgte.js} +1 -1
- package/dist/chunks/{usage-limits-r542h3bh.js → project-4f25tdd0.js} +5 -5
- package/dist/chunks/{usage-limits-4gygsy95.js → project-4pngysgc.js} +33 -33
- package/dist/chunks/{usage-limits-4pyp9zr9.js → project-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-4v008n1t.js → project-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-9vcw3g39.js → project-52f5a6rd.js} +11 -11
- package/dist/chunks/{usage-limits-1pk0e05p.js → project-539dw32x.js} +4 -4
- package/dist/chunks/{usage-limits-kt3bjfbg.js → project-53nv8vz9.js} +12 -2
- package/dist/chunks/{usage-limits-r1dk3kje.js → project-5eagrnsn.js} +32 -32
- package/dist/chunks/{usage-limits-x150ncgg.js → project-5jandp8q.js} +2 -2
- package/dist/chunks/{usage-limits-5m9w47nd.js → project-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-w3c3s7r0.js → project-5nbmkez3.js} +17 -17
- package/dist/chunks/{usage-limits-bpjt7qa0.js → project-5pcajhdb.js} +15 -15
- package/dist/chunks/{usage-limits-5kpkpy7e.js → project-5x6zgx5a.js} +175 -175
- package/dist/chunks/{usage-limits-cm7yx9kb.js → project-64rjgvdt.js} +8 -8
- package/dist/chunks/{usage-limits-4k2ewa1c.js → project-69xp77xe.js} +9 -9
- package/dist/chunks/project-70c7swy8.js +47 -0
- package/dist/chunks/{usage-limits-5zpqhmp2.js → project-716k91av.js} +6 -6
- package/dist/chunks/{usage-limits-9apccgb5.js → project-71ky0fxt.js} +4 -4
- package/dist/chunks/{usage-limits-pn6afn8z.js → project-726km6eh.js} +59 -59
- package/dist/chunks/{usage-limits-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-xce6rrmj.js → project-7hxvez1g.js} +18 -18
- package/dist/chunks/{usage-limits-7nqkf5r1.js → project-7nqkf5r1.js} +2 -2
- package/dist/chunks/{usage-limits-fcay2pc4.js → project-7prjwx2s.js} +5 -5
- package/dist/chunks/{usage-limits-ky83957t.js → project-7r0camkz.js} +11 -11
- package/dist/chunks/{usage-limits-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-7weczvnd.js → project-7weczvnd.js} +1 -1
- package/dist/chunks/{usage-limits-y1rksqa0.js → project-7yyxz3fg.js} +30 -30
- package/dist/chunks/{usage-limits-775hqbnd.js → project-80mg3ag8.js} +3 -3
- package/dist/chunks/{usage-limits-gegzm01w.js → project-821n8anj.js} +19 -19
- package/dist/chunks/{usage-limits-f32m8sjz.js → project-82phgae0.js} +5 -5
- package/dist/chunks/{usage-limits-6qhrh4x8.js → project-85a5jd0r.js} +57 -57
- package/dist/chunks/{usage-limits-89287pr7.js → project-89287pr7.js} +1 -1
- package/dist/chunks/{usage-limits-8cg7mtm3.js → project-8cg7mtm3.js} +1 -1
- package/dist/chunks/{usage-limits-amdp4rg6.js → project-8dqkg4s0.js} +7 -7
- package/dist/chunks/{usage-limits-pkkerzhz.js → project-8sb7jtsn.js} +9 -9
- package/dist/chunks/{usage-limits-8sxe6kv8.js → project-8sxe6kv8.js} +2 -2
- package/dist/chunks/{usage-limits-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-90zstvax.js → project-90zstvax.js} +1 -1
- package/dist/chunks/{usage-limits-rj7jtxy8.js → project-94e33dpz.js} +3 -3
- package/dist/chunks/{usage-limits-0s784tvc.js → project-96cftbda.js} +36 -36
- package/dist/chunks/{usage-limits-96djdqw5.js → project-96djdqw5.js} +4 -4
- package/dist/chunks/{usage-limits-6s9fcvps.js → project-98b85hpm.js} +8 -8
- package/dist/chunks/{usage-limits-jpmc7mce.js → project-9a0r90ad.js} +5 -5
- package/dist/chunks/{usage-limits-ctmpqb7w.js → project-9f3jsh1d.js} +9 -9
- package/dist/chunks/{usage-limits-mq3m4d00.js → project-9gvz502r.js} +11 -11
- package/dist/chunks/{usage-limits-y32n9hem.js → project-9jx6pde7.js} +11 -11
- package/dist/chunks/{usage-limits-g4v74gy6.js → project-9jxpbjsa.js} +8 -8
- package/dist/chunks/{usage-limits-veg0p4m6.js → project-9m02z06j.js} +29 -29
- package/dist/chunks/{usage-limits-kq7jn13v.js → project-9w0mq0qd.js} +31 -31
- package/dist/chunks/{usage-limits-963hk181.js → project-a0fq0pbv.js} +9 -9
- package/dist/chunks/{usage-limits-nv9tsjma.js → project-a0kwzn5j.js} +6 -6
- package/dist/chunks/{usage-limits-mnv13tdy.js → project-a1td16et.js} +8 -8
- package/dist/chunks/{usage-limits-n2m99ekp.js → project-a260d95k.js} +8 -8
- package/dist/chunks/{usage-limits-bxa0nxwq.js → project-a90k0e99.js} +9 -9
- package/dist/chunks/{usage-limits-38aws4xb.js → project-anvcme1c.js} +4 -4
- package/dist/chunks/{usage-limits-njqs6wra.js → project-av5hzh88.js} +5 -5
- package/dist/chunks/{usage-limits-djadtdmr.js → project-axhyxf2f.js} +4 -4
- package/dist/chunks/{usage-limits-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
- package/dist/chunks/{usage-limits-xvc6mbg8.js → project-aynzz71e.js} +6 -6
- package/dist/chunks/{usage-limits-4bp41499.js → project-b1x8zrb5.js} +9 -9
- package/dist/chunks/{usage-limits-mz3s4az1.js → project-b5p2pymq.js} +9 -9
- package/dist/chunks/{usage-limits-b6vsg801.js → project-b6vsg801.js} +2 -2
- package/dist/chunks/{usage-limits-wfaz09h2.js → project-b7ke1cet.js} +1 -1
- package/dist/chunks/{usage-limits-4et74f6b.js → project-bb3r9wxm.js} +5 -5
- package/dist/chunks/{usage-limits-7p72sfac.js → project-bbmsnk0w.js} +14 -14
- package/dist/chunks/{usage-limits-dvcbx1ha.js → project-bbvh3bsr.js} +18 -18
- package/dist/chunks/{usage-limits-1yq9hg58.js → project-bdhd9h6e.js} +5 -5
- package/dist/chunks/{usage-limits-18280491.js → project-besf4p6f.js} +15 -15
- package/dist/chunks/{usage-limits-ss55yq38.js → project-bmj3n0tq.js} +7 -7
- package/dist/chunks/{usage-limits-5p5f77nk.js → project-bn2zw3xc.js} +5 -5
- package/dist/chunks/{usage-limits-4s2dry1t.js → project-bpzq4rbg.js} +9 -9
- package/dist/chunks/{usage-limits-bstexjd6.js → project-bstexjd6.js} +1 -1
- package/dist/chunks/{usage-limits-h91dzy3d.js → project-byxbe7hm.js} +20 -20
- package/dist/chunks/{usage-limits-dzkj5zg6.js → project-c15gyfbj.js} +5 -5
- package/dist/chunks/{usage-limits-15qtk8ma.js → project-c5zvymhv.js} +4 -4
- package/dist/chunks/{usage-limits-d2c4spra.js → project-cbpf86ap.js} +27 -27
- package/dist/chunks/{usage-limits-vz39pab0.js → project-cdhapxv9.js} +3 -3
- package/dist/chunks/{usage-limits-jxt80df3.js → project-ce6vjyqc.js} +16 -16
- package/dist/chunks/{usage-limits-vgbhzz5z.js → project-cka6ngk0.js} +12 -12
- package/dist/chunks/{usage-limits-gy34hb5s.js → project-ckcb1bmd.js} +28 -28
- package/dist/chunks/{usage-limits-sx27c7qs.js → project-ckk44cdz.js} +5 -5
- package/dist/chunks/{usage-limits-awgwtnny.js → project-cmmsak4z.js} +17 -17
- package/dist/chunks/{usage-limits-6qm8pmbm.js → project-cnh7rm97.js} +5 -5
- package/dist/chunks/{usage-limits-0ahs07zn.js → project-cpvd08na.js} +4 -4
- package/dist/chunks/{usage-limits-6px0402j.js → project-cqff7g0c.js} +16 -16
- package/dist/chunks/{usage-limits-exwyvq07.js → project-csx4k8k5.js} +8 -8
- package/dist/chunks/{usage-limits-cwrgdav8.js → project-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-d4v9tmah.js → project-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-mnbn32wh.js → project-dgq98zw6.js} +8 -8
- package/dist/chunks/{usage-limits-venamzt2.js → project-dmwh07z0.js} +5 -5
- package/dist/chunks/{usage-limits-dt77769w.js → project-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-ech31g9w.js → project-dv9xw74s.js} +11 -11
- package/dist/chunks/{usage-limits-d9ksjtfz.js → project-e04vrpbp.js} +17 -17
- package/dist/chunks/{usage-limits-vbra5rcs.js → project-e18cc8yy.js} +9 -9
- package/dist/chunks/{usage-limits-n6bxe8k7.js → project-e4dxw20e.js} +22 -22
- package/dist/chunks/{usage-limits-vh6xaw59.js → project-e6q22qz5.js} +52 -52
- package/dist/chunks/{usage-limits-spzqdwra.js → project-e81060zc.js} +40 -40
- package/dist/chunks/{usage-limits-e834z07m.js → project-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-n8tvev2c.js → project-ek60h7nh.js} +4 -4
- package/dist/chunks/{usage-limits-0x2rwxnq.js → project-ek7r9692.js} +6 -6
- package/dist/chunks/{usage-limits-eqw4pqj1.js → project-eqw4pqj1.js} +2 -2
- package/dist/chunks/{usage-limits-ey66582v.js → project-er5qm13q.js} +60 -56
- package/dist/chunks/{usage-limits-4ygb74tw.js → project-etrnj9s7.js} +8 -8
- package/dist/chunks/{usage-limits-z1jw3904.js → project-exgqh01h.js} +26 -26
- package/dist/chunks/{usage-limits-qtf35215.js → project-ez4sqtdc.js} +3 -3
- package/dist/chunks/project-f521vhbp.js +26 -0
- package/dist/chunks/{usage-limits-hcsgyemw.js → project-f53z0w0m.js} +83 -83
- package/dist/chunks/{usage-limits-d997mhm0.js → project-fe3t4ebc.js} +17 -17
- package/dist/chunks/{usage-limits-fffv3p7h.js → project-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-fg9p65nk.js → project-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-ywrgnry5.js → project-fm535swd.js} +4 -4
- package/dist/chunks/{usage-limits-gfnw34jr.js → project-fn5qj37w.js} +51 -51
- package/dist/chunks/{usage-limits-25nmasyx.js → project-fqhgsedn.js} +17 -17
- package/dist/chunks/{usage-limits-p76me67c.js → project-fstdtr31.js} +4 -4
- package/dist/chunks/{usage-limits-3tcww9q5.js → project-ftepgs6m.js} +11 -11
- package/dist/chunks/{usage-limits-0v9pqyk9.js → project-fvg0bsm6.js} +24 -24
- package/dist/chunks/{usage-limits-hs00yh6e.js → project-g8kza3j3.js} +13 -13
- package/dist/chunks/{usage-limits-gbjdnr5j.js → project-gbjdnr5j.js} +2 -2
- package/dist/chunks/{usage-limits-qtc3e3tg.js → project-gc7a2s80.js} +33 -33
- package/dist/chunks/{usage-limits-3zsscga3.js → project-gcrq2pb2.js} +4 -4
- package/dist/chunks/{usage-limits-na5qccqe.js → project-ge5jw5a3.js} +41 -41
- package/dist/chunks/{usage-limits-ghrv1g9c.js → project-ghrv1g9c.js} +1 -1
- package/dist/chunks/{usage-limits-hep9ne9z.js → project-gjj1a6n2.js} +25 -25
- package/dist/chunks/{usage-limits-1qgxqrxn.js → project-gnv8580k.js} +3 -3
- package/dist/chunks/{usage-limits-gxs71cxp.js → project-gxs71cxp.js} +1 -1
- package/dist/chunks/{usage-limits-gc1af5b5.js → project-h792trvy.js} +14 -14
- package/dist/chunks/{usage-limits-a0rbj5c9.js → project-h7vd8y7b.js} +12 -12
- package/dist/chunks/{usage-limits-y0550yvz.js → project-h9fh7y94.js} +11 -11
- package/dist/chunks/{usage-limits-tebjn885.js → project-h9q35say.js} +27 -27
- package/dist/chunks/{usage-limits-a0yn61bf.js → project-hcz18hcw.js} +22 -22
- package/dist/chunks/{usage-limits-xwg5dkpe.js → project-hfcxeq1b.js} +5 -5
- package/dist/chunks/{usage-limits-ppsksdb0.js → project-hknx3ga7.js} +36 -36
- package/dist/chunks/{usage-limits-spavqdv3.js → project-hmeh6bv9.js} +33 -33
- package/dist/chunks/{usage-limits-yx1av7eh.js → project-hrfsj0r4.js} +11 -11
- package/dist/chunks/{usage-limits-w8ex0f27.js → project-hyppwetb.js} +8 -8
- package/dist/chunks/{usage-limits-nve1e1c6.js → project-hzaj9ats.js} +5 -5
- package/dist/chunks/{usage-limits-gff1tyyz.js → project-j13j23vt.js} +14 -14
- package/dist/chunks/{usage-limits-j376ae4e.js → project-j376ae4e.js} +1 -1
- package/dist/chunks/{usage-limits-jkkce59h.js → project-j7wjfnya.js} +12 -12
- package/dist/chunks/{usage-limits-b8v13f3n.js → project-jjcdyn1v.js} +2 -2
- package/dist/chunks/{usage-limits-s7xfme0a.js → project-jjwnx7m3.js} +19 -19
- package/dist/chunks/{usage-limits-t6gxpz4v.js → project-jkrqcqs0.js} +11 -11
- package/dist/chunks/{usage-limits-2y8q1569.js → project-jnhgr88h.js} +6 -6
- package/dist/chunks/{usage-limits-j34qtke0.js → project-jqdm0egr.js} +28 -28
- package/dist/chunks/{usage-limits-jxd6f16v.js → project-jxd6f16v.js} +2 -2
- package/dist/chunks/{usage-limits-gfjv06q5.js → project-kb2fafn8.js} +89 -89
- package/dist/chunks/{usage-limits-kh8gdsej.js → project-kh8gdsej.js} +1 -1
- package/dist/chunks/{usage-limits-vhg2mak9.js → project-km2jt1n7.js} +39 -39
- package/dist/chunks/{usage-limits-g7cffxvx.js → project-kmgqb0hj.js} +6 -6
- package/dist/chunks/{usage-limits-4z8y7yf2.js → project-kp6q3yge.js} +11 -11
- package/dist/chunks/{usage-limits-e5z31n27.js → project-kpmjj9dj.js} +21 -21
- package/dist/chunks/{usage-limits-4e1vqqhv.js → project-kpr8r4gf.js} +7 -7
- package/dist/chunks/{usage-limits-d3jhqyb5.js → project-kwp8h6ge.js} +11 -11
- package/dist/chunks/{usage-limits-kzczzf4v.js → project-kzczzf4v.js} +1 -1
- package/dist/chunks/{usage-limits-fy12g2n8.js → project-m0wanvqp.js} +42 -42
- package/dist/chunks/{usage-limits-njptjptt.js → project-m15jf2d8.js} +17 -17
- package/dist/chunks/{usage-limits-m1714858.js → project-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-6gnkff4t.js → project-m7df3mfn.js} +11 -11
- package/dist/chunks/{usage-limits-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-mb7mbhnz.js → project-mb7mbhnz.js} +3 -3
- package/dist/chunks/project-me0dhgxs.js +18 -0
- package/dist/chunks/{usage-limits-888b0z3q.js → project-me2yvmr0.js} +57 -53
- package/dist/chunks/{usage-limits-0qxarm3v.js → project-mha933gq.js} +22 -22
- package/dist/chunks/{usage-limits-tvtps2q9.js → project-mm06edep.js} +7 -6
- package/dist/chunks/{usage-limits-10ypkzc2.js → project-mxmv149a.js} +11 -11
- package/dist/chunks/{usage-limits-32jcck0r.js → project-mybwhcb5.js} +32 -32
- package/dist/chunks/{usage-limits-axva2dad.js → project-mz7yysnf.js} +20 -20
- package/dist/chunks/{usage-limits-aqtkg6yn.js → project-mzsvv2v9.js} +18 -18
- package/dist/chunks/{usage-limits-cfgk3rgc.js → project-n0jv45dk.js} +3 -3
- package/dist/chunks/{usage-limits-053wvef3.js → project-n59qcj3f.js} +14 -14
- package/dist/chunks/{usage-limits-ba8cct1v.js → project-n6cgafjz.js} +16 -16
- package/dist/chunks/{usage-limits-32177fhx.js → project-n78mes17.js} +7 -7
- package/dist/chunks/{usage-limits-t6174pz6.js → project-naxg1y3z.js} +4 -4
- package/dist/chunks/{usage-limits-eqzgpt8r.js → project-nfgvz23f.js} +2 -2
- package/dist/chunks/{usage-limits-5zkxt3hh.js → project-nhrefdj7.js} +13 -13
- package/dist/chunks/{usage-limits-nse08h9t.js → project-nj82evve.js} +7 -7
- package/dist/chunks/{usage-limits-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-vz5sxj74.js → project-pnhr1vvr.js} +5 -5
- package/dist/chunks/project-pvs7bvhv.js +571 -0
- package/dist/chunks/{usage-limits-nrhanpjj.js → project-pwdej7e7.js} +29 -29
- package/dist/chunks/{usage-limits-c6a6ckf7.js → project-pwep5jdf.js} +6 -6
- package/dist/chunks/{usage-limits-vpq71sav.js → project-pwz30w5f.js} +21 -21
- package/dist/chunks/{usage-limits-sbtr6ztz.js → project-q11t1skj.js} +20 -20
- package/dist/chunks/{usage-limits-jhwp234h.js → project-q65mdntm.js} +4 -4
- package/dist/chunks/{usage-limits-dmtq00sg.js → project-qaazn6f8.js} +8 -8
- package/dist/chunks/{usage-limits-4trj2kny.js → project-qava8dj6.js} +11 -11
- package/dist/chunks/{usage-limits-4b94zsf1.js → project-qbh5071r.js} +18 -18
- package/dist/chunks/{usage-limits-exv4tp1p.js → project-qbqv0dqm.js} +35 -35
- package/dist/chunks/{usage-limits-qwk9pz07.js → project-qbrwtzwr.js} +27 -27
- package/dist/chunks/{usage-limits-ja0hkjbc.js → project-qe9ewq4x.js} +15 -15
- package/dist/chunks/{usage-limits-vr6wxb5y.js → project-qfhrpw0k.js} +16 -16
- package/dist/chunks/{usage-limits-qp7r0hxv.js → project-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-vzppetdn.js → project-qw2t3dzn.js} +6 -6
- package/dist/chunks/{usage-limits-c2krg90e.js → project-qx91edma.js} +7 -7
- package/dist/chunks/{usage-limits-3qgwywyc.js → project-r17fbvme.js} +4 -4
- package/dist/chunks/{usage-limits-0m00c6e3.js → project-r259dfpz.js} +22 -22
- package/dist/chunks/{usage-limits-abgmshdc.js → project-r55m6wx9.js} +3 -3
- package/dist/chunks/{usage-limits-9nnfgq8q.js → project-r6grmmj8.js} +21 -21
- package/dist/chunks/{usage-limits-cepd70zs.js → project-r7e9vx2n.js} +30 -30
- package/dist/chunks/{usage-limits-hcgycpr9.js → project-r8zaw36y.js} +28 -28
- package/dist/chunks/{usage-limits-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-rgc9cx3e.js → project-rgc9cx3e.js} +2 -2
- package/dist/chunks/{usage-limits-cv6z0vvb.js → project-rgw9km2s.js} +8 -8
- package/dist/chunks/{usage-limits-rt5dr6hb.js → project-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-rcf1hdvd.js → project-rvztm0f0.js} +11 -11
- package/dist/chunks/{usage-limits-s1ba0vj0.js → project-s1ba0vj0.js} +2 -2
- package/dist/chunks/project-s1ntesz6.js +265 -0
- package/dist/chunks/{usage-limits-6s59e8a4.js → project-s3q7a4yt.js} +9 -9
- package/dist/chunks/{usage-limits-sa3fpqfw.js → project-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-sbya78hr.js → project-sbya78hr.js} +1 -1
- package/dist/chunks/{usage-limits-0j7gp832.js → project-sqjzf8x2.js} +4 -4
- package/dist/chunks/{usage-limits-svcy3p9a.js → project-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-0hf0dvz0.js → project-swv67jcs.js} +3 -3
- package/dist/chunks/{usage-limits-csht91d3.js → project-t103h60z.js} +23 -23
- package/dist/chunks/{usage-limits-9tjkp5bt.js → project-t3yg9b49.js} +80 -80
- package/dist/chunks/{usage-limits-xxschbft.js → project-t54kw4zq.js} +7 -7
- package/dist/chunks/{usage-limits-7ct7xfk4.js → project-t5nywe1c.js} +43 -43
- package/dist/chunks/{usage-limits-34s594hx.js → project-t848fhp4.js} +6 -6
- package/dist/chunks/{usage-limits-t8erkws8.js → project-t8erkws8.js} +2 -2
- package/dist/chunks/{usage-limits-39e3fjan.js → project-t9ttf0gw.js} +12 -12
- package/dist/chunks/{usage-limits-tczq8hjw.js → project-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-160yv0cs.js → project-tg1vr1qt.js} +8 -8
- package/dist/chunks/{usage-limits-r84nazkj.js → project-tk5z3f6w.js} +15 -15
- package/dist/chunks/{usage-limits-5fwpppz2.js → project-tk7vtk68.js} +18 -16
- package/dist/chunks/{usage-limits-aya8ak7p.js → project-tnyzx988.js} +18 -18
- package/dist/chunks/{usage-limits-s2e98wb6.js → project-tnzw11y9.js} +5 -5
- package/dist/chunks/{usage-limits-fbknpqb5.js → project-tpg7h1py.js} +8 -8
- package/dist/chunks/{usage-limits-hjyhhk8g.js → project-tpqghdpg.js} +19 -19
- package/dist/chunks/{usage-limits-fmkgj2y2.js → project-tpv0drx9.js} +6 -6
- package/dist/chunks/{usage-limits-qye5txnr.js → project-tpycw7ak.js} +21 -21
- package/dist/chunks/{usage-limits-bv26c8gy.js → project-tq53n54w.js} +8 -8
- package/dist/chunks/{usage-limits-twssxy5n.js → project-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-x26wqd07.js → project-tx91wa5k.js} +4 -4
- package/dist/chunks/{usage-limits-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-62zd5tzk.js → project-v4bj6baw.js} +7 -7
- package/dist/chunks/{usage-limits-ht2e9v4x.js → project-v7jw4qpb.js} +28 -27
- package/dist/chunks/{usage-limits-7vcaw8ak.js → project-vcfmb0aa.js} +11 -11
- package/dist/chunks/{usage-limits-qcwmctpr.js → project-vfkrvvzg.js} +3 -3
- package/dist/chunks/{usage-limits-5n5322b9.js → project-vgajs0a2.js} +10 -10
- package/dist/chunks/{usage-limits-dqx57jvk.js → project-vgf0s298.js} +7 -7
- package/dist/chunks/{usage-limits-yk4ram99.js → project-vhc965fw.js} +6 -6
- package/dist/chunks/{usage-limits-vjf35v1f.js → project-vjf35v1f.js} +1 -1
- package/dist/chunks/{usage-limits-s26c8eb5.js → project-vmxsyvj6.js} +4 -4
- package/dist/chunks/{usage-limits-6rsp1qhk.js → project-vn14q1vs.js} +18 -18
- package/dist/chunks/{usage-limits-xzv5ww7k.js → project-w19854z7.js} +11 -11
- package/dist/chunks/{usage-limits-8mbmcwrd.js → project-w3aygza5.js} +16 -16
- package/dist/chunks/{usage-limits-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-wr3re1en.js → project-w687dnns.js} +4 -4
- package/dist/chunks/{usage-limits-mf63ygpr.js → project-w79nt68w.js} +4 -4
- package/dist/chunks/{usage-limits-q0rre6t9.js → project-w7f2dp2w.js} +16 -16
- package/dist/chunks/{usage-limits-wakvkjy4.js → project-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-wegkxhrn.js → project-wegkxhrn.js} +2 -2
- package/dist/chunks/{usage-limits-wnhgecwx.js → project-wnhgecwx.js} +1 -1
- package/dist/chunks/{usage-limits-dx8127n8.js → project-wsx9wyaa.js} +15 -15
- package/dist/chunks/{usage-limits-wvr8xscb.js → project-wvr8xscb.js} +1 -1
- package/dist/chunks/{usage-limits-pb6yrj3c.js → project-ww2x1zr9.js} +6 -6
- package/dist/chunks/{usage-limits-vmqe41cb.js → project-wzfa06mn.js} +4 -4
- package/dist/chunks/{usage-limits-m3xyhsg5.js → project-x1c7xtkj.js} +23 -23
- package/dist/chunks/{usage-limits-4ehf6e3n.js → project-xdbtyszx.js} +15 -15
- package/dist/chunks/{usage-limits-babktaw3.js → project-xksw6ev0.js} +4 -4
- package/dist/chunks/{usage-limits-a7p8szrm.js → project-xtjdmje4.js} +39 -39
- package/dist/chunks/{usage-limits-6zmhqb80.js → project-xxq7an4k.js} +20 -20
- package/dist/chunks/{usage-limits-2ydnrq91.js → project-xz8fwc3w.js} +11 -11
- package/dist/chunks/{usage-limits-mh79e1e9.js → project-xzq4ysw5.js} +7 -7
- package/dist/chunks/{usage-limits-3pwpww2t.js → project-y1drznxv.js} +38 -38
- package/dist/chunks/{usage-limits-dy08xxz8.js → project-y31awznh.js} +15 -15
- package/dist/chunks/{usage-limits-yb20nhc3.js → project-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-ybws1qgk.js → project-ybws1qgk.js} +4 -4
- package/dist/chunks/{usage-limits-sq1yxmab.js → project-yms3hkvm.js} +27 -27
- package/dist/chunks/{usage-limits-yr705xyq.js → project-yr705xyq.js} +1 -1
- package/dist/chunks/{usage-limits-yvtc2x31.js → project-yvtc2x31.js} +1 -1
- package/dist/chunks/{usage-limits-p9c5m7a1.js → project-yxpmhp3m.js} +11 -11
- package/dist/chunks/{usage-limits-t8rtpfwj.js → project-yzdn5123.js} +27 -27
- package/dist/chunks/{usage-limits-8hhtmed4.js → project-yzjzbeq7.js} +24 -24
- package/dist/chunks/{usage-limits-gv6hvftc.js → project-z7gt2z0p.js} +5 -5
- package/dist/chunks/{usage-limits-aym106a1.js → project-z7p9cwh7.js} +8 -8
- package/dist/chunks/{usage-limits-bqtcaj4g.js → project-z864cskq.js} +14 -14
- package/dist/chunks/{usage-limits-j9nxzz3g.js → project-ze75qvmd.js} +3 -3
- package/dist/chunks/{usage-limits-f1w8r00p.js → project-zg6rj2t1.js} +27 -27
- package/dist/chunks/{usage-limits-j91g032f.js → project-zmmeasjg.js} +19 -19
- package/dist/chunks/{usage-limits-qkrwqy6k.js → project-znqcmc13.js} +9 -9
- package/dist/chunks/{usage-limits-by8ty0bx.js → project-zpdbqgja.js} +4 -4
- package/dist/chunks/{usage-limits-s9d24062.js → project-zx32m1gd.js} +11 -11
- package/dist/chunks/{usage-limits-3552h294.js → project-zxnv3p5n.js} +25 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- 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 +236 -236
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- 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 +133 -133
- package/dist/console-access.js +7 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +83 -83
- 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 +62 -62
- 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 +437 -437
- 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 +109 -109
- 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 +83 -83
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +116 -116
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +118 -118
- 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 +104 -104
- 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 +3 -3
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +93 -93
- 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 +100 -100
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +177 -177
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +155 -155
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +115 -107
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +154 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- 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 +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- 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 +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +406 -406
- 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 +146 -146
- 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 +1 -1
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- 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 +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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- 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 +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- 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 +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- 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 +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- 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 +105 -105
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +99 -99
- 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 +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -257
- 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 +131 -131
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- 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 +246 -246
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- 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 +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +254 -254
- 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 +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +140 -140
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +3 -3
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +158 -158
- package/dist/snapshot.js +104 -104
- 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 +176 -176
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +243 -243
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +112 -112
- 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 +5 -1
- package/dist/types/config.d.ts +5 -0
- package/dist/types/console-access.d.ts +12 -0
- package/dist/types/mcp/connection.d.ts +2 -0
- package/dist/types/plugin/internal.d.ts +3 -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 +2 -2
- 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 +91 -91
- 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 +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 +100 -100
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/usage-limits-00k2qwqw.js +0 -49
- package/dist/chunks/usage-limits-3398vr38.js +0 -563
- package/dist/chunks/usage-limits-7yv5xa0k.js +0 -18
- package/dist/chunks/usage-limits-k3wkbchq.js +0 -265
- package/dist/chunks/usage-limits-scvdbrsj.js +0 -26
- package/dist/chunks/usage-limits-tkxx25dy.js +0 -16
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-108x4f4w.js → project-108x4f4w.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1kah00gy.js → project-1kah00gy.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → project-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3af0jn4w.js → project-3af0jn4w.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4qk9sjk2.js → project-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → project-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6agm2x70.js → project-6agm2x70.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → project-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → project-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bhmrqjy3.js → project-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → project-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-ean2d8b5.js → project-ean2d8b5.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → project-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → project-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → project-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → project-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-nh4v3znn.js → project-nh4v3znn.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → project-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-syrav9an.js → project-syrav9an.js} +0 -0
- /package/dist/chunks/{usage-limits-t03h4f5z.js → project-t03h4f5z.js} +0 -0
- /package/dist/chunks/{usage-limits-ty7weeps.js → project-ty7weeps.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → project-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-vtarvj67.js → project-vtarvj67.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-z0h12gs8.js → project-z0h12gs8.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → project-z9919s4g.js} +0 -0
- /package/dist/chunks/{usage-limits-zxpyjp51.js → project-zxpyjp51.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node94
|
|
4
|
+
} from "./project-9jx6pde7.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-e6q22qz5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./project-fe3t4ebc.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-40y6dtc2.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info8,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service27,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node31
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service27 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
62
|
+
const location = yield* Service82;
|
|
63
63
|
const bus = yield* Service90;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service27.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node31 = makeLocationNode({
|
|
193
|
+
service: Service27,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node86, node94]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info8, Mode2, Untracked2, DiffError2, InitializeError2, Service27, node31, exports_vcs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/entry-observer.ts
|
|
6
6
|
var exports_entry_observer = {};
|
|
@@ -14,11 +14,12 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
14
14
|
import { Effect, PubSub, Stream } from "effect";
|
|
15
15
|
import path from "path";
|
|
16
16
|
var observe2 = Effect.fnUntraced(function* (config, event, reload) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
yield* event.subscribe({ types: ["config.updated"] }).pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
18
|
+
return {
|
|
19
|
+
get entries() {
|
|
20
|
+
return config.snapshot();
|
|
21
|
+
}
|
|
22
|
+
};
|
|
22
23
|
});
|
|
23
24
|
var observeSources2 = Effect.fnUntraced(function* (input) {
|
|
24
25
|
const config = input.config;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service90,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node94
|
|
5
|
+
} from "./project-9jx6pde7.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk2 = {};
|
|
12
12
|
__export(exports_sdk2, {
|
|
13
13
|
SdkPlugins: () => exports_sdk2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service90;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node94] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./project-cka6ngk0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service82,
|
|
13
|
+
node86
|
|
14
|
+
} from "./project-fe3t4ebc.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service49,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node53,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service49 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service82;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID9.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node53 = makeLocationNode({
|
|
159
|
+
service: Service49,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node,
|
|
161
|
+
deps: [FSUtil.node, node88, Global.node, node86]
|
|
162
162
|
});
|
|
163
|
-
var noopLayer2 = Layer.succeed(
|
|
163
|
+
var noopLayer2 = Layer.succeed(Service49, Service49.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service46, Service46.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error3({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID9, Error3, Service49, node53, noopLayer2, exports_snapshot2 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-0j1zqr2k.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service89
|
|
7
|
+
} from "./project-2pyr13f1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID20,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-135jvntg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-zxnv3p5n.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Info23
|
|
20
|
+
} from "./project-pwdej7e7.js";
|
|
21
21
|
import {
|
|
22
22
|
success2,
|
|
23
23
|
error2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-yb20nhc3.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./project-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-3gr38rez.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./project-kpr8r4gf.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./project-kmgqb0hj.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/chatgpt.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -46,8 +46,8 @@ var issuer = "https://auth.openai.com";
|
|
|
46
46
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
47
47
|
var resource = "https://api.openai.com/v1";
|
|
48
48
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
49
|
-
var providerID =
|
|
50
|
-
var integrationID =
|
|
49
|
+
var providerID = ID16.openai;
|
|
50
|
+
var integrationID = ID20.make("openai");
|
|
51
51
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
52
52
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
53
53
|
var fallbackModels = new Set([
|
|
@@ -184,7 +184,7 @@ function listen(server) {
|
|
|
184
184
|
var ChatGPTPlugin2 = define({
|
|
185
185
|
id: "opencode.provider.chatgpt",
|
|
186
186
|
effect: Effect.fn(function* (ctx) {
|
|
187
|
-
const credentials = yield*
|
|
187
|
+
const credentials = yield* Service89;
|
|
188
188
|
const loading = Semaphore.makeUnsafe(1);
|
|
189
189
|
let chatgpt;
|
|
190
190
|
let source;
|
|
@@ -198,7 +198,7 @@ var ChatGPTPlugin2 = define({
|
|
|
198
198
|
yield* ctx.integration.transform((editor) => {
|
|
199
199
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
200
200
|
});
|
|
201
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
201
|
+
yield* Effect.forEach(yield* credentials.list(ID20.make("openai")), (entry) => {
|
|
202
202
|
const value = entry.value;
|
|
203
203
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
204
204
|
return Effect.void;
|
|
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
|
|
|
327
327
|
const found = byID.get(model.modelID);
|
|
328
328
|
return found ? [deriveModel(found, model)] : [];
|
|
329
329
|
}),
|
|
330
|
-
...remote.filter((model) => !known.has(
|
|
330
|
+
...remote.filter((model) => !known.has(ID15.make(model.slug))).map((model) => deriveModel(model, Info23.default(ID16.openai, ID15.make(model.slug))))
|
|
331
331
|
];
|
|
332
332
|
}
|
|
333
333
|
function deriveModel(remote, previous) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9jx6pde7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID22,
|
|
6
|
+
Event21,
|
|
7
|
+
Service89
|
|
8
|
+
} from "./project-2pyr13f1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID16
|
|
11
|
+
} from "./project-zxnv3p5n.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-3gr38rez.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
46
|
+
const credentials = yield* Service89;
|
|
47
47
|
const bus = yield* Service90;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
53
53
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
54
54
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
55
55
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
56
|
-
const configured = (yield* configuredSettings2(
|
|
56
|
+
const configured = (yield* configuredSettings2(ID16.googleVertex)) ?? {};
|
|
57
57
|
const projects = Array.from(new Set([
|
|
58
58
|
resolveProject(configured),
|
|
59
59
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -67,8 +67,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
67
67
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
|
-
const connection = yield* ctx.integration.connection.active(
|
|
71
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
70
|
+
const connection = yield* ctx.integration.connection.active(ID16.googleVertex);
|
|
71
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
74
74
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
76
76
|
const selected = { settings: yield* load() };
|
|
77
77
|
const settingsFor = (provider) => ({
|
|
78
78
|
...provider.settings,
|
|
79
|
-
...(provider.integrationID ?? provider.id) ===
|
|
79
|
+
...(provider.integrationID ?? provider.id) === ID16.googleVertex ? selected.settings : {}
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID16.googleVertex,
|
|
84
84
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
85
85
|
});
|
|
86
86
|
editor.method.update({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID16.googleVertex,
|
|
88
88
|
method: {
|
|
89
89
|
id: ADC_METHOD,
|
|
90
90
|
type: "external",
|
|
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
122
122
|
});
|
|
123
123
|
yield* ctx.provider.transform((evt) => {
|
|
124
124
|
for (const item of evt.list()) {
|
|
125
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
125
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID16.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
126
126
|
continue;
|
|
127
127
|
const settings = settingsFor(item.provider);
|
|
128
128
|
const project = resolveProject(settings);
|
|
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
141
141
|
});
|
|
142
142
|
yield* ctx.model.transform((models) => {
|
|
143
143
|
for (const item of models.provider.list()) {
|
|
144
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
144
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID16.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
145
145
|
continue;
|
|
146
146
|
const settings = settingsFor(item.provider);
|
|
147
147
|
const project = resolveProject(settings);
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-726km6eh.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-6agm2x70.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./project-fe3t4ebc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID15,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-pwdej7e7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service76
|
|
10
|
+
} from "./project-er5qm13q.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service56
|
|
13
|
+
} from "./project-q11t1skj.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-w687dnns.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-3gr38rez.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service76;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service56);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service82);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID15.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|