DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-memory-search-plus

Memory Search Plus

基于 SQLite FTS5 和中文分词的本地、存储受限的 DeepSeek Harness 跨会话搜索,并支持跳转到指定消息

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

npx -y @deepseek-ai/dsh plugin --profile web add github:the-thinker0/dsh-memory-search-plus#4f41730194d2432948dc2966e914faf656a7feb6
README兼容性版本

兼容性与来源证明

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

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/26

版本

1.0.0stable
2026/8/26
0.1.0stable
2026/8/26

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/8/26
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Rewind Plugindsh-rewind-plugin同窗口内对话回退并恢复工作区文件Meow Memorymeow-memoryDeepSeek Harness 的跨会话项目记忆:七层 SQLite 记忆、首轮快照注入、每条消息的关键词命中、memory_remember/search/project 工具、带 reflection-fold UI 的自动反思,以及由空闲触发的梦境整合

README

Memory Search Plus for DeepSeek Harness

English | 简体中文

Memory Search Plus is an independent DeepSeek Harness Web plugin for local, cross-session full-text search. It maintains a rebuildable, storage-bounded SQLite FTS5 derivative; source conversations remain authoritative.

This repository is tagged with the dsh-plugin topic for discoverability.

What it does

  • Search across all sessions, not just the open one. Every indexed user message, assistant answer and tool call becomes searchable from one place.
  • Full-text index, not a filter. Built on SQLite FTS5 with a custom tokenizer pipeline (Intl.Segmenter for Chinese/English words, CJK bigrams and single characters, English case normalization), so Chinese substrings, English phrases, mixed-language queries and multi-keyword AND queries all work.
  • Adaptive two-stage search. Recall starts at 128 candidates, expands only as needed, stops at 2,048 candidates or its time budget, then performs literal verification and highlighting. Responses default to 100 and cap at 200 hits instead of sending thousands of rows to the UI.
  • Precise message targeting. Results are grouped by session and time-descending; clicking a hit loads older history as needed, scrolls to the exact message and highlights it.
  • ChatGPT/VSCode-style UI. A "find in conversations" pill in the wide sidebar opens a floating results panel with role filters (All / User / Agent / Tool). Open it with the pill or Ctrl/Cmd+Shift+F.
  • Incremental indexing. New events are appended to the index as they arrive; compaction checkpoints rebuild only their session; removed sessions are deleted. Settings shows rebuild progress. A startup and every-5-minute background reconcile keeps the index consistent. Branch/fork conversations are indexed; true subagent sessions (origin=subagent) are not.
  • Compact and bounded. Schema v3 uses contentless FTS (no duplicated document copy inside FTS), detail=none, and a separate document table. User/Agent messages index up to 8 Ki characters; tool output indexes a balanced 4 Ki head/tail preview and is labelled as such in results.
  • Runs fully locally. By default the WAL database lives at ${DSH_HOME}/storages/memory-search/index.db. Settings can point it at another directory or .db file; DSH_MEMORY_SEARCH_DB does the same without the UI. Default logical budget is 1 GiB. At the budget only the oldest derived rows are evicted—never source conversations. Settings reports disk use, coverage start, and eviction count. No network calls or telemetry are used.

Performance targets

ScenarioTarget
Local index write path, 1M synthetic messages< 60 s
Query (mixed Chinese/English/phrase)< 300 ms
Incremental updateonly changed events are touched

Measured numbers from the bundled benchmark (scripts/bench.mjs) are recorded in the QA output.

Capacity policy

  • Default: 1 GiB.
  • DSH_MEMORY_SEARCH_MAX_INDEX_MB=<MiB> changes the limit (64–16384 MiB).
  • DSH_MEMORY_SEARCH_MAX_INDEX_MB=0 explicitly selects an unlimited index.
  • Settings can choose the index database path (a directory or .db file). Saving moves the live index.db (and WAL sidecars) there and deletes the old files. The chosen location is stored at ${DSH_HOME}/storages/memory-search/location.json.
  • DSH_MEMORY_SEARCH_DB=<absolute path> is used when there is no UI override.

