@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./provider-vt3w9sen.js";
|
|
4
4
|
import {
|
|
5
5
|
definition2,
|
|
6
6
|
normalizedName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-7stb81gk.js";
|
|
8
8
|
import {
|
|
9
9
|
toSessionError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-8bykyf12.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service43
|
|
13
|
+
} from "./provider-208nbn7x.js";
|
|
14
14
|
import {
|
|
15
15
|
extension2,
|
|
16
16
|
display2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-yhgtqtqc.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/codemode/tool.ts
|
|
23
23
|
var exports_tool2 = {};
|
|
@@ -102,7 +102,7 @@ var create3 = (inventory, executeTool, permission) => {
|
|
|
102
102
|
return resultValue(executed);
|
|
103
103
|
}),
|
|
104
104
|
hooks: progressHooks(record)
|
|
105
|
-
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(
|
|
105
|
+
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service43, context), Effect.provideService(Service60, permission));
|
|
106
106
|
const toolCalls = yield* Ref.get(calls);
|
|
107
107
|
const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
|
|
108
108
|
const output = formatResult(result);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID12 = Session.ID;
|
|
5
|
+
var Info12 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID12, Info12, SessionSchema2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service46,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node48
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service46.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node48 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service46, node48, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer13, node37, exports_model_transport };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-g2ksfzwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Service89,
|
|
7
7
|
node92
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-njjbze85.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service85,
|
|
11
|
+
node88
|
|
12
|
+
} from "./provider-7m9sc66j.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
synthetics2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-41cdwvpp.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
Service: () =>
|
|
27
|
-
SessionInstructions: () =>
|
|
28
|
-
node: () =>
|
|
24
|
+
var exports_instructions2 = {};
|
|
25
|
+
__export(exports_instructions2, {
|
|
26
|
+
Service: () => Service12,
|
|
27
|
+
SessionInstructions: () => exports_instructions2,
|
|
28
|
+
node: () => node14
|
|
29
29
|
});
|
|
30
30
|
import { relative } from "path";
|
|
31
31
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -35,13 +35,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service12 extends Context.Service()("@opencode/SessionInstructions") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service89;
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const db = (yield* Service90).db;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service85;
|
|
45
45
|
const root = yield* fs.resolve(location.project.directory);
|
|
46
46
|
const inFlight = yield* Ref.make(new Map);
|
|
47
47
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -87,7 +87,7 @@ ${file.content}`).join(`
|
|
|
87
87
|
return next;
|
|
88
88
|
})));
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service12.of({ load });
|
|
91
91
|
}));
|
|
92
92
|
function previouslyInjected(db, sessionID) {
|
|
93
93
|
return Effect.gen(function* () {
|
|
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
|
|
|
98
98
|
function describePath(root, path) {
|
|
99
99
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var node14 = makeLocationNode({
|
|
102
102
|
name: "session-instructions",
|
|
103
103
|
layer,
|
|
104
|
-
deps: [node92, node93, FSUtil.node,
|
|
104
|
+
deps: [node92, node93, FSUtil.node, node88]
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { Service12, node14, exports_instructions2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
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
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node78
|
|
16
|
+
} from "./provider-x1b9htc3.js";
|
|
17
17
|
import {
|
|
18
18
|
latest2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service64,
|
|
20
|
+
node65
|
|
21
|
+
} from "./provider-h7xyg9h9.js";
|
|
22
22
|
import {
|
|
23
23
|
detect2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-4pyp9zr9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service25,
|
|
27
|
+
node28
|
|
28
|
+
} from "./provider-nf1wqckr.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./provider-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/artifact.ts
|
|
34
34
|
var exports_artifact2 = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_artifact2, {
|
|
|
41
41
|
Event: () => Event6,
|
|
42
42
|
FileMissingError: () => FileMissingError2,
|
|
43
43
|
ID: () => ID8,
|
|
44
|
-
Info: () =>
|
|
44
|
+
Info: () => Info6,
|
|
45
45
|
InvalidError: () => InvalidError3,
|
|
46
46
|
LocalProviderID: () => LocalProviderID2,
|
|
47
47
|
NotFoundError: () => NotFoundError4,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
CreateInput as CreateInput4,
|
|
65
65
|
Event as Event6,
|
|
66
66
|
ID as ID8,
|
|
67
|
-
Info as
|
|
67
|
+
Info as Info6,
|
|
68
68
|
Provider as Provider3,
|
|
69
69
|
ProviderID as ProviderID2,
|
|
70
70
|
UpdateInput as UpdateInput3
|
|
@@ -127,7 +127,7 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
127
127
|
class Service24 extends Context.Service()("@opencode/Artifact") {
|
|
128
128
|
}
|
|
129
129
|
var StoredRecord = Schema.Struct({
|
|
130
|
-
info:
|
|
130
|
+
info: Info6,
|
|
131
131
|
directory: Schema.String,
|
|
132
132
|
projectID: Schema.String
|
|
133
133
|
});
|
|
@@ -142,11 +142,11 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
142
142
|
}));
|
|
143
143
|
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
144
144
|
const bus = yield* Service89;
|
|
145
|
-
const config = yield*
|
|
145
|
+
const config = yield* Service64;
|
|
146
146
|
const global = yield* Global.Service;
|
|
147
|
-
const kv = yield*
|
|
148
|
-
const location = yield*
|
|
149
|
-
const sessions = yield*
|
|
147
|
+
const kv = yield* Service75;
|
|
148
|
+
const location = yield* Service85;
|
|
149
|
+
const sessions = yield* Service25;
|
|
150
150
|
const rootDir = path.join(global.data, "artifacts");
|
|
151
151
|
const itemDir = (id) => path.join(rootDir, id);
|
|
152
152
|
const localProvider = {
|
|
@@ -252,7 +252,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
252
252
|
const id = ID8.create();
|
|
253
253
|
const now = yield* Clock.currentTimeMillis;
|
|
254
254
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
255
|
-
const info =
|
|
255
|
+
const info = Info6.make({
|
|
256
256
|
id,
|
|
257
257
|
provider: provider.id,
|
|
258
258
|
...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
|
|
@@ -302,7 +302,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
302
302
|
const now = yield* Clock.currentTimeMillis;
|
|
303
303
|
const sessionID = input.sessionID ?? existing.info.sessionID;
|
|
304
304
|
const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
305
|
-
const info =
|
|
305
|
+
const info = Info6.make({
|
|
306
306
|
id,
|
|
307
307
|
provider: existing.info.provider,
|
|
308
308
|
...sessionID === undefined ? {} : { sessionID },
|
|
@@ -353,7 +353,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
353
353
|
var node27 = makeLocationNode({
|
|
354
354
|
service: Service24,
|
|
355
355
|
layer,
|
|
356
|
-
deps: [node92,
|
|
356
|
+
deps: [node92, node65, Global.node, node78, node88, node28]
|
|
357
357
|
});
|
|
358
358
|
function encodeStringFiles(files) {
|
|
359
359
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -491,4 +491,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
export { Capability2, Content2, CreateInput4, Event6, ID8,
|
|
494
|
+
export { Capability2, Content2, CreateInput4, Event6, ID8, Info6, Provider3, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError4, NotFoundError4, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service24, locate2, node27, exports_artifact2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-njjbze85.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service41,
|
|
17
|
+
node44
|
|
18
|
+
} from "./provider-zscq35gf.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./provider-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./provider-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event8,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info9,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service40,
|
|
36
36
|
Source: () => Source4,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node43
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source4 = Reference.Source;
|
|
47
|
-
var
|
|
47
|
+
var Info9 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service40 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service89;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service41;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info9.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service40.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node43 = makeLocationNode({
|
|
117
|
+
service: Service40,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node92,
|
|
119
|
+
deps: [Global.node, node92, node44]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source4,
|
|
122
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service40, node43, exports_reference2, Event8 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node73
|
|
8
|
+
} from "./provider-4rramvaq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node54
|
|
12
|
+
} from "./provider-546y6032.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate = {};
|
|
22
|
+
__export(exports_generate, {
|
|
23
|
+
Generate: () => exports_generate,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service22,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer11,
|
|
32
|
+
node: () => node25
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service22 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer11 = Layer.effect(Service22, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service53;
|
|
89
|
+
const models = yield* Service71;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer23 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(ai.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer23 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service22.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node25 = makeLocationNode({
|
|
219
|
+
service: Service22,
|
|
220
|
+
layer: layer11,
|
|
221
|
+
deps: [node54, node73, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service22, layer11, node25, exports_generate };
|