feat(agentic): add prompt_version command aliases

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-01 23:01:28 +00:00
parent 2802aef6b4
commit 90a9eb256c
2 changed files with 4 additions and 0 deletions

View file

@ -62,6 +62,8 @@ func (s *PrepSubsystem) registerCommands(ctx context.Context) {
c.Command("status", core.Command{Description: "List agent workspace statuses", Action: s.cmdStatus})
c.Command("agentic:status", core.Command{Description: "List agent workspace statuses", Action: s.cmdStatus})
c.Command("prompt", core.Command{Description: "Build and display an agent prompt for a repo", Action: s.cmdPrompt})
c.Command("prompt_version", core.Command{Description: "Read the current prompt snapshot for a workspace", Action: s.cmdPromptVersion})
c.Command("agentic:prompt_version", core.Command{Description: "Read the current prompt snapshot for a workspace", Action: s.cmdPromptVersion})
c.Command("prompt/version", core.Command{Description: "Read the current prompt snapshot for a workspace", Action: s.cmdPromptVersion})
c.Command("agentic:prompt/version", core.Command{Description: "Read the current prompt snapshot for a workspace", Action: s.cmdPromptVersion})
c.Command("extract", core.Command{Description: "Extract a workspace template to a directory", Action: s.cmdExtract})

View file

@ -1380,6 +1380,8 @@ func TestCommands_RegisterCommands_Good_AllRegistered(t *testing.T) {
assert.Contains(t, cmds, "status")
assert.Contains(t, cmds, "agentic:status")
assert.Contains(t, cmds, "prompt")
assert.Contains(t, cmds, "prompt_version")
assert.Contains(t, cmds, "agentic:prompt_version")
assert.Contains(t, cmds, "prompt/version")
assert.Contains(t, cmds, "extract")
assert.Contains(t, cmds, "lang/detect")