LeslieWylie/dsh-session-search-pro ↗★ 1
dsh-session-search-pro
Indexed cross-session search for DeepSeek Harness — search, list, and read past and current DSH sessions through the built-in sessionQuery service. Zero runtime dependencies.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LeslieWylie/dsh-session-search-pro说明文档
阅读完整 README ↗🔍 dsh-session-search-pro
English | 简体中文
搜索你用过的每一个 DSH 会话——无论是过去的还是正在进行的——都不用离开当前会话。
面向 DeepSeek Harness 的三个 agent 工具,构建在 harness 自带的 sessionQuery 服务之上,而不是手工扫描会话文件。
安装
目前还没有发布到 npm,所以直接从 GitHub 安装。把它加到你的 profile 的 package.json 里:
// ~/.dsh/profiles/
/package.json
{
"dependencies": {
"dsh-session-search-pro": "github:LeslieWylie/dsh-session-search-pro"
},
"dsh": {
"profile": {
"bundles": ["dsh-session-search-pro"]
}
}
}
然后重新安装依赖并重启 profile:
cd ~/.dsh/profiles/
&& pnpm install
dsh --profile
想固定到某个版本而不是跟随默认分支,可以用 github:LeslieWylie/dsh-session-search-pro#v0.1.0。
不想改 profile 配置?先试用一下
这个包自带 cordis.patch.yml,所以只要它已经装进了 profile 的 node_modules,就可以用启动器的 --patch 参数临时挂载一次,不用动 dsh.profile.bundles:
cd ~/.dsh/profiles/
&& pnpm add github:LeslieWylie/dsh-session-search-pro
dsh --profile
--patch ./node_modules/dsh-session-search-pro/cordis.patch.yml
为什么又做一个会话搜索插件
Tieboyh 的 dsh-session-search 走的是另一条路:它直接读会话文件、自己解压扫描 zstd 帧,因此还能搜别的运行时的会话——Codex、Claude Code、PI、OpenCode。如果你同时在用好几个 agent CLI,那个更合适。
这个插件则走 harness 自己的 sessionQuery 服务。好处是能搜到正在进行中的当前会话、不对文件格式做任何假设、不依赖外部二进制;代价是它只能继承部署方配置好的索引能力——包括「压根没开」这一种(见在默认 profile 上搜索)。
| 对比项 |
|---|