ykfs/dsh-openviking-client
ykfs★ 0TypeScript最后同步: 2026-08-21
DSH (DeepSeek Harness) 插件:将 Agent 会话消息自动同步到 [OpenViking](https://github.com/volcengine/OpenViking) 会话记忆库,由 OpenViking 服务端负责记忆提取与生命周期管理。
README 摘要
dsh-openviking-client DSH (DeepSeek Harness) 插件:将 Agent 会话消息自动同步到 OpenViking 会话记忆库,由 OpenViking 服务端负责记忆提取与生命周期管理。 插件定位 :被动、自动的会话同步器。DSH 侧每轮对话结束( turn/end )自动把增量消息写入 OpenViking 会话;记忆的提取、提交(commit)、归档全部由 OpenViking 服务端完成。主动检索能力( mcp openviking )由独立的 MCP 客户端提供,本插件不重复实现。 功能特性 - 全量会话同步 :会话创建时自动在 OpenViking 建立对应 session(携带 auto-commit 策略),对话消息按 turn 增量同步 - 增量去重 :基于 syncedIds 集合做消息级 diff,只写入新增消息,不产生重复 - 自动提交策略 :配置 autoCommitPolicy (消息数/Token 阈值/空闲时间),由服务端自动 commit 并提取记忆 - 故障容错 :OpenViking 停机不中断 DSH 主流程,恢复后自动补写;网络失败指数退避重试(默认 2 次) - 多租户身份支持 :兼容 OpenViking 三种认证模式(dev / trusted / api key) - 可观测 :请求级 + 同步级结构化日志 安装 依赖 - @deepseek-ai/dsh 0.1.0-rc.x - Node.js ≥ 22(使用原生 fetch ,零第三方 HTTP 依赖) - 可达的 OpenViking 服务(默认 http://localhost:1933 ) 配置 在 /.dsh/cordis.patch.yml (或对应 profile patch 文件)中插入: 配置项 配置 默认值 说明 enabled true 主开关; false 时插件不发起任何请求 openvikingBaseUrl http://localhost:1933 OpenViking 服务地址(不带尾斜杠) autoCommitPolicy.message count threshold 10 待同步消息数达到该值触发 commit autoCommitPolicy.pending token threshold 10000 待同步 Token 数达到该值触发 commit autoCommitPolicy.idle timeout seconds 86400 空闲多久后触发 commit autoCommitPolicy.keep recent count 2 commit 后保留的最近会话数 autoCommitPolicy.min commit interval seconds 0 两次 com…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 90,305
esengine/DeepSeek-ReasonixDeepSeek-native AI coding agent for your terminal. Engineered around prefix-cache stability — leave it running.
★ 35,023
crafter-station/petdexA public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 3,952