dsh-context-lens
DeepSeek Harness 的 AST 上下文压缩、测试日志过滤与 Token 预算守卫:剔除冗余语法、精简日志噪声,并强制执行 Token 上限以防止上下文窗口溢出。
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.
怎么安装
dsh plugin add @goodandready/dsh-context-lens 简介
📦 @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…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-02
- 创建于
- 2026-08-31
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- context, deepseek-harness, dsh, dsh-plugin, token-guard
同类推荐
ms-365-mcp-server
softeria/ms-365-mcp-server
一个模型上下文协议(MCP)服务器,通过Graph API与Microsoft 365和Office服务交互。