dsh-ecolink
Discovered★ 4Memory ecosystem bridging the DeepSeek web app and local DSH — one local memory pool shared by a browser extension (harvest/inject), a zero-dependency local service (sole writer), and a DSH adapter (p
dsh-ecolink
打通 DeepSeek 网页版与本地 DSH 的记忆生态:网页端记住的,DSH 直接用;DSH 里产生的,网页端也能读到。同一份结构化本地记忆池(~/.dsh-memory/memory.json)。
组件
| 组件 | 目录 | 说明 |
|---|---|---|
| dsh-ecolink-web | extension/ | Chrome/Edge MV3 扩展:网页端标签收割(DSM 兼容格式)、请求注入(打分+预算+会话去重)、防污染三件套、popup 面板(配置/会话管理/DSM 导入/压缩) |
| dsh-ecolink-service | service/ | 本地记忆池唯一写者:零依赖 HTTP 服务、时间戳分层、归档、双模式压缩(网页端为主 + Flash API 备用)、请求日志 |
| dsh-ecolink-adapter | adapter/ | DSH 适配层:直读记忆池、pre-step 注入、#记忆名 过滤 |
快速开始
# 1. 启动服务(记忆池唯一写者)——日常不需要手动起:
# DSH 的 adapter 会自动拉起(serviceAutoStart 默认开);
# 登录自启任务兜底:scripts/install-autostart.ps1(不开 DSH 也能用)
node dsh-ecolink/service/server.mjs
# 2. 加载扩展
# Edge: edge://extensions → 开发人员模式 → 加载解压缩的扩展 → 选 extension/
# 3. DSH 挂载适配层
dsh plugin --profile web add D:/dsh/dsh-plugins/dsh-ecolink/adapter
服务默认 http://127.0.0.1:17520,零外部网络请求、零遥测;记忆数据只落在本机。
运维脚本:scripts/start-service.ps1(隐藏启动)/ stop-service.ps1(停止)/ install-autostart.ps1 / uninstall-autostart.ps1(登录自启)。
记忆流动
网页端对话 ──吐 <DSM:memory_write> 标签──▶ 扩展收割(DOM + 历史响应双通道)
│ │
│ 注入(打分+预算) ▼
◀────────────────────────────── ecolink-service 落盘
│
DSH 会话 ──pre-step 注入(同选择器)──◀─────────┘ (adapter 只读)
- 写入:模型在网页对话中输出
<DSM:memory_write>内容</DSM:memory_write>(兼容 DSM 的 key/importance 属性格式),扩展收割后落盘 - 读取:请求注入(网页端)/ pre-step 注入(DSH),同一套打分选择器
- 压缩:popup 一键——网页端模式为主,Flash API 模式备用(约 0.01 元/次)
测试
node --test extension/test/core.test.mjs # 扩展核心 14 项
node --test service/test.mjs # 服务 12 项
node adapter/test/smoke.mjs # 适配层 66 项
文档
- 完整方案与阶段表:
PLAN.md - 组件细节见各目录 README
License
MIT © 2026 Zoria Lind
Comments
Loading…
Similar plugins
by Qinling-Melon-Farmers
DeepSeek Harness (DSH) local-first cross-session project memory: zero bundled runtime deps, bounded cache-friendly Hot Memory, BM25 recall/cache, provenance, lifecycle and bilingual Web GUI; no embedd
★ 33
↓ 1.6k/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-memoirby elementor-i
agentmemory for DeepSeek Harness (dsh): full memory_* tools, capture hooks, and context injection over the local REST server
★ 4
↓ 51/wk
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add @elementor-i/dsh-agentmemoryby omdsh-dev
Composable, view-based memory for DeepSeek Harness. Pluggable sources and strategies, with three-tier memory out of the box.
★ 445
↓ 12.8k/wk
MIT
TypeScript
Oct 2, 2026
dsh plugin --profile web add dsh-mnemonby menotbobbybrown
Persistent long-term memory for DeepSeek Harness: a JSON store of typed entries (fact, preference, entity, rule, episodic) exposed as the memory_remember and memory_recall agent tools, with recall ran
★ 0
MIT
TypeScript
Sep 8, 2026
dsh plugin --profile web add @modelnorth/dsh-plugin-memoryby Ryu6Zero
🧠 Cross-session memory for DeepSeek Harness backed by Hindsight. Self-contained dsh-plugin: /hindsight commands + hindsight_recall/remember/status/list/forget agent tools. Lightweight, no dsh-mnemon,
★ 0
↓ 196/wk
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add dsh-hindsightby AtinyFurina
Memory triage for DeepSeek Harness: at the end of each turn it decides which entries to keep and which to archive, routes project-specific ones into a project bucket while global ones stay in the main
★ 0
↓ 117/wk
GPL-3.0
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-memory-triage