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:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user