yyq1025/cc-mem--packages-dsh ↗★ 1
@cc-mem/dsh
Claude Code's auto memory in DeepSeek Harness: the index in every request, and tools to write and edit it
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:yyq1025/cc-mem#059bd31aacd68c5f52c0f73390962bce179236ec&path:packages/dsh'說明文件
閱讀完整 README ↗@cc-mem/dsh
Gives DeepSeek Harness the auto memory Claude Code already keeps for your projects, so DeepSeek Harness, Claude Code and your other agents work from the same notes. What it saves, Claude Code recalls in its next session, and the other way round.
dsh plugin --profile
add @cc-mem/dsh
The desktop app's profile is desktop. Needs DeepSeek Harness 0.2.1 or later; restart it afterwards.
What it does
- Puts the
MEMORY.mdindex for each session's working directory into the runtime context when a session starts, and reads it again after each compaction or a change of directory. The directory is the one Claude Code uses,~/.claude/projects/ /memoryby default. One Harness host serves many workspaces, so the directory comes from each session, not from the process. - Registers four tools:
memory_list(project)returns the notes of another project directory.memory_write(file_name, content)creates a memory file, orMEMORY.md, and never overwrites one.memory_edit(file_name, …)replaces text exactly, renames a memory file, or both.memory_delete(file_name)deletes one memory file; it cannot deleteMEMORY.md.
- Records
source: dshin the files it writes andmodifiedBy: dshin the files it changes.
The agent reads memory files with its own file tools. It keeps MEMORY.md up to date itself, one line per memory, as Claude Code's model does.
The plugin follows Claude Code's settings: autoMemoryDirectory, CLAUDE_CONFIG_DIR, and turning auto memory off with autoMemoryEnabled: false or CLAUDE_CODE_DISABLE_AUTO_MEMORY=1. When auto memory is off, the agent is told so and writes are refused.
Part of cc-mem, with plugins for pi and OpenCode.
License
MIT. Not affiliated with or endorsed by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic.