dsh-context-lens
AST-based context compression, test log filtering, and token budget guard for DeepSeek Harness: strips redundant syntax, prunes noisy log lines, and enforces a token ceiling so the context window never overflows.
DeepSeek Harness 的 AST 上下文压缩、测试日志过滤与 Token 预算守卫:剔除冗余语法、精简日志噪声,并强制执行 Token 上限以防止上下文窗口溢出。
How to install
dsh plugin add @goodandready/dsh-context-lens About
📦 @goodandready/dsh-context-lens --- ⚡ Overview **dsh-context-lens** optimizes the context window and token budget of **DeepSeek Harness** agents. Large context windows are expensive, prone to model distraction, and vulnerable to rate limits. When agents inspect multi-file codebases or run bulky test suites, thousands of tokens are wasted on boilerplate function bodies, passing test logs, and build artifacts. dsh-context-lens introduces **active path focusing, AST structural code skeletonization (JS/TS/Python/Go), and fast O(n) heuristic log compression**, shrinking context consumption by **u…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 2
- mo. downloads
- 3.7K
- Last push
- 2026-09-24
- Created
- 2026-08-31
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- context, deepseek-harness, dsh, dsh-plugin, token-guard
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.