chimneyQ/dsh-context-toolkit ↗★ 1
dsh-context-toolkit
DeepSeek Harness bundle: native ctk_* sandbox tools, a routing gate that keeps bulk output out of the transcript, and a local full-text knowledge base. No third-party runtime dependencies. 适合需要本地免依赖沙箱环境、大文本输出拦截及本地全文检索的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chimneyQ/dsh-context-toolkitドキュメント
README 全文を読む ↗Configuration
| Key | Default | Meaning |
|---|---|---|
routing | true | Master switch for the routing gate |
denyCurlWget | true | Block curl / wget outright |
bashNudgeMinCommandBytes | 4096 | Nudge threshold for long commands (0 disables) |
maxReadBytesBeforeAsk | 51200 | Nudge threshold for whole-file reads (0 disables) |
nudgeFetchTools | true | Nudge the host fetchers (web_fetch / read_page) too |
trustedReadBasenames | package.json etc. | Filenames exempt from the read nudge |
compressNudgeTokens | 120000 | Occupancy warning threshold (tokens) |
searchLimit | 5 | Excerpts per query in ctk_search |
snippetChars | 900 | Character ceiling per excerpt |
fetchMaxBytes | 2000000 | Per-page fetch ceiling |
storageDir | empty | Knowledge-base root; empty = /context-toolkit |
tools.* | see below | Per-tool switches |
Tool switches: tools.execute, tools.executeFile, tools.batchExecute, tools.index, tools.search, tools.fetchAndIndex, tools.purge, tools.stats, tools.contextReport, tools.doctor — all on by default.