johnx438-hub/dsh-minimal-context ↗★ 0
dsh-minimal-context
Minimal-agent context funnel for DeepSeek Harness: pointerize → prune → compact → summarize + recall_query / context_focus
AI Analysis
核心用途是通过将大工具输出指针化、裁剪头尾、自动摘要等手段压缩上下文。适合需要运行长对话、频繁调用工具且希望严格控制 Token 预算的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置(均有默认值)
pointerizeMinChars— 超过该字符数的 tool/result 指针化(默认 400)pointerizeNeverTools— 永不指针化的工具名(默认['recall_query'])pruneThresholdChars/pruneHeadChars/pruneTailChars— 裁剪阈值与头尾保留maxFullCardsPerTurn/maxCompactPerStep— 每轮完整卡片 / 压缩上限summarizeMinChars/summarizeMinNodes— 触发摘要的阈值surfaceBudget*/budget*— 预算驱动的指针化/裁剪参数(surfaceBudgetEnabled默认 true)taskSummaryInterval— TaskSummary 注入间隔(默认 12,仅真实压缩后注入)