Add Session Indicators with Customizable Prompt Styles#4
Closed
Add Session Indicators with Customizable Prompt Styles#4
Conversation
Add visual indicators to show when you're inside an NDS session: - Terminal title shows "NDS: session-name" - Configurable prompt prefix with NDS_PROMPT_STYLE: - subtle (default): ⬢ symbol prefix - full: [nds:session-name] prefix - minimal: [nds] prefix - none: disabled - Works with bash, zsh, and other shells - Non-invasive: doesn't modify user config files - Automatic setup on session creation and attach 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Add interactive demo preview showing key NDS features: - Session indicator examples (⬢ and [nds:name] styles) - Session management output - TUI interface preview - Placeholder for future asciinema recording Improves user onboarding by showing actual usage examples before installation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <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.
Summary
This PR adds visual session indicators to help users know when they're inside an NDS session. The implementation is completely automatic and non-invasive.
Features Added
NDS: session-namein terminal window titleNDS_PROMPT_STYLEIndicator Styles
Users can control the appearance with the
NDS_PROMPT_STYLEenvironment variable:subtle(default): ⬢ symbol prefixfull: [nds:session-name] prefixminimal: [nds] prefixnone: completely disabledImplementation Details
Testing
Test Plan
🤖 Generated with Claude Code