fix(status): add space after AM indicator; add statusStyle setting to reduce noise - #8
Open
alexander-potemkin wants to merge 2 commits into
Conversation
Author
|
Hi! The PR is prepared with LLM - but I'm here to take all the shame and responsibility, if something is off! And thank you for the extension! |
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.
Summary
Two small improvements to the status line:
Add space after AM indicator —
AM●→AM ●, consistent with pi-landstrip's● Sandboxstyling. One-character fix in the template literal.Add
statusStylesetting —"full"(default, current behavior) or"minimal"(showAM ●alone until the first action is checked or blocked, then show counters). Eliminatesa:0 d:0startup noise while preserving the diagnostic signal when the classifier blocks something (d:1prompts you to check/automode denials).Why
The
a:0 d:0counters at session start add visual noise with no informational value — nothing has been classified yet. But completely hiding the counters loses the signal when denials happen. The "minimal" style is the middle ground: quiet at start, informative once the classifier is active.The spacing fix is cosmetic but makes the footer consistent across extensions.
Changes
extensions/auto-mode/state.ts: add space in template literal; respectstatusStylesettingextensions/auto-mode/types.ts: addStatusStyletype,statusStylefields inAutoModeSettingsandEffectiveConfigextensions/auto-mode/config.ts: readstatusStyleinbuildEffectiveConfigFromSourcesandapplyAutoModeScalars; default"full"tests/auto-mode.test.ts: update existing tests for spacing; add tests for minimal/full styles and config precedenceREADME.md: documentstatusStyleBackward compatibility
Default is
"full"— existing users see no behavior change except the added space (AM●→AM ●). The space-only change is cosmetic and unlikely to break anyone parsing the status line (it's a display string, not a machine interface).