DSH Plugins Marketplace

DSH Plugins

Plugins

/

Memory & Context

/

dsh-cot-summary

d

dsh-cot-summary

Identified

DSH Summary-CoT

该工作区实现了一个不阻塞主模型的 Summary-CoT 插件:主模型输出 reasoning 时,后台按段调用指定的总结模型,并强制使用 reasoningEffort: 'off'。最终摘要写入 session,重新打开会话仍能恢复。

默认兼容方案(无需修改 DSH)

使用 packages/cot-summary/cordis.patch.yml。它保持 streamDeltas: false,因此不会把流式 delta 写入 session;总结模型完成一个段落后,才写入可持久化的 cot-summary/settled。浏览器通过 @shenjack/dsh-client-cot-summary 把摘要显示为独立 Chat 行。

这条路径是无 DSH 修改时的 workaround:没有逐 token 展示摘要,但最终内容会保存,且不会向 session-persistence-rdb 写入临时 delta。

可选实时增强

实时 delta 与 Think 行内覆盖显示需要 DSH 的两个很小的扩展:允许 Session.append() 标记 ignorable: true,以及提供 conversation.chat.reasoning slot。完整改动已保存为 dsh-summary-cot-live.patch。

在 test-shenjackyuanjie(DSH 源码根目录)执行:

git apply --check ..\dsh-cot-summary\patches\dsh-summary-cot-live.patch
git apply ..\dsh-cot-summary\patches\dsh-summary-cot-live.patch

然后使用 cordis.overlay.patch.yml,它会启用 streamDeltas: true 和 @shenjack/dsh-client-cot-summary-overlay。

此时 cot-summary/delta 带有 ignorable: true:它通过 host 到浏览器的实时 event/projection 流更新 UI,但 session-persistence-rdb 会过滤这类记录;只有完整的 cot-summary/settled 与 retry 用的 cot-summary/reset 会保存。

两个浏览器展示包不可同时启用。请将示例中的 provider 和 model 改成你的总结模型路由。

npm 配置

.npmrc 已包含:

@deepseek-ai:registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

Comments

Loading…

From the same category

hindsight

Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.

Memory & Context

★ 40.9k

MIT

Python

Index only — not installable

by volcengine

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

Memory & ContextManifest valid

★ 33.1k

↓ 8.2k/wk

AGPL-3.0

Python

Aug 25, 2026

dsh plugin --profile agent add @openviking/dsh-memory-plugin

by Tencent

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

Memory & ContextManifest valid

★ 20.6k

↓ 1.4k/wk

NOASSERTION

Go

Aug 25, 2026

dsh plugin --profile web add @wxg-prc-cpg/dsh-weknora

by EverMind-AI

One portable memory layer for every AI agent: local-first, Markdown-native, user-owned, and self-evolving across apps, tools, and workflows.

Memory & Context

★ 13.4k

Apache-2.0

Python

Oct 10, 2026

Index only — not installable

by MemTensor

Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings and DeepSeek Harness support.

Memory & ContextManifest valid

★ 11k

↓ 2.1k/wk

Apache-2.0

TypeScript

Aug 25, 2026

dsh plugin --profile web add @memtensor/memos-local-plugin

by plastic-labs

Memory library for building stateful agents

Memory & Context

★ 7.6k

AGPL-3.0

Python

Oct 9, 2026

Index only — not installable