@opencode/core 0.0.0-dev-420 → 0.0.0-dev-425
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +226 -226
- package/dist/bus.js +80 -80
- package/dist/chunks/{usage-limits-034tev2y.js → provider-034tev2y.js} +2 -2
- package/dist/chunks/{usage-limits-wjktpy06.js → provider-0cv8g5av.js} +24 -24
- package/dist/chunks/{usage-limits-5fdvw9ba.js → provider-0gwyvsgx.js} +14 -14
- package/dist/chunks/{usage-limits-0j7gp832.js → provider-0j7gp832.js} +1 -1
- package/dist/chunks/{usage-limits-sw8b6wra.js → provider-0kp7995d.js} +54 -54
- package/dist/chunks/{usage-limits-p015t6z3.js → provider-0ma9gw4f.js} +2 -2
- package/dist/chunks/{usage-limits-963hk181.js → provider-0mtp185z.js} +9 -9
- package/dist/chunks/{usage-limits-9t0gc67n.js → provider-0q6rq0wx.js} +21 -21
- package/dist/chunks/{usage-limits-em2sgxt5.js → provider-0wh0wreq.js} +8 -8
- package/dist/chunks/{usage-limits-gy3pc7zw.js → provider-174fpaxw.js} +11 -11
- package/dist/chunks/{usage-limits-1aqsckx4.js → provider-1aqsckx4.js} +1 -1
- package/dist/chunks/{usage-limits-sy0mgh3t.js → provider-1cymf1wv.js} +3 -3
- package/dist/chunks/{usage-limits-13an0pyp.js → provider-1e5ztcp9.js} +187 -187
- package/dist/chunks/{usage-limits-1ep2p91f.js → provider-1ep2p91f.js} +2 -2
- package/dist/chunks/{usage-limits-1x2knyw4.js → provider-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-ksfe0385.js → provider-1xzb85s3.js} +33 -33
- package/dist/chunks/{usage-limits-gkb3m8fg.js → provider-208nbn7x.js} +4 -4
- package/dist/chunks/{usage-limits-mwszpj0y.js → provider-21ebwj7d.js} +25 -25
- package/dist/chunks/{usage-limits-n72z0cgm.js → provider-2ar72s4v.js} +17 -17
- package/dist/chunks/{usage-limits-69ag9vcn.js → provider-2hqxj3e8.js} +12 -12
- package/dist/chunks/{usage-limits-zenbbnxs.js → provider-2j5gpsjp.js} +11 -11
- package/dist/chunks/{usage-limits-0kye4xb4.js → provider-2kcp91wn.js} +7 -7
- package/dist/chunks/{usage-limits-x3z95caf.js → provider-2mq8mdn8.js} +26 -26
- package/dist/chunks/{usage-limits-2p60zmnr.js → provider-2p60zmnr.js} +2 -2
- package/dist/chunks/{usage-limits-f6bnm4wg.js → provider-2rmbv6aj.js} +17 -17
- package/dist/chunks/{usage-limits-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-f3hyk6hx.js → provider-3n03fw67.js} +17 -17
- package/dist/chunks/{usage-limits-n94whttr.js → provider-3n8k58ev.js} +10 -10
- package/dist/chunks/{usage-limits-3nnrz6f6.js → provider-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-cwwq72c3.js → provider-3rkhzrx8.js} +26 -26
- package/dist/chunks/{usage-limits-eaefbt7b.js → provider-3wffx9mc.js} +51 -51
- package/dist/chunks/{usage-limits-f0h5g87r.js → provider-3y5sd8jb.js} +21 -21
- package/dist/chunks/{usage-limits-1h0q8wdt.js → provider-3zy30qv4.js} +15 -15
- package/dist/chunks/{usage-limits-40y6dtc2.js → provider-40y6dtc2.js} +1 -1
- package/dist/chunks/{usage-limits-fn5zmr1e.js → provider-41cdwvpp.js} +9 -9
- package/dist/chunks/{usage-limits-1n59db96.js → provider-41gppdmm.js} +21 -21
- package/dist/chunks/{usage-limits-44pmzq9c.js → provider-44pmzq9c.js} +2 -2
- package/dist/chunks/{usage-limits-4d2dtj2f.js → provider-4d2dtj2f.js} +1 -1
- package/dist/chunks/{usage-limits-4dx1dgte.js → provider-4dx1dgte.js} +1 -1
- package/dist/chunks/{usage-limits-r542h3bh.js → provider-4f25tdd0.js} +5 -5
- package/dist/chunks/{usage-limits-efc4fccn.js → provider-4kjss04h.js} +4 -4
- package/dist/chunks/{usage-limits-4pyp9zr9.js → provider-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-2eq498t8.js → provider-4rramvaq.js} +30 -30
- package/dist/chunks/{usage-limits-zadr5te5.js → provider-4sprtgdv.js} +12 -12
- package/dist/chunks/{usage-limits-4v008n1t.js → provider-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-fbjqxkhq.js → provider-4yqm5m6p.js} +8 -8
- package/dist/chunks/{usage-limits-shfg8831.js → provider-52pksey1.js} +25 -25
- package/dist/chunks/{usage-limits-wjxpja73.js → provider-546y6032.js} +45 -45
- package/dist/chunks/{usage-limits-zhp45prx.js → provider-54mjf881.js} +11 -11
- package/dist/chunks/{usage-limits-yc3krwc3.js → provider-55dnbtkz.js} +13 -13
- package/dist/chunks/{usage-limits-446233zt.js → provider-55fyebza.js} +20 -20
- package/dist/chunks/{usage-limits-whe9nh2f.js → provider-55x429hg.js} +4 -4
- package/dist/chunks/{usage-limits-9565jm56.js → provider-58622k4e.js} +21 -21
- package/dist/chunks/{usage-limits-myjrfbwv.js → provider-58gn9me1.js} +24 -24
- package/dist/chunks/{usage-limits-2e81nrpj.js → provider-5cem1vp4.js} +12 -12
- package/dist/chunks/{usage-limits-ta2sav4a.js → provider-5jby4dm2.js} +23 -23
- package/dist/chunks/{usage-limits-k25mt8kq.js → provider-5m6a7xby.js} +6 -6
- package/dist/chunks/{usage-limits-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-b6vsg801.js → provider-5nnwax6m.js} +5 -5
- package/dist/chunks/{usage-limits-8t99kr38.js → provider-5t9swdnx.js} +4 -4
- package/dist/chunks/{usage-limits-v7dsqhsm.js → provider-5v8qem1n.js} +17 -17
- package/dist/chunks/{usage-limits-0af68jae.js → provider-5va8f550.js} +3 -3
- package/dist/chunks/{usage-limits-1yq9hg58.js → provider-5zrxpy3q.js} +5 -5
- package/dist/chunks/{usage-limits-fdczpp8a.js → provider-624434jz.js} +4 -4
- package/dist/chunks/{usage-limits-ep6pe98a.js → provider-6edbc7zm.js} +5 -5
- package/dist/chunks/{usage-limits-had6j8xm.js → provider-6p17b4q9.js} +45 -45
- package/dist/chunks/{usage-limits-4gqd9ya0.js → provider-6pwzz7pj.js} +3 -3
- package/dist/chunks/provider-6zjm2phc.js +18 -0
- package/dist/chunks/{usage-limits-fepbnb8j.js → provider-70y17xeh.js} +5 -5
- package/dist/chunks/{usage-limits-76cb1hcw.js → provider-76cb1hcw.js} +1 -1
- package/dist/chunks/{usage-limits-dg1djjew.js → provider-78k8rqvg.js} +7 -7
- package/dist/chunks/{usage-limits-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-1v5gn6e3.js → provider-7def1eh5.js} +5 -5
- package/dist/chunks/{usage-limits-zztrcv6s.js → provider-7dks1d1n.js} +6 -6
- package/dist/chunks/{usage-limits-cqz0jbed.js → provider-7e1ydx3z.js} +27 -27
- package/dist/chunks/{usage-limits-06eefc5d.js → provider-7fh49tq1.js} +5 -5
- package/dist/chunks/{usage-limits-t8erkws8.js → provider-7hbfr3gt.js} +5 -5
- package/dist/chunks/{usage-limits-7kr66rt3.js → provider-7kr66rt3.js} +1 -1
- package/dist/chunks/{usage-limits-h76e3ze7.js → provider-7m9sc66j.js} +16 -16
- package/dist/chunks/{usage-limits-hhn2qayg.js → provider-7n31wws5.js} +4 -4
- package/dist/chunks/{usage-limits-7w2ypzdf.js → provider-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-6esdw8yj.js → provider-7weczvnd.js} +4 -4
- package/dist/chunks/{usage-limits-rsk8pbtb.js → provider-80338099.js} +10 -10
- package/dist/chunks/{usage-limits-775hqbnd.js → provider-80mg3ag8.js} +3 -3
- package/dist/chunks/{usage-limits-0kyb1a9w.js → provider-81vnvh8a.js} +34 -33
- package/dist/chunks/{usage-limits-k23svgts.js → provider-86g45369.js} +4 -4
- package/dist/chunks/{usage-limits-89287pr7.js → provider-89287pr7.js} +1 -1
- package/dist/chunks/{usage-limits-rf3nmw77.js → provider-8apdhker.js} +26 -26
- package/dist/chunks/{usage-limits-g98848h4.js → provider-8aq0b3q8.js} +27 -27
- package/dist/chunks/{usage-limits-8b3vzgkx.js → provider-8b3vzgkx.js} +1 -1
- package/dist/chunks/{usage-limits-3xdryzwd.js → provider-8bykyf12.js} +5 -5
- package/dist/chunks/{usage-limits-7pxq9ydk.js → provider-8d4xkafh.js} +28 -28
- package/dist/chunks/{usage-limits-vzppetdn.js → provider-8wjgamp7.js} +6 -6
- package/dist/chunks/{usage-limits-8wtp7s3z.js → provider-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-zy6y3dsf.js → provider-8x29dp53.js} +18 -18
- package/dist/chunks/{usage-limits-38aws4xb.js → provider-90ct6wq4.js} +4 -4
- package/dist/chunks/{usage-limits-90zstvax.js → provider-90zstvax.js} +1 -1
- package/dist/chunks/{usage-limits-7h5tkcmb.js → provider-92pecssn.js} +14 -14
- package/dist/chunks/{usage-limits-v3rzb36w.js → provider-9397xyzj.js} +17 -17
- package/dist/chunks/{usage-limits-m91sapn2.js → provider-93e35kep.js} +18 -18
- package/dist/chunks/{usage-limits-hh7kjqtw.js → provider-94s5f2xb.js} +3 -7
- package/dist/chunks/{usage-limits-wws03c5r.js → provider-95sp4hdf.js} +4 -4
- package/dist/chunks/{usage-limits-6h8vcvjm.js → provider-9f3jsh1d.js} +9 -9
- package/dist/chunks/{usage-limits-dzb2pne2.js → provider-9m6vv5qq.js} +6 -6
- package/dist/chunks/{usage-limits-t14r8x89.js → provider-9xz8rx1e.js} +28 -28
- package/dist/chunks/{usage-limits-q75abpgn.js → provider-a02qxqvd.js} +351 -351
- package/dist/chunks/{usage-limits-ag80pzp0.js → provider-ab4q7tsw.js} +21 -21
- package/dist/chunks/{usage-limits-v5hpj9dd.js → provider-aedwt843.js} +4 -4
- package/dist/chunks/{usage-limits-jkp7nqhk.js → provider-aj9978bz.js} +6 -6
- package/dist/chunks/{usage-limits-89xsy84n.js → provider-ap5bkdw3.js} +23 -23
- package/dist/chunks/{usage-limits-51dnj1a2.js → provider-avz75qha.js} +5 -5
- package/dist/chunks/{usage-limits-51tbvpgh.js → provider-ay6wrfq3.js} +9 -9
- package/dist/chunks/{usage-limits-ayjs7tqn.js → provider-ayjs7tqn.js} +2 -2
- package/dist/chunks/{usage-limits-mjb8nmj2.js → provider-ayxakjnc.js} +21 -21
- package/dist/chunks/{usage-limits-phaznf1d.js → provider-azz1ye8b.js} +22 -22
- package/dist/chunks/{usage-limits-ftcds0b3.js → provider-b21v141d.js} +22 -22
- package/dist/chunks/{usage-limits-6rpq8gb3.js → provider-b2r3mvad.js} +12 -12
- package/dist/chunks/{usage-limits-94w205ep.js → provider-backbg8m.js} +33 -33
- package/dist/chunks/{usage-limits-v00mxw32.js → provider-bg6z9m5n.js} +15 -15
- package/dist/chunks/{usage-limits-bstexjd6.js → provider-bstexjd6.js} +1 -1
- package/dist/chunks/{usage-limits-qmtrpyrr.js → provider-bzf8sw1v.js} +9 -9
- package/dist/chunks/{usage-limits-xym735jc.js → provider-c32zfq3f.js} +8 -8
- package/dist/chunks/{usage-limits-rn61n5v6.js → provider-c3zb5mpn.js} +15 -15
- package/dist/chunks/{usage-limits-vt2d6wap.js → provider-c5zvymhv.js} +4 -4
- package/dist/chunks/{usage-limits-ztcdm5zp.js → provider-c7a2sp6j.js} +4 -4
- package/dist/chunks/{usage-limits-p4pzyyjh.js → provider-c7ka5j4r.js} +11 -11
- package/dist/chunks/{usage-limits-kvbmh7gf.js → provider-cb37h3g9.js} +49 -49
- package/dist/chunks/{usage-limits-xfwahzbt.js → provider-cee6vc86.js} +17 -17
- package/dist/chunks/{usage-limits-92e5dkzj.js → provider-cf4q40qb.js} +32 -32
- package/dist/chunks/{usage-limits-d6pmpdcw.js → provider-cjqd6aye.js} +49 -49
- package/dist/chunks/{usage-limits-gkmjc87x.js → provider-cwmxe7a1.js} +19 -19
- package/dist/chunks/{usage-limits-cwrgdav8.js → provider-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-m920zk1d.js → provider-d46dhjdk.js} +17 -17
- package/dist/chunks/{usage-limits-d4v9tmah.js → provider-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-7knssbyq.js → provider-d8y9a7eq.js} +35 -35
- package/dist/chunks/{usage-limits-rd88pekn.js → provider-dckpms46.js} +28 -28
- package/dist/chunks/{usage-limits-bxfbk7kr.js → provider-dcpaety6.js} +10 -10
- package/dist/chunks/{usage-limits-7ce9cp2n.js → provider-dkh2xj1z.js} +11 -11
- package/dist/chunks/{usage-limits-df37b883.js → provider-dm6t6wvg.js} +36 -36
- package/dist/chunks/{usage-limits-knwftcqf.js → provider-dnckx5rt.js} +45 -45
- package/dist/chunks/{usage-limits-dt77769w.js → provider-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-mqa16avs.js → provider-dx7zpeqp.js} +15 -15
- package/dist/chunks/{usage-limits-x65qqa9c.js → provider-e1y225ng.js} +8 -8
- package/dist/chunks/{usage-limits-e834z07m.js → provider-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-bgrp90rj.js → provider-eggfh18w.js} +17 -17
- package/dist/chunks/{usage-limits-je7a6878.js → provider-ek9mpve2.js} +5 -5
- package/dist/chunks/{usage-limits-sev3r1ny.js → provider-env1txb6.js} +33 -33
- package/dist/chunks/{usage-limits-eqw4pqj1.js → provider-eqw4pqj1.js} +2 -2
- package/dist/chunks/{usage-limits-4fh6tya8.js → provider-f20mvry3.js} +18 -18
- package/dist/chunks/{usage-limits-39v04c55.js → provider-fa7rq57z.js} +12 -12
- package/dist/chunks/{usage-limits-fffv3p7h.js → provider-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-fg9p65nk.js → provider-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-28cxwdpz.js → provider-fppzhakr.js} +2 -2
- package/dist/chunks/{usage-limits-fv2va1hj.js → provider-ft3x1tqf.js} +8 -8
- package/dist/chunks/{usage-limits-v53gtrhb.js → provider-g050tpn7.js} +7 -7
- package/dist/chunks/{usage-limits-hzq7xt7b.js → provider-g148ep0a.js} +3 -3
- package/dist/chunks/{usage-limits-01811jet.js → provider-g2ksfzwc.js} +3 -3
- package/dist/chunks/{usage-limits-gbjdnr5j.js → provider-gbjdnr5j.js} +2 -2
- package/dist/chunks/{usage-limits-62zd5tzk.js → provider-gmemj5zs.js} +7 -7
- package/dist/chunks/{usage-limits-r6028bqd.js → provider-gt4s71hs.js} +23 -23
- package/dist/chunks/{usage-limits-m2ctxpm6.js → provider-gtm2a6wz.js} +43 -43
- package/dist/chunks/{usage-limits-1tx223kg.js → provider-gybwvmz6.js} +6 -6
- package/dist/chunks/{usage-limits-5edn6w40.js → provider-h1ywddef.js} +33 -33
- package/dist/chunks/{usage-limits-m090nvm9.js → provider-h25b548x.js} +11 -11
- package/dist/chunks/{usage-limits-ext03aty.js → provider-h274fqx9.js} +11 -11
- package/dist/chunks/{usage-limits-d8sdq8fe.js → provider-h7xyg9h9.js} +50 -50
- package/dist/chunks/{usage-limits-80020xz7.js → provider-h8tz8d21.js} +9 -9
- package/dist/chunks/{usage-limits-nv2c5e9q.js → provider-hjstnads.js} +3 -3
- package/dist/chunks/{usage-limits-hpg1pkwy.js → provider-hpg1pkwy.js} +1 -1
- package/dist/chunks/{usage-limits-qh8vmpq5.js → provider-hqtkd67t.js} +11 -11
- package/dist/chunks/{usage-limits-hvx6apmw.js → provider-hqvhb0wh.js} +11 -11
- package/dist/chunks/{usage-limits-1gp8na1p.js → provider-htqfs7hb.js} +20 -20
- package/dist/chunks/{usage-limits-0r375803.js → provider-hw3dt85w.js} +27 -27
- package/dist/chunks/{usage-limits-qgqkxagc.js → provider-hyh06f6h.js} +24 -24
- package/dist/chunks/{usage-limits-4tnzpc9q.js → provider-j40jtnfz.js} +30 -30
- package/dist/chunks/{usage-limits-6mb8xpyx.js → provider-j58p6fk7.js} +8 -8
- package/dist/chunks/{usage-limits-db17bdr4.js → provider-jad8sfx7.js} +4 -4
- package/dist/chunks/{usage-limits-6aac0yv0.js → provider-jjh1yrzz.js} +37 -37
- package/dist/chunks/{usage-limits-5n0rnk8e.js → provider-jkdcm5hg.js} +4 -4
- package/dist/chunks/{usage-limits-v8avx0rk.js → provider-jn344vfw.js} +3 -3
- package/dist/chunks/{usage-limits-42eaa8fs.js → provider-jr9m0ztp.js} +43 -43
- package/dist/chunks/{usage-limits-jtnps1zs.js → provider-jtnps1zs.js} +2 -2
- package/dist/chunks/{usage-limits-7901dk4e.js → provider-jv6qbwa1.js} +8 -8
- package/dist/chunks/{usage-limits-qsdghx1p.js → provider-k3cx6fhe.js} +4 -4
- package/dist/chunks/{usage-limits-0ahs07zn.js → provider-k98yejja.js} +7 -7
- package/dist/chunks/{usage-limits-f341sazs.js → provider-kdxnvd2v.js} +3 -3
- package/dist/chunks/{usage-limits-aj9j9zgz.js → provider-kem3h3gp.js} +35 -35
- package/dist/chunks/{usage-limits-9yn4adag.js → provider-kets680g.js} +2 -2
- package/dist/chunks/{usage-limits-ch7dsdvp.js → provider-kpfcexn1.js} +21 -21
- package/dist/chunks/{usage-limits-wv8j3cva.js → provider-ksh0y4ds.js} +17 -17
- package/dist/chunks/{usage-limits-kt3bjfbg.js → provider-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-h9cv269p.js → provider-kz17759e.js} +19 -19
- package/dist/chunks/{usage-limits-kzczzf4v.js → provider-kzczzf4v.js} +1 -1
- package/dist/chunks/{usage-limits-m1714858.js → provider-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-xpyhmfaj.js → provider-m2cw6p4v.js} +24 -24
- package/dist/chunks/{usage-limits-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-31dsrec2.js → provider-ma7ygzsk.js} +13 -13
- package/dist/chunks/{usage-limits-mb7mbhnz.js → provider-mb7mbhnz.js} +3 -3
- package/dist/chunks/{usage-limits-xzyrxkhb.js → provider-mbp2g4gy.js} +16 -16
- package/dist/chunks/{usage-limits-n3nsfp01.js → provider-mhbkds0y.js} +9 -9
- package/dist/chunks/{usage-limits-w79nt68w.js → provider-mmx1mfjr.js} +4 -4
- package/dist/chunks/{usage-limits-cw18mng2.js → provider-mrg5btk6.js} +34 -34
- package/dist/chunks/{usage-limits-7nqkf5r1.js → provider-mrpnjyvf.js} +6 -6
- package/dist/chunks/{usage-limits-msd2a3qm.js → provider-msd2a3qm.js} +4 -4
- package/dist/chunks/{usage-limits-9pf555g3.js → provider-mxske2t2.js} +11 -11
- package/dist/chunks/{usage-limits-9kky71gb.js → provider-mytjvv38.js} +18 -18
- package/dist/chunks/{usage-limits-q6ysbbaw.js → provider-mzshr8vq.js} +32 -32
- package/dist/chunks/{usage-limits-td9qk7w5.js → provider-n0ytpvtj.js} +23 -23
- package/dist/chunks/{usage-limits-nwzwacv4.js → provider-n1v16chy.js} +28 -28
- package/dist/chunks/{usage-limits-q8ttevew.js → provider-n50v2y52.js} +15 -15
- package/dist/chunks/{usage-limits-gdr3ajbx.js → provider-n7kjthd5.js} +18 -18
- package/dist/chunks/{usage-limits-gs2sjshp.js → provider-nf1wqckr.js} +89 -89
- package/dist/chunks/{usage-limits-g4v74gy6.js → provider-nfap6d10.js} +8 -8
- package/dist/chunks/{usage-limits-btfkcdyn.js → provider-njjbze85.js} +4 -4
- package/dist/chunks/{usage-limits-5jm7ma5d.js → provider-nqjvae97.js} +8 -8
- package/dist/chunks/{usage-limits-236ng7qz.js → provider-nscq7kby.js} +32 -32
- package/dist/chunks/{usage-limits-cgkgwn6d.js → provider-nt4skj9g.js} +25 -25
- package/dist/chunks/{usage-limits-8y2qjn0a.js → provider-nyxfy9wj.js} +12 -12
- package/dist/chunks/{usage-limits-wvr8xscb.js → provider-nyxvvj5y.js} +4 -4
- package/dist/chunks/{usage-limits-hj4z1vne.js → provider-nzgss3b9.js} +7 -7
- package/dist/chunks/{usage-limits-er90rjvy.js → provider-p3bh0xsg.js} +8 -8
- package/dist/chunks/{usage-limits-ceryxq9e.js → provider-p72h74xg.js} +6 -6
- package/dist/chunks/{usage-limits-8bjrjs1n.js → provider-p9j2z5m0.js} +4 -4
- package/dist/chunks/{usage-limits-4c3gzzr5.js → provider-p9rhhmba.js} +29 -29
- package/dist/chunks/{usage-limits-c8fxg0e7.js → provider-pac3ht26.js} +11 -11
- package/dist/chunks/{usage-limits-emyfkp1c.js → provider-payghzyh.js} +15 -15
- package/dist/chunks/{usage-limits-hpvs4j60.js → provider-pb37mcnd.js} +22 -22
- package/dist/chunks/provider-pdr5pber.js +261 -0
- package/dist/chunks/{usage-limits-zjpg7zwr.js → provider-pfssdf0n.js} +9 -9
- package/dist/chunks/{usage-limits-b1xwtm38.js → provider-phkds94a.js} +9 -9
- package/dist/chunks/{usage-limits-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-6kb6xcbb.js → provider-pqrezmp9.js} +3 -3
- package/dist/chunks/{usage-limits-7a2bwsmz.js → provider-pre1sqds.js} +4 -4
- package/dist/chunks/{usage-limits-jkhzjk3z.js → provider-pz8h5s64.js} +9 -9
- package/dist/chunks/{usage-limits-sn4a935v.js → provider-q1dm7ww2.js} +24 -24
- package/dist/chunks/{usage-limits-wyjdmvbs.js → provider-q1jc1abz.js} +12 -12
- package/dist/chunks/{usage-limits-b16371yr.js → provider-q3x79h5v.js} +5 -5
- package/dist/chunks/{usage-limits-hdzv1q4b.js → provider-q46cgv3h.js} +11 -11
- package/dist/chunks/provider-qb74t3th.js +26 -0
- package/dist/chunks/{usage-limits-gv163y34.js → provider-qeregzmt.js} +28 -28
- package/dist/chunks/{usage-limits-vmqe41cb.js → provider-qfz6bxfd.js} +4 -4
- package/dist/chunks/{usage-limits-8snjdwb5.js → provider-qhy5xrym.js} +25 -25
- package/dist/chunks/{usage-limits-89rb9xh3.js → provider-qkrdbb78.js} +18 -18
- package/dist/chunks/{usage-limits-qp7r0hxv.js → provider-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-4bpqscw3.js → provider-qpxk8k0n.js} +22 -22
- package/dist/chunks/{usage-limits-qqvy8y24.js → provider-qqvy8y24.js} +1 -1
- package/dist/chunks/{usage-limits-j9cme0yc.js → provider-qwv9yzsq.js} +5 -5
- package/dist/chunks/{usage-limits-jzwj56na.js → provider-r31zvyjt.js} +33 -33
- package/dist/chunks/{usage-limits-v1qpgdq7.js → provider-ram30ap6.js} +84 -84
- package/dist/chunks/{usage-limits-rb9dy4dg.js → provider-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-vsnnaxjq.js → provider-rcbjwvze.js} +4 -4
- package/dist/chunks/{usage-limits-rjnacbrz.js → provider-rmt6m6se.js} +9 -9
- package/dist/chunks/{usage-limits-dt1vevv9.js → provider-rnzbxsx7.js} +59 -59
- package/dist/chunks/{usage-limits-nav9g147.js → provider-rp7y7c6h.js} +32 -32
- package/dist/chunks/{usage-limits-rt5dr6hb.js → provider-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-1ry132sp.js → provider-rtfvcbjv.js} +22 -22
- package/dist/chunks/{usage-limits-b0kn16jh.js → provider-s10yds1m.js} +10 -10
- package/dist/chunks/{usage-limits-bc6h00nw.js → provider-s1qnk4n1.js} +9 -9
- package/dist/chunks/{usage-limits-sa3fpqfw.js → provider-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-hretfjjx.js → provider-safn44c7.js} +2 -2
- package/dist/chunks/{usage-limits-sbya78hr.js → provider-sbya78hr.js} +1 -1
- package/dist/chunks/{usage-limits-mqe7nf5n.js → provider-sbz71ybr.js} +3 -3
- package/dist/chunks/{usage-limits-veqd3n5v.js → provider-sczhbnde.js} +11 -11
- package/dist/chunks/{usage-limits-4ssc5qgx.js → provider-snyypby0.js} +7 -7
- package/dist/chunks/{usage-limits-8q18wbn4.js → provider-spck9dep.js} +80 -80
- package/dist/chunks/{usage-limits-mf67es3q.js → provider-stbxy1ts.js} +14 -14
- package/dist/chunks/{usage-limits-svcy3p9a.js → provider-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-jze0r7bz.js → provider-syrav9an.js} +2 -2
- package/dist/chunks/{usage-limits-szwm4crx.js → provider-szwm4crx.js} +4 -4
- package/dist/chunks/{usage-limits-8j7fzn1a.js → provider-t4pmh5wj.js} +9 -9
- package/dist/chunks/{usage-limits-2bsm227b.js → provider-t55cvahq.js} +5 -5
- package/dist/chunks/{usage-limits-bnzx9dwt.js → provider-tbwn0emh.js} +5 -5
- package/dist/chunks/{usage-limits-3y3akzsb.js → provider-tckbvbtm.js} +22 -22
- package/dist/chunks/{usage-limits-tczq8hjw.js → provider-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-nmhfwgr8.js → provider-tdnw9kda.js} +8 -8
- package/dist/chunks/{usage-limits-j8hsfxn8.js → provider-tek14qfj.js} +10 -10
- package/dist/chunks/{usage-limits-tg7s7b5t.js → provider-tg7s7b5t.js} +1 -1
- package/dist/chunks/{usage-limits-tr8x705m.js → provider-tr8x705m.js} +1 -1
- package/dist/chunks/{usage-limits-twssxy5n.js → provider-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-5xdgvpxd.js → provider-tznkg22c.js} +6 -6
- package/dist/chunks/{usage-limits-v2r1d0zg.js → provider-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-qef59s52.js → provider-v5m218qy.js} +21 -21
- package/dist/chunks/{usage-limits-798gp9ne.js → provider-v75dtzt0.js} +7 -7
- package/dist/chunks/{usage-limits-jy4993r4.js → provider-v8thj8wx.js} +14 -14
- package/dist/chunks/{usage-limits-etrnj9s7.js → provider-v8xpr2tt.js} +11 -11
- package/dist/chunks/{usage-limits-qpr792hd.js → provider-vda4j8hg.js} +43 -43
- package/dist/chunks/{usage-limits-vjf35v1f.js → provider-vjf35v1f.js} +1 -1
- package/dist/chunks/{usage-limits-gc6y5vwp.js → provider-vnf6v5dn.js} +13 -13
- package/dist/chunks/{usage-limits-05vf55h3.js → provider-vt3w9sen.js} +45 -45
- package/dist/chunks/{usage-limits-2ttbtvgt.js → provider-vx8b1jz6.js} +18 -18
- package/dist/chunks/{usage-limits-w2eysc6j.js → provider-w2eysc6j.js} +2 -2
- package/dist/chunks/{usage-limits-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-wr3re1en.js → provider-w687dnns.js} +4 -4
- package/dist/chunks/{usage-limits-wakvkjy4.js → provider-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-bc5anq28.js → provider-weapmq0e.js} +5 -5
- package/dist/chunks/{usage-limits-wegkxhrn.js → provider-wegkxhrn.js} +2 -2
- package/dist/chunks/{usage-limits-2r9s2ycc.js → provider-wfgaw5r7.js} +21 -21
- package/dist/chunks/{usage-limits-mx59xb51.js → provider-wg1n8gdk.js} +4 -4
- package/dist/chunks/{usage-limits-kykwn6j6.js → provider-wkj89kcq.js} +15 -15
- package/dist/chunks/{usage-limits-kgtaj0j8.js → provider-wkx0wxf8.js} +31 -31
- package/dist/chunks/{usage-limits-kzpzksxr.js → provider-wn77a8c9.js} +4 -4
- package/dist/chunks/{usage-limits-wnhgecwx.js → provider-wnhgecwx.js} +1 -1
- package/dist/chunks/{usage-limits-q5vzwv27.js → provider-wsyb79d4.js} +16 -16
- package/dist/chunks/{usage-limits-394p3x2d.js → provider-wvg71hsd.js} +11 -11
- package/dist/chunks/{usage-limits-qynesg3w.js → provider-wvheyyf0.js} +43 -43
- package/dist/chunks/{usage-limits-pppm07na.js → provider-x1b9htc3.js} +10 -10
- package/dist/chunks/{usage-limits-ewfampc3.js → provider-x1fz8cgm.js} +5 -5
- package/dist/chunks/{usage-limits-na8wm2jf.js → provider-x7x8wt0t.js} +11 -11
- package/dist/chunks/{usage-limits-babktaw3.js → provider-xksw6ev0.js} +4 -4
- package/dist/chunks/{usage-limits-axkdp7x4.js → provider-y021prdf.js} +5 -5
- package/dist/chunks/{usage-limits-93esy90e.js → provider-y4exmj8g.js} +15 -15
- package/dist/chunks/{usage-limits-3wyhrqfb.js → provider-y6699624.js} +8 -8
- package/dist/chunks/{usage-limits-h4hfwa0c.js → provider-y6r1yzhv.js} +17 -17
- package/dist/chunks/{usage-limits-39fj0ebm.js → provider-y9xk9k2e.js} +8 -8
- package/dist/chunks/{usage-limits-yb20nhc3.js → provider-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-k614dzj9.js → provider-yceh4n4n.js} +12 -12
- package/dist/chunks/{usage-limits-n8jde0cw.js → provider-yeb3rtca.js} +35 -35
- package/dist/chunks/{usage-limits-4gpyezm4.js → provider-yhgtqtqc.js} +7 -7
- package/dist/chunks/{usage-limits-90s07qsx.js → provider-ymmand0v.js} +11 -11
- package/dist/chunks/{usage-limits-adpa1stn.js → provider-ymysc5j4.js} +24 -24
- package/dist/chunks/{usage-limits-qcqgmpq1.js → provider-ypjhy90d.js} +12 -12
- package/dist/chunks/{usage-limits-yr705xyq.js → provider-yr705xyq.js} +1 -1
- package/dist/chunks/{usage-limits-nah043kf.js → provider-yvtc2x31.js} +6 -6
- package/dist/chunks/{usage-limits-8w0z3157.js → provider-z8jj1f5x.js} +1 -1
- package/dist/chunks/{usage-limits-j9nxzz3g.js → provider-ze75qvmd.js} +3 -3
- package/dist/chunks/{usage-limits-w3xkm4yc.js → provider-zeb8ypb2.js} +3 -3
- package/dist/chunks/{usage-limits-6aq34xmf.js → provider-zgydsjmk.js} +36 -36
- package/dist/chunks/{usage-limits-rq86yk5v.js → provider-zkkdtva6.js} +11 -11
- package/dist/chunks/{usage-limits-yara3q77.js → provider-zm27gg57.js} +4 -4
- package/dist/chunks/{usage-limits-j6yzcaag.js → provider-zp5ndmj8.js} +11 -11
- package/dist/chunks/{usage-limits-awjk2xpr.js → provider-zscq35gf.js} +20 -20
- package/dist/chunks/{usage-limits-hmtj6hyv.js → provider-zvnbbcek.js} +7 -7
- package/dist/chunks/{usage-limits-5x5235av.js → provider-zwpxamqy.js} +16 -16
- 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 +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- 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 +130 -130
- package/dist/config/plugin/command.js +229 -229
- 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 +137 -137
- 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 +133 -133
- 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 +135 -135
- 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 +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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +3 -7
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +89 -89
- 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 +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +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 +421 -421
- 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 +96 -96
- 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 +172 -172
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +170 -135
- package/dist/mcp/index.js +122 -122
- 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 +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- 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 +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 +113 -113
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +111 -111
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- 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 +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- 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 +101 -101
- 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 +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +239 -239
- 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 +149 -149
- 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 +143 -143
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- 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 +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- 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 +1 -1
- package/dist/session/subagent-job.js +229 -229
- 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 +237 -237
- package/dist/session/usage.js +3 -3
- 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 +15 -15
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- 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 +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/database/sqlite.d.ts +1 -1
- package/dist/types/environment/local.d.ts +2 -5
- package/dist/types/mcp/client.d.ts +18 -2
- package/dist/types/session/runner/index.d.ts +12 -86
- package/dist/types/session/runner/step.d.ts +19 -137
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +11 -11
- package/dist/chunks/usage-limits-07m7kny7.js +0 -261
- package/dist/chunks/usage-limits-47mgcevd.js +0 -18
- package/dist/chunks/usage-limits-4kg12qsn.js +0 -26
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1kah00gy.js → provider-1kah00gy.js} +0 -0
- /package/dist/chunks/{usage-limits-1pevy3nx.js → provider-1pevy3nx.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4qk9sjk2.js → provider-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → provider-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6agm2x70.js → provider-6agm2x70.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-7stb81gk.js → provider-7stb81gk.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → provider-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → provider-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ean2d8b5.js → provider-ean2d8b5.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → provider-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → provider-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → provider-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-nh4v3znn.js → provider-nh4v3znn.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → provider-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-t03h4f5z.js → provider-t03h4f5z.js} +0 -0
- /package/dist/chunks/{usage-limits-ty7weeps.js → provider-ty7weeps.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-vtarvj67.js → provider-vtarvj67.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-njjbze85.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node88
|
|
8
|
+
} from "./provider-7m9sc66j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node71
|
|
12
|
+
} from "./provider-m2cw6p4v.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service73,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node75
|
|
20
|
+
} from "./provider-rtfvcbjv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service63,
|
|
23
|
+
node64
|
|
24
|
+
} from "./provider-nfap6d10.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service45,
|
|
27
|
+
node47
|
|
28
|
+
} from "./provider-y6699624.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./provider-hjstnads.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service64,
|
|
35
|
+
node65
|
|
36
|
+
} from "./provider-h7xyg9h9.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./provider-hqtkd67t.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./provider-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service44,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node46
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,14 +71,14 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service44 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const directory = path.join(global.data, DIRECTORY2);
|
|
80
|
-
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "
|
|
81
|
-
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "
|
|
80
|
+
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
81
|
+
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
82
82
|
yield* cleanup3(fs, files.flat(), RETENTION2);
|
|
83
83
|
});
|
|
84
84
|
var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.spaced(Duration.hours(1))), Effect.forkScoped));
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service89;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service85;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service73;
|
|
95
|
+
const environment = yield* Service70;
|
|
96
|
+
const hooks = yield* Service63;
|
|
97
|
+
const environments = yield* Service45;
|
|
98
|
+
const config = yield* Service64;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError6({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service44.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node46 = makeLocationNode({
|
|
342
|
+
service: Service44,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node92,
|
|
346
|
-
|
|
346
|
+
node88,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
node75,
|
|
349
|
+
node71,
|
|
350
|
+
node64,
|
|
351
|
+
node47,
|
|
352
|
+
node65,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service44, cleanup2, node46, exports_shell4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node68
|
|
4
|
+
} from "./provider-b21v141d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service53,
|
|
7
|
+
node54
|
|
8
|
+
} from "./provider-546y6032.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-hjstnads.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-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: () => Service51,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node52,
|
|
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 Service51 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(Service51, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service53;
|
|
63
|
+
const agents = yield* Service67;
|
|
64
|
+
return Service51.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(Service57, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node52 = makeLocationNode({ service: Service51, layer, deps: [node54, node68] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service51, resolved2, node52, exports_model };
|
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-0wh0wreq.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-cjqd6aye.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-kpfcexn1.js";
|
|
13
13
|
import {
|
|
14
14
|
ClaudeAgentPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-0cv8g5av.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareAIGatewayPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-ek9mpve2.js";
|
|
19
19
|
import {
|
|
20
20
|
CloudflareWorkersAIPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-7def1eh5.js";
|
|
22
22
|
import {
|
|
23
23
|
DatabricksPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-beh6qq61.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-eggfh18w.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-r31zvyjt.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-0q6rq0wx.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-93e35kep.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./provider-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./provider-weapmq0e.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./provider-624434jz.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./provider-h274fqx9.js";
|
|
49
49
|
import {
|
|
50
50
|
NeonPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./provider-ve7vex1e.js";
|
|
52
52
|
import {
|
|
53
53
|
NvidiaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./provider-24dcb14g.js";
|
|
55
55
|
import {
|
|
56
56
|
OllamaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./provider-4kjss04h.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
59
|
+
OpenAIPlugin3
|
|
60
|
+
} from "./provider-v5m218qy.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIContextCapsPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./provider-s10yds1m.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./provider-y6r1yzhv.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./provider-dckpms46.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./provider-pqrezmp9.js";
|
|
73
73
|
import {
|
|
74
74
|
PoePlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./provider-7fh49tq1.js";
|
|
76
76
|
import {
|
|
77
77
|
PromptCacheKeyPlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./provider-hcxmzztb.js";
|
|
79
79
|
import {
|
|
80
80
|
SapAICorePlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./provider-avz75qha.js";
|
|
82
82
|
import {
|
|
83
83
|
VLLMPlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./provider-55x429hg.js";
|
|
85
85
|
import {
|
|
86
86
|
XAIPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./provider-zp5ndmj8.js";
|
|
88
88
|
import {
|
|
89
89
|
ZenmuxPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./provider-jjkms2e6.js";
|
|
91
91
|
|
|
92
92
|
// src/plugin/provider.ts
|
|
93
93
|
var ProviderPlugins2 = [
|
|
@@ -111,7 +111,7 @@ var ProviderPlugins2 = [
|
|
|
111
111
|
OllamaPlugin2,
|
|
112
112
|
OpencodePlugin2,
|
|
113
113
|
SnowflakeCortexPlugin2,
|
|
114
|
-
|
|
114
|
+
OpenAIPlugin3,
|
|
115
115
|
OpenAIContextCapsPlugin2,
|
|
116
116
|
OpenRouterPlugin2,
|
|
117
117
|
PoePlugin2,
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-h25b548x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-njjbze85.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID22,
|
|
9
|
+
Event21,
|
|
10
|
+
Service88
|
|
11
|
+
} from "./provider-n1v16chy.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-95sp4hdf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID17,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-ymysc5j4.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID16,
|
|
24
|
+
Service80
|
|
25
|
+
} from "./provider-2mq8mdn8.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID14
|
|
28
|
+
} from "./provider-4rramvaq.js";
|
|
29
29
|
import {
|
|
30
30
|
interval2,
|
|
31
|
-
|
|
31
|
+
Service14,
|
|
32
32
|
fingerprint2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-c32zfq3f.js";
|
|
34
34
|
import {
|
|
35
35
|
configuredSettings2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-gybwvmz6.js";
|
|
37
37
|
import {
|
|
38
38
|
switched2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./provider-78k8rqvg.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/provider/azure.ts
|
|
42
42
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -71,19 +71,19 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
71
71
|
}));
|
|
72
72
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
73
73
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
74
|
-
function
|
|
74
|
+
function make15(endpoints = {
|
|
75
75
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
76
76
|
management: "https://management.azure.com"
|
|
77
77
|
}) {
|
|
78
78
|
return define({
|
|
79
79
|
id: "opencode.provider.azure",
|
|
80
80
|
effect: Effect.fn(function* (ctx) {
|
|
81
|
-
const configured = yield* configuredSettings2(
|
|
81
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
82
82
|
const processes = yield* AppProcess.Service;
|
|
83
83
|
const bus = yield* Service89;
|
|
84
|
-
const credentials = yield*
|
|
85
|
-
const providers = yield*
|
|
86
|
-
const cache = yield*
|
|
84
|
+
const credentials = yield* Service88;
|
|
85
|
+
const providers = yield* Service80;
|
|
86
|
+
const cache = yield* Service14;
|
|
87
87
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
88
88
|
const tokens = new Map;
|
|
89
89
|
const resourceIDs = new Map;
|
|
@@ -109,11 +109,11 @@ function make19(endpoints = {
|
|
|
109
109
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
110
110
|
yield* ctx.integration.transform((editor) => {
|
|
111
111
|
editor.method.update({
|
|
112
|
-
integrationID:
|
|
112
|
+
integrationID: ID16.azure,
|
|
113
113
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
114
114
|
});
|
|
115
115
|
editor.method.update({
|
|
116
|
-
integrationID:
|
|
116
|
+
integrationID: ID16.azure,
|
|
117
117
|
method: {
|
|
118
118
|
type: "key",
|
|
119
119
|
label: "API key",
|
|
@@ -131,7 +131,7 @@ function make19(endpoints = {
|
|
|
131
131
|
if (!available)
|
|
132
132
|
return;
|
|
133
133
|
editor.method.update({
|
|
134
|
-
integrationID:
|
|
134
|
+
integrationID: ID16.azure,
|
|
135
135
|
method: {
|
|
136
136
|
id: methodID,
|
|
137
137
|
type: "external",
|
|
@@ -151,8 +151,8 @@ function make19(endpoints = {
|
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
154
|
-
const connection = yield* ctx.integration.connection.active(
|
|
155
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
154
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
155
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
|
|
156
156
|
return { connection, resource: credentialResource(stored?.value) };
|
|
157
157
|
});
|
|
158
158
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -191,7 +191,7 @@ function make19(endpoints = {
|
|
|
191
191
|
}));
|
|
192
192
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
193
193
|
const connection = loaded.connection;
|
|
194
|
-
const settings = (yield* providers.get(
|
|
194
|
+
const settings = (yield* providers.get(ID16.azure))?.settings;
|
|
195
195
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
196
196
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
197
197
|
if (loaded.connection !== connection)
|
|
@@ -221,11 +221,11 @@ function make19(endpoints = {
|
|
|
221
221
|
});
|
|
222
222
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
223
223
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
224
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
224
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID16.azure)))
|
|
225
225
|
return;
|
|
226
226
|
if (Equal.equals(found, loaded.deployments))
|
|
227
227
|
return;
|
|
228
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
228
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
|
|
229
229
|
id.toLowerCase(),
|
|
230
230
|
id
|
|
231
231
|
]));
|
|
@@ -238,11 +238,11 @@ function make19(endpoints = {
|
|
|
238
238
|
yield* ctx.model.reload();
|
|
239
239
|
});
|
|
240
240
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
241
|
-
const resourceFor = (provider) => provider.id ===
|
|
241
|
+
const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
242
242
|
Object.assign(loaded, yield* load());
|
|
243
243
|
yield* ctx.provider.transform((evt) => {
|
|
244
244
|
for (const item of evt.list()) {
|
|
245
|
-
if (item.provider.id !==
|
|
245
|
+
if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
246
246
|
continue;
|
|
247
247
|
const resourceName = resourceFor(item.provider);
|
|
248
248
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -257,7 +257,7 @@ function make19(endpoints = {
|
|
|
257
257
|
};
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
|
-
const item = evt.get(
|
|
260
|
+
const item = evt.get(ID16.azure);
|
|
261
261
|
if (!item)
|
|
262
262
|
return;
|
|
263
263
|
evt.add({
|
|
@@ -268,7 +268,7 @@ function make19(endpoints = {
|
|
|
268
268
|
});
|
|
269
269
|
yield* ctx.model.transform((models) => {
|
|
270
270
|
for (const item of models.provider.list()) {
|
|
271
|
-
if (item.provider.id !==
|
|
271
|
+
if (item.provider.id !== ID16.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
272
272
|
continue;
|
|
273
273
|
const resourceName = resourceFor(item.provider);
|
|
274
274
|
if (!resourceName)
|
|
@@ -287,21 +287,21 @@ function make19(endpoints = {
|
|
|
287
287
|
}
|
|
288
288
|
if (!loaded.deployments)
|
|
289
289
|
return;
|
|
290
|
-
const catalog = models.list(
|
|
290
|
+
const catalog = models.list(ID16.azure);
|
|
291
291
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
292
292
|
for (const model of catalog) {
|
|
293
293
|
if (!deployed.has(model.id))
|
|
294
|
-
models.remove(
|
|
294
|
+
models.remove(ID16.azure, model.id);
|
|
295
295
|
}
|
|
296
296
|
for (const [id, model] of deployed) {
|
|
297
|
-
models.update(
|
|
297
|
+
models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
|
-
yield* bus.subscribe(
|
|
300
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("azure")), Stream.runForEach(() => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply))))), Effect.forkScoped({ startImmediately: true }));
|
|
301
301
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
302
302
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
303
303
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
304
|
-
const connection = yield* ctx.integration.connection.active(
|
|
304
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
305
305
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
306
306
|
return;
|
|
307
307
|
})) : undefined;
|
|
@@ -313,7 +313,7 @@ function make19(endpoints = {
|
|
|
313
313
|
return `Bearer ${current.access}`;
|
|
314
314
|
});
|
|
315
315
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
316
|
-
if (evt.model.providerID !==
|
|
316
|
+
if (evt.model.providerID !== ID16.azure)
|
|
317
317
|
return;
|
|
318
318
|
const authorization = yield* bearer(evt.request.url);
|
|
319
319
|
if (!authorization)
|
|
@@ -322,9 +322,9 @@ function make19(endpoints = {
|
|
|
322
322
|
evt.request.headers.delete("x-api-key");
|
|
323
323
|
evt.request.headers.set("authorization", authorization);
|
|
324
324
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
325
|
-
}), { providerID:
|
|
325
|
+
}), { providerID: ID16.azure });
|
|
326
326
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
327
|
-
if (evt.model.providerID !==
|
|
327
|
+
if (evt.model.providerID !== ID16.azure)
|
|
328
328
|
return;
|
|
329
329
|
const authorization = yield* bearer(evt.url);
|
|
330
330
|
if (!authorization)
|
|
@@ -333,11 +333,11 @@ function make19(endpoints = {
|
|
|
333
333
|
delete evt.headers["x-api-key"];
|
|
334
334
|
evt.headers.authorization = authorization;
|
|
335
335
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
336
|
-
}), { providerID:
|
|
336
|
+
}), { providerID: ID16.azure });
|
|
337
337
|
})
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
var AzurePlugin2 =
|
|
340
|
+
var AzurePlugin2 = make15();
|
|
341
341
|
function deploymentsKey(connection, credential, url) {
|
|
342
342
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
343
343
|
return `azure:${key2(connection)}${access}:${url}`;
|
|
@@ -371,11 +371,11 @@ function deployedModels(deployments, catalog) {
|
|
|
371
371
|
const model = catalogModel(models, deployment);
|
|
372
372
|
if (!model)
|
|
373
373
|
return [];
|
|
374
|
-
const id =
|
|
374
|
+
const id = ID14.make(deployment.name.toLowerCase());
|
|
375
375
|
const info = {
|
|
376
376
|
...structuredClone(model),
|
|
377
377
|
id,
|
|
378
|
-
modelID:
|
|
378
|
+
modelID: ID14.make(deployment.name),
|
|
379
379
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
380
380
|
};
|
|
381
381
|
return [[id, info]];
|
|
@@ -397,4 +397,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
397
397
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
export {
|
|
400
|
+
export { make15, AzurePlugin2 };
|