精选
为什么选中它
待人工精选——以下事实来自源码仓库。
它能做什么
待人工精选——以下事实来自源码仓库。
适合谁
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
风险提示
- 未发现明显风险信号;安装前仍建议查看源码。
待人工精选——以下事实来自源码仓库。
待人工精选——以下事实来自源码仓库。
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
dsh plugin --profile web add github:flymysql/dsh-memory 作者没有声明支持的平台。
dsh-memory gives your agents a persistent second brain: facts, preferences, decisions, and project notes survive across sessions and are recalled automatically. - 3 model tools — memory_remember / memory_recall / memory_forget - Per-turn prompt injection — the most recent entries are injected into every system-prompt assembly, so the agent starts each turn already aware of stored context - Durable storage — records live in a storage domain (dsh_memory unit, json backend by default; unit names are snake_case per UNIT_NAME_RE) - Browser management page — a "记忆库 / Memory" page in Settings to browse, add, and delete entries ## Install bash dsh plugin --profile web add dsh-memory-vault The dsh.bundle manifest wires the dsh-memory row into the profile automatically. To install by hand instead: bash npm install dsh-memory-vault then add a row to your profile cordis.yml (or cordis.patch.yml): yaml - id: dsh-memory name: dsh-memory-vault ## Usage Tell your agent to remember things, or do it yourself: > "记住:这个项目的部署目标是 Windows,测试命令是 pnpm test。" The agent calls memory_remember with optional tags: memory_remember(content="User prefers Windows deployment; test command is `pnpm test`", tags=["project:demo", "user"]) When context from an earlier session matters, the agent calls memory_recall(query="Windows deploy") — entries are scored by tag matches (×2) and content matches, newest first. Wrong or obsolete facts are removed with memory_forget(id="m-...") or memory_forget(tag="project:demo"). ### Configuration | Key | Type | Default | Meaning | | --- | --- | --- | --- | | injectLimit | int | 8 | Max entries injected per system-prompt assembly | | recallLimit | int | 10 | Max entries returned by memory_recall | yaml - id: dsh-memory name: dsh-memory-vault config: injectLimit: 12 recallLimit: 20 ## Browser page Settings → 记忆库 (Memory). Lists all entries newest-first with tags and timestamps; quick-add and delete buttons. The page talks to the host half through the harness webServer service — same-origin JSON endpoints (GET/POST /dsh-memory/entries). The dynamic-plugin prototype used the sandbox-only harness.handle/host.call package RPC; the published package uses the public route so it works in any deployment. ## Development The plugin is one cordis package: - lib/index.js — host half: domain, tools, prompt injection, RPC handlers - lib/client.js — web half: settings page ## License MIT不看 Star,人工一条条挑的。
把 DSH 的 settings.yaml 做成可视化看板:所有已注册的 settings namespace——包括官方界面从未覆盖的第三方插件配置——都渲染成可编辑表单。项目还早,但方向很对:告别手改 YAML。
给 DSH 的 DIY 轨迹可视化:把 agent 的计划与执行画成图,不用翻原始日志也能看清它在干嘛。项目还早,但补上了「一眼看懂 agent 在做什么」这个真实缺口。
从 Claude Code / Codex 把活派给 DSH:在宿主内拉起带分级预设的 DSH agent 会话,看原生子代理进度,还能借它的多模态桥给纯文本的 DSH 补上视觉和生图。编排型插件,把 DSH 变成其他编码 agent 的后端。