feat(tui): show active skillsets from list-active in footer#394
Merged
feat(tui): show active skillsets from list-active in footer#394
Conversation
Replace the brittle two-source skillset display (nori_profile from .nori-config.json + session_skillset_name in-memory override) with a single call to `nori-skillsets list-active`. This command returns all active skillsets for the current directory, making the footer accurate and supporting multiple simultaneous skillsets. - Replace SystemInfo.nori_profile with active_skillsets: Vec<String> - Replace get_nori_profile() with get_active_skillsets(dir) that shells out to `nori-skillsets list-active` - Remove session_skillset_name from FooterProps, ChatComposer, BottomPane, and ChatWidget - Footer shows "Skillset: name" (singular) or "Skillsets: a, b" (plural) - Trigger system info refresh after skillset switch/install so the footer updates via the existing background worker 🤖 Generated with [Nori](https://noriagentic.com) Co-Authored-By: Nori <contact@tilework.tech>
The mock nori-skillsets script now dispatches on the first argument: - list-active: returns a test skillset name - everything else (including --version): returns version string Also update the full_footer snapshot to include the skillset display. 🤖 Generated with [Nori](https://noriagentic.com) Co-Authored-By: Nori <contact@tilework.tech>
When `nori-skillsets list-active` fails with stderr output (indicating the subcommand is unknown in older versions), fall back to reading .nori-config.json directly. When it fails without stderr (indicating no active skillsets found), return an empty vec as intended. 🤖 Generated with [Nori](https://noriagentic.com) Co-Authored-By: Nori <contact@tilework.tech>
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
🤖 Generated with Nori
nori_profilefrom.nori-config.json+session_skillset_namein-memory override) with a single call tonori-skillsets list-activeTest Plan
parse_active_skillsetsparsing logicShare Nori with your team: https://www.npmjs.com/package/nori-skillsets