Repository navigation
feat(plugin): one status-line timer, no cold segment, pinged in cyan; remove 12 deprecated stubs - #660
Merged
Conversation
… remove 12 deprecated stubs Status line - One clock only: the main agent's cache. The per-agent list is off by default (--show=agents restores it); the mods show sub-agents. - The clock no longer alternates between two values. The proxy's copy was trusted for 3 s and then Claude Code's own expiry won whenever it was later, flipping back at each refresh (the copy is refreshed every 10 s). The proxy now drives the clock while its copy is under 11 s old. - A cold main cache leaves out the cache and next segments entirely. - A cache kept warm by pings (last touch a ping, or a keep-alive plan) is drawn in cyan with the loop mark; otherwise green, amber in the last minute, red in the last 15 s. - The saved figure shows what manual pings saved (manual_pings in /api/stats), e.g. `↻ $0.84`. Stubs - Delete the 12 "moved, kept for one release" skills (savings, cost-trends, insights-components, cache, cost-cold, cost-compact, insights-idle, waste, cost-unused, insights-capabilities, cost-today, adapt) and the Codex copies, their cg.py aliases (savings, cache, waste, adapt) and goldens, and the docs tables. A guard test keeps them deleted. Assisted-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Osher Elhadad <[email protected]>
added 2 commits
October 22, 2026 11:28
Assisted-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Osher Elhadad <[email protected]>
A refresh delayed by back-off or a slow server let Claude Code's own expiry win at 11 s and the timer jump again. The context bar keeps its 11 s cutoff for the token count. Assisted-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Osher Elhadad <[email protected]>
amiddavid
added a commit
that referenced
this pull request
Oct 22, 2026
…0.2.4) (#673) chore(plugin): bump the plugins for v0.5.4 (Claude Code 0.5.4, Codex 0.2.4) Both plugins changed in this release, so installed plugins must update. - Claude Code plugin: the new band and pane (#659), one status-line timer and the 12 old commands removed (#660), the Ping header and ping reasons (#667), and the save-more settings card (#648). - Codex plugin: the vendored cg.py and the save-more settings card from #648, #660 and #667. Assisted-By: Claude Signed-off-by: DAVID AMID <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round 2, sections A (status line) and C (stubs) for the OSS plugin.
Status line
--show=agentsrestores it); the mods show sub-agents.TestStatuslineMainClockDoesNotAlternateBetweenSources(red before)._cache_viewtrusted the proxy's cachestate copy for only 3 s (cs_age <= 3), then let Claude Code's ownprompt_cache.expires_atwin whenever it was later. The copy is refreshed every 10 s, so the clock read ~4:00 right after a refresh, jumped to ~4:09 three seconds later, and dropped back at the next refresh. The proxy now drives the clock while its copy is under 11 s old. The context bar's used-tokens override used the same 3 s cutoff and is aligned. Separately, the line could show a second clock next to the main one (agent ● 4:55,agents 2 · soonest); that is gone with the default layouts.saved $0.31 of $2.10 session ↻ $0.84oncemanual_pings.count > 0(saved_usdis already net of the ping cost). Hidden at zero or on older servers.Stubs
Deleted the 12 skills (and the 7 that existed in the Codex marketplace), the
cg.pyaliases whose only purpose was a stub (savings,cache,waste,adapt;insights savings|cache|toolsare the real entry points), their goldens, and the doc tables.TestDeprecatedStubSkillsStayDeletedkeeps them gone.cg.pystill redirects a write typed under a read command.Tests
Full
go test ./context-guru-plugin/passes. Goldens updated deliberately: cold cases lose the cache segment; agent-list cases now run with--show=agents.