LeslieWylie/dsh-session-search-pro

Advanced cross-session full-text search for DeepSeek Harness — search past and current DSH sessions using the built-in sessionQuery service

Bundle 已验证 MIT JavaScript v0.2.0
Bundle 已验证

已收录

1

Session

Bundle 已验证

版本v0.2.0
语言JavaScript
许可证MIT
在 GitHub 查看

预览

功能介绍

通过 harness 自带的 `sessionQuery` 服务搜索、列出、读取历史与当前会话:部署启用了 SQLite FTS5 索引时走索引,未启用时回退到有上限的倒序扫描。

适合

  • 需要在历史及当前运行中的 DSH 会话间查找信息的用户。
  • 需要通过 harness API 搜索会话、列出近期会话并读取事件详情的工作流。
  • 希望在启用 FTS5 时利用索引、同时兼容未启用索引的原生 profile 的部署。

不适合

  • 需要搜索 Codex、Claude Code、PI、OpenCode 或其他非 DSH 运行时会话的用户。
  • 在未启用 FTS5 的部署中要求穷尽全部历史的搜索,因为回退方案只会倒序扫描数量有限的新近会话。
  • 需要从每个返回事件中读取超过 4,000 字符内容的工作流。

README

🔍 dsh-session-search-pro

English 简体中文

Search every DSH session you’ve ever had — past and current — without leaving the one you’re in.

License: MIT dsh-plugin

Three agent tools for DeepSeek Harness, built on the runtime’s own indexed sessionQuery service instead of scanning session files by hand.


Install

Nothing here is on npm yet, so install straight from GitHub. Add it to your profile’s package.json:

// ~/.dsh/profiles/<profile>/package.json
{
  "dependencies": {
    "dsh-session-search-pro": "github:LeslieWylie/dsh-session-search-pro"
  },
  "dsh": {
    "profile": {
      "bundles": ["dsh-session-search-pro"]
    }
  }
}

Then reinstall and restart the profile:

cd ~/.dsh/profiles/<profile> && pnpm install
dsh --profile <profile>

Pin a tag instead of tracking the default branch with github:LeslieWylie/dsh-session-search-pro#v0.1.0.

常见问题常见问题

在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:LeslieWylie/dsh-session-search-pro。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。