@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-g2ksfzwc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./provider-ay6wrfq3.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-6zjm2phc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service63
|
|
15
|
+
} from "./provider-nfap6d10.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-tznkg22c.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-p72h74xg.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service39
|
|
30
|
+
} from "./provider-gt4s71hs.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service63;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service39;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -141,7 +141,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service58;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -176,7 +176,7 @@ var readFileAttachment = Effect.fn("SessionPrompt.readFileAttachment")(function*
|
|
|
176
176
|
if (info.type === "Directory") {
|
|
177
177
|
const entries = yield* fs.readDirectoryEntries(target).pipe(Effect.mapError(() => new AttachmentError2({ uri, message: `Unable to read attachment: ${uri}` })));
|
|
178
178
|
return {
|
|
179
|
-
bytes: Buffer.from(entries.filter((entry) => entry.type === "
|
|
179
|
+
bytes: Buffer.from(entries.filter((entry) => entry.type === "File" || entry.type === "Directory").sort((a, b) => a.type === b.type ? a.name.localeCompare(b.name) : a.type === "Directory" ? -1 : 1).map((entry) => entry.name + (entry.type === "Directory" ? path.sep : "")).join(`
|
|
180
180
|
`)),
|
|
181
181
|
source: { type: "uri", uri },
|
|
182
182
|
start: undefined,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID17,
|
|
6
|
+
Service81,
|
|
7
|
+
node84
|
|
8
|
+
} from "./provider-ymysc5j4.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service16,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
20
|
layer: () => layer9,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node18
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,12 +37,12 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var layer9 = Layer.effect(
|
|
42
|
+
var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service81;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID17.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -81,12 +81,12 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
81
81
|
...access
|
|
82
82
|
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service16.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
86
|
+
var node18 = makeLocationNode({
|
|
87
|
+
service: Service16,
|
|
88
88
|
layer: layer9,
|
|
89
|
-
deps: [
|
|
89
|
+
deps: [node84, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service16, layer9, node18, exports_voice };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./provider-h7xyg9h9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./provider-3wffx9mc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin17,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin17 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service64;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin17, register2, exports_mcp };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-g2ksfzwc.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service89,
|
|
8
8
|
node92
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-njjbze85.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-41cdwvpp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service62,
|
|
21
|
+
node63
|
|
22
|
+
} from "./provider-q1jc1abz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service27,
|
|
25
|
+
node29
|
|
26
|
+
} from "./provider-ram30ap6.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service10,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node12
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service10 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service89;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service27;
|
|
79
|
+
const store = yield* Service62;
|
|
80
80
|
const db = (yield* Service90).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service10.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [node92, llmClient2,
|
|
165
|
+
var node12 = makeLocationNode({
|
|
166
|
+
service: Service10,
|
|
167
|
+
layer: layer7,
|
|
168
|
+
deps: [node92, llmClient2, node29, node63, node93]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service10, isUntitled2, layer7, node12, exports_title };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-4d2dtj2f.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89,
|
|
6
6
|
node92
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-njjbze85.js";
|
|
8
|
+
import {
|
|
9
|
+
Event21,
|
|
10
|
+
Service88,
|
|
11
|
+
node91
|
|
12
|
+
} from "./provider-n1v16chy.js";
|
|
8
13
|
import {
|
|
9
|
-
Event20,
|
|
10
14
|
Service85,
|
|
11
15
|
node88
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service86,
|
|
15
|
-
node89
|
|
16
|
-
} from "./usage-limits-h76e3ze7.js";
|
|
16
|
+
} from "./provider-7m9sc66j.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node71
|
|
20
|
+
} from "./provider-m2cw6p4v.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service82,
|
|
24
|
+
node85
|
|
25
|
+
} from "./provider-f20mvry3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID17,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service81,
|
|
34
|
+
node84
|
|
35
|
+
} from "./provider-ymysc5j4.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./provider-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service38,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service85;
|
|
117
|
+
const environment = yield* Service70;
|
|
118
118
|
const bus = yield* Service89;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service82;
|
|
120
|
+
const integration = yield* Service81;
|
|
121
|
+
const credentials = yield* Service88;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -134,7 +134,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
134
134
|
return;
|
|
135
135
|
const remote = entry.config;
|
|
136
136
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
137
|
-
const integrationID =
|
|
137
|
+
const integrationID = ID17.make(suffix);
|
|
138
138
|
entry.integrationID = integrationID;
|
|
139
139
|
owned.add(integrationID);
|
|
140
140
|
const methodID = MethodID2.make(suffix);
|
|
@@ -150,7 +150,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
150
150
|
method: { id: methodID, type: "oauth", label: name },
|
|
151
151
|
authorize: () => Effect.gen(function* () {
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service88, credentials));
|
|
154
154
|
})
|
|
155
155
|
});
|
|
156
156
|
}).pipe(Scope.provide(scope));
|
|
@@ -158,19 +158,19 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
158
158
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
159
159
|
const entry = entries.get(name);
|
|
160
160
|
if (!entry)
|
|
161
|
-
return yield* new
|
|
161
|
+
return yield* new NotFoundError5({ server: name });
|
|
162
162
|
return { name, entry };
|
|
163
163
|
});
|
|
164
164
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
165
165
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
166
166
|
return;
|
|
167
167
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
168
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
168
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service88, credentials));
|
|
169
169
|
});
|
|
170
170
|
const elicitation = {
|
|
171
171
|
create: (input) => Effect.gen(function* () {
|
|
172
172
|
if (input.params.mode === "url") {
|
|
173
|
-
const formID =
|
|
173
|
+
const formID = ID18.create();
|
|
174
174
|
const elicitationID = input.params.elicitationId;
|
|
175
175
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
176
176
|
if (key)
|
|
@@ -273,7 +273,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
273
273
|
entry.scope = scope;
|
|
274
274
|
const authProvider = yield* connectProvider(entry);
|
|
275
275
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
276
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
276
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service70, environment), Scope.provide(scope));
|
|
277
277
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
278
278
|
if (Exit.isSuccess(result)) {
|
|
279
279
|
entry.client = result.value.connection;
|
|
@@ -374,7 +374,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
374
374
|
let closed = false;
|
|
375
375
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
376
376
|
closed = true;
|
|
377
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
377
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service70, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
378
378
|
const register = Effect.gen(function* () {
|
|
379
379
|
if (closed) {
|
|
380
380
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -453,7 +453,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
453
453
|
yield* startServer(name, entry);
|
|
454
454
|
}).pipe(locks.withLock(name));
|
|
455
455
|
});
|
|
456
|
-
fork(bus.subscribe(
|
|
456
|
+
fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
457
457
|
const state = create4({
|
|
458
458
|
name: "mcp",
|
|
459
459
|
initial: () => ({
|
|
@@ -479,7 +479,7 @@ var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
479
479
|
}),
|
|
480
480
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service38.of({
|
|
483
483
|
transform: state.transform,
|
|
484
484
|
reload: state.reload,
|
|
485
485
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -612,14 +612,14 @@ function mergeCatalogs(catalogs) {
|
|
|
612
612
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function configured3(options) {
|
|
616
616
|
return makeLocationNode({
|
|
617
|
-
service:
|
|
618
|
-
layer:
|
|
619
|
-
deps: [
|
|
617
|
+
service: Service38,
|
|
618
|
+
layer: layer16(options),
|
|
619
|
+
deps: [node88, node71, node92, node85, node84, node91]
|
|
620
620
|
});
|
|
621
621
|
}
|
|
622
|
-
var
|
|
622
|
+
var node41 = configured3();
|
|
623
623
|
function toElicitationField(key, property, required) {
|
|
624
624
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
625
625
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -670,4 +670,4 @@ function toElicitationField(key, property, required) {
|
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
673
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options3, layer16, configured3, node41, exports_mcp4 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-g2ksfzwc.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID11,
|
|
17
|
+
Info: () => Info11,
|
|
18
|
+
NotFoundError: () => NotFoundError9,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service61,
|
|
21
|
+
node: () => node62
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID11 = PermissionSaved.ID;
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID11
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID11,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service61 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service90).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID11.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service61.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node62 = makeGlobalNode({ service: Service61, layer, deps: [node93] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID11, Info11, NotFoundError9, ConflictError2, Service61, node62, exports_saved };
|