Back to home@NoxTyrannus

dsh-cipher

把 cipher 的持续思考/三中台/四类记忆以 UNNI/LOOP 会话模式接入 DSH(dsh-plugin bundle)

Stars
1
Language
TypeScript
Created
Aug 29, 2026
Updated
Aug 29, 2026
GitHub repo

Introduction

dsh-cipher

cipher 的核心设计——持续思考、三中台 (执行/洞察/记忆)、四类本地记忆(注意力/经验/偏好/认知)、UNNI/LOOP 会话模式—— 以 DSH 组合包形态原生落地到 DeepSeek Harness

安装(dev 预览):

dsh plugin --profile <name> add ./dsh-cipher

发布安装(npm):

dsh plugin --profile <name> add dsh-cipher

组成(bundle 行)

职责
dsh-cipher/corebundle 私有服务 ctx.cipher:四类记忆库、确定性检索、配额
dsh-cipher/memory沉淀:会话事件 → 3 记忆 agent → 写库
dsh-cipher/insight洞察:轮次证据复核(三问自检),输出只进沉淀
dsh-cipher/prompt注入:SOUL+模式 section + 四类记忆 context(缓存命中)
dsh-cipher/mode模式:UNNI/LOOP 会话级配置;LOOP 独立延续调度
dsh-cipher/tools工具:cipher_memory_search / cipher_memory_ingest
dsh-cipher双面行:设置 namespace + 私有 RPC(host);设置页/AgentPool 面板(client)

开发

npm install
npm run build          # tsc(host lib/) + tsdown(client/client.js)
  • 服务包(@deepseek-ai/dsh-*只导入类型,运行时一律走 ctx 服务, 避免与 DSH 安装内的服务实例重复。
  • 设计文档与决策见 cipher 仓库 .devdocs/任务书_dsh-cipher插件_v0.1.0.md

安全提示

安装插件即在你的机器上以你的权限执行第三方代码;请审阅源码后再安装。