Repository navigation
v0.2.5 — 修 pnpm 安装
简体中文
核心引擎 tgz · 桌面插件 · Android 插件
本版为当前最新版本。
本说明最后更新:2026-11-30 04:45 UTC(北京时间 2026-11-30 12:45)
引擎代码与 0.2.4 完全相同,这一版只改打包元数据。
修了什么:pnpm 用户装不上
package.json 里曾有一个 optional peerDependency:
"peerDependencies": { "@deepseek-ai/dsh-tools": "*" }dsh-tools 在 npm 上存在(0.0.1-rc.1)。pnpm 的 auto-install-peers 默认开启,会顺着这个 peer 去解析整条 DSH 依赖链,而链里有一条引用了从未发布的 @deepseek-ai/dsh-type-meta:
ERR_PNPM_FETCH_404 GET https://registry.npmjs.org/@deepseek-ai%2Fdsh-type-meta
整次 install 就此失败。npm 会跳过 optional peer,所以本地和 DSH 用户一直没暴露——只有 pnpm 用户,以及用 pnpm 构建的目录站点(Glama)会装不上。
现在 peerDependencies 与 peerDependenciesMeta 都已移除。
为什么去掉而不是修
核心引擎本来就是零依赖,这是它区别于其它记忆方案的一条。DSH 适配器在运行时用
createRequire 从宿主目录解析 dsh-tools,不需要在清单里声明——声明反而把一条
从没打算安装的依赖链拖进了所有人的 install。
版本
| 包 | 版本 |
|---|---|
核心 tan-memory |
0.2.4 → 0.2.5 |
桌面插件 tan-memory-dsh |
1.1.4 → 1.1.5 |
Android 插件 dsh-memory |
0.5.4 → 0.5.5 |
资产
| 资产 | 内容 | 大小 | SHA-256 |
|---|---|---|---|
tan-memory-0.2.5.tgz |
核心引擎:引擎 + 适配器 + CLI + 文档 | 129,521 B | 28c61eb6f628d2041256cd6fed2aa9d8d4e77c1449cc6d360a8627077f9b5049 |
tan-memory-dsh-1.1.5.tgz |
桌面端 DSH 插件(内嵌引擎 + 管理页) | 105,330 B | 52e8d75b56085be5b60362952ab02a336afd279f35e114988567af1f4d120c0f |
dsh-memory-0.5.5.tgz |
Android 侧载插件(内嵌引擎 + 管理页 + workspace_write) |
101,152 B | e33d6cbc95aadd873f2c83668a5b0a1fd7d573d5841247d45ef26710b17d17b8 |
验证
node --check通过;98 项测试 / 97 通过 / 0 失败 / 1 跳过decoupling.test.mjs改为断言dependencies/peerDependencies/
peerDependenciesMeta三者皆无,把「零依赖是承诺」这条钉住
许可 AGPL-3.0-only。
English
This is the current latest release.
This note was last updated: 2026-11-30 04:45 UTC
The engine code is identical to 0.2.4; this release only changes packaging metadata.
What was broken: pnpm could not install it
package.json carried an optional peer dependency:
"peerDependencies": { "@deepseek-ai/dsh-tools": "*" }dsh-tools does exist on npm (0.0.1-rc.1). pnpm enables auto-install-peers by
default, so it followed that peer into the whole DSH dependency graph — which contains a
reference to @deepseek-ai/dsh-type-meta, a package that was never published:
ERR_PNPM_FETCH_404 GET https://registry.npmjs.org/@deepseek-ai%2Fdsh-type-meta
The install failed there. npm skips optional peers, which is why local and DSH users never
hit it — only pnpm users, and directory sites that build with pnpm (Glama), could not
install the package.
peerDependencies and peerDependenciesMeta are now gone.
Why remove it instead of fixing it
The core engine has zero dependencies, and that is a deliberate property. The DSH adapter
resolves dsh-tools at runtime with createRequire from the host directory; declaring
it only dragged a dependency graph nobody intends to install into everyone's install.
Versions
| Package | Version |
|---|---|
Core tan-memory |
0.2.4 → 0.2.5 |
Desktop plugin tan-memory-dsh |
1.1.4 → 1.1.5 |
Android plugin dsh-memory |
0.5.4 → 0.5.5 |
Assets
| Asset | Contents | Size | SHA-256 |
|---|---|---|---|
tan-memory-0.2.5.tgz |
Core engine: engine + adapters + CLI + docs | 129,521 B | 28c61eb6f628d2041256cd6fed2aa9d8d4e77c1449cc6d360a8627077f9b5049 |
tan-memory-dsh-1.1.5.tgz |
Desktop DSH plugin (embedded engine + management page) | 105,330 B | 52e8d75b56085be5b60362952ab02a336afd279f35e114988567af1f4d120c0f |
dsh-memory-0.5.5.tgz |
Android sideload plugin (embedded engine + page + workspace_write) |
101,152 B | e33d6cbc95aadd873f2c83668a5b0a1fd7d573d5841247d45ef26710b17d17b8 |
Verification
node --checkpasses; 98 tests / 97 pass / 0 fail / 1 skippeddecoupling.test.mjsnow asserts thatdependencies,peerDependenciesand
peerDependenciesMetaare all absent, pinning "zero dependencies" as a promise
Licensed under AGPL-3.0-only.