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.

Dream — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

dsh-dream

Dream

DSH auto-dream plugin: periodically reviews recent conversations and memories in the background, consolidates and deduplicates, updates outdated items, and prunes indexes (replicates CC-HAHA autoDream, coexists with dsh-memory)

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

npx -y @deepseek-ai/dsh plugin --profile web add github:yihefeikong-rgb/dsh-cc-haha-dream#edab58cb48db4b46c574f064ba344e9985fbc855
READMECompatibilityVersions

Compatibility and provenance

Dream is published as dsh-dream 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/20/2026

Versions

0.1.0stable
8/20/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
★ 1
Weekly downloads
0
Last push
9/13/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.

Contextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Weknora@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.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)

README

dsh-dream

DSH 自动做梦插件:后台定期回顾近期会话与已有记忆,整合去重、更新过时、删除矛盾、修剪重建索引。 复刻 CC-HAHA 的 autoDream(后台记忆整合)行为, 与已安装的 dsh-memory 并存——dsh-memory 负责"随手记"(extractMemories),dsh-dream 负责"睡前整理"。

[!IMPORTANT] 本项目不是 CC-HAHA 官方组件,也不隶属于 CC-HAHA 或 DeepSeek。自动做梦的 门控链与整合流程参考 CC-HAHA(见 THIRD_PARTY_NOTICES.md), 插件代码使用 DSH 原生能力(会话查询、子代理、命令、工具、设置)独立实现。

[!IMPORTANT] 独立插件,不修改 dsh-memory;与它共享同一个 ~/.dsh/memory/ 目录,文件格式与 MEMORY.md 索引完全兼容。

功能

  • 自动定时:默认 24 小时 + 积累 5 个会话后,后台静默执行一次记忆整合(五重门控,不阻塞对话)。
  • 手动触发:/dream 命令,或 agent 调用 memory_dream 工具,立即整合一次。
  • 整合内容(对齐 CC-HAHA autoDream 4 阶段,执行用 fork 子代理):
    • 插件 fork 一个子代理(继承会话模型配置,由 DSH 自行装配请求,不做任何 reasoningEffort / maxTokens 硬编码——避免与特定 provider 纠缠)
    • 子代理按 4 阶段提示词(定向 → 收集近期信号 → 整合 → 修剪索引)输出动作 JSON
    • 插件在 host 侧安全落盘:合并重复(merge/update)、修正过时/删除矛盾(delete)、 从近期会话提炼新记忆(create)、重建 MEMORY.md 索引(≤200 行 / ≤25KB)
  • 安全:所有写操作限制在记忆目录内;删除/覆盖前自动存 .history/ 历史版本;LLM 输出严格 JSON 校验,失败不落盘;.dream-lock 防并发。

安装

dsh plugin --profile web add C:\Users\huangxinyang\.dsh\plugins\dsh-dream
# 或从源码目录:
dsh plugin --profile web add D:\claude\...\dsh-dream

安装后重启 DSH:

dsh web

配置

有两种方式,效果一致(设置面板写入的是用户层,覆盖 patch 默认值;applies: restart,重启后生效):

  1. 设置面板(推荐):打开 DSH 设置 → 插件 → 插件配置 选项卡 → 自动做梦 卡片,直接编辑并保存。 卡片字段含说明与"已覆盖/恢复默认"标记;保存后写入 ~/.dsh/settings.yaml 的 dsh-dream: 段。
  2. patch 文件:编辑 cordis.patch.yml 的默认配置。
选项默认说明
enabledtrue后台自动做梦总开关
minHours24距上次整合最小间隔(小时)
minSessions5距上次整合后最少新会话数
triggerModehybridhybrid=时间或内容量先到先触发 / gates=仅固定间隔 / volume=仅按内容量
minVolumeChars30000内容量触发阈值(近期待整合会话文本估算字符数)
scanIntervalMinutes10后台门控检查间隔(分钟)
scopesautoauto=近期活跃项目+通用 / all=全部 / current=当前项目+通用
maxDigestChars60000近期会话摘要上限(字符)
maxMemoryChars80000记忆正文参考上限(字符)
maxTokens8192整合输出上限(默认 8192;过高会触发部分 provider 空响应并自动换档重试;0=不传)
reasoningEffortoff推理强度(off/low/medium/high/空=不传);不支持时自动降级重试
provider / model''空 = 继承会话模型
manualOnlyfalsetrue=只允许手动/工具触发
storageDir''空 = 默认 ~/.dsh/memory

设置卡片属于插件浏览器端(client bundle)。新增或更新设置卡片后需重启 DSH, 让宿主重新扫描插件的 dsh.client 声明(pkgMeta 缓存只在进程启动时刷新)。

使用

  • 手动整合一次:发送 /dream(可选 all / current 指定作用域范围)。
  • agent 主动触发:调用 memory_dream 工具。

整合结果会作为一条系统消息出现在当前会话;日志以 [dsh-dream] 前缀输出。

与 CC-HAHA 的关系

参考 CC-HAHA src/services/autoDream/ 的门控链与整合流程(autoDream.ts / consolidationPrompt.ts / consolidationLock.ts),使用 DSH 原生能力(ctx.sessionQuery 读会话、ctx.llm 整合、ctx.commands / ctx.tools 入口)独立实现。

License

MIT