Bundled dsh CLI runtime for the DeepSeek Harness Python SDK
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install deepseek-harness-runtime-bindeepseek-harness-runtime-bin
English | 中文
Platform runtime wheel for the DeepSeek Harness Python SDK. It packages the normal dsh CLI and its closed Node dependency tree into a native executable, so SDK use requires no system Node.js. This package publishes wheels only.
Installed commands and artifacts
The wheel installs a dsh console command and the deepseek_harness_runtime Python module. dsh forwards its arguments to the bundled executable and requires a non-empty DSH_HOME; it never falls back to ~/.dsh.
Production executables are named deepseek-harness-sdk-runtime-<platform>-<arch> under the module's runtime/ directory; Windows uses the .exe suffix. Linux and macOS wheels include a target-native -rg sidecar, Windows includes -rg.exe, and macOS also includes -spawn-helper for node-pty. Published targets are Linux x64, Linux arm64, macOS arm64, macOS x64, and Windows x64. The wheel tag and payload must match exactly; no Windows arm64 wheel is published.
The wheel carries only the executable, native execution helpers, and <platform>-<arch>/ with downloads.json. Office skills ship inside the executable. CPython, authoring libraries, standalone Node, pnpm, and the complete Office sidecar are optional downloads. Importing Python modules, starting SDK profiles, and processing Office files never download resources.
Download either resource explicitly before using it:
from deepseek_harness_runtime import download_office, download_primary_runtime
office = download_office()
primary_runtime = download_primary_runtime()
download_office() downloads the locked npm Kit, target engine, and complete dependency tree, plus standalone Node for the Python deepseek_harness.office module. download_primary_runtime() independently downloads CPython, locked Python libraries, Node, and pnpm. Both return absolute resource directories and reuse completed caches. The authoring download validates its target, interpreters, and library directory before returning. The existing local installPrimaryRuntime() operation still copies an already available payload; it does not download. The shared builder applies the NumPy/pandas test-file exclusions.