Hua1Q1nG/dsh-hindsight-local-optimize ↗★ 0
dsh-hindsight-local
DSH web client plugin: a sidebar toggle to start/stop the local Hindsight memory daemon (hindsight-embed) for the DeepSeek Harness desktop app.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Hua1Q1nG/dsh-hindsight-local-optimize说明文档
阅读完整 README ↗使用方法
安装并重启 DSH 后:
- 自动启动:DSH 启动后约 40 秒,左下角「本地记忆」按钮会自动变成「运行中」(无需手动操作)。
- 手动开关:点击左下角「本地记忆」按钮,可随时手动启动 / 停止守护进程。
- 退出随停:直接关闭 DSH,守护进程会被看门狗自动杀掉、内存立即释放。
配置参数
插件自身的配置在 /storages/dsh-hindsight-local/config.json:
```json { "installDir": "X:\hindsight", // 守护进程与模型的安装目录;X 代表任意盘符,留空则用系统默认位置 "autoStart": true // 是否开机自动启动 } ```
installDir:非空时,插件会把UV_CACHE_DIR指向/uv-cache、HF_HOME指向/hf-models,让档案柜和两个小模型装到指定盘。autoStart:true= DSH 启动时自动拉起守护进程;false= 只靠手动开关。
Hindsight 记忆本身的配置仍在 ~/.hindsight/coding-agent.json(插件启动时会自动写入 serverMode: "daemon")。