@opencode/core 0.0.0-dev-535 → 0.0.0-dev-537
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +80 -80
- package/dist/chunks/{app-yx186a0m.js → console-access-01qfsx65.js} +10 -10
- package/dist/chunks/{app-034tev2y.js → console-access-034tev2y.js} +2 -2
- package/dist/chunks/{app-rwcc01tt.js → console-access-035wadpx.js} +7 -7
- package/dist/chunks/{app-4brm2gf6.js → console-access-0ksptv7m.js} +9 -9
- package/dist/chunks/{app-0y15sqga.js → console-access-0m6fyr40.js} +8 -8
- package/dist/chunks/{app-0ma9gw4f.js → console-access-0ma9gw4f.js} +2 -2
- package/dist/chunks/{app-e3gda57p.js → console-access-0mknkfh7.js} +25 -25
- package/dist/chunks/{app-k5jykw5m.js → console-access-0spn13bn.js} +11 -11
- package/dist/chunks/{app-c7txahyk.js → console-access-0sx3mf7h.js} +33 -33
- package/dist/chunks/{app-0ykm6z6e.js → console-access-0tew5ztj.js} +8 -8
- package/dist/chunks/{app-sq9brptb.js → console-access-0ypesc4q.js} +23 -23
- package/dist/chunks/{app-0sydnbwh.js → console-access-10n17nhp.js} +12 -12
- package/dist/chunks/{app-h8q1g1me.js → console-access-11yx2z4e.js} +2 -2
- package/dist/chunks/{app-dby55q07.js → console-access-16c35rba.js} +31 -31
- package/dist/chunks/{app-1aqsckx4.js → console-access-1aqsckx4.js} +1 -1
- package/dist/chunks/{app-bn1k3pn9.js → console-access-1eeb1y27.js} +30 -30
- package/dist/chunks/{app-1ep2p91f.js → console-access-1ep2p91f.js} +2 -2
- package/dist/chunks/{app-z2g7e1my.js → console-access-1fca3da3.js} +5 -5
- package/dist/chunks/{app-7vvamr0d.js → console-access-1kwdh1fn.js} +11 -11
- package/dist/chunks/{app-8bjrjs1n.js → console-access-1pk0e05p.js} +4 -4
- package/dist/chunks/{app-msd2a3qm.js → console-access-1v2g13eq.js} +4 -4
- package/dist/chunks/{app-mqje0md7.js → console-access-1x1ecqxp.js} +8 -8
- package/dist/chunks/{app-1x2knyw4.js → console-access-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-1yq9hg58.js → console-access-1yq9hg58.js} +1 -1
- package/dist/chunks/{app-6qw7kx8x.js → console-access-240j0061.js} +10 -10
- package/dist/chunks/{app-8b3vzgkx.js → console-access-25h84942.js} +4 -4
- package/dist/chunks/{app-w1x0pj73.js → console-access-28esfj65.js} +59 -59
- package/dist/chunks/{app-zy5pfpj2.js → console-access-2a6nbhm4.js} +21 -21
- package/dist/chunks/{app-rx1196nr.js → console-access-2dtsamb2.js} +7 -7
- package/dist/chunks/{app-2kg89srt.js → console-access-2kg89srt.js} +1 -1
- package/dist/chunks/{app-2p60zmnr.js → console-access-2p60zmnr.js} +2 -2
- package/dist/chunks/{app-3ar77cfh.js → console-access-2prk6ebz.js} +8 -8
- package/dist/chunks/{app-7vrybhtj.js → console-access-2v0qfyqn.js} +16 -16
- package/dist/chunks/{app-vhd00v78.js → console-access-32gt9e98.js} +9 -9
- package/dist/chunks/{app-jrjjzcah.js → console-access-385q1qcs.js} +6 -6
- package/dist/chunks/{app-04whjz6n.js → console-access-3adw4bt5.js} +9 -9
- package/dist/chunks/{app-zrt85y3r.js → console-access-3ccgjac0.js} +10 -10
- package/dist/chunks/{app-3hepkmqq.js → console-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-4rarxpf7.js → console-access-3j29ntmr.js} +8 -8
- package/dist/chunks/{app-3nnrz6f6.js → console-access-3nnrz6f6.js} +1 -1
- package/dist/chunks/{app-rh664r3j.js → console-access-3qf8cgak.js} +19 -19
- package/dist/chunks/{app-a32c5rbn.js → console-access-3sset37d.js} +43 -43
- package/dist/chunks/{app-mx98cjbb.js → console-access-3vq7tsfw.js} +11 -11
- package/dist/chunks/{app-40y6dtc2.js → console-access-40y6dtc2.js} +1 -1
- package/dist/chunks/{app-44pmzq9c.js → console-access-44pmzq9c.js} +2 -2
- package/dist/chunks/{app-5fzqp67y.js → console-access-49rwpqnq.js} +6 -6
- package/dist/chunks/{app-mtf4xfdw.js → console-access-4dd9qjzm.js} +8 -8
- package/dist/chunks/{app-4dx1dgte.js → console-access-4dx1dgte.js} +1 -1
- package/dist/chunks/{app-2kv9862h.js → console-access-4e1tj326.js} +6 -6
- package/dist/chunks/{app-v5qjwjn4.js → console-access-4g523th0.js} +16 -10
- package/dist/chunks/{app-dvzb6bhz.js → console-access-4gw5hq4k.js} +24 -24
- package/dist/chunks/{app-7283rze0.js → console-access-4n3v833w.js} +12 -12
- package/dist/chunks/{app-2ejc4ws6.js → console-access-4pk3sz26.js} +11 -11
- package/dist/chunks/{app-4pyp9zr9.js → console-access-4pyp9zr9.js} +1 -1
- package/dist/chunks/{app-h1phpm51.js → console-access-4qhpafb5.js} +14 -14
- package/dist/chunks/{app-4v008n1t.js → console-access-4v008n1t.js} +1 -1
- package/dist/chunks/{app-n38yxt4x.js → console-access-4yyb5ss0.js} +15 -15
- package/dist/chunks/{app-3vvvrw44.js → console-access-52xpdvfs.js} +9 -9
- package/dist/chunks/{app-nkry3zgq.js → console-access-58qfj6yj.js} +31 -31
- package/dist/chunks/{app-cg3fcpn4.js → console-access-58wf94jx.js} +6 -6
- package/dist/chunks/{app-z7ffkdqt.js → console-access-5ba5kpqp.js} +18 -18
- package/dist/chunks/{app-102hkecv.js → console-access-5da9984t.js} +10 -10
- package/dist/chunks/{app-w2eysc6j.js → console-access-5enarcya.js} +6 -6
- package/dist/chunks/{app-5jhjzfke.js → console-access-5k6yhdrg.js} +5 -5
- package/dist/chunks/{app-5m9w47nd.js → console-access-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-dvgrwqdr.js → console-access-5mnj44n1.js} +28 -28
- package/dist/chunks/{app-8msqj5xh.js → console-access-5pk5tb9q.js} +28 -28
- package/dist/chunks/{app-kn9zvzdd.js → console-access-64fctkm5.js} +27 -27
- package/dist/chunks/{app-n40kd4sr.js → console-access-64wcxg8z.js} +16 -16
- package/dist/chunks/{app-62zd5tzk.js → console-access-694dpcrp.js} +4 -4
- package/dist/chunks/{app-20pht57w.js → console-access-69rarv6g.js} +4 -4
- package/dist/chunks/console-access-6e5hae1x.js +265 -0
- package/dist/chunks/{app-81vmeerd.js → console-access-6k3nzffy.js} +27 -27
- package/dist/chunks/{app-xhtt5hdf.js → console-access-6mjketch.js} +32 -32
- package/dist/chunks/{app-97rgft6n.js → console-access-6mt7j1qh.js} +9 -9
- package/dist/chunks/{app-grv4183s.js → console-access-6rc2qz1w.js} +10 -10
- package/dist/chunks/{app-8n0mnj53.js → console-access-6smswwh6.js} +15 -15
- package/dist/chunks/{app-xsyz7z5y.js → console-access-6tbk1kcn.js} +5 -5
- package/dist/chunks/{app-df9ht006.js → console-access-774wbpts.js} +4 -4
- package/dist/chunks/{app-9zwexsxs.js → console-access-78p2h4ex.js} +5 -5
- package/dist/chunks/{app-6y2b864j.js → console-access-79k544d0.js} +7 -7
- package/dist/chunks/{app-7bmhse3q.js → console-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-q74804nd.js → console-access-7fzt4bje.js} +10 -10
- package/dist/chunks/{app-fe230j03.js → console-access-7mvxqbtz.js} +12 -12
- package/dist/chunks/{app-0t903sfa.js → console-access-7nftjbqh.js} +23 -23
- package/dist/chunks/{app-7w2ypzdf.js → console-access-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-7weczvnd.js → console-access-7weczvnd.js} +1 -1
- package/dist/chunks/{app-7ysxb1ac.js → console-access-7z4hrd4s.js} +20 -20
- package/dist/chunks/{app-h2kz1wwy.js → console-access-7zqvgeze.js} +29 -29
- package/dist/chunks/{app-775hqbnd.js → console-access-80mg3ag8.js} +3 -3
- package/dist/chunks/{app-ff0db4kk.js → console-access-861ehekx.js} +11 -11
- package/dist/chunks/{app-b7r9xgaf.js → console-access-86pjn6ya.js} +11 -11
- package/dist/chunks/{app-89287pr7.js → console-access-89287pr7.js} +1 -1
- package/dist/chunks/{app-4d2dtj2f.js → console-access-8cg7mtm3.js} +4 -4
- package/dist/chunks/{app-gbr34mwp.js → console-access-8cptkrwc.js} +42 -42
- package/dist/chunks/{app-8sxe6kv8.js → console-access-8sxe6kv8.js} +2 -2
- package/dist/chunks/{app-8wtp7s3z.js → console-access-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-yts2a8qm.js → console-access-8xz27cp9.js} +4 -4
- package/dist/chunks/{app-a75cs2bx.js → console-access-8y9rtgx6.js} +21 -21
- package/dist/chunks/{app-8r437q1c.js → console-access-90dd7jwa.js} +12 -12
- package/dist/chunks/{app-90zstvax.js → console-access-90zstvax.js} +1 -1
- package/dist/chunks/{app-zyfhsknv.js → console-access-963hk181.js} +9 -9
- package/dist/chunks/{app-7ez97q7s.js → console-access-99sanczd.js} +11 -11
- package/dist/chunks/{app-cws484wx.js → console-access-9a9gfm1e.js} +17 -17
- package/dist/chunks/{app-e641zj5b.js → console-access-9dfbahtw.js} +19 -19
- package/dist/chunks/{app-8jvwtavp.js → console-access-9gs5pyxf.js} +13 -13
- package/dist/chunks/{app-yfmbdz01.js → console-access-9rgr5dz2.js} +4 -4
- package/dist/chunks/{app-jcnvmaww.js → console-access-9syx072k.js} +3 -3
- package/dist/chunks/{app-8vnnvrdh.js → console-access-9tyv2z1y.js} +7 -7
- package/dist/chunks/{app-rkspr0fm.js → console-access-9wpm5p4w.js} +22 -22
- package/dist/chunks/{app-mg0rtydx.js → console-access-adqje3c4.js} +8 -8
- package/dist/chunks/{app-1k4ep9vv.js → console-access-akw66we8.js} +67 -66
- package/dist/chunks/{app-mgz81j2y.js → console-access-apqwmamv.js} +25 -25
- package/dist/chunks/{app-frgs4mm6.js → console-access-atptb1gj.js} +13 -13
- package/dist/chunks/{app-ayjs7tqn.js → console-access-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-w9cgn27r.js → console-access-azf088fb.js} +3 -3
- package/dist/chunks/{app-d7zscc40.js → console-access-b2a1gydb.js} +13 -13
- package/dist/chunks/{app-b6vsg801.js → console-access-b6vsg801.js} +2 -2
- package/dist/chunks/{app-0fvb9573.js → console-access-bbjt0fvc.js} +18 -18
- package/dist/chunks/{app-hsx2h283.js → console-access-bc49p64r.js} +14 -14
- package/dist/chunks/{app-1e1dknnq.js → console-access-bex4xsk5.js} +4 -4
- package/dist/chunks/{app-2z1fgw1a.js → console-access-bf2mte99.js} +15 -15
- package/dist/chunks/{app-5fts795d.js → console-access-bn231sga.js} +16 -16
- package/dist/chunks/{app-xb3aa8vx.js → console-access-brejs92x.js} +9 -9
- package/dist/chunks/{app-bstexjd6.js → console-access-bstexjd6.js} +1 -1
- package/dist/chunks/{app-w335jgkb.js → console-access-bw8v0z00.js} +4 -4
- package/dist/chunks/{app-r77927cf.js → console-access-c5dk4fh9.js} +13 -13
- package/dist/chunks/{app-0g0m3z6r.js → console-access-c66pd6yg.js} +34 -34
- package/dist/chunks/{app-c6x7d2ts.js → console-access-c6x7d2ts.js} +1 -1
- package/dist/chunks/{app-qjhe7n4a.js → console-access-c8mtj8p1.js} +2 -2
- package/dist/chunks/{app-nrsk0200.js → console-access-cchd39rm.js} +3 -3
- package/dist/chunks/{app-0sxs0ahv.js → console-access-ce64h981.js} +26 -26
- package/dist/chunks/{app-3ay6yzp4.js → console-access-cr44ae3x.js} +5 -5
- package/dist/chunks/{app-70pterc5.js → console-access-ctdvtmrn.js} +4 -4
- package/dist/chunks/{app-1z0pgt0q.js → console-access-ctmpqb7w.js} +9 -9
- package/dist/chunks/{app-cwrgdav8.js → console-access-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-8hfctyyf.js → console-access-cxab28sr.js} +7 -7
- package/dist/chunks/{app-nx7twb95.js → console-access-cy536r8r.js} +29 -29
- package/dist/chunks/{app-wb0nc97n.js → console-access-czv08q49.js} +19 -19
- package/dist/chunks/{app-mz3s4az1.js → console-access-d0pmvwgf.js} +9 -9
- package/dist/chunks/{app-d390zwf3.js → console-access-d390zwf3.js} +3 -3
- package/dist/chunks/{app-d4v9tmah.js → console-access-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-2akjzwap.js → console-access-d8m3see0.js} +167 -167
- package/dist/chunks/{app-ejjzey60.js → console-access-d8qpes95.js} +27 -27
- package/dist/chunks/{app-g3p1t9vz.js → console-access-dbxt12az.js} +80 -80
- package/dist/chunks/{app-4hstt5c6.js → console-access-dc17v6bw.js} +9 -9
- package/dist/chunks/{app-ddvn7d3w.js → console-access-ddvn7d3w.js} +1 -1
- package/dist/chunks/{app-vt2d6wap.js → console-access-dg5naf6e.js} +4 -4
- package/dist/chunks/{app-yyggqxat.js → console-access-dqpqkpyf.js} +6 -6
- package/dist/chunks/{app-dt77769w.js → console-access-dt77769w.js} +1 -1
- package/dist/chunks/{app-9jcwpdmg.js → console-access-dtf3ehe3.js} +37 -37
- package/dist/chunks/{app-hm91xa0c.js → console-access-dvs1n6vs.js} +17 -17
- package/dist/chunks/{app-e834z07m.js → console-access-e834z07m.js} +1 -1
- package/dist/chunks/{app-49rfffkn.js → console-access-e8x8wxtq.js} +4 -4
- package/dist/chunks/{app-qv932755.js → console-access-ehqs72ba.js} +7 -7
- package/dist/chunks/{app-5h1pqjv0.js → console-access-ejecrhsa.js} +10 -10
- package/dist/chunks/{app-8w877cjn.js → console-access-ejefhtr3.js} +15 -15
- package/dist/chunks/{app-8zkx8257.js → console-access-ekz2zfy6.js} +4 -4
- package/dist/chunks/{app-qb9atvh8.js → console-access-epsc95hz.js} +14 -14
- package/dist/chunks/{app-eqw4pqj1.js → console-access-eqw4pqj1.js} +2 -2
- package/dist/chunks/{app-xdhra0hk.js → console-access-es228e0a.js} +1 -1
- package/dist/chunks/{app-seb996h4.js → console-access-ew73cjz3.js} +4 -4
- package/dist/chunks/{app-d6qqy0kp.js → console-access-fcva30w8.js} +19 -19
- package/dist/chunks/{app-h230aekk.js → console-access-fe0asr0j.js} +16 -16
- package/dist/chunks/{app-fffv3p7h.js → console-access-fffv3p7h.js} +1 -1
- package/dist/chunks/{app-fg9p65nk.js → console-access-fg9p65nk.js} +2 -2
- package/dist/chunks/{app-k353tb7m.js → console-access-fzzqk20j.js} +25 -25
- package/dist/chunks/{app-cyeeys1d.js → console-access-g0cwgpmg.js} +16 -16
- package/dist/chunks/{app-70230rnk.js → console-access-g5nj4j71.js} +13 -13
- package/dist/chunks/{app-gbjdnr5j.js → console-access-gbjdnr5j.js} +2 -2
- package/dist/chunks/{app-ca3eqs78.js → console-access-gd0ntgzq.js} +9 -9
- package/dist/chunks/{app-adgt61e4.js → console-access-gd4n18ph.js} +2 -2
- package/dist/chunks/{app-0ypwcab7.js → console-access-gegta5sw.js} +23 -23
- package/dist/chunks/{app-x3sre7d0.js → console-access-gg8sx6as.js} +16 -16
- package/dist/chunks/{app-ghrv1g9c.js → console-access-ghrv1g9c.js} +1 -1
- package/dist/chunks/{app-v0qy9jrx.js → console-access-gvsr3njm.js} +23 -23
- package/dist/chunks/{app-tg7s7b5t.js → console-access-gxs71cxp.js} +4 -4
- package/dist/chunks/{app-be0z2gw1.js → console-access-gzm7e5ze.js} +9 -9
- package/dist/chunks/{app-vep1cp0k.js → console-access-h5mcbjm5.js} +9 -9
- package/dist/chunks/{app-erdqt2z2.js → console-access-h62m34gk.js} +7 -7
- package/dist/chunks/{app-xf5gr4wh.js → console-access-h9c75ys7.js} +29 -29
- package/dist/chunks/{app-7ga3ckd2.js → console-access-h9ect3m5.js} +30 -30
- package/dist/chunks/{app-dsavrejy.js → console-access-hae7e5hr.js} +3 -3
- package/dist/chunks/console-access-hb9570py.js +26 -0
- package/dist/chunks/{app-6y6y33bs.js → console-access-hnxcq2te.js} +1 -1
- package/dist/chunks/{app-55g2q5p5.js → console-access-hretfjjx.js} +2 -2
- package/dist/chunks/{app-19by32j3.js → console-access-j055yfan.js} +35 -35
- package/dist/chunks/{app-aqh131q4.js → console-access-j0h7znxd.js} +6 -6
- package/dist/chunks/{app-hxen89em.js → console-access-j0tgfc8g.js} +8 -8
- package/dist/chunks/{app-qzp3tz88.js → console-access-j1szda9m.js} +4 -4
- package/dist/chunks/{app-hkf8spj2.js → console-access-j1zpf99x.js} +4 -4
- package/dist/chunks/{app-gykqfep1.js → console-access-j415cyc2.js} +49 -49
- package/dist/chunks/{app-bgbk73tx.js → console-access-j55hy4c9.js} +38 -38
- package/dist/chunks/{app-q65mdntm.js → console-access-jhwp234h.js} +4 -4
- package/dist/chunks/{app-cr4rfj9z.js → console-access-jkdcm5hg.js} +4 -4
- package/dist/chunks/{app-kd6k99f7.js → console-access-jp70m33d.js} +13 -13
- package/dist/chunks/{app-86p455we.js → console-access-jpgxg7xs.js} +10 -10
- package/dist/chunks/{app-vzyjc182.js → console-access-jqsfgq45.js} +4 -4
- package/dist/chunks/{app-2fphmk5s.js → console-access-jsaamj9a.js} +25 -25
- package/dist/chunks/{app-b4k47k2s.js → console-access-k2b1rh1h.js} +5 -5
- package/dist/chunks/{app-thje1pb5.js → console-access-k3r6kg1p.js} +15 -15
- package/dist/chunks/{app-r0ndwm6n.js → console-access-k3zq5bxc.js} +12 -12
- package/dist/chunks/{app-kh8gdsej.js → console-access-kh8gdsej.js} +1 -1
- package/dist/chunks/{app-n8wacb9q.js → console-access-kkb949w2.js} +19 -19
- package/dist/chunks/{app-kt3bjfbg.js → console-access-kt3bjfbg.js} +1 -1
- package/dist/chunks/{app-1ccdbfbm.js → console-access-kt5jkqqz.js} +45 -45
- package/dist/chunks/{app-kzczzf4v.js → console-access-kzczzf4v.js} +1 -1
- package/dist/chunks/{app-q6rv9k60.js → console-access-m02f2aeb.js} +6 -6
- package/dist/chunks/{app-gm1mpjtv.js → console-access-m0xatp34.js} +5 -5
- package/dist/chunks/{app-m1714858.js → console-access-m1714858.js} +1 -1
- package/dist/chunks/{app-70mxs2ne.js → console-access-m172dm4s.js} +22 -22
- package/dist/chunks/{app-7nhyzk3z.js → console-access-m6jd9r5t.js} +31 -31
- package/dist/chunks/{app-ne20cfjw.js → console-access-m74s51x0.js} +3 -3
- package/dist/chunks/{app-k6d3thxk.js → console-access-m83kddn0.js} +19 -19
- package/dist/chunks/{app-m9w0rfyh.js → console-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-mb7mbhnz.js → console-access-mb7mbhnz.js} +3 -3
- package/dist/chunks/{app-bwqmm0q7.js → console-access-mh6c9rmv.js} +3 -3
- package/dist/chunks/{app-k64p22ea.js → console-access-mne6x9vy.js} +4 -4
- package/dist/chunks/{app-7n24dshq.js → console-access-mr4fa0tp.js} +5 -5
- package/dist/chunks/{app-qesfpy69.js → console-access-mtsv36kf.js} +8 -8
- package/dist/chunks/{app-bt05df1g.js → console-access-n6kd4wv4.js} +28 -28
- package/dist/chunks/{app-78ydxygr.js → console-access-n809k4m2.js} +23 -23
- package/dist/chunks/{app-tjrdxz06.js → console-access-n80mj3p5.js} +14 -14
- package/dist/chunks/{app-y64vbv9r.js → console-access-nad8wh8f.js} +9 -9
- package/dist/chunks/{app-z3xf6ba0.js → console-access-nnbr5c7q.js} +4 -4
- package/dist/chunks/{app-j2zb0azv.js → console-access-npe6ag9b.js} +14 -14
- package/dist/chunks/{app-3k6qx9tw.js → console-access-nsc1n6hp.js} +13 -13
- package/dist/chunks/{app-weqc7sb9.js → console-access-nv2c5e9q.js} +3 -3
- package/dist/chunks/{app-bf3sz844.js → console-access-nxq2trj2.js} +7 -7
- package/dist/chunks/{app-9543gnfy.js → console-access-p0p9tkfe.js} +33 -33
- package/dist/chunks/{app-qvtnw8rj.js → console-access-p2tvx8t7.js} +9 -9
- package/dist/chunks/{app-g3wj12x4.js → console-access-p9x26950.js} +8 -8
- package/dist/chunks/{app-mqhk7c7q.js → console-access-pj1z3rfc.js} +6 -6
- package/dist/chunks/{app-8hm264az.js → console-access-pkg9mjnw.js} +41 -41
- package/dist/chunks/{app-pknna89w.js → console-access-pknna89w.js} +1 -1
- package/dist/chunks/{app-t52wqe1d.js → console-access-pnpynw7j.js} +22 -22
- package/dist/chunks/{app-drvw4phj.js → console-access-pw5ca1dz.js} +48 -48
- package/dist/chunks/{app-c4htd4p1.js → console-access-q17sq61s.js} +18 -18
- package/dist/chunks/{app-qhwjmhww.js → console-access-q55v30df.js} +19 -19
- package/dist/chunks/{app-4pektwre.js → console-access-q5p3a3y6.js} +4 -4
- package/dist/chunks/{app-b3dj5ck4.js → console-access-q62twncb.js} +9 -9
- package/dist/chunks/{app-fpdrc9jq.js → console-access-q6r0w6cv.js} +20 -20
- package/dist/chunks/{app-tzz6b5w9.js → console-access-q6rf6t0p.js} +28 -28
- package/dist/chunks/{app-xawr44ws.js → console-access-q7adtpdd.js} +7 -7
- package/dist/chunks/console-access-qmh7vbk2.js +18 -0
- package/dist/chunks/{app-qnqasnye.js → console-access-qnqasnye.js} +3 -3
- package/dist/chunks/{app-qp7r0hxv.js → console-access-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-qqvy8y24.js → console-access-qqvy8y24.js} +1 -1
- package/dist/chunks/{app-xvf68myt.js → console-access-qwfqk0b2.js} +12 -12
- package/dist/chunks/console-access-qwz12hkq.js +16 -0
- package/dist/chunks/{app-d9jb52kh.js → console-access-r24asw1v.js} +31 -31
- package/dist/chunks/{app-r542h3bh.js → console-access-r542h3bh.js} +1 -1
- package/dist/chunks/{app-rb9dy4dg.js → console-access-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-ch4wgb30.js → console-access-re7bwp4b.js} +3 -3
- package/dist/chunks/{app-rgc9cx3e.js → console-access-rgc9cx3e.js} +2 -2
- package/dist/chunks/{app-rt5dr6hb.js → console-access-rt5dr6hb.js} +1 -1
- package/dist/chunks/{app-6xfwbecb.js → console-access-rw03g0pq.js} +5 -5
- package/dist/chunks/{app-ja2hdmbx.js → console-access-s4kyhetj.js} +6 -6
- package/dist/chunks/{app-308km6gf.js → console-access-s599h56h.js} +7 -7
- package/dist/chunks/{app-cp56srzq.js → console-access-s6d84vpq.js} +87 -87
- package/dist/chunks/{app-bfmm6xpm.js → console-access-s8qtxmzm.js} +4 -4
- package/dist/chunks/{app-sa3fpqfw.js → console-access-sa3fpqfw.js} +2 -2
- package/dist/chunks/{app-sbya78hr.js → console-access-sbya78hr.js} +1 -1
- package/dist/chunks/{app-vg0erq9k.js → console-access-sbz71ybr.js} +3 -3
- package/dist/chunks/{app-d07xvmxs.js → console-access-sjnzk87v.js} +20 -20
- package/dist/chunks/{app-vqqg7mky.js → console-access-snjjb7w5.js} +16 -16
- package/dist/chunks/{app-zs8j2h5y.js → console-access-sp6zsjn8.js} +9 -9
- package/dist/chunks/{app-0j7gp832.js → console-access-sqjzf8x2.js} +4 -4
- package/dist/chunks/{app-r0j4kmq9.js → console-access-sqkx1aqy.js} +3 -3
- package/dist/chunks/{app-3qf0ty7d.js → console-access-ssccbre0.js} +32 -32
- package/dist/chunks/{app-atz1w742.js → console-access-stbett4v.js} +3 -3
- package/dist/chunks/{app-svcy3p9a.js → console-access-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-98xdtdx3.js → console-access-svvkgzhv.js} +18 -18
- package/dist/chunks/{app-42nfgrgt.js → console-access-swsjztth.js} +29 -29
- package/dist/chunks/{app-ea6g4p7p.js → console-access-synhjsvb.js} +15 -15
- package/dist/chunks/{app-prf7c0f4.js → console-access-syxe2jw8.js} +5 -5
- package/dist/chunks/{app-szwm4crx.js → console-access-szwm4crx.js} +4 -4
- package/dist/chunks/{app-mvj007a9.js → console-access-t4jx0tp6.js} +46 -46
- package/dist/chunks/{app-2kcfn90y.js → console-access-t9rsqpp4.js} +14 -14
- package/dist/chunks/{app-gzvybjsy.js → console-access-t9t4zga7.js} +15 -15
- package/dist/chunks/{app-g2n20eww.js → console-access-taavsht5.js} +7 -7
- package/dist/chunks/{app-tczq8hjw.js → console-access-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-tr8x705m.js → console-access-tr8x705m.js} +1 -1
- package/dist/chunks/{app-kpn50t51.js → console-access-tth38vxj.js} +13 -13
- package/dist/chunks/{app-tvtps2q9.js → console-access-tvtps2q9.js} +1 -1
- package/dist/chunks/{app-pap1h8b3.js → console-access-tvyaj39k.js} +11 -11
- package/dist/chunks/{app-twssxy5n.js → console-access-twssxy5n.js} +2 -2
- package/dist/chunks/{app-eyk0726g.js → console-access-ty6yycrj.js} +52 -52
- package/dist/chunks/{app-b3mjnz5r.js → console-access-v0nsnd0c.js} +55 -55
- package/dist/chunks/{app-v2r1d0zg.js → console-access-v2r1d0zg.js} +1 -1
- package/dist/chunks/{app-c1vhr2fd.js → console-access-v3fdbaam.js} +22 -22
- package/dist/chunks/{app-v8wxce3j.js → console-access-v8wxce3j.js} +3 -3
- package/dist/chunks/{app-4tkjgnd1.js → console-access-vbmqhdwa.js} +20 -20
- package/dist/chunks/{app-vjf35v1f.js → console-access-vjf35v1f.js} +1 -1
- package/dist/chunks/{app-pasr5s42.js → console-access-vre1dc8m.js} +35 -35
- package/dist/chunks/{app-cj1hhp9n.js → console-access-vrp67h4x.js} +18 -18
- package/dist/chunks/{app-e0g7avb1.js → console-access-vzarxv01.js} +36 -36
- package/dist/chunks/{app-7rkejn50.js → console-access-w3n36f2y.js} +26 -26
- package/dist/chunks/{app-w3wsvvr9.js → console-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-1apm81n6.js → console-access-w7wdrfz2.js} +20 -20
- package/dist/chunks/{app-w76xjer3.js → console-access-w9w8mt4n.js} +4 -4
- package/dist/chunks/{app-wakvkjy4.js → console-access-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → console-access-wd87259q.js} +1 -1
- package/dist/chunks/{app-wegkxhrn.js → console-access-wegkxhrn.js} +2 -2
- package/dist/chunks/{app-wfdx5ztx.js → console-access-wfdx5ztx.js} +1 -1
- package/dist/chunks/{app-w7bpp972.js → console-access-wg8r148e.js} +13 -13
- package/dist/chunks/{app-k85f4n8y.js → console-access-wkbw1ng8.js} +5 -5
- package/dist/chunks/{app-wnhgecwx.js → console-access-wnhgecwx.js} +1 -1
- package/dist/chunks/{app-wr3re1en.js → console-access-wr3re1en.js} +1 -1
- package/dist/chunks/{app-xz07m27x.js → console-access-x4mcewfn.js} +4 -4
- package/dist/chunks/{app-9hwp9hha.js → console-access-x6gccq9b.js} +2 -2
- package/dist/chunks/console-access-x7yh2rhv.js +563 -0
- package/dist/chunks/{app-5w42mrth.js → console-access-xbvabqg6.js} +4 -4
- package/dist/chunks/{app-kb2zgvc1.js → console-access-xkee8cke.js} +9 -9
- package/dist/chunks/{app-rxxbhnha.js → console-access-xxpknyym.js} +6 -6
- package/dist/chunks/{app-xxschbft.js → console-access-xxschbft.js} +1 -1
- package/dist/chunks/{app-nhxmfrj0.js → console-access-xye1ahg3.js} +5 -5
- package/dist/chunks/{app-3rjt4x3n.js → console-access-xzq0mc7c.js} +12 -12
- package/dist/chunks/{app-x6nf6007.js → console-access-y02s2zv9.js} +15 -15
- package/dist/chunks/{app-2ar23h6q.js → console-access-y1h6ch0f.js} +25 -25
- package/dist/chunks/{app-yb20nhc3.js → console-access-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-q4tbkvb5.js → console-access-ybyvbhg6.js} +10 -10
- package/dist/chunks/{app-h5exk3wg.js → console-access-ycw5dhyk.js} +30 -30
- package/dist/chunks/{app-yr705xyq.js → console-access-yr705xyq.js} +1 -1
- package/dist/chunks/{app-brnz1phy.js → console-access-yvr0023q.js} +9 -9
- package/dist/chunks/{app-yvtc2x31.js → console-access-yvtc2x31.js} +1 -1
- package/dist/chunks/{app-ta4cyzw3.js → console-access-yxzafcqq.js} +4 -4
- package/dist/chunks/{app-sf9y72b7.js → console-access-z080rjh6.js} +4 -4
- package/dist/chunks/{app-zsgmj270.js → console-access-z1xhyz8k.js} +10 -10
- package/dist/chunks/{app-q6ctshyr.js → console-access-z2s11bdx.js} +13 -13
- package/dist/chunks/{app-cr2aqxhy.js → console-access-z2ws00tz.js} +4 -4
- package/dist/chunks/{app-yhekzpvh.js → console-access-z6pangaz.js} +5 -5
- package/dist/chunks/{app-dnv2jr33.js → console-access-z7ry9cjm.js} +13 -13
- package/dist/chunks/{app-0cm63a3m.js → console-access-z9vdytz2.js} +7 -7
- package/dist/chunks/{app-j9nxzz3g.js → console-access-ze75qvmd.js} +3 -3
- package/dist/chunks/{app-wvdda5g9.js → console-access-zs4xeqky.js} +35 -35
- package/dist/chunks/{app-wkw2nc14.js → console-access-zvy3d7d2.js} +11 -11
- 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 +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- 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 +131 -131
- package/dist/config/plugin/command.js +232 -232
- 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 +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 +132 -132
- 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 +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +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 +435 -435
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- 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 +157 -157
- 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 +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- 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 +3 -3
- package/dist/filesystem.js +116 -116
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- 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 +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 +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 +426 -426
- 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/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +174 -174
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- 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 +153 -153
- 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 +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +402 -402
- 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 +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +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 +410 -410
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +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 +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +243 -243
- 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 +106 -106
- 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 +99 -99
- 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 +243 -243
- 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 +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- 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 +245 -245
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +138 -136
- package/dist/session/inbox.js +141 -141
- 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 +143 -143
- 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 +165 -165
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +180 -180
- 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 +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +231 -231
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +198 -198
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +239 -239
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- 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 +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +152 -152
- package/dist/snapshot.js +102 -102
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +180 -180
- package/dist/tool/plugin/artifact.js +230 -230
- 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 +241 -241
- 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 +146 -146
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +249 -249
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +153 -153
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +168 -168
- 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 +5 -5
- package/dist/tool.js +157 -157
- package/dist/types/session/history.d.ts +410 -0
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- 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 +100 -100
- package/dist/voice.js +97 -97
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +84 -84
- package/dist/workspace/driver.js +3 -3
- 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 +105 -105
- package/package.json +8 -8
- package/dist/chunks/app-8xy5czmr.js +0 -26
- package/dist/chunks/app-nrjeyzms.js +0 -265
- package/dist/chunks/app-p5vbbmsv.js +0 -18
- package/dist/chunks/app-spsnvrer.js +0 -563
- package/dist/chunks/app-zw6d6ftc.js +0 -16
- /package/dist/chunks/{app-0qkdqm5v.js → console-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → console-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-108x4f4w.js → console-access-108x4f4w.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → console-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → console-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kah00gy.js → console-access-1kah00gy.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → console-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → console-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → console-access-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → console-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → console-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3af0jn4w.js → console-access-3af0jn4w.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → console-access-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → console-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → console-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → console-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → console-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4qk9sjk2.js → console-access-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → console-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → console-access-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → console-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → console-access-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6agm2x70.js → console-access-6agm2x70.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → console-access-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → console-access-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → console-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → console-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → console-access-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → console-access-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → console-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → console-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → console-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → console-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → console-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → console-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → console-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → console-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → console-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → console-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → console-access-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bhmrqjy3.js → console-access-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → console-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → console-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → console-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → console-access-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → console-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → console-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → console-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → console-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → console-access-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → console-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → console-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-ean2d8b5.js → console-access-ean2d8b5.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → console-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → console-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → console-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → console-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → console-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → console-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → console-access-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → console-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → console-access-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → console-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → console-access-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → console-access-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → console-access-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → console-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → console-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → console-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → console-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → console-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → console-access-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → console-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → console-access-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → console-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → console-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → console-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → console-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-nh4v3znn.js → console-access-nh4v3znn.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → console-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → console-access-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → console-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → console-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → console-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → console-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → console-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → console-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → console-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → console-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → console-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → console-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-syrav9an.js → console-access-syrav9an.js} +0 -0
- /package/dist/chunks/{app-t03h4f5z.js → console-access-t03h4f5z.js} +0 -0
- /package/dist/chunks/{app-ty7weeps.js → console-access-ty7weeps.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → console-access-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-vtarvj67.js → console-access-vtarvj67.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → console-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → console-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → console-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → console-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → console-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → console-access-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → console-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → console-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → console-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z0h12gs8.js → console-access-z0h12gs8.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → console-access-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → console-access-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zxpyjp51.js → console-access-zxpyjp51.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./console-access-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./console-access-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./console-access-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./console-access-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./console-access-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-azf088fb.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./console-access-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
10
|
Service78
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-ce64h981.js";
|
|
12
12
|
import {
|
|
13
13
|
DirectoryNotFoundError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./console-access-ycw5dhyk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service51,
|
|
17
|
+
node52
|
|
18
|
+
} from "./console-access-58wf94jx.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./console-access-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./console-access-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service48,
|
|
27
|
+
node50
|
|
28
|
+
} from "./console-access-j055yfan.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service28,
|
|
31
|
+
node31
|
|
32
|
+
} from "./console-access-s6d84vpq.js";
|
|
33
33
|
import {
|
|
34
34
|
validate2,
|
|
35
35
|
describe2,
|
|
36
36
|
authorize2,
|
|
37
37
|
evaluate2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./console-access-6mjketch.js";
|
|
39
39
|
import {
|
|
40
40
|
ScheduleTable2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./console-access-wegkxhrn.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./console-access-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/schedule.ts
|
|
47
47
|
var exports_schedule2 = {};
|
|
48
48
|
__export(exports_schedule2, {
|
|
49
49
|
Condition: () => Condition2,
|
|
50
50
|
ConditionInput: () => ConditionInput2,
|
|
51
|
-
CreateInput: () =>
|
|
51
|
+
CreateInput: () => CreateInput3,
|
|
52
52
|
DisabledError: () => DisabledError2,
|
|
53
|
-
ID: () =>
|
|
54
|
-
Info: () =>
|
|
53
|
+
ID: () => ID5,
|
|
54
|
+
Info: () => Info5,
|
|
55
55
|
InvalidError: () => InvalidError2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError3,
|
|
57
57
|
Outcome: () => Outcome3,
|
|
58
58
|
Request: () => Request2,
|
|
59
59
|
Schedule: () => exports_schedule2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service20,
|
|
61
61
|
Status: () => Status2,
|
|
62
62
|
When: () => When2,
|
|
63
|
-
node: () =>
|
|
63
|
+
node: () => node22,
|
|
64
64
|
toCreateInput: () => toCreateInput2
|
|
65
65
|
});
|
|
66
66
|
import { randomUUID } from "node:crypto";
|
|
@@ -70,18 +70,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
70
70
|
import {
|
|
71
71
|
Condition as Condition2,
|
|
72
72
|
ConditionInput as ConditionInput2,
|
|
73
|
-
CreateInput as
|
|
73
|
+
CreateInput as CreateInput3,
|
|
74
74
|
durationMillis,
|
|
75
|
-
ID as
|
|
76
|
-
Info as
|
|
75
|
+
ID as ID5,
|
|
76
|
+
Info as Info5,
|
|
77
77
|
Outcome as Outcome3,
|
|
78
78
|
Request as Request2,
|
|
79
79
|
Status as Status2,
|
|
80
80
|
toCreateInput as toCreateInput2,
|
|
81
81
|
When as When2
|
|
82
82
|
} from "@opencode/schema/schedule";
|
|
83
|
-
class
|
|
84
|
-
scheduleID:
|
|
83
|
+
class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
84
|
+
scheduleID: ID5
|
|
85
85
|
}) {
|
|
86
86
|
get message() {
|
|
87
87
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -102,7 +102,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service20 extends Context.Service()("@opencode/Schedule") {
|
|
106
106
|
}
|
|
107
107
|
var MINUTE = 60000;
|
|
108
108
|
var HOUR = 60 * MINUTE;
|
|
@@ -188,12 +188,12 @@ var toInfo = (row, lastOutput) => ({
|
|
|
188
188
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
189
189
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
190
190
|
});
|
|
191
|
-
var layer = Layer.effect(
|
|
191
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
192
192
|
const database = yield* Service91;
|
|
193
193
|
const db = database.db;
|
|
194
|
-
const sessions = yield*
|
|
195
|
-
const instances = yield*
|
|
196
|
-
const execution = yield*
|
|
194
|
+
const sessions = yield* Service28;
|
|
195
|
+
const instances = yield* Service51;
|
|
196
|
+
const execution = yield* Service48;
|
|
197
197
|
const doorbell = yield* Latch.make();
|
|
198
198
|
const settings = (session) => Effect.gen(function* () {
|
|
199
199
|
const config = yield* Effect.serviceOption(Service78);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
205
205
|
timezone: latest2(entries, "timezone")
|
|
206
206
|
};
|
|
207
207
|
}).pipe(instances.provide(session));
|
|
208
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
208
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
|
|
209
209
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
210
210
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
211
211
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -479,7 +479,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
479
479
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
480
480
|
return Math.min(at.value, after ?? at.value);
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service20.of({
|
|
483
483
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
484
484
|
const session = yield* sessions.get(input.sessionID);
|
|
485
485
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -498,7 +498,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
498
498
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
499
499
|
if (ends !== null && due > ends)
|
|
500
500
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
501
|
-
const scheduleID =
|
|
501
|
+
const scheduleID = ID5.create();
|
|
502
502
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
503
503
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
504
504
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -591,10 +591,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
591
591
|
run
|
|
592
592
|
});
|
|
593
593
|
}));
|
|
594
|
-
var
|
|
595
|
-
service:
|
|
594
|
+
var node22 = makeGlobalNode({
|
|
595
|
+
service: Service20,
|
|
596
596
|
layer,
|
|
597
|
-
deps: [node94,
|
|
597
|
+
deps: [node94, node31, node50, node52]
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
export { Condition2, ConditionInput2,
|
|
600
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service20, node22, exports_schedule2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-tvyaj39k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID20,
|
|
6
|
+
Service86
|
|
7
|
+
} from "./console-access-5pk5tb9q.js";
|
|
8
8
|
import {
|
|
9
9
|
key2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./console-access-jhwp234h.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./console-access-5mnj44n1.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./console-access-qaymkmh1.js";
|
|
17
17
|
import {
|
|
18
18
|
ID17,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service83
|
|
20
|
+
} from "./console-access-gvsr3njm.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./console-access-svvkgzhv.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service69,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./console-access-4dd9qjzm.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./console-access-ctdvtmrn.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./console-access-2dtsamb2.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./console-access-m02f2aeb.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,7 +70,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make17(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
@@ -79,9 +79,9 @@ function make16(endpoints = {
|
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
80
|
const configured = yield* configuredSettings2(ID17.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service86;
|
|
83
|
+
const providers = yield* Service83;
|
|
84
|
+
const cache = yield* Service69;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -150,7 +150,7 @@ function make16(endpoints = {
|
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
152
|
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -328,7 +328,7 @@ function make16(endpoints = {
|
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make17();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key2(connection)}${access}:${url}`;
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make17, AzurePlugin2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./console-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91,
|
|
6
6
|
node94
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./console-access-azf088fb.js";
|
|
8
8
|
import {
|
|
9
9
|
Service90,
|
|
10
10
|
node93
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./console-access-xbvabqg6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service89,
|
|
14
|
+
node92
|
|
15
|
+
} from "./console-access-k3zq5bxc.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 "./console-access-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./console-access-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./console-access-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./console-access-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./console-access-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: () => Service88,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured12,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node91,
|
|
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 Service88 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(Service88, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service89;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service90;
|
|
120
120
|
const db = (yield* Service91).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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(Service84, 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 Service88.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service88,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node93, node94, FSUtil.node,
|
|
354
|
+
deps: [node93, node94, FSUtil.node, node92, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node91 = configured12();
|
|
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* Service88;
|
|
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: [node91]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service88, configured12, node91, sweepNode2, exports_project };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./console-access-xbvabqg6.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./console-access-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref5,
|
|
11
|
+
Service87,
|
|
12
|
+
node90
|
|
13
|
+
} from "./console-access-9a9gfm1e.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./console-access-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service71,
|
|
23
23
|
define: () => define2,
|
|
24
24
|
eventDefinition: () => eventDefinition2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node74
|
|
26
26
|
});
|
|
27
27
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
28
28
|
import { Event } from "@opencode/schema/event";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
31
|
-
class
|
|
31
|
+
class Service71 extends Context.Service()("@opencode/Rpc") {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
class DeclaredError extends Error {
|
|
@@ -40,10 +40,10 @@ class DeclaredError extends Error {
|
|
|
40
40
|
this.data = data;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service90;
|
|
45
|
-
const location = yield*
|
|
46
|
-
const ref =
|
|
45
|
+
const location = yield* Service87;
|
|
46
|
+
const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
47
47
|
const closed = yield* Deferred.make();
|
|
48
48
|
const callContext = {
|
|
49
49
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -119,19 +119,19 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
119
119
|
const registered = events.get(name);
|
|
120
120
|
if (!registered)
|
|
121
121
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
122
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
122
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service87, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
return
|
|
127
|
+
return Service71.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node93, node90] });
|
|
130
130
|
var fields = {
|
|
131
131
|
id: Event.ID,
|
|
132
132
|
created: Schema.Finite,
|
|
133
133
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
134
|
-
location: optional2(
|
|
134
|
+
location: optional2(Ref5)
|
|
135
135
|
};
|
|
136
136
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
137
137
|
var jsonSchemas = new WeakMap;
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service71, node74, eventDefinition2, exports_rpc, define2 };
|