DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-session-search

G

dsh-session-search

Manifest valid

DeepSeek Harness agent tool (session_search) for full-text search across historical sessions

hasBundlePatch

🔍 @goodandready/dsh-session-search

Model-Facing Session Full-Text Search Tool for DeepSeek Harness Agents

npm version license DSH Plugin Node version

All Author Projects

🇬🇧 English • 🇨🇳 中文说明 • 🇷🇺 Русский

⭐ If you like this plugin, please star it on GitHub — it shows me that the plugin is useful to you and motivates me to keep developing it.

🐛 If you find a bug or would like to request a feature, open a GitHub issue in any language — I will review your proposal and implement useful suggestions in a future plugin version.

Overview

In stock DeepSeek Harness, historical conversation logs are indexed by the core full-text search backend (@deepseek-ai/dsh-session-query-sqlite), but this capability is exposed only to the human user via the sidebar search bar. The autonomous model/agent (Dee / Ди) is not provided with any tool to query historical conversations.

@goodandready/dsh-session-search provides the agent with a dedicated, hardened session_search tool. This allows the model to look up past lessons, solutions, code snippets, decisions, and conversational context without decompressing or replaying full .jsonl.zstd session archives into memory.


Architecture & Data Flow

The plugin is strictly host-only with zero browser runtime overhead. It delegates directly to the core search service:

sequenceDiagram
    autonumber
    actor User as User
    participant Agent as Agent (Dee / LLM)
    participant Tool as session_search Tool (dsh-session-search)
    participant Core as ctx.sessionQuery (@deepseek-ai/dsh-session-query)
    participant DB as SQLite FTS5 Index (search_state / persisted_docs)

    User->>Agent: "Remember how we configured Nginx SSL in our previous project?"
    Agent->>Tool: execute({ query: "Nginx SSL configuration", limit: 5 })
    Tool->>Core: searchSessions({ query, limit }, { signal })
    Core->>DB: MATCH query in FTS5 index
    DB-->>Core: Matched sessions with snippet & score
    Core-->>Tool: Return SessionSearchPage
    Tool-->>Agent: Formatted text (Title, Session ID, Date, Best snippet)
    Agent-->>User: Answers with exact historical configuration details

Comparison: Stock DSH vs With dsh-session-search

CapabilityStock DSH CoreWith dsh-session-search
Human UI Session Search✅ Available in sidebar (WorkspaceBrowser)✅ Unchanged (fully available)
Agent Tool for Session Search❌ None (no tool registered)✅ Native session_search tool registered
Search EngineSQLite FTS5 (ctx.sessionQuery)Reuses core SQLite FTS5 engine directly
Memory FootprintLowZero additional memory (delegates to core)
Result SnippetsRendered in UINormalized and formatted as text for LLM
Temporal MetadataShown in UICompact session date: (YYYY-MM-DD)
Pagination NoticeUI infinite scroll / cursorModel hint: (more results available — refine your query)
Execution GuardCore only30s deadline (timeoutMs), isConcurrencySafe: true
LifecycleStandardManaged via Cordis ctx.effect
CancellationAbortSignal in APIPropagated via execCtx.signal

Installation

Install via the dsh CLI for your web profile:

dsh plugin --profile web add @goodandready/dsh-session-search

Or install using pnpm:

pnpm add @goodandready/dsh-session-search

Restart the DeepSeek Harness web profile to activate the bundle patch (cordis.patch.yml).


Configuration

Configure options in your profile configuration:

# dsh configuration
plugins:
  dsh-session-search:
    maxResults: 20
    snippetLength: 200
    timeoutMs: 30000
OptionTypeDefaultDescription
maxResultsnumber20Default upper bound on returned search matches per call.
snippetLengthnumber200Maximum character length of snippet around best match.
timeoutMsnumber30000Search execution timeout in milliseconds.

Options can also be configured interactively via the DSH Web UI under Settings → Plugins → Session Search.


Tool Specification: session_search

Parameters

  • query (string, required): Search query text (search terms and keywords, must be non-empty).
  • limit (integer, optional): Maximum number of matching sessions to return (automatically clamped between 1 and 100, defaults to configured maxResults).

Output Format

The tool returns a clean, plain-text representation:

• Session Title [session-id-12345] (2026-09-17)
  Context snippet with matching keywords highlighted around occurrence...
• Second Session [session-id-67890] (2026-09-15)
  Another snippet from past conversation...
(more results available — refine your query)

If no conversations match:

session_search: no matches found.

If input validation fails:

session_search: error: query must be a non-empty string.

If backend execution fails:

session_search: error: <error message>

License

MIT © 2026 GoodAndReady

Comments

Loading…

Similar plugins

dsh-session-search

by Li-0803

Full-text search for DeepSeek Harness sessions with precise message navigation.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

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

by 2275803244-cpu

In-session full-text search for the DeepSeek Harness web GUI: kind filters, multi-term AND matching, keyboard navigation, copy-to-clipboard, and jump-to-message.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-client-ui-session-search

by chopperH0824

DeepSeek Harness 会话搜索栏插件:按关键词搜索历史会话的消息正文,点结果直接定位到命中文字。

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 30, 2026

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

by a2042798096-debug

DeepSeek 搜索:DeepSeek Harness 多引擎网页搜索、正文抓取与深度资料收集插件

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-deepseek-search

by bwndlct

Session execution analytics and audit reports for DeepSeek Harness — see how your agent actually worked

Tools & CapabilitiesModels & ProvidersManifest valid

★ 3

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-session-audit

by uckkk

DSH 会话全文搜索:跨所有本地会话按关键词检索(支持 zstd 与明文存储)。Full-text search across DeepSeek Harness sessions.

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Aug 17, 2026

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