DialogueContextBridge v0.3.0
跨会话记忆桥接 DSH 插件 —— 让新对话无需重复输入,即可继承上一轮对话的知识、决策与偏好。
DialogueContextBridge is a DSH plugin that bridges cross-session memory — a new conversation inherits the previous one's knowledge, decisions and preferences without repeating any input.
中文说明
新功能
- 无参免手打命令
/dcb-import-last//dcb-merge-last:在新对话中一键引入(inject)或融合(merge)最近一条快照。命令面板点选即执行,零手打、零气泡,绕开 DSH 0.1.x rc.2 下手打带参命令的「执行中…」常驻气泡摩擦。 /import不带 id 时渲染「最近 N 条快照」选择器:列出最近 10 条(常量RECENT_PICKER_LIMIT)可复制的/import <id> [--mode ...]命令,绕开手打 id 的摩擦。- 命令总数 15 → 17。
文档
- 同步 README / menu / website / docs 命令计数与清单到 17 个命令。
- 修正 README 状态行单测数(100 → 104)与版本徽章(→ 0.3.0)。
- 修正 README「已知限制」章节一处与无参命令行为自相矛盾的措辞。
兼容性
- 宿主:
dsh@0.1.1-rc.2(已端到端验证)。 - 运行时:Node ≥ 20。
- 向后兼容:仅新增命令,无破坏性变更。
升级方式
git pull
# 旧版本用户无需迁移数据,记忆库向后兼容
使用流程(跨会话记忆)
- 会话 A 聊完 → 运行
/compile编译三层快照,再/save落库(或直接/dcb-save一步到位)。 - 开新会话 B → 运行
/dcb-import-last(作为背景引入)或/dcb-merge-last(融合进当前上下文)。无需重述任何内容。
English
Features
- No-argument, tap-to-run commands
/dcb-import-last//dcb-merge-last: in a new conversation, one tap injects or merges the most recent snapshot — zero typing, zero bubble, sidestepping the persistent "running…" bubble friction of typed parameterized commands under DSH 0.1.x rc.2. /importnow renders a "recent N snapshots" picker when called without an id: lists the 10 most recent (constantRECENT_PICKER_LIMIT) copyable/import <id> [--mode ...]commands, removing the need to type an id by hand.- Command count 15 → 17.
Docs
- Synced README / menu / website / docs command counts and lists to 17 commands.
- Fixed README status line test count (100 → 104) and version badge (→ 0.3.0).
- Fixed a self-contradictory note in README's "Known Limitations" section regarding no-argument commands.
Compatibility
- Host:
dsh@0.1.1-rc.2(end-to-end verified). - Runtime: Node ≥ 20.
- Backward compatible: command additions only, no breaking changes.
Upgrade
git pull
# No data migration needed; the memory store is backward compatible.
Cross-session memory flow
- After conversation A → run
/compileto compile the three-layer snapshot, then/save(or just/dcb-savein one step). - Open a new conversation B → run
/dcb-import-last(inject as background) or/dcb-merge-last(merge into current context). No need to restate anything.