Stop requiring npm registry for Desktop tgz installs (0.1.54).

fflate is already bundled into lib/index.js; keep it as a pack-time/devDependency so field machines that cannot reach registry.npmjs.org still finish plugin add.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-10 17:44:16 +08:00
parent 777589b702
commit fe0fe70d33
2 changed files with 5 additions and 5 deletions

View file

@ -48,7 +48,8 @@ bun run link:peers
改 Host/Client 后照常 `bun run bundle`,一般不用重装;换机器或清过本仓库 `node_modules` 才需再 `link:peers`。
备选:`npm pack` 后在 Desktop 安装 `.tgz`(复制进 profile,不走 `link:`,也就不用 link peers)。
备选:`npm pack` 后在 Desktop「添加插件」填 **`.tgz` 绝对路径**(复制进 profile,不走 `link:`,也就不用 link peers)。
**≥0.1.54**:运行时依赖已打进 `lib/`(含 `fflate`),装 tgz **不必访问 npm registry**;若仍去拉 `registry.npmjs.org/fflate` 说明装的是旧包。现场不要在 `profiles/desktop` 里手搓 `pnpm add`。
## Install

View file

@ -1,6 +1,6 @@
{
"name": "dsh-netxops",
"version": "0.1.53",
"version": "0.1.54",
"description": "DeepSeek Harness Netx Ops: ops/topology + IM delivery + session export + knowledge-base MANIFEST/_skills + localSkills",
"license": "MIT",
"type": "module",
@ -82,10 +82,9 @@
"optional": true
}
},
"dependencies": {
"fflate": "^0.8.2"
},
"dependencies": {},
"devDependencies": {
"fflate": "^0.8.2",
"@types/react": "~18.3.1",
"typescript": "^5.8.0"
}