refactor(commands): drop /provider, /plan handler, and clean up slash registry#15047
Merged
Conversation
nekorytaylor666
pushed a commit
to nekorytaylor666/hermes-agent
that referenced
this pull request
Apr 24, 2026
… registry (NousResearch#15047) * refactor(commands): drop /provider and clean up slash registry * refactor(commands): drop /plan special handler — use plain skill dispatch
justrhoto
pushed a commit
to justrhoto/hermes-agent
that referenced
this pull request
Apr 24, 2026
… registry (NousResearch#15047) * refactor(commands): drop /provider and clean up slash registry * refactor(commands): drop /plan special handler — use plain skill dispatch
This was referenced Apr 27, 2026
ulasbilgen
pushed a commit
to ulasbilgen/hermes-adhd-agent
that referenced
this pull request
May 1, 2026
… registry (NousResearch#15047) * refactor(commands): drop /provider and clean up slash registry * refactor(commands): drop /plan special handler — use plain skill dispatch
aj-nt
pushed a commit
to aj-nt/hermes-agent
that referenced
this pull request
May 1, 2026
… registry (NousResearch#15047) * refactor(commands): drop /provider and clean up slash registry * refactor(commands): drop /plan special handler — use plain skill dispatch
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
… registry (NousResearch#15047) * refactor(commands): drop /provider and clean up slash registry * refactor(commands): drop /plan special handler — use plain skill dispatch
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
… registry (NousResearch#15047) * refactor(commands): drop /provider and clean up slash registry * refactor(commands): drop /plan special handler — use plain skill dispatch
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
… registry (NousResearch#15047) * refactor(commands): drop /provider and clean up slash registry * refactor(commands): drop /plan special handler — use plain skill dispatch
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.
Drops
/provider, drops/plan's special handler, and fixes registry bugs found in the same audit.Summary
/provider— read-only info display duplicating what/model(no args) and/statusalready cover./planspecial handler —/plannow flows through the generic skill-dispatch path like any other bundled skill. Theplanskill atskills/software-development/plan/SKILL.mdis self-contained and already describes the.hermes/plans/output convention./planwas never registered;/snapshot,/gquota,/skin,/reloadhad no gateway handler but were registered as cross-platform.Changes
/providerremovedhermes_cli/commands.py— CommandDef + stale commentcli.py— dispatch +_show_model_and_providersmethod (73 LOC)gateway/run.py— dispatch +_handle_provider_commandmethod (57 LOC)gateway/platforms/discord.py— Discord slash registrationhermes_cli/models.py— stale commentreference/slash-commands.md,user-guide/messaging/index.md,autonomous-ai-agents/hermes-agent.mdtest_command_bypass_active_session.py,test_platform_commands.py/planspecial-handler removed (uses generic skill dispatch now)cli.py—_handle_plan_commandmethod + early dispatch +build_plan_pathimportgateway/run.py—canonical == "plan"early blocktui_gateway/server.py—if name == "plan":blockagent/skill_commands.py—build_plan_pathfunction + unused_PLAN_SLUG_RE/datetimeimports + module docstringtests/cli/test_cli_plan_command.pyandtests/gateway/test_plan_command.py(tested behavior that no longer exists); removedTestPlanSkillHelpersfromtests/agent/test_skill_commands.py; removed/plancase fromui-tui/.../createSlashHandler.test.ts(redundant with the existing generic skill-dispatch test)/planrows fromreference/slash-commands.mdand rewordedfeatures/skills.mdRegistry audit fixes
/snapshot,/gquota,/skin,/reload— markedcli_only=True(they had no gateway handler; stop advertising them in gateway help / Telegram menu / Discord auto-registration)tests/hermes_cli/test_commands.py::test_excludes_cli_only_commands_without_config_gate— substring check flagged/reload-mcpas matching/reload; switched to word-boundary regextests/gateway/test_discord_slash_commands.py::test_auto_registers_missing_gateway_commands— dropped/reloadfromexpected_autosetValidation
test_skill_commands+gateway/test_command_bypass_active_session+hermes_cli/test_commands+e2e/test_platform_commandstests/gateway/+tests/hermes_cli/+tests/agent/+tests/cli/main)/providergone everywhere;/planabsent fromCOMMAND_REGISTRY;build_plan_pathremoved; CLI falls through to generic skill dispatchNet diff: +23 / -535 across 19 files.