The index is a derivative cache. Eviction never modifies DSH session files; a manual rebuild rereads the source and converges to the configured budget again.

Install

Requirements: DeepSeek Harness 0.1.1-rc.2 or later and its supported Node.js version (^22.19 || >=24).

Install the plugin into the Web profile, then restart Web (or your existing dsh-tunnel / gateway process, so the Host half reloads):

dsh plugin --profile web add github:the-thinker0/dsh-memory-search-plus
dsh web

Local development install from a clone of this repository:

dsh plugin --profile web add ./

The repository commits the required lib/ artifacts, so these installs do not ask pnpm to run a package build script.

Open the actual URL printed after dsh web: in the startup output (default http://127.0.0.1:3080).

Updates

DeepSeek Harness does not silently push plugin updates onto machines that already installed this package. A new GitHub release is not installed until the profile fetches it.

If you installed with github:the-thinker0/dsh-memory-search-plus, pull the latest commit and restart Web (or your existing dsh-tunnel / gateway):

dsh plugin --profile web add github:the-thinker0/dsh-memory-search-plus

dsh plugin forwards to pnpm in the profile directory, so dsh plugin --profile web update dsh-memory-search-plus also works when that subcommand is available. After the Host half changes, restart the process that loads plugins; a browser refresh is enough only for the Web client.

A file: / link: local checkout does not follow GitHub. Pull that clone yourself, then re-add or restart as you already do for development.

Optional: community tools such as dsh-market or dsh-update-copilot can check GitHub HEAD against the pinned lockfile commit and run the same dsh plugin add for you. They still require an explicit click; nothing is auto-installed in the background.

Remove the plugin with:

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

Note: the plugin registers memory-search as its Cordis plugin id; removing the package removes the whole plugin, including its index database (a prompt will confirm removal of the registered patch).

How this differs

  • vs. built-in sidebar search / sidebar-conversation filters (e.g. dsh-better-sidebar): those filter or search within the currently open conversation. Memory Search Plus runs its own cross-session full-text index and jumps to the exact message in any conversation.
  • vs. conversation-landmarks: that plugin provides a navigation rail over the open conversation's turns. Memory Search Plus is content search — find what was said, then jump.
  • vs. official conversation search in the harness: this is a community index of your local session storage with Chinese-aware segmentation and message-level targeting; nothing leaves your machine.

Develop

pnpm install
pnpm run check   # typecheck + build (tsdown) + pack dry-run

Layout: the package is a Cordis Service plugin. src/index.ts is the Host half (SQLite FTS5 indexer + two-stage search API, exported as { name, inject, apply } via lib/index.js); src/client/ is the Web half (sidebar pill + results panel, delivered as lib/client.js wrapped in window.__ModuleLoader__.load(...)).

The host API contract — module interfaces (tokenize, extractSessionEventText, anchorKeyFor, SearchIndex, computeSpans/buildSnippet), RPC result shapes and the degradation guarantees — is specified as an executable acceptance contract in tests/README.md (see its QA test contract section). Unit tests live under tests/; the reproducible benchmark is scripts/bench.mjs (--impl lib/index.js measures the real implementation).

Privacy

Everything is local: session events are read from local DSH storage into a bounded SQLite derivative. The index file stays on the machine you choose (default under DSH_HOME, or a path set in Settings / DSH_MEMORY_SEARCH_DB). The plugin registers no network calls, analytics, telemetry, or external CDN assets. SQLite/FTS secure deletion is enabled, and only the newest corrupt-index backup generation is retained.

Status

v1.0.0. This is a community project, not an official DeepSeek release. Current compatibility target: DeepSeek Harness 0.1.1-rc.2.

Feedback

Report bugs or request features in Issues. Please search existing issues before opening a new one.

License

MIT