dsh 0.2.0-rc.2: in-container update (experimental channel), path-agnostic compose, upstream patches adapted to 0.1.x/0.2.x

This commit is contained in:
hermes committed 2026-10-01 19:21:19 +00:00
commit e6dcef9bf5
302 files changed
+75178

No files matched your search

@@ -0,0 +1,15 @@
import { compareDshVersions } from './supported-target.mjs'
export const OFFICIAL_DSH_PACKAGE = '@deepseek-ai/dsh'
export const OFFICIAL_NPM_REGISTRY = 'https://registry.npmjs.org/'
export const OFFICIAL_DSH_METADATA_LIMIT = 20 * 1024 * 1024
export const OFFICIAL_DSH_TARBALL_LIMIT = 512 * 1024 * 1024
export function officialDshMetadataUrl() {
return new URL(encodeURIComponent(OFFICIAL_DSH_PACKAGE), OFFICIAL_NPM_REGISTRY)
}
export function officialDshTarballUrl(version) {
compareDshVersions(version, version)
return new URL(`${OFFICIAL_DSH_PACKAGE}/-/dsh-${version}.tgz`, OFFICIAL_NPM_REGISTRY)
}