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
- 0
- mo. downloads
- –
- Last push
- 2026-09-02
- 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
openclaw
openclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
Figma-Context-MCP
GLips/Figma-Context-MCP
MCP server to provide Figma layout information to AI coding agents like Cursor
ms-365-mcp-server
softeria/ms-365-mcp-server
A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API