feat(cli): add permissions mode label to banner and status bar#2665
Closed
Mibayy wants to merge 1 commit into
Closed
feat(cli): add permissions mode label to banner and status bar#2665Mibayy wants to merge 1 commit into
Mibayy wants to merge 1 commit into
Conversation
Display a permissions label so users always know whether the agent is running in FULL ACCESS (--yolo) or RESTRICTED ACCESS mode. Changes: - hermes_cli/banner.py: show 'FULL ACCESS' (red) or 'RESTRICTED ACCESS' (green) line in the welcome banner below the model name - cli.py: append '⚠ FULL ACCESS' fragment to the bottom status bar when HERMES_YOLO_MODE is set (both the fragment renderer and the plain-text fallback) - cli.py: add 'status-bar-yolo' style (#FF4444 bold) for the status bar fragment Default behavior (no --yolo) is unchanged — RESTRICTED ACCESS is shown in green as a positive confirmation. The label is visible on first launch and persists in the status bar throughout the session. Closes NousResearch#2663
Collaborator
Collaborator
|
Competing PR #2721 |
Contributor
Author
|
???? @alt-glitch Why did you comment all my PR just to promote your PR ? the fuck xd |
Contributor
|
Merged via #26238 — your commit was cherry-picked onto current main with your authorship preserved in git log. Two small refinements during salvage:
Thanks for the contribution! |
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.
Problem
When running with
--yolo, there is no visible indication that all approval prompts are bypassed. Users may forget they launched in FULL ACCESS mode.Solution
Show a permanent permissions label in two places:
Welcome banner (below the model name):
⚠ FULL ACCESSin red when--yolois active✓ RESTRICTED ACCESSin green otherwise (positive confirmation)Status bar (bottom of the terminal, appended after duration):
⚠ FULL ACCESSin red (#FF4444 bold) only when--yolois active — no noise in the default caseFiles changed
hermes_cli/banner.py— permissions line in the welcome bannercli.py—⚠ FULL ACCESSfragment in_get_status_bar_fragments()and_build_status_bar_text()fallback; newstatus-bar-yolostyleNotes
Closes #2663