DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Session Search Plus — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-session-search-plus

Session Search Plus

DSH 会话搜索框增强:自建高速内存索引(持久化增量缓存,热启动 ~90ms)+ /api/search-plus 路由,接管官方侧栏搜索框(vscode 风格 Aa/ab/.*/fz 模式开关、多命中下拉、锚点跳转高亮)

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-session-search-plus@0.3.0
README兼容性版本

兼容性与来源证明

Session Search Plus 以 dsh-session-search-plus 发布,当前版本为 0.3.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.3.0stable
2026/8/17
0.2.0stable
2026/8/17
0.1.2stable
2026/8/16
查看其余 2 个版本收起版本
0.1.1stable
2026/8/16
0.1.0stable
2026/8/16

相关插件

正在加载相关插件…

最新版
0.3.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
402 kB
文件数
9
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
86
最近提交
2026/8/17
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-session-search-plus

中文:README.zh.md

In-place upgrade of the official DSH sidebar search box: a private in-memory index answers in milliseconds, and the search UI follows VS Code.

What it does

  • Mode toggles (right end of the input, VS Code style): Aa case-sensitive, ab whole word (pnpm no longer hits npm), .* regex, fz fuzzy subsequence. ab stacks with .* (the pattern is wrapped in \b); fz is exclusive with ab / .*. All off by default (plain substring).
  • Results: the hit is colored; the snippet window uses the same algorithm as VS Code (word-bounded lead + single-line ellipsis). A session with several hits shows ▾ N at the end of the row; expand to list every hit (up to 8, identical snippets deduped). Several dropdowns can stay open at once. The clicked hit row takes the selection background (the session header does not); that dropdown's indent guide stays on; hovering the result list reveals the guides on the other open dropdowns.
  • Jump + highlight: a click locates the event by seq — older history is paged in automatically, and a collapsed context-injection row is expanded before marking. The chosen hit scrolls into the center and is filled; every other occurrence on the page is boxed. Switching sessions, or clicking anywhere on the page after the search box has collapsed, clears the marks.
  • Private fast index: only user / assistant message TEXT blocks are indexed (injected context counts as a user message; tool arguments, results, and reasoning are left out). Queries answer in milliseconds and skip the official engine's per-call reconcile.
  • Ready at boot (persisted incremental cache): extracted documents are cached on disk keyed by each session log's persistence revision, so a restart only re-reads sessions that actually changed. Measured on 25 sessions / 49 MB of compressed logs: ~90 ms with no changes, ~2.4 s for a cold build.

The official expand animation, in-place results replacing the session list, and Esc / outside-click collapse stay as they are.

Usage

The stock sidebar search box is the entry; there is no extra panel.

  1. Open search. The default is a plain substring over titles (client) and content (host index).
  2. Turn on Aa / ab / .* / fz at the right end of the input when needed. With fz on there is usually no contiguous string to mark in the page, so the view only scrolls near the hit.
  3. Expand ▾ N on a multi-hit session and click a row to jump to that message.
  4. Press Esc or click outside the box to collapse. The next click anywhere on the page clears the fill and the boxes.

Architecture

  • Host half (src/index.ts): builds the in-memory index at boot, then keeps it incremental through the session/event feed with (sessionId, seq) deduplication. Serves POST /api/search-plus/query (substring / fuzzy subsequence / regex, with case and whole-word flags, per-session windowed snippets and match offsets). Host-half changes need a dsh restart.
  • Document cache (src/doc-cache.ts): the boot build reads the cache first, then reconciles it against listSnapshots() — one cheap change token per session. An unchanged revision reuses cached documents with zero log reads; a changed or uncached session is re-read; a session gone from disk is dropped. The cache is republished by atomic write once the build finishes.
  • Document extraction (src/doc-scan.ts): scans each session's verbatim artifact line by line, skipping packed storage rows such as text-chunks. That avoids all delta unpacking the logical read path performs (on this machine 232k physical lines expand to 1.79M logical events, none of which the index needs).
  • Browser half (src/client/): a fork of official @deepseek-ai/dsh-client-ui-workspace@0.1.0-rc.6 WorkspaceBrowser. Unmodified regions stay byte-identical to the official bundle; every change is marked // [search-plus]. An official upgrade requires re-porting against the new baseline. Content queries go to /api/search-plus/query; title matching stays on the client. A page reload only picks up the frontend.

Related plugins

Boot warmup of the official index lives in the sibling dsh-session-search-warmup: it commits the official SQLite FTS5 index during the quiet boot window so the official search surface this plugin does not take over (rail mode, fallback paths) works on first query. The two compose; neither requires the other.

Install

dsh plugin --profile web add dsh-session-search-plus

Or manually: add this package to the web profile's dsh.profile.bundles, install dependencies, restart dsh web.

Do not also insert a session-search-plus row into ~/.dsh/profiles/web/cordis.patch.yml — the loader refuses duplicate insert ids. The fork replaces the official search slots, so the profile must also disable the official ui-workspace row (same cordis.patch.yml).

Verify

dsh --profile web --dump-config   # shows the session-search-plus row

After boot, watch the host log for:

[search-plus] content index ready: N docs, A sessions from cache, B re-read in Xms

On the first boot A is 0 (cold build). On any later restart with no session changes, A equals the session count, B is 0, and the time drops to hundreds of milliseconds. Then type into the sidebar search box: content hits with colored snippets and per-session dropdowns confirm the takeover.

Configuration

Both keys are optional and rarely need changing:

KeyDefaultMeaning
cachePath<harness home>/session-search-plus-cache.json.zstdCache file location
rawScantrueRead verbatim artifacts. Set false to force the logical event read (~6x slower); only needed if the harness changes how storage rows are packed

The cache file is around 240 KB and safe to delete at any time — the next boot rebuilds it. Corruption, a version mismatch, or a failed write all degrade to a cold build without affecting startup.

Uninstall

dsh plugin --profile web remove dsh-session-search-plus

Restart dsh and restore the official ui-workspace row that the profile had disabled. Sidebar search returns to the stock implementation.

Known limits

  • A hit deep in history (the start of a years-old session) has to page in the official 50-messages-per-page window and can take ten-odd seconds to land; a shallow hit is instant.
  • fz defaults off: a fuzzy subsequence hit may contain no contiguous query string, so the page has nothing to mark.
  • An invalid regex returns empty results with no red-box hint.

Development

pnpm install
pnpm bundle
pnpm test

相关插件

继续浏览 search-research 分类下经过校验的插件。

Browser Skill Dsh Plugin@wxg-prc-cpg/browser-skill-dsh-plugin向模型提供 BrowserSkill 浏览器自动化(browser_* 工具)的 DeepSeek Harness 工具插件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:13 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl 无需密钥;Parallel/Perplexity/SerpBase/DeepSeek 需要密钥),支持时间筛选、平台搜索和 web_fetch,并提供网页设置界面。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。