OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:chenshanhan0711/dsh-session-grep
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Substring search across every message in a DeepSeek Harness workspace — the kind of search where 搜索输出 finds the sentence …只能搜索输出, and 插件 finds words inside longer words.
The built-in session search (sidebar Ctrl+K) runs on an SQLite FTS5 index created with the unicode61 tokenizer. That tokenizer matches whole tokens and phrases, not arbitrary substrings:
搜索输出 is a fragment of the token 只能搜索输出 and therefore matches nothing.unicode61 tokenizer matches tokens and phrases rather than arbitrary substrings" (@deepseek-ai/dsh-session-query-sqlite, README line 63).This plugin keeps its own literal index instead: it reads the session logs, decompresses them and does a case-insensitive indexOf. Any fragment matches, Chinese included.
↑ ↓ to move, Enter to open, Esc to close.From npm:
dsh plugin --profile <profile> add dsh-session-grep
From a clone:
git clone https://github.com/chenshanhan0711/dsh-session-grep
dsh plugin --profile <profile> add ./dsh-session-grep
Or in the app: Plugins → Add plugin and point it at that folder. The bundle adds one Host service and one client slot; the pill appears after a restart.
Remove it the same way you removed any plugin; it never touches the DSH install directory.
Host (index.js)
$DSH_HOME/sessions/<cwd-key>/<session-id>/session.v4.jsonl.zstd.user/message, assistant/message, optionally tool/call / tool/result / reasoning), and caches parses by mtime + size (max 64 sessions).max(10, limit/2) first, then the sessions are merged round-robin by their newest match — a long conversation cannot swallow the list./dsh-session-grep/api: search, sessions, health.Client (client.js)
conversation.header.leading slot.position: fixed from the input rect, so it is never clipped by the header.uiWorkspace.openSession(...); for a side thread it first retains the session and opens through the durable subagent.address from its snapshot. If the view has not switched after 1 s it retries once, and only then reports failure.<mark>, scrolling it into view; if the message is not rendered yet it retries for ~9 s and then says so.mousedown, not click, so a blur cannot unmount the row before the handler runs.**bold** boundaries may be found by the scanner but not highlighted on screen.client.js needs a page refresh (the Host hot-loads client bundles).Zero network requests. The Host reads local session files and answers its own loopback route; the client only calls that route. No telemetry, no remote endpoints, no hardcoded credentials.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: rag、search。