What it doesAI
Token optimizer for DeepSeek Harness that condenses agent context while preserving key information and reports token savings.
- Condenses context to reduce token usage for LLM agents
- Uses BM25 scoring to keep essential content
- Reports token savings for every condensation
AI-generated from the repo README — for reference only.
Installation
dsh plugin --profile web add github:JxaMe/dsh-condenseInstall method: GitHub · not yet tested in container (L3+)
Compatibility
| DSH Version | Status |
|---|---|
| not stated | Declared — not tested |
Requirements
- • Node.js: not stated
- • DSH: declared "not stated"
- • External credentials: none detected
Security Report
Automated static scan, not manual review.
Critical findings in non-blocking categories (dynamic code execution, shell execution, install scripts, obfuscation). Common in CLI/terminal plugins but worth reviewing.
code-exec ×10.2.0dsh manifest58dbd04a4d4c2026-08-2058dbd04a4d4cThe scan result is valid for the scanned commit. New commits within 7 days are tolerated (the rating still counts); after 7 days without a rescan the badge shows outdated.
Disclaimer: automated static analysis, not a security guarantee. Always review what you install.
vet verdict: vet: clean · score 100
- R3 · info [certain] — 只读 process 成员(能力触达面):process.env
- R3 · info [certain] — 只读 process 成员(能力触达面):process.cwd
- R6 · info [heuristic] — 字符串特征:child_process 引用
- R10 · info [heuristic] — 依赖清单:6 项(tree-sitter-go, tree-sitter-javascript, tree-sitter-python, tree-sitter-rust, tree-sitter-typescript, web-tree-sitter,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
- R10 · info [heuristic] — 依赖清单:11 项(@deepseek-ai/schemastery, tree-sitter-go, tree-sitter-javascript, tree-sitter-python, tree-sitter-rust, tree-sitter-typescript, web-tree-sitter, @types/node, typescript, vitest, @deepseek-ai/dsh,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
vet is advisory and does not change dsh’s four-tier level.
• Static heuristic scan: done (6 files)
• Dependency vulnerabilities: requires deep audit (L3+)
• Permission sandboxing: requires runtime testing (L4+)
High-risk findings · 1 / 1
- criticalChild process module usage (Node.js)src/index.ts:8import { execFile } from 'node:child_process'
Heuristic static scan — may produce false positives. Review the source yourself before trusting.
Activity
Last commit 2026-08-20 · activity: Active
• Repo created: 2026-08-20
• Stars: ★ 0 · Forks: 0
• Health: Active — committed within last 30 days
Source
GitHub: github.com/JxaMe/dsh-condense
