ac0033/dsh-ctm

ac0033★ 0JavaScript最后同步: 2026-08-16

在 GitHub 打开

README 摘要

dsh-ctm — Context Transparency Manager English 中文 Turns the model's context into a visible, editable, effectiveness-scored first-class object, published as a self-contained bundle plugin for DeepSeek Harness. Features - Full visibility : a turn → segment flow view colored by role / tokens / cache status / effectiveness, with markdown rendering and paging. - Token accounting (provider-measured) : the KPI strip uses MECE buckets — uncached input / cache hit / output (cache write appears separately only when 0) — plus a derived cache hit rate (hit ÷ bucket sum; hidden when the denominator is 0) and the model. All figures are whole-session cumulative, read preferentially from the tokenUsage session projection, falling back to a full-log event fold when the projection is unavailable (the summary's usageSource marks which path was taken). Turn headers show the sum of that turn's step requests; step headers show that single request's measured usage (tooltips state the exact semantics); the latest request's prompt size and context-window occupancy (when the contextPressure projection is readable) sit in the KPI tooltip. Segment-level token counts remain local heuristic estimates and are ex…

在 GitHub 查看完整 README →
工具/开发ai-toolscontext-managementdeepseek-harnessdshdsh-plugin

分类