@restregular/dsh-memory

版本 0.45.0发布 2026-11-22仓库 RestRegular/dsh-memory
3/4装得上 · 启动通过

DeepSeek Harness 的本地长期记忆插件 —— 一个包、一条 Loader entry、四个半边:JSONL 存储 + 本地向量检索(llama-server,OpenAI 兼容)+ 五个模型工具 + 自动召

记忆与检索周下载 2,100peer 3MIT
pnpm add @restregular/dsh-memory

安装前须知

Node 要求
>=22.13.0
package.json engines
peer 依赖
3 个
由宿主提供,不随包安装
宿主服务
无需额外服务
装完由真宿主启动一次
入口 / 补丁
未声明
bundle 已声明 · patch 随包

四段检测

逐层记录
收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整
无 high / critical 命中
未通过
配置组合装入一次性 DSH_HOME 后配置树能否合并通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过
真机安装通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
实测宿主版本 0.2.2-rc.5
加载实测通过
安装完成后由真实宿主启动一次,检查入口是否激活

检测结论明细

共 7 次命中
静态结构3 条规则 · 3 次命中
对可执行文件赋权download-then-chmod
lib/provider/embed-install.js:936try { chmodSync(paths.exe, 0o755) } catch { /* 尽力而为 */ }
启动子进程child-process-spawn
lib/provider/hardware.js:71execFile(command, args, { timeout: timeoutMs, windowsHide: true, maxBuffer: 1 << 20 }, (error, stdout) => {
代码中存在外部 URLremote-url-reference
lib/client.js:4733https://…/model.gguf https://github.com/RestRegular/dsh-memory https://github.com/RestRegular/dsh-memory/issues/new http
源码审查2 条规则 · 4 次命中
Package exited non-zero×2l3.nonzero-exit
state/runs/restregular-dsh-memory/0.45.0/L3/result.json
Threw an uncaught exception×2l3.runtime-error
state/runs/restregular-dsh-memory/0.45.0/L3/events.jsonlCannot find module 'E:\DSHPWeb\state\runs\restregular-dsh-memory\0.45.0\L3\work\index.js'

依赖结构

3 项
@deepseek-ai/cordispeer由宿主提供
@deepseek-ai/dsh-llmpeer由宿主提供
@deepseek-ai/dsh-toolspeer由宿主提供