feat(auth): support named credentials with manual selection + session-scoped auth (#76937) - #77583
Open
TCK0423 wants to merge 4 commits into
Open
feat(auth): support named credentials with manual selection + session-scoped auth (#76937)#77583TCK0423 wants to merge 4 commits into
TCK0423 wants to merge 4 commits into
Conversation
With 60+ skills installed, 'hermes skills list' is a flat list that gets hard to navigate. This adds named skill groups: - hermes skills group add <group> <skill> [skill ...] — create a group and associate skills with it (dedupes, warns about skills that are not currently installed) - hermes skills group remove <group> [skill ...] — remove skills from a group, or delete the whole group (rm alias) - hermes skills group list (ls) — show groups and members, --json for scripting - hermes skills list --group <name> — filter the installed-skills table to a group; unknown groups print an error listing available groups Groups are stored in config.yaml under skills.groups (group name -> list of skill names), consistent with how skills.disabled is persisted. They are purely organizational and do not change how skills load. Also wires --group through the /skills list slash command. Closes NousResearch#76830
… /skills list Cherry-picks webtecnica's PR NousResearch#76985 (skill group organization) and fixes the two blocking slash-command parser issues: - /skills list --group (no value) now prints an error instead of listing unfiltered - /skills list --group --source hub now rejects the flag-like value instead of consuming --source as the group name Includes the full NousResearch#76985 feature set: skills.groups config, hermes skills group add/remove/list, and --group filter on hermes skills list. Co-authored-by: webtecnica <webtecnica@gmail.com>
… env var Builds on webtecnica's PR NousResearch#76987 (named credential persistence) and fixes the three blocking issues from teknium1's review: 1. acquire_lease() now narrows to default_auth like select() does, so delegated subagent tasks respect the configured credential name. 2. Added HERMES_AUTH_NAME env var for per-session credential override (precedes config default_auth). This enables hermes chat --auth <name>. 3. Regression tests for session-env override, fallback, and acquire_lease narrowing. Co-authored-by: webtecnica <webtecnica@gmail.com>
Collaborator
Open
19 tasks
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
Cherry-picks webtecnica's PR #76987 and fixes the three blocking issues from teknium1's review.
What this PR adds
hermes auth add openrouter --api-key sk-or-xxx --name daily— name credentials at add timedefault_authin config.yaml — profile-wide default credential name per providerselect()andpeek()narrow to named credential when available; fall back to auto-rotate when exhaustedFixes vs original PR #76987
acquire_lease()now narrows todefault_auth— delegated subagent tasks respect the configured credential name.HERMES_AUTH_NAMEenv var for per-session credential override (precedes configdefault_auth).Verification
Co-authored-by: webtecnica webtecnica@gmail.com