Victue/dsh-session-search ↗★ 0
dsh-session-search
Global search across the content of every DSH session, with results ordered by content time. 适合需要快速定位、搜索历史对话中特定内容或工具输出的用户。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Victue/dsh-session-searchUsage
- Click the magnifier icon in the sidebar (between Plugins and Schedules), or press
Ctrl/Cmd+Shift+F. - Type a query. Matching is substring, case-insensitive, and works for CJK (a 2-character query matches inside a longer run, which the shipped FTS5 engine cannot do).
- Narrow the results with the chips — All / My prompts / Replies / Tool output — and the Include subagent sessions toggle (off by default; subagent sessions routinely outnumber your own).
- Click any hit to open its session.
Queries are debounced by 220 ms and each superseded query is aborted. Esc clears the box.
Configuration
The plugin exports no Config schema on purpose: bare specifiers such as
@deepseek-ai/schemastery do not resolve from a plugin that lives outside the profile tree, and
Cordis passes a row's config: through untouched when a plugin has no Config
(if (!runtime.Config) return config in cordis/lib/index.js). So every key is optional:
- id: session-search
name: 'dsh-session-search'
config:
root: 'C:/Users/me/.dsh/sessions' # sessions root; defaults to /sessions
maxHits: 300 # cap on returned hits
maxCharsPerRecord: 65536 # per-record text ceiling, guards against one huge tool result
includeSubagents: false # exclude subagent sessions by default
warmup: true # build the index in the background after startup
warmupDelayMs: 3000
A patch row replaces the whole config of its target id, so write every value you want.