@opencode/core 0.0.0-dev-544 → 0.0.0-dev-551
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 +232 -232
- package/dist/bus.js +84 -84
- package/dist/chunks/{wellknown-as0v1mdn.js → usage-limits-00q46rv7.js} +28 -28
- package/dist/chunks/{wellknown-veae84rz.js → usage-limits-00ss985s.js} +4 -4
- package/dist/chunks/usage-limits-00ve6mdn.js +18 -0
- package/dist/chunks/{wellknown-x5dwefqm.js → usage-limits-0111nr1f.js} +38 -38
- package/dist/chunks/{wellknown-1792r88e.js → usage-limits-02d8v3jx.js} +12 -12
- package/dist/chunks/{wellknown-vrztdcv6.js → usage-limits-02str4gb.js} +59 -59
- package/dist/chunks/{wellknown-034tev2y.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{wellknown-9rqhy0gk.js → usage-limits-035wadpx.js} +7 -7
- package/dist/chunks/{wellknown-f5hdrxfr.js → usage-limits-09a1bmj2.js} +25 -25
- package/dist/chunks/{wellknown-6yx1ny7j.js → usage-limits-09zzb6wz.js} +23 -23
- package/dist/chunks/{wellknown-c6x7d2ts.js → usage-limits-0ahs07zn.js} +4 -4
- package/dist/chunks/{wellknown-0j7gp832.js → usage-limits-0j7gp832.js} +1 -1
- package/dist/chunks/{wellknown-0ma9gw4f.js → usage-limits-0ma9gw4f.js} +2 -2
- package/dist/chunks/{wellknown-963hk181.js → usage-limits-0mtp185z.js} +9 -9
- package/dist/chunks/{wellknown-2y8q1569.js → usage-limits-0php2d2a.js} +4 -4
- package/dist/chunks/{wellknown-9cmwmmj9.js → usage-limits-0y4dvys7.js} +26 -26
- package/dist/chunks/{wellknown-7k968r19.js → usage-limits-13f5c1d3.js} +9 -9
- package/dist/chunks/{wellknown-b9x3dhh2.js → usage-limits-14d5qj0x.js} +19 -19
- package/dist/chunks/{wellknown-5cpx6xpr.js → usage-limits-15exvxa2.js} +24 -24
- package/dist/chunks/{wellknown-nreph64x.js → usage-limits-17c07fhx.js} +5 -5
- package/dist/chunks/{wellknown-1aqsckx4.js → usage-limits-1aqsckx4.js} +1 -1
- package/dist/chunks/{wellknown-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{wellknown-tzx7w4xq.js → usage-limits-1fr64q7z.js} +40 -40
- package/dist/chunks/{wellknown-kntwzcs4.js → usage-limits-1g8snr5a.js} +12 -12
- package/dist/chunks/{wellknown-w6qv2x4m.js → usage-limits-1gs6r44a.js} +15 -15
- package/dist/chunks/{wellknown-yq80m67a.js → usage-limits-1ja4pw4e.js} +28 -28
- package/dist/chunks/{wellknown-7x0yekh4.js → usage-limits-1jedjm5n.js} +36 -36
- package/dist/chunks/{wellknown-s8bc5ahg.js → usage-limits-1rpmqc58.js} +17 -17
- package/dist/chunks/{wellknown-1v2g13eq.js → usage-limits-1v2g13eq.js} +4 -4
- package/dist/chunks/{wellknown-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{wellknown-64g4y4qt.js → usage-limits-1x3dnvy5.js} +5 -5
- package/dist/chunks/{wellknown-1yq9hg58.js → usage-limits-1yq9hg58.js} +1 -1
- package/dist/chunks/{wellknown-ftm8abz8.js → usage-limits-1z6br3xs.js} +11 -11
- package/dist/chunks/{wellknown-71ybbdtm.js → usage-limits-2631s3r4.js} +24 -24
- package/dist/chunks/{wellknown-4gncpz5n.js → usage-limits-2b09rf55.js} +3 -3
- package/dist/chunks/{wellknown-8sb7jtsn.js → usage-limits-2b2r7h3k.js} +9 -9
- package/dist/chunks/{wellknown-sbz71ybr.js → usage-limits-2cdjxzfg.js} +3 -3
- package/dist/chunks/{wellknown-69y54dfb.js → usage-limits-2d9v0n9q.js} +3 -3
- package/dist/chunks/{wellknown-wscn0j0k.js → usage-limits-2k10eq1n.js} +7 -7
- package/dist/chunks/{wellknown-nw5t6sqm.js → usage-limits-2nx1419p.js} +11 -11
- package/dist/chunks/{wellknown-2p60zmnr.js → usage-limits-2p60zmnr.js} +2 -2
- package/dist/chunks/{wellknown-844cv8mb.js → usage-limits-2q4rgchk.js} +11 -11
- package/dist/chunks/{wellknown-5h0dgqn6.js → usage-limits-35b74yjp.js} +25 -25
- package/dist/chunks/{wellknown-k3jch7se.js → usage-limits-37k6b6nc.js} +3 -3
- package/dist/chunks/{wellknown-38aws4xb.js → usage-limits-38aws4xb.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-paz19zvm.js → usage-limits-3jcbezx2.js} +11 -11
- package/dist/chunks/{wellknown-ejt9ccwd.js → usage-limits-3kfr7r1q.js} +21 -21
- package/dist/chunks/{wellknown-qjjba2hg.js → usage-limits-3mc0vr9y.js} +20 -20
- package/dist/chunks/{wellknown-c2nxgvxq.js → usage-limits-3n74gphh.js} +12 -12
- package/dist/chunks/{wellknown-k46qes9w.js → usage-limits-3n9rna9c.js} +17 -17
- package/dist/chunks/{wellknown-tmc7xdjs.js → usage-limits-3nnrz6f6.js} +4 -4
- package/dist/chunks/{wellknown-84t8qgt6.js → usage-limits-3r7whzgv.js} +7 -7
- package/dist/chunks/{wellknown-ecj07vsr.js → usage-limits-3yaf1m62.js} +5 -5
- package/dist/chunks/{wellknown-40y6dtc2.js → usage-limits-40y6dtc2.js} +1 -1
- package/dist/chunks/{wellknown-40za9wsf.js → usage-limits-40za9wsf.js} +2 -2
- package/dist/chunks/{wellknown-5p3pmmf0.js → usage-limits-41sdrr0h.js} +17 -17
- package/dist/chunks/{wellknown-agfm32mg.js → usage-limits-43xxwxr9.js} +11 -11
- package/dist/chunks/{wellknown-44pmzq9c.js → usage-limits-44pmzq9c.js} +2 -2
- package/dist/chunks/{wellknown-6gewtzh4.js → usage-limits-4a2ez487.js} +9 -9
- package/dist/chunks/{wellknown-4dx1dgte.js → usage-limits-4dx1dgte.js} +1 -1
- package/dist/chunks/{wellknown-4f25tdd0.js → usage-limits-4f25tdd0.js} +1 -1
- package/dist/chunks/{wellknown-d2bc4h5f.js → usage-limits-4hrhmhn1.js} +43 -43
- package/dist/chunks/{wellknown-qh8p7evd.js → usage-limits-4nsx1dqy.js} +25 -25
- package/dist/chunks/{wellknown-4pyp9zr9.js → usage-limits-4pyp9zr9.js} +1 -1
- package/dist/chunks/{wellknown-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{wellknown-0sx8rwxa.js → usage-limits-4xz8p7j7.js} +4 -4
- package/dist/chunks/{wellknown-nng4wcd5.js → usage-limits-5bz9t3v8.js} +37 -37
- package/dist/chunks/{wellknown-n1jqmr6e.js → usage-limits-5cye9ycf.js} +17 -17
- package/dist/chunks/{wellknown-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-xgzg1q0g.js → usage-limits-5p348jg9.js} +16 -16
- package/dist/chunks/{wellknown-adxps1x3.js → usage-limits-5szhgay2.js} +20 -20
- package/dist/chunks/{wellknown-yf45bcda.js → usage-limits-5y3jz8gq.js} +22 -22
- package/dist/chunks/{wellknown-zc2r7y9c.js → usage-limits-5zczwg67.js} +6 -6
- package/dist/chunks/{wellknown-wjwsbxqp.js → usage-limits-6224raz0.js} +17 -17
- package/dist/chunks/{wellknown-djadtdmr.js → usage-limits-64eehrrp.js} +8 -8
- package/dist/chunks/{wellknown-67wwskyb.js → usage-limits-67wwskyb.js} +1 -1
- package/dist/chunks/{wellknown-vd8s5g25.js → usage-limits-68fs7r92.js} +53 -53
- package/dist/chunks/{wellknown-9r46ns0q.js → usage-limits-6errh3ym.js} +13 -13
- package/dist/chunks/{wellknown-wrc5q975.js → usage-limits-6etdvv4b.js} +30 -30
- package/dist/chunks/{wellknown-r6gx5scm.js → usage-limits-6fhprrgr.js} +11 -11
- package/dist/chunks/{wellknown-wcd776px.js → usage-limits-733kctbr.js} +11 -11
- package/dist/chunks/{wellknown-rcgdn5qy.js → usage-limits-746g06y8.js} +17 -17
- package/dist/chunks/{wellknown-vdjwcvss.js → usage-limits-7a6h83d3.js} +26 -26
- package/dist/chunks/{wellknown-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-mcg6wrx9.js → usage-limits-7ct0nerp.js} +22 -22
- package/dist/chunks/{wellknown-avr0hj0j.js → usage-limits-7gess8jg.js} +5 -5
- package/dist/chunks/{wellknown-vf0bysg6.js → usage-limits-7mqz4fag.js} +4 -4
- package/dist/chunks/{wellknown-kryndetv.js → usage-limits-7ncvnbaz.js} +11 -11
- package/dist/chunks/{wellknown-qj27ec1j.js → usage-limits-7nqkf5r1.js} +2 -2
- package/dist/chunks/{wellknown-ppyb48em.js → usage-limits-7v3t30gc.js} +4 -4
- package/dist/chunks/{wellknown-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{wellknown-7weczvnd.js → usage-limits-7weczvnd.js} +1 -1
- package/dist/chunks/{wellknown-775hqbnd.js → usage-limits-80mg3ag8.js} +3 -3
- package/dist/chunks/{wellknown-fy1fxdtx.js → usage-limits-80vn2v0n.js} +10 -10
- package/dist/chunks/{wellknown-gerka9tj.js → usage-limits-859w1rtj.js} +9 -9
- package/dist/chunks/{wellknown-78sf79w1.js → usage-limits-85wrnyyd.js} +34 -34
- package/dist/chunks/{wellknown-ckdnq1n6.js → usage-limits-86bhhzhr.js} +6 -6
- package/dist/chunks/{wellknown-89287pr7.js → usage-limits-89287pr7.js} +1 -1
- package/dist/chunks/{wellknown-8b3vzgkx.js → usage-limits-8b3vzgkx.js} +1 -1
- package/dist/chunks/{wellknown-8cg7mtm3.js → usage-limits-8cg7mtm3.js} +1 -1
- package/dist/chunks/{wellknown-c3p6atjz.js → usage-limits-8gkk1x0x.js} +10 -10
- package/dist/chunks/{wellknown-v7z6b0h4.js → usage-limits-8k5fpyj1.js} +1 -1
- package/dist/chunks/{wellknown-ajy9n10r.js → usage-limits-8s2z45kh.js} +32 -32
- package/dist/chunks/{wellknown-8sxe6kv8.js → usage-limits-8sxe6kv8.js} +2 -2
- package/dist/chunks/{wellknown-hw55rhrf.js → usage-limits-8tnp9372.js} +2 -2
- package/dist/chunks/{wellknown-916c9ph1.js → usage-limits-8vwkpe2t.js} +30 -30
- package/dist/chunks/{wellknown-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{wellknown-24pmgrfx.js → usage-limits-8xmfpmj4.js} +1 -1
- package/dist/chunks/{wellknown-93j56vk9.js → usage-limits-909eec6e.js} +7 -7
- package/dist/chunks/{wellknown-84pmvy04.js → usage-limits-90gmqzm9.js} +3 -3
- package/dist/chunks/{wellknown-90zstvax.js → usage-limits-90zstvax.js} +1 -1
- package/dist/chunks/{wellknown-nt907s04.js → usage-limits-94e33dpz.js} +3 -3
- package/dist/chunks/{wellknown-ded5cj8f.js → usage-limits-9ags76hb.js} +3 -3
- package/dist/chunks/{wellknown-qh97hwxa.js → usage-limits-9brq8ff6.js} +8 -8
- package/dist/chunks/{wellknown-ah7ajmgp.js → usage-limits-9d1f1kv3.js} +6 -6
- package/dist/chunks/{wellknown-4ptj8tnr.js → usage-limits-9ez2cb9g.js} +17 -17
- package/dist/chunks/{wellknown-vt4r9rmy.js → usage-limits-9f3jsh1d.js} +9 -9
- package/dist/chunks/{wellknown-2aqh1ed0.js → usage-limits-9fm9mk80.js} +6 -6
- package/dist/chunks/{wellknown-wqtfc57y.js → usage-limits-9k2mascy.js} +37 -37
- package/dist/chunks/{wellknown-a4ww6fpm.js → usage-limits-9nkjg9qd.js} +6 -6
- package/dist/chunks/{wellknown-mkqdp8ha.js → usage-limits-9v03qe9g.js} +8 -8
- package/dist/chunks/{wellknown-r21j31g5.js → usage-limits-9yy5yn1v.js} +24 -24
- package/dist/chunks/{wellknown-j5mmq8fx.js → usage-limits-a51f5cjv.js} +31 -31
- package/dist/chunks/{wellknown-18b1hh0p.js → usage-limits-ac642rmg.js} +9 -9
- package/dist/chunks/{wellknown-k3vhv03a.js → usage-limits-ac89hf99.js} +9 -9
- package/dist/chunks/{wellknown-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{wellknown-4vfrhe1s.js → usage-limits-b6f2jdj7.js} +26 -26
- package/dist/chunks/{wellknown-b6vsg801.js → usage-limits-b6vsg801.js} +2 -2
- package/dist/chunks/{wellknown-4k5g9167.js → usage-limits-b7nkz392.js} +1 -1
- package/dist/chunks/{wellknown-fcmefckm.js → usage-limits-bb65ze16.js} +3 -3
- package/dist/chunks/{wellknown-m4mqann0.js → usage-limits-bebzr3cw.js} +15 -15
- package/dist/chunks/{wellknown-eygpte75.js → usage-limits-bjntnzx1.js} +4 -4
- package/dist/chunks/{wellknown-bstexjd6.js → usage-limits-bstexjd6.js} +1 -1
- package/dist/chunks/{wellknown-kykg0krq.js → usage-limits-bsw7xp65.js} +14 -14
- package/dist/chunks/{wellknown-y35j1hcy.js → usage-limits-c3bd6k0t.js} +5 -5
- package/dist/chunks/{wellknown-e71bb87j.js → usage-limits-c5m2a8vb.js} +8 -8
- package/dist/chunks/{wellknown-vk8nsjgj.js → usage-limits-ccc18bzw.js} +33 -33
- package/dist/chunks/{wellknown-ygj09pgb.js → usage-limits-ckzd4efv.js} +21 -21
- package/dist/chunks/{wellknown-trz53kb7.js → usage-limits-cqpwqe07.js} +22 -22
- package/dist/chunks/{wellknown-ajmztxs2.js → usage-limits-ct8bzh5d.js} +10 -10
- package/dist/chunks/{wellknown-64n80mk6.js → usage-limits-cvrvtmc3.js} +6 -6
- package/dist/chunks/{wellknown-cwrgdav8.js → usage-limits-cwrgdav8.js} +2 -2
- package/dist/chunks/{wellknown-93xmyh8q.js → usage-limits-cxab28sr.js} +5 -5
- package/dist/chunks/{wellknown-favj3v7h.js → usage-limits-czz9bpax.js} +23 -23
- package/dist/chunks/{wellknown-ren5afew.js → usage-limits-d3856w8e.js} +11 -11
- package/dist/chunks/{wellknown-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{wellknown-skycejk5.js → usage-limits-d57g64zj.js} +13 -13
- package/dist/chunks/{wellknown-7mx8sa5e.js → usage-limits-d6c9j19h.js} +38 -38
- package/dist/chunks/{wellknown-x6esyb8f.js → usage-limits-d71n2tcf.js} +31 -31
- package/dist/chunks/{wellknown-e6s7s9r0.js → usage-limits-dgcmaerj.js} +27 -27
- package/dist/chunks/{wellknown-1a9ma15s.js → usage-limits-dsfcpnx8.js} +55 -55
- package/dist/chunks/{wellknown-dt77769w.js → usage-limits-dt77769w.js} +1 -1
- package/dist/chunks/{wellknown-fw9p8c97.js → usage-limits-e09cn169.js} +3 -3
- package/dist/chunks/{wellknown-c3rbpg4q.js → usage-limits-e0yb1wad.js} +28 -28
- package/dist/chunks/{wellknown-6dqyy18z.js → usage-limits-e4bcezh6.js} +4 -4
- package/dist/chunks/{wellknown-8t9dc57a.js → usage-limits-e6qx8skf.js} +12 -12
- package/dist/chunks/{wellknown-e834z07m.js → usage-limits-e834z07m.js} +1 -1
- package/dist/chunks/{wellknown-qvdhyt1r.js → usage-limits-edm37t96.js} +3 -3
- package/dist/chunks/{wellknown-216f334t.js → usage-limits-ep2h3a62.js} +36 -36
- package/dist/chunks/{wellknown-eqw4pqj1.js → usage-limits-eqw4pqj1.js} +2 -2
- package/dist/chunks/{wellknown-d390zwf3.js → usage-limits-etrnj9s7.js} +8 -8
- package/dist/chunks/usage-limits-eywbbjg4.js +26 -0
- package/dist/chunks/{wellknown-6pn4h7dy.js → usage-limits-f0p69fm7.js} +9 -9
- package/dist/chunks/{wellknown-cazpgcbm.js → usage-limits-f3hkzk95.js} +6 -6
- package/dist/chunks/{wellknown-rgjq3vy7.js → usage-limits-f90n8p1b.js} +84 -84
- package/dist/chunks/{wellknown-23js9793.js → usage-limits-fdrtm50y.js} +10 -10
- package/dist/chunks/{wellknown-fffv3p7h.js → usage-limits-fffv3p7h.js} +1 -1
- package/dist/chunks/{wellknown-xg7bvfxq.js → usage-limits-ffgt22qx.js} +15 -15
- package/dist/chunks/{wellknown-m38c5mna.js → usage-limits-ffss541w.js} +12 -12
- package/dist/chunks/{wellknown-fg9p65nk.js → usage-limits-fg9p65nk.js} +2 -2
- package/dist/chunks/{wellknown-hnwp15mr.js → usage-limits-fmwkjw40.js} +10 -10
- package/dist/chunks/{wellknown-gt63c6q4.js → usage-limits-frxj6yaz.js} +8 -8
- package/dist/chunks/{wellknown-yvzmz16e.js → usage-limits-fwqh7dwm.js} +49 -49
- package/dist/chunks/{wellknown-tx91wa5k.js → usage-limits-g1e2r5aa.js} +4 -4
- package/dist/chunks/{wellknown-kp7wb122.js → usage-limits-g4m6h4w4.js} +4 -4
- package/dist/chunks/{wellknown-4rmzjphn.js → usage-limits-gagyev7b.js} +14 -14
- package/dist/chunks/{wellknown-gbjdnr5j.js → usage-limits-gbjdnr5j.js} +2 -2
- package/dist/chunks/{wellknown-ghrv1g9c.js → usage-limits-ghrv1g9c.js} +1 -1
- package/dist/chunks/{wellknown-3kesfggk.js → usage-limits-gxjqa9bk.js} +12 -12
- package/dist/chunks/{wellknown-gxs71cxp.js → usage-limits-gxs71cxp.js} +1 -1
- package/dist/chunks/{wellknown-swx1ayq2.js → usage-limits-gywnt0jb.js} +20 -20
- package/dist/chunks/{wellknown-ky7mywz6.js → usage-limits-h6rkp28w.js} +41 -41
- package/dist/chunks/{wellknown-dk5f2cb6.js → usage-limits-hm6vbjb6.js} +12 -12
- package/dist/chunks/{wellknown-3w477f44.js → usage-limits-hpb1v0cq.js} +47 -47
- package/dist/chunks/{wellknown-q2kh7wdt.js → usage-limits-hqs28bak.js} +12 -12
- package/dist/chunks/{wellknown-6qyw7ax7.js → usage-limits-hxahz48s.js} +2 -2
- package/dist/chunks/{wellknown-tqq48ymh.js → usage-limits-hxr00axb.js} +19 -19
- package/dist/chunks/{wellknown-tg1vr1qt.js → usage-limits-hy8c1z76.js} +8 -8
- package/dist/chunks/{wellknown-ckpr449p.js → usage-limits-hyrrjrnh.js} +11 -11
- package/dist/chunks/{wellknown-4hf4n0zm.js → usage-limits-j01bfx3p.js} +11 -11
- package/dist/chunks/{wellknown-gqm5by7n.js → usage-limits-j4249m5z.js} +35 -35
- package/dist/chunks/{wellknown-ptta5dzs.js → usage-limits-j45pwd16.js} +20 -20
- package/dist/chunks/{wellknown-g0dnjnmp.js → usage-limits-j4f6gv35.js} +48 -48
- package/dist/chunks/{wellknown-304hg1at.js → usage-limits-j76v0dr5.js} +11 -11
- package/dist/chunks/{wellknown-7539c3cr.js → usage-limits-j9fpjzq2.js} +3 -3
- package/dist/chunks/{wellknown-26wfx3k0.js → usage-limits-jjvvtnfs.js} +4 -4
- package/dist/chunks/{wellknown-bhfd478d.js → usage-limits-jkdcm5hg.js} +4 -4
- package/dist/chunks/{wellknown-5ak7srjx.js → usage-limits-jn7ge56p.js} +33 -33
- package/dist/chunks/{wellknown-jh1m9pe1.js → usage-limits-jrc5d03r.js} +17 -17
- package/dist/chunks/{wellknown-bavdhvpv.js → usage-limits-k011gjc3.js} +13 -13
- package/dist/chunks/{wellknown-5e49hhq7.js → usage-limits-k2nw199f.js} +5 -5
- package/dist/chunks/{wellknown-k3cx6fhe.js → usage-limits-k3cx6fhe.js} +1 -1
- package/dist/chunks/{wellknown-j35zbqc8.js → usage-limits-k3znx4gz.js} +32 -32
- package/dist/chunks/{wellknown-4rrps9tb.js → usage-limits-k4262js1.js} +8 -8
- package/dist/chunks/{wellknown-kj9n5bvh.js → usage-limits-k46dd5bg.js} +4 -4
- package/dist/chunks/{wellknown-g5dv9qdk.js → usage-limits-kf1jged3.js} +2 -2
- package/dist/chunks/{wellknown-kh8gdsej.js → usage-limits-kh8gdsej.js} +1 -1
- package/dist/chunks/{wellknown-jptcr37n.js → usage-limits-kkz32fyb.js} +4 -4
- package/dist/chunks/{wellknown-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{wellknown-e27sg1de.js → usage-limits-kxbwxvc1.js} +8 -8
- package/dist/chunks/{wellknown-kzczzf4v.js → usage-limits-kzczzf4v.js} +1 -1
- package/dist/chunks/{wellknown-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{wellknown-fdmmze7m.js → usage-limits-m4amd3j0.js} +20 -20
- package/dist/chunks/{wellknown-bqwmb801.js → usage-limits-m4vy6xv8.js} +9 -9
- package/dist/chunks/{wellknown-pq1w81da.js → usage-limits-m7wy7vv3.js} +18 -18
- package/dist/chunks/{wellknown-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mb7mbhnz.js → usage-limits-mb7mbhnz.js} +3 -3
- package/dist/chunks/{wellknown-dv2ha7en.js → usage-limits-me02qcxq.js} +13 -13
- package/dist/chunks/{wellknown-tej16zf8.js → usage-limits-mqpzh5zd.js} +13 -13
- package/dist/chunks/{wellknown-nts2g98q.js → usage-limits-ms0p7jad.js} +7 -7
- package/dist/chunks/{wellknown-dqjhtdfb.js → usage-limits-mtycej78.js} +9 -9
- package/dist/chunks/{wellknown-xewr2abs.js → usage-limits-mwdknnc9.js} +10 -10
- package/dist/chunks/{wellknown-22mnexr7.js → usage-limits-mzkp22x8.js} +15 -15
- package/dist/chunks/{wellknown-t62dywgn.js → usage-limits-n3j33rb6.js} +4 -4
- package/dist/chunks/{wellknown-kqaznnhz.js → usage-limits-n5zq152n.js} +16 -16
- package/dist/chunks/{wellknown-0cygc3c3.js → usage-limits-n6d79a0r.js} +147 -147
- package/dist/chunks/{wellknown-mtz9zvnv.js → usage-limits-n72em6nn.js} +32 -32
- package/dist/chunks/{wellknown-9ha2gsvy.js → usage-limits-n9fz12w3.js} +10 -10
- package/dist/chunks/{wellknown-hveesah3.js → usage-limits-nc1hbqtx.js} +16 -16
- package/dist/chunks/{wellknown-kcagvcjg.js → usage-limits-nmy62yk3.js} +14 -14
- package/dist/chunks/{wellknown-4e6ftdsb.js → usage-limits-nn6vv3za.js} +22 -22
- package/dist/chunks/{wellknown-0ntsqf23.js → usage-limits-nth32cn0.js} +3 -3
- package/dist/chunks/{wellknown-dvnqv6yn.js → usage-limits-nyc4jwvb.js} +4 -4
- package/dist/chunks/{wellknown-6g4bbv4s.js → usage-limits-p0bx2rv6.js} +11 -11
- package/dist/chunks/{wellknown-t713nxyc.js → usage-limits-p1tx24th.js} +17 -17
- package/dist/chunks/{wellknown-6phyf051.js → usage-limits-pft0fzv5.js} +28 -28
- package/dist/chunks/{wellknown-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-527g67fv.js → usage-limits-pvatq3d7.js} +3 -3
- package/dist/chunks/{wellknown-nchw3v9s.js → usage-limits-pyc3gczw.js} +5 -5
- package/dist/chunks/{wellknown-5r658053.js → usage-limits-pztbebrn.js} +41 -41
- package/dist/chunks/{wellknown-aw8r1d4y.js → usage-limits-q3fbk0qb.js} +21 -21
- package/dist/chunks/{wellknown-qp7r0hxv.js → usage-limits-qp7r0hxv.js} +1 -1
- package/dist/chunks/{wellknown-8w4z3jx9.js → usage-limits-qsj8kr4j.js} +26 -26
- package/dist/chunks/{wellknown-psb1wzhv.js → usage-limits-qtf35215.js} +2 -2
- package/dist/chunks/{wellknown-g42ytbnb.js → usage-limits-qx5c004m.js} +11 -11
- package/dist/chunks/{wellknown-8t99kr38.js → usage-limits-r17fbvme.js} +4 -4
- package/dist/chunks/{wellknown-rmv7fhs4.js → usage-limits-r1fnsf7p.js} +6 -6
- package/dist/chunks/{wellknown-vwjpa1de.js → usage-limits-r75f2j8n.js} +6 -6
- package/dist/chunks/{wellknown-j0p3wt22.js → usage-limits-r7r55277.js} +7 -7
- package/dist/chunks/{wellknown-6yg9jtc9.js → usage-limits-raca5ty2.js} +9 -9
- package/dist/chunks/{wellknown-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{wellknown-w1nf0m3m.js → usage-limits-rcvrtwzp.js} +1 -1
- package/dist/chunks/{wellknown-0jv2qtk2.js → usage-limits-rehx8jgv.js} +30 -30
- package/dist/chunks/{wellknown-rgc9cx3e.js → usage-limits-rgc9cx3e.js} +2 -2
- package/dist/chunks/{wellknown-rj7j5fvs.js → usage-limits-rj7j5fvs.js} +1 -1
- package/dist/chunks/{wellknown-78q9edgf.js → usage-limits-rra632bm.js} +30 -30
- package/dist/chunks/{wellknown-07jk5ngn.js → usage-limits-rrbfrbgr.js} +24 -24
- package/dist/chunks/{wellknown-rt5dr6hb.js → usage-limits-rt5dr6hb.js} +1 -1
- package/dist/chunks/{wellknown-q1ycgg2g.js → usage-limits-s34z34qz.js} +17 -17
- package/dist/chunks/{wellknown-svvatc1a.js → usage-limits-s368sd4v.js} +20 -20
- package/dist/chunks/{wellknown-7ctbfyn1.js → usage-limits-s71byrmw.js} +7 -7
- package/dist/chunks/{wellknown-sa3fpqfw.js → usage-limits-sa3fpqfw.js} +2 -2
- package/dist/chunks/{wellknown-sbya78hr.js → usage-limits-sbya78hr.js} +1 -1
- package/dist/chunks/{wellknown-8neyg7hc.js → usage-limits-sc2j4vhb.js} +5 -5
- package/dist/chunks/{wellknown-7hm646nv.js → usage-limits-sd3nfk3e.js} +9 -9
- package/dist/chunks/{wellknown-1jgyg348.js → usage-limits-sdcwhz4e.js} +50 -50
- package/dist/chunks/{wellknown-31c60gbf.js → usage-limits-skt0tn7d.js} +10 -10
- package/dist/chunks/{wellknown-t4chsw57.js → usage-limits-smnfhxyv.js} +6 -6
- package/dist/chunks/{wellknown-8n0wac5j.js → usage-limits-sndgfvba.js} +16 -16
- package/dist/chunks/{wellknown-rtgdpz6a.js → usage-limits-sva034c8.js} +24 -24
- package/dist/chunks/{wellknown-svcy3p9a.js → usage-limits-svcy3p9a.js} +1 -1
- package/dist/chunks/{wellknown-kmgnetvv.js → usage-limits-svvpwgp9.js} +7 -7
- package/dist/chunks/{wellknown-d9hrzwv3.js → usage-limits-sw1a9t2q.js} +25 -25
- package/dist/chunks/{wellknown-szwm4crx.js → usage-limits-szwm4crx.js} +4 -4
- package/dist/chunks/{wellknown-typch8q5.js → usage-limits-t171f9a0.js} +8 -8
- package/dist/chunks/{wellknown-xnjjt1mk.js → usage-limits-t9k9s755.js} +21 -21
- package/dist/chunks/{wellknown-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/{wellknown-876s7cjx.js → usage-limits-tjjvh08t.js} +4 -4
- package/dist/chunks/{wellknown-01hb15j6.js → usage-limits-tjzsvpeg.js} +12 -12
- package/dist/chunks/{wellknown-tr8x705m.js → usage-limits-tr8x705m.js} +1 -1
- package/dist/chunks/{wellknown-tvtps2q9.js → usage-limits-tvtps2q9.js} +1 -1
- package/dist/chunks/{wellknown-twssxy5n.js → usage-limits-twssxy5n.js} +2 -2
- package/dist/chunks/{wellknown-v7ym45ve.js → usage-limits-tzd140zz.js} +349 -349
- package/dist/chunks/usage-limits-v0kmawh8.js +265 -0
- package/dist/chunks/{wellknown-8t16efcn.js → usage-limits-v2r0ygcj.js} +6 -6
- package/dist/chunks/{wellknown-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{wellknown-d8mebr7j.js → usage-limits-v39rthcz.js} +11 -11
- package/dist/chunks/{wellknown-fs1hk4j5.js → usage-limits-v4jfqe93.js} +79 -79
- package/dist/chunks/{wellknown-env3g1se.js → usage-limits-v8bk3y1g.js} +23 -23
- package/dist/chunks/{wellknown-vkf217q7.js → usage-limits-vbz5ycq4.js} +18 -18
- package/dist/chunks/{wellknown-vjf35v1f.js → usage-limits-vjf35v1f.js} +1 -1
- package/dist/chunks/{wellknown-ttxvctz4.js → usage-limits-vndmf0kz.js} +19 -19
- package/dist/chunks/{wellknown-8nxj1m7z.js → usage-limits-vq89e0ys.js} +9 -9
- package/dist/chunks/{wellknown-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-w687dnns.js → usage-limits-w687dnns.js} +1 -1
- package/dist/chunks/{wellknown-2kg89srt.js → usage-limits-w79nt68w.js} +4 -4
- package/dist/chunks/{wellknown-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{wellknown-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-yvk4sre1.js → usage-limits-wdcn7t90.js} +22 -22
- package/dist/chunks/{wellknown-wegkxhrn.js → usage-limits-wegkxhrn.js} +2 -2
- package/dist/chunks/{wellknown-9thpjtv8.js → usage-limits-wew2820q.js} +17 -17
- package/dist/chunks/{wellknown-afcqbr6y.js → usage-limits-wjzk9y8j.js} +12 -12
- package/dist/chunks/{wellknown-y3wzejrp.js → usage-limits-wk42c3dr.js} +27 -27
- package/dist/chunks/{wellknown-21qhnj61.js → usage-limits-wmkht39n.js} +22 -22
- package/dist/chunks/{wellknown-wnhgecwx.js → usage-limits-wnhgecwx.js} +1 -1
- package/dist/chunks/{wellknown-622za4kq.js → usage-limits-wnrd0dam.js} +13 -13
- package/dist/chunks/{wellknown-wdj2pyds.js → usage-limits-wp887zt7.js} +6 -6
- package/dist/chunks/{wellknown-nyxvvj5y.js → usage-limits-wvr8xscb.js} +4 -4
- package/dist/chunks/{wellknown-h9dxetwp.js → usage-limits-x13fhvh3.js} +36 -36
- package/dist/chunks/{wellknown-gnkw4dwe.js → usage-limits-x150ncgg.js} +2 -2
- package/dist/chunks/{wellknown-rqcf1ars.js → usage-limits-x5b0zpxg.js} +43 -43
- package/dist/chunks/{wellknown-2r49z2a5.js → usage-limits-xh6bqgzj.js} +6 -6
- package/dist/chunks/{wellknown-xjr6c8m4.js → usage-limits-xjr6c8m4.js} +1 -1
- package/dist/chunks/{wellknown-tb9p24fy.js → usage-limits-xkxt11vj.js} +3 -3
- package/dist/chunks/{wellknown-6x0ejca2.js → usage-limits-xssw2ywd.js} +70 -70
- package/dist/chunks/{wellknown-pyvcf3qs.js → usage-limits-xvhf6dh1.js} +15 -15
- package/dist/chunks/{wellknown-70a8n8w4.js → usage-limits-y1g0twfb.js} +35 -35
- package/dist/chunks/{wellknown-yfzr85ts.js → usage-limits-y1waphgm.js} +2 -2
- package/dist/chunks/{wellknown-6d4vpd03.js → usage-limits-y29ahkrr.js} +29 -29
- package/dist/chunks/{wellknown-4hxssase.js → usage-limits-y3etp3kr.js} +11 -11
- package/dist/chunks/{wellknown-78p2h4ex.js → usage-limits-y3p3hzkr.js} +5 -5
- package/dist/chunks/{wellknown-z6dhe6j6.js → usage-limits-y7vq4mmt.js} +32 -32
- package/dist/chunks/{wellknown-4nd2e4dn.js → usage-limits-y829v640.js} +20 -20
- package/dist/chunks/{wellknown-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{wellknown-pde1630y.js → usage-limits-yjsnay5j.js} +14 -14
- package/dist/chunks/{wellknown-7k8w9ggc.js → usage-limits-ypfq3f1e.js} +6 -6
- package/dist/chunks/{wellknown-yr705xyq.js → usage-limits-yr705xyq.js} +1 -1
- package/dist/chunks/{wellknown-ghh04f1y.js → usage-limits-yt7vr38v.js} +8 -8
- package/dist/chunks/{wellknown-yvtc2x31.js → usage-limits-yvtc2x31.js} +1 -1
- package/dist/chunks/{wellknown-bbve6zaf.js → usage-limits-yxfwe7mc.js} +10 -10
- package/dist/chunks/{wellknown-a2whshkj.js → usage-limits-yzmz7xtz.js} +3 -3
- package/dist/chunks/{wellknown-kn2kkqtg.js → usage-limits-z3jmgwhg.js} +32 -32
- package/dist/chunks/{wellknown-j642t318.js → usage-limits-zctbrfn0.js} +11 -11
- package/dist/chunks/{wellknown-j9nxzz3g.js → usage-limits-ze75qvmd.js} +3 -3
- package/dist/chunks/{wellknown-0jqpdm07.js → usage-limits-znh69bh5.js} +31 -31
- package/dist/chunks/{wellknown-zpdbqgja.js → usage-limits-zpdbqgja.js} +1 -1
- package/dist/chunks/{wellknown-c8g4pdbe.js → usage-limits-zsnkmh04.js} +15 -15
- package/dist/chunks/{wellknown-fwp9mfc9.js → usage-limits-ztf6n3de.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- 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 +234 -234
- 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 +132 -132
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- 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 +130 -130
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- 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 +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +249 -249
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +180 -180
- 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 +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +181 -181
- 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 +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- 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 +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +3 -3
- 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 +404 -404
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- 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 +7 -7
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- 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 +1 -1
- 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 +138 -138
- 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 +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -414
- 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 +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +7 -7
- package/dist/plugin.js +245 -245
- 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 +110 -110
- 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 +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +259 -259
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- 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 +171 -171
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +245 -245
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +143 -143
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +1 -1
- 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 +3 -3
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +149 -149
- 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 +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +242 -242
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -233
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +152 -152
- 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 +182 -182
- 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 +148 -148
- 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 +240 -240
- 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 +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/wellknown-7yv5xa0k.js +0 -18
- package/dist/chunks/wellknown-cmpzgpye.js +0 -265
- package/dist/chunks/wellknown-zrgt28nc.js +0 -26
- /package/dist/chunks/{wellknown-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-108x4f4w.js → usage-limits-108x4f4w.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kah00gy.js → usage-limits-1kah00gy.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2bv980vf.js → usage-limits-2bv980vf.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3af0jn4w.js → usage-limits-3af0jn4w.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → usage-limits-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → usage-limits-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4qk9sjk2.js → usage-limits-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → usage-limits-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → usage-limits-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5w3e23ze.js → usage-limits-5w3e23ze.js} +0 -0
- /package/dist/chunks/{wellknown-6agm2x70.js → usage-limits-6agm2x70.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → usage-limits-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → usage-limits-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → usage-limits-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-beh6qq61.js → usage-limits-beh6qq61.js} +0 -0
- /package/dist/chunks/{wellknown-bhmrqjy3.js → usage-limits-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → usage-limits-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-ean2d8b5.js → usage-limits-ean2d8b5.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fkpq3x5p.js → usage-limits-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → usage-limits-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → usage-limits-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-nh4v3znn.js → usage-limits-nh4v3znn.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-p71gwv9c.js → usage-limits-p71gwv9c.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → usage-limits-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-syrav9an.js → usage-limits-syrav9an.js} +0 -0
- /package/dist/chunks/{wellknown-t03h4f5z.js → usage-limits-t03h4f5z.js} +0 -0
- /package/dist/chunks/{wellknown-ty7weeps.js → usage-limits-ty7weeps.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-vtarvj67.js → usage-limits-vtarvj67.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → usage-limits-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → usage-limits-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-z0h12gs8.js → usage-limits-z0h12gs8.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
- /package/dist/chunks/{wellknown-zxpyjp51.js → usage-limits-zxpyjp51.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID18,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node88
|
|
9
|
+
} from "./usage-limits-pft0fzv5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info5,
|
|
18
|
+
Service: () => Service23,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer11,
|
|
22
|
+
node: () => node25
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info5 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service23 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service85;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
45
|
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service23.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node25 = makeLocationNode({
|
|
72
|
+
service: Service23,
|
|
73
|
+
layer: layer11,
|
|
74
|
+
deps: [node88, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info5, UnavailableError3, Service23, layer11, node25, exports_usage_limits };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/codemode/execution.ts
|
|
6
6
|
var exports_execution2 = {};
|
|
7
7
|
__export(exports_execution2, {
|
|
8
8
|
CodeModeExecution: () => exports_execution2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service54
|
|
10
10
|
});
|
|
11
11
|
import { Context } from "effect";
|
|
12
12
|
|
|
13
|
-
class
|
|
13
|
+
class Service54 extends Context.Service()("@opencode/CodeModeExecution") {
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Service54, exports_execution2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
NotFound3,
|
|
6
6
|
WrongKind2,
|
|
7
7
|
Failed2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-svcy3p9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service84
|
|
11
|
+
} from "./usage-limits-9ez2cb9g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service69
|
|
14
|
+
} from "./usage-limits-j45pwd16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./usage-limits-xvhf6dh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service20,
|
|
20
20
|
readText2,
|
|
21
21
|
syncTextBom2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./usage-limits-mqpzh5zd.js";
|
|
23
23
|
import {
|
|
24
24
|
invocation2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service71
|
|
26
|
+
} from "./usage-limits-y7vq4mmt.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
Service22,
|
|
29
29
|
resolvePath2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./usage-limits-sva034c8.js";
|
|
31
31
|
import {
|
|
32
32
|
fileDiff2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-6prwharc.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/tool/plugin/patch.ts
|
|
39
39
|
var exports_patch = {};
|
|
40
40
|
__export(exports_patch, {
|
|
41
41
|
Applied: () => Applied2,
|
|
42
|
-
Input: () =>
|
|
43
|
-
Output: () =>
|
|
42
|
+
Input: () => Input11,
|
|
43
|
+
Output: () => Output8,
|
|
44
44
|
PatchTool: () => exports_patch,
|
|
45
|
-
Plugin: () =>
|
|
46
|
-
name: () =>
|
|
47
|
-
toModelContent: () =>
|
|
45
|
+
Plugin: () => Plugin31,
|
|
46
|
+
name: () => name11,
|
|
47
|
+
toModelContent: () => toModelContent5
|
|
48
48
|
});
|
|
49
49
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
50
50
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -89,8 +89,8 @@ It is important to remember:
|
|
|
89
89
|
`;
|
|
90
90
|
|
|
91
91
|
// src/tool/plugin/patch.ts
|
|
92
|
-
var
|
|
93
|
-
var
|
|
92
|
+
var name11 = "patch";
|
|
93
|
+
var Input11 = Schema.Struct({
|
|
94
94
|
patchText: Schema.String.annotate({
|
|
95
95
|
description: "The full patch text describing add, update, and delete operations"
|
|
96
96
|
})
|
|
@@ -100,30 +100,30 @@ var Applied2 = Schema.Struct({
|
|
|
100
100
|
resource: Schema.String,
|
|
101
101
|
target: Schema.String
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var Output8 = Schema.Struct({
|
|
104
104
|
applied: Schema.Array(Applied2),
|
|
105
105
|
files: Schema.Array(FileDiff.Info)
|
|
106
106
|
});
|
|
107
|
-
var
|
|
107
|
+
var toModelContent5 = (output) => [
|
|
108
108
|
"Success. Updated the following files:",
|
|
109
109
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
110
110
|
].join(`
|
|
111
111
|
`);
|
|
112
|
-
var
|
|
112
|
+
var Plugin31 = {
|
|
113
113
|
id: "opencode.tool.patch",
|
|
114
114
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
115
|
-
const environment = yield*
|
|
116
|
-
const access = yield*
|
|
117
|
-
const fileMutation = yield*
|
|
118
|
-
const formatter = yield*
|
|
119
|
-
const location = yield*
|
|
120
|
-
const permission = yield*
|
|
115
|
+
const environment = yield* Service69;
|
|
116
|
+
const access = yield* Service22;
|
|
117
|
+
const fileMutation = yield* Service20;
|
|
118
|
+
const formatter = yield* Service21;
|
|
119
|
+
const location = yield* Service84;
|
|
120
|
+
const permission = yield* Service71;
|
|
121
121
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
122
|
-
name:
|
|
122
|
+
name: name11,
|
|
123
123
|
options: { codemode: false, permission: "edit" },
|
|
124
124
|
description: patch_default,
|
|
125
|
-
input:
|
|
126
|
-
output:
|
|
125
|
+
input: Input11,
|
|
126
|
+
output: Output8,
|
|
127
127
|
execute: (input, context) => {
|
|
128
128
|
const applied = [];
|
|
129
129
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -265,7 +265,7 @@ var Plugin20 = {
|
|
|
265
265
|
return { applied, files };
|
|
266
266
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
267
267
|
output,
|
|
268
|
-
content:
|
|
268
|
+
content: toModelContent5(output),
|
|
269
269
|
metadata: { files: output.files }
|
|
270
270
|
})), Effect.mapError(toolFailure2("Unable to apply patch")));
|
|
271
271
|
}
|
|
@@ -325,4 +325,4 @@ function trimDiff(diff) {
|
|
|
325
325
|
`);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export {
|
|
328
|
+
export { name11, Input11, Applied2, Output8, toModelContent5, Plugin31, exports_patch };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node92
|
|
4
|
+
} from "./usage-limits-02d8v3jx.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/agent.ts
|
|
14
14
|
var exports_agent3 = {};
|
|
15
15
|
__export(exports_agent3, {
|
|
16
16
|
Agent: () => exports_agent3,
|
|
17
17
|
Color: () => Color2,
|
|
18
|
-
Event: () =>
|
|
18
|
+
Event: () => Event14,
|
|
19
19
|
ID: () => ID14,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info17,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service74,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
24
|
node: () => node76
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
|
-
import { Event as
|
|
29
|
+
import { Event as Event14 } from "@opencode/schema/agent";
|
|
30
30
|
var ID14 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
32
|
var defaultID2 = ID14.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info17 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
39
|
-
const bus = yield*
|
|
38
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
39
|
+
const bus = yield* Service89;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
42
42
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info17.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service74.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var node76 = makeLocationNode({ service:
|
|
105
|
+
var node76 = makeLocationNode({ service: Service74, layer, deps: [node92] });
|
|
106
106
|
|
|
107
|
-
export { ID14, Name3, defaultID2, Color2,
|
|
107
|
+
export { ID14, Name3, defaultID2, Color2, Info17, Service74, node76, exports_agent3, Event14 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service74,
|
|
3
3
|
node76
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-5cye9ycf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service59,
|
|
7
|
+
node60
|
|
8
|
+
} from "./usage-limits-1ja4pw4e.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-qtf35215.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service55,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node56,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service55 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service59;
|
|
63
|
+
const agents = yield* Service74;
|
|
64
|
+
return Service55.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node56 = makeLocationNode({ service: Service55, layer, deps: [node60, node76] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service55, resolved2, node56, exports_model };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./usage-limits-jrc5d03r.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service84
|
|
9
|
+
} from "./usage-limits-9ez2cb9g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service76
|
|
12
|
+
} from "./usage-limits-j4f6gv35.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./usage-limits-09zzb6wz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./usage-limits-859w1rtj.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-9fm9mk80.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./usage-limits-yvtc2x31.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
33
|
var exports_skill3 = {};
|
|
34
34
|
__export(exports_skill3, {
|
|
35
35
|
ConfigSkillPlugin: () => exports_skill3,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin47
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin47 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service76;
|
|
47
|
+
const discovery = yield* Service8;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service84;
|
|
51
|
+
const watcher = yield* Service77;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -179,4 +179,4 @@ var Plugin49 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin47, exports_skill3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./usage-limits-y7vq4mmt.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input13,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin34,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description7,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name13
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
38
|
+
var name13 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description7 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input13 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input8 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input13.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -116,16 +116,16 @@ var convert = (content, contentType, format) => {
|
|
|
116
116
|
return extractTextFromHTML2(content);
|
|
117
117
|
return content;
|
|
118
118
|
};
|
|
119
|
-
var
|
|
119
|
+
var Plugin34 = {
|
|
120
120
|
id: "opencode.tool.webfetch",
|
|
121
121
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
|
-
const permission = yield*
|
|
123
|
+
const permission = yield* Service71;
|
|
124
124
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
125
|
-
name:
|
|
125
|
+
name: name13,
|
|
126
126
|
options: { codemode: false },
|
|
127
|
-
description:
|
|
128
|
-
input:
|
|
127
|
+
description: description7,
|
|
128
|
+
input: Input13,
|
|
129
129
|
output: Output,
|
|
130
130
|
execute: (input, context) => Effect.gen(function* () {
|
|
131
131
|
const url = yield* Effect.try({
|
|
@@ -137,7 +137,7 @@ var Plugin28 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name13,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin28 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name13,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name13, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description7, Input13, MAX_REDIRECTS2, Plugin34, extractTextFromHTML2, exports_webfetch };
|