Hua1Q1nG/dsh-hindsight-local-optimize0

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.

包名
dsh-hindsight-local
版本
0.1.0
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Hua1Q1nG/dsh-hindsight-local-optimize

使用方法

安装并重启 DSH 后:

  1. 自动启动:DSH 启动后约 40 秒,左下角「本地记忆」按钮会自动变成「运行中」(无需手动操作)。
  2. 手动开关:点击左下角「本地记忆」按钮,可随时手动启动 / 停止守护进程。
  3. 退出随停:直接关闭 DSH,守护进程会被看门狗自动杀掉、内存立即释放。

配置参数

插件自身的配置在 /storages/dsh-hindsight-local/config.json

```json { "installDir": "X:\hindsight", // 守护进程与模型的安装目录;X 代表任意盘符,留空则用系统默认位置 "autoStart": true // 是否开机自动启动 } ```

  • installDir:非空时,插件会把 UV_CACHE_DIR 指向 /uv-cacheHF_HOME 指向 /hf-models,让档案柜和两个小模型装到指定盘。
  • autoStarttrue = DSH 启动时自动拉起守护进程;false = 只靠手动开关。

Hindsight 记忆本身的配置仍在 ~/.hindsight/coding-agent.json(插件启动时会自动写入 serverMode: "daemon")。