anthropics / anthropics/claude-code
Desktop app: compact context indicator silently changed meaning — now tracks plan usage, not context window
- 主要语言
- Python
- 星标
- 145k
- 派生
- 23.1k
- PR 合并指标
- PR 指标待抓取
描述
### Documentation Type
Missing documentation (feature not documented)
### Documentation Location
_No response_
### Section/Topic
compact context indicator
### Current Documentation
_No response_
### What's Wrong or Missing?
## Environment
- **Platform:** Windows 11 Pro (desktop app)
- **CLI core:** 2.1.72 (`claude --version`); desktop app build:
- **Plan:** Max (20x)
## Summary
The small circular gauge at the bottom-right of the chat input (next to the model/plan
chip) previously visualized **context-window fill %**. It now appears to visualize a
**plan usage-limit %** instead (matching "Weekly · " in the expanded panel).
The change is not mentioned in the changelog, and no setting toggles which metric the
compact indicator shows.
## Observed
Same session, two data points:
1. Expanded panel read **Context window: 806.8k / 1M (81%)** — the circular icon showed
~44–50% filled, matching **Weekly · Fable: 44%**, not the 81% context figure.
2. After a manual transcript compaction, the panel read **160.6k / 1M (16%)** — the
icon was **unchanged** (still ~44%). Weekly usage of course doesn't decrease, which
is consistent with the icon now tracking usage rather than context.
In earlier builds, the same icon visibly shrank when context was reduced by manual
compaction — that at-a-glance signal is what regressed/changed.
## Expected
Either of:
- the compact indicator reflects context-window fill (previous behavior), or
- a documented setting chooses which metric it shows, or
- at minimum, the behavior change is documented in the changelog.
## Impact
Workflows that manage context **manually** (compacting deliberately rather than relying
on auto-compact) lose the only always-visible context signal. In this instance the icon
reading "~under 50%" while actual context was at 81% nearly caused a missed manual
compaction — the mismatch was only caught by opening the expanded panel. A gauge whose
meaning changes silently while its appearance stays identical is worse than no gauge:
operators calibrated to the old meaning read it with confidence.
I understand usage limits may be the more relevant metric for users who rely on
auto-compact — but a toggle (or a documented statusline-style option for the desktop
app) would serve both audiences. Related: #28962 (context-window visibility).
## Notes
- The circular indicator itself appears to be undocumented; the statusline docs expose
both `context_window.used_percentage` and `rate_limits.*.used_percentage`
programmatically, but the desktop app's built-in indicator has no documented contract.
### Suggested Improvement
Either of:
- the compact indicator reflects context-window fill (previous behavior), or
- a documented setting chooses which metric it shows, or
- at minimum, the behavior change is documented in the changelog.
### Impact
Medium - Makes feature difficult to understand
### Additional Context
_No response_
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with the statusline documentation and changelog, the documentation surfaces identified in the issue, and compare their descriptions with the desktop app's compact indicator and expanded panel values. Done means clearly documenting which metric the indicator represents and the behavior change, or documenting an agreed setting if maintainers choose to provide one.
由索引模型根据 Issue 内容生成。
评估
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 62/100