Repository navigation
code-status-bar: keep context visible, pin engine, add reset/cache/usable fields - #4
Merged
Merged
Conversation
…able fields Fixes the context bar intermittently disappearing: - Context bar now leads line 1. ccstatusline truncates overflowing lines from the right, so at the end of the line it vanished in panes under ~185 cols. - Pin ccstatusline 2.2.32 into ~/.config/ccstatusline/engine and run it via scripts/statusline.sh. `npx -y ccstatusline@latest` hit the npm registry on every render (~1s) and hung ~70s with no output when it was unreachable. - statusline.sh forwards the payload to Orca's hook when present, so Orca no longer has to replace the status line. - Configs migrated to ccstatusline's v4 schema (hide flags). New fields: session reset clock time, % of usable context before auto-compaction, prompt-cache countdown (1h TTL), weekday on weekly reset. Adds tests for the layout, schema, and wrapper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
The context-window bar intermittently disappeared. Three causes, all reproduced:
npx -y ccstatusline@latestqueried the npm registry on every render (~1s). With the registry unreachable it hung ~70s with no output, so the whole bar went blank.statusLinewith its own hook, which prints nothing.What changed
install.shpins ccstatusline 2.2.32 into~/.config/ccstatusline/engine; newscripts/statusline.shruns it with no network on the render path (0.4s per render) and forwards the payload to Orca's hook when present.hideflags).Tests
npm testincode-status-bar: 12/12 pass. Newtest/config.test.cjsfails 4/5 against the old configs.🤖 Generated with Claude Code