diff --git a/pkg/agentic/commands.go b/pkg/agentic/commands.go index ebc7c8f..fd91418 100644 --- a/pkg/agentic/commands.go +++ b/pkg/agentic/commands.go @@ -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}) diff --git a/pkg/agentic/commands_test.go b/pkg/agentic/commands_test.go index ebce9f4..2c165a1 100644 --- a/pkg/agentic/commands_test.go +++ b/pkg/agentic/commands_test.go @@ -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")