QIANLING-0831/dsh-memory-plus--packages-dsh-session-query-sqlite-cjk ↗★ 2
dsh-session-query-sqlite-cjk
CJK-aware ctx.sessionQuery backend for the DeepSeek Harness — SQLite FTS5 provider with a trigram tokenizer table so Chinese full-text search actually matches (upstream unicode61 does not segment CJK), plus a LIKE fallback for 1-2 character CJK queries.
AI Analysis
采用 Trigram 分词器重构 SQLite FTS5 检索,解决原生分词不支持中文的问题。适合需要对中文历史会话进行精确全文检索的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置
与上游 dsh-session-query-sqlite 相同:
| Key | 默认 | 说明 |
|---|---|---|
path | 必填 | 专用派生索引 SQLite 路径(:memory: 支持) |
openAt | startup | startup / first-search / never |
journalMode | wal | wal / delete / truncate / persist |
defaultLimit / maxLimit | 20 / 100 | 分页 |
snippetChars | 240 | snippet 上限(Unicode 码点) |
readWindowMax / persistedInspectConcurrency | 50 / 4 | 继承自服务定义 |