Rxiain/dsh-openviking
OpenViking Retrieval, Resource Management, Auto-Recall, and Session Memory Plugin for DeepSeek Harness
Project Overview项目介绍
This is a DSH-native plugin built exclusively for DeepSeek Harness, designed to connect to the OpenViking vector memory service and add memory management and retrieval capabilities to DSH agents. It ships with more than ten dedicated tools for tasks ranging from semantic search and virtual file system browsing to adding resources, searching content, committing memory, and distilling experience from current sessions. It also includes a slash command that lets users manually trigger memory desensitization, deduplication, and persistence without adding extra turns to the active session. It is written in TypeScript and requires a modern Node.js version 22.19.0 or newer, or 24.0.0 or above to run.
The plugin supports automatic recall of procedural experience, and adds a dedicated retrieval lane for workflow-related questions that supplements standard global recall. It first filters for memory branches tagged with workflow-related keywords like playbook, skill, or pattern, then retrieves up to 16 branches and selects the highest-relevance candidate to inject into the context window. It also supports automatic injection of indexed repository context, automatic recall on every user turn, and automatic session commitment to distill persistent memory on a set schedule. All runtime behavior can be adjusted via a full YAML configuration that covers every core feature.
Installation can be done via a one-click shell script included in the repository, or manually via the DSH plugin CLI command. After installation, you will need to create an account and user API key on your local OpenViking service before you can use the plugin. The default endpoint points to a local OpenViking instance running at http://localhost:1933, and you will need to add your API key, account, and user details to the plugin configuration in your DSH profile to start using the plugin. The plugin is released under the open-source MIT license and accepts community contributions via GitHub pull requests.
这是一个专为DeepSeek Harness(DSH)开发的原生插件,用于连接OpenViking向量记忆服务,为DSH智能体提供检索能力、资源管理、用户与代理双空间自动召回和会话记忆功能。插件内置十余个工具,支持语义搜索、文件系统浏览、资源增删、内容检索、记忆提交与主动经验沉淀,还提供斜杠命令用于手动触发记忆沉淀。
该插件支持流程经验自动召回,遇到流程类问题时会额外启用专用检索通道,从记忆库中筛选标记了流程相关关键词的分支后召回最优结果注入上下文。它支持已索引仓库上下文注入、每用户回合自动召回相关记忆,还可按节奏自动提交会话沉淀持久记忆,可配置项覆盖绝大多数运行参数。
插件使用MIT许可证,支持Node.js 22.19.0以上或24.0.0以上版本,可通过一键安装脚本或DSH插件命令手动安装。默认连接本地运行的OpenViking服务,需要先创建OpenViking账号和用户密钥,再填入插件配置的对应字段后即可使用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-openviking(Rxiain/dsh-openviking)
仓库:https://github.com/Rxiain/dsh-openviking
本站详情页:https://www.yhbd.top/plugins/rxiain-dsh-openviking/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 16 · 最近提交 2026-09-29 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 16 stars - an early-stage project星标 16,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:Rxiain/dsh-openviking
把 Rxiain/dsh-openviking 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
简体中文 | English
dsh-openviking
面向 DeepSeek Harness 的 OpenViking 检索、资源管理、自动召回(user + agent 双空间)与会话记忆插件
功能
| 工具 | 功能 |
|---|---|
memsearch |
语义搜索(auto/fast/deep;deep 使用会话上下文) |
memfind |
快速语义查找,不带会话上下文 |
memread |
读取viking:// URI(abstract/overview/read/auto) |
membrowse |
浏览viking:// 文件系统(list/tree/stat) |
memgrep |
精确/正则内容搜索(默认viking://resources/) |
memglob |
按 glob 模式枚举文件 |
memadd |
在viking://resources/ 下添加远程 URL 或本地文本文件 |
memremove |
删除资源——需字面量confirm: true |
memqueue |
查看观察者队列状态 |
memcommit |
提交当前会话并提取持久记忆 |
memlearn |
主动沉淀经验:写/合并记忆或铸 skill playbook;脱敏+查重+即时注入当前会话 |
另含:已索引仓库上下文注入、通过上下文注入通道自动召回、会话同步 + 自动提交。
流程经验自动召回
对审计、恢复、补偿、重放、验证、修复、诊断、迁移和步骤化流程问题,插件会在普通全局召回之外启用 procedure lane。它从缓存的用户记忆树中先筛选路径包含 方法论、playbook、workflow、runbook、pattern、case 或 skill 等标记的叶分支,再最多检索 16 个流程分支;每个分支限时 3 秒,失败或超时不会阻断当前模型步骤。若有满足既有相关度阈值的流程候选,最优候选保留一个注入槽位,其余容量才由普通 user/agent 结果填充。总 token 预算、去重、内容长度上限及插件上下文隔离仍然生效。
斜杠命令
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
vshulcz/deja-vu
adoresever/graph-memory
mnemon-dev/mnemon
Phant0Meow/dsh-meow-memory
slow-stack/mneme
Aik358/dsh-auto-memory