feat(cli): add /plan command (#67264)

Generate a structured execution plan without executing tools.
Uses _pending_agent_seed injection (same pattern as /moa).
This commit is contained in:
webtecnica
2026-07-19 00:29:26 -03:00
committed by Teknium
parent 56a5eb09ef
commit 5c6e5e7ea3
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -12862,6 +12862,8 @@ class HermesCLI(CLIAgentSetupMixin, CLICommandsMixin, CLIBillingMixin):
self._handle_review_command(cmd_original)
elif canonical == "loop":
self._handle_loop_command(cmd_original)
elif canonical == "plan":
self._handle_plan_command(cmd_original)
elif canonical == "moa":
# /moa is one-shot sugar only: run a single prompt through the
# default MoA preset, then restore the prior model. To *switch* to a
+2
View File
@@ -227,6 +227,8 @@ COMMAND_REGISTRY: list[CommandDef] = [
aliases=("proactive",),
args_hint="[interval] <prompt> [--times N] [--until <condition>] | status | pause | resume | stop",
argument_mode="mixed", busy_policy="dispatch", busy_handler="loop"),
CommandDef("plan", "Write a markdown implementation plan to .hermes/plans/ without executing anything", "Session",
args_hint="[task]"),
CommandDef("moa", "Run one prompt through the default Mixture of Agents preset, then restore your model", "Session",
args_hint="<prompt>", busy_policy="reject", busy_handler="moa"),
CommandDef("subgoal", "Add or manage extra criteria on the active goal", "Session",