DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Openviking — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
O

dsh-openviking

Openviking

OpenViking retrieval, resource management, auto-recall and session memory for DeepSeek Harness.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Rxiain/dsh-openviking#ef79f3b0c3762d4a16257b9d6c8223d495e6da73
READMECompatibilityVersions
记忆检索调用示例

Compatibility and provenance

Openviking is published as dsh-openviking and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
8/30/2026

Versions

0.1.0stable
8/30/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 11
Weekly downloads
0
Last push
9/6/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in memory-context.

Memory Plugin@openviking/dsh-memory-pluginOpenViking memory and context bundle for DeepSeek HarnessWeknora@wxg-prc-cpg/dsh-weknoraWeKnora knowledge retrieval tools for DeepSeek Harness (dsh): semantic search, document reading and RAG/agent answers over your own knowledge bases.Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.Reme@agentscope-ai/remeReMe client and memory integrations for TypeScript agents

README

简体中文 | 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 预算、去重、内容长度上限及插件上下文隔离仍然生效。

斜杠命令

命令功能
/memlearn <lesson>人工触发记忆沉淀:与 memlearn 模型工具完全同源的脱敏 / 查重 / 持久化,不开启模型回合,原始输入不进会话日志

记忆检索调用示例

为什么选择 OpenViking?

维度本地文件 / SQLite 方案OpenViking 方案(本插件)
召回关键词 / FTS5 精确匹配语义检索:向量召回 + L0/L1 摘要层定位
内容形态只能存自己写进去的文本记忆、资源、技能统一在一个viking:// 虚拟文件系统里;远程 URL、本地文档都能 memadd 入库成为可检索资源
上下文开销全量注入或手写精简L0 摘要(一句话)→ L1 概览(要点)→ L2 全文三层分级,按需加载,省 token
跨工具每个工具一套记忆,彼此孤岛同一套记忆跨工具共享:Claude Code、Codex、MCP 客户端、ov CLI 与 DSH 读写同一个库
维护靠手工整理观察者队列自动完成嵌入、摘要生成与内容重组(memqueue 可查状态)

快速开始

# 一键安装(GitHub 仓库,含预构建 lib/,无需构建授权):
sh install.sh [profile-name]          # 默认 profile: dsh-openviking

# 或手动安装:
dsh plugin --profile <name> add github:Rxiain/dsh-openviking
dsh --profile <name>

(在设置的插件配置中也可以配置哦)

配置默认指向 http://localhost:1933。如需覆盖任何设置,请在 profile 的 cordis.patch.yml 中以 id: openviking 写入完整配置(patch 整体替换 config):

- id: openviking
  config:
    endpoint: 'http://localhost:1933'
    # X-API-Key 认证头;为空则省略
    apiKey: !!js process.env.OPENVIKING_API_KEY ?? ''
    # X-OpenViking-Account 租户头;为空则省略
    account: ''
    # X-OpenViking-User 用户头;为空则省略
    user: ''
    # X-OpenViking-Agent agent 标识头;为空则省略
    agentId: 'deepseek-harness'
    # 单次请求超时(毫秒),范围 1000–300000
    timeoutMs: 30000
    # 会话同步状态文件(~ 会展开);只存消息 id,不存正文或密钥
    stateFile: '~/.dsh/openviking/state.json'
    # 将已索引仓库列表注入提示词
    repoContext:
      enabled: true
      # 仓库列表缓存 TTL(毫秒),范围 1000–3600000
      cacheTtlMs: 60000
    # 每个用户消息自动召回一次相关记忆
    autoRecall:
      enabled: true
      # 每回合最多注入的记忆条数,范围 1–50
      limit: 6
      # 补充记忆的最低分数,范围 0–1
      scoreThreshold: 0.15
      # 单条记忆内容上限(字符),范围 100–5000
      maxContentChars: 500
      # 注入预算 ≈ tokenBudget × 4 字符,范围 100–10000
      tokenBudget: 2000
      # 同时检索 agent 空间的 cases/patterns/tools/skills 记忆与技能手册
      agentSpaces: true
      # 同一条消息内每 N 个工具步骤刷新一次,只注入新记忆(0 关闭)
      refreshSteps: 10
      # 记忆库概览:会话启动注入一次,之后每 N 个用户回合刷新(1 = 仅启动,0 = 关闭)
      startupMapEveryTurns: 5
    # 按用户回合节奏自动提交会话
    autoCommit:
      enabled: true
      # 未提交的用户回合达到 N 个即提交(0 关闭回合触发)
      turns: 3
      # 时间兜底:已提交过的会话超过该间隔仍有未提交消息也会提交
      intervalMinutes: 10

创建账号与密钥

管理命令需要 root 密钥(本地服务通常位于 ~/.openviking/root_api_key.txt):

ROOT=$(cat ~/.openviking/root_api_key.txt)
printf '{"url":"http://localhost:1933","api_key":"%s"}' "$ROOT" > /tmp/ov-root.conf
export OPENVIKING_CLI_CONFIG_FILE=/tmp/ov-root.conf

ov admin create-account dsh --admin dsh-admin   # 建账号 dsh + 首个管理员,返回其密钥
ov admin register-user dsh dsh --role user      # 账号 dsh 内注册普通用户 dsh,返回其密钥
ov admin regenerate-key dsh dsh                 # 重新生成密钥(旧密钥立即失效)

unset OPENVIKING_CLI_CONFIG_FILE && rm -f /tmp/ov-root.conf

把返回的密钥填入插件配置的 apiKey,account/user 填对应的账号与用户。

贡献

欢迎贡献:

  1. Fork 仓库并创建功能分支(git checkout -b feature/your-change)
  2. 修改代码,并补充或更新测试
  3. 运行 npm test 验证(默认套件无需 OpenViking 服务)
  4. 提交并打开 Pull Request

许可证与致谢

MIT

参考了:

  • @tanyouqing/pi-openviking(源码仓库)
  • 上游:volcengine/OpenViking