pi2dsh
weijiafu14
Bridge the Pi and DeepSeek Harness ecosystems: one Pi Host ABI runs unmodified Pi extensions as native DSH plugins. 打通 Pi 与 DSH 生态。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Takinggg/dsh-updater
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
One-click updates for DeepSeek Harness (DSH)
Community plugin · incremental npm tarballs · backup & rollback · like Codex
Install · How it works · Screenshots · Config · Security · Français

dsh-updater adds a Settings → Updates panel and a sidebar button to DeepSeek Harness (@deepseek-ai/dsh). It checks npm next / latest, copies your current engine, downloads only packages that changed, swaps the running engine, then restarts — or tells you to quit DSH on a laptop.
It is not official DeepSeek software. It does not fork DSH, does not git pull the source, and never runs sudo or curl | bash.
A full npm install @deepseek-ai/dsh rebuilds a 200-package monorepo in memory and can OOM (we hit a 1 GB heap in Docker). Claude Code / Codex-style tools do not re-resolve the universe on every bump.
This plugin:
node_modules, native addons).@deepseek-ai/* tarballs from the npm registry.$DSH_HOME/engine-bak and rolls back on failure.npm -g, nvm, Windows %APPDATA%\npm, pnpm/yarn global, local node_modules, npx cache.Never dsh plugin add github:… (unpinned). Clone this repo, then add the absolute path:
git clone https://github.com/Takinggg/dsh-updater.git
dsh plugin --profile web add /absolute/path/to/dsh-updater
Windows:
dsh plugin --profile web add C:\absolute\path\to\dsh-updater
Open Settings → Updates, or the Updates control next to Settings.
| Confirm & fetch | Success |
|---|---|
![]() |
![]() |
@deepseek-ai/dsh by walking up from process.argv[1] (DSH_ENGINE_DIR override).next and latest. Offers a target only if it is newer than the running engine (no accidental downgrade).$DSH_HOME/engine-bak.$DSH_HOME/update-stage (never Docker /tmp tmpfs).$DSH_HOME/update-cache. Registry Accept: application/json (avoids npm 406 on version URLs). npm view / npm pack fallbacks for odd registries.npm rebuild for native addons that actually changed.dsh PATH shim when the install is a classic npm global prefix.DSH_ENGINE_PERSIST=1: process exits 0 so Compose restarts it. A success popup is shown after reload.incremental-tarballs @deepseek-ai/dsh@<version> --reuse-engine --stage $DSH_HOME/update-stage
| Variable | Effect |
|---|---|
DSH_ENGINE_DIR |
Force the engine folder. |
DSH_HOME |
Backup / stage / cache root (default ~/.dsh). |
DSH_UPDATE=0 |
Lock updates. |
DSH_UPDATE_RESTART=1 / 0 |
Force process-exit restart, or never. |
DSH_ENGINE_PERSIST=1 |
Supervised container (exit to restart). |
DSH_UPDATE_STAGE |
Staging directory. |
DSH_UPDATE_CACHE |
Tarball cache. |
DSH_UPDATE_TIMEOUT_MS |
Whole-job budget (default 12 minutes). |
DSH_UPDATE_MODE |
Display override only. |
Honors npm_config_registry, scoped npm_config_@deepseek-ai:registry, NPM_TOKEN / NODE_AUTH_TOKEN for private registries.
{ confirm: true } before install.next or latest dist-tag.npm -g into a Docker engine volume (that can empty the prefix).engine-bak if verify fails.npm test
npm run demo
Node 20+. Zero runtime dependencies.
Community plugin — not official DeepSeek software. DeepSeek and DeepSeek Harness are marks of their owners. This repo only installs versions already published on npm as @deepseek-ai/dsh.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: docker。