diff --git a/pkg/agentic/commands.go b/pkg/agentic/commands.go index 4710e05..17b4edc 100644 --- a/pkg/agentic/commands.go +++ b/pkg/agentic/commands.go @@ -74,6 +74,7 @@ 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("agentic: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}) diff --git a/pkg/agentic/commands_test.go b/pkg/agentic/commands_test.go index 1ae2433..0ff12e8 100644 --- a/pkg/agentic/commands_test.go +++ b/pkg/agentic/commands_test.go @@ -1498,6 +1498,7 @@ 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, "agentic:prompt") assert.Contains(t, cmds, "prompt_version") assert.Contains(t, cmds, "agentic:prompt_version") assert.Contains(t, cmds, "prompt/version") diff --git a/pkg/agentic/prep_test.go b/pkg/agentic/prep_test.go index bd3124d..71eafae 100644 --- a/pkg/agentic/prep_test.go +++ b/pkg/agentic/prep_test.go @@ -745,6 +745,8 @@ func TestPrep_OnStartup_Good_RegistersGenerateCommand(t *testing.T) { assert.Contains(t, c.Commands(), "agentic:review-queue") assert.Contains(t, c.Commands(), "flow/preview") assert.Contains(t, c.Commands(), "agentic:flow/preview") + assert.Contains(t, c.Commands(), "prompt") + assert.Contains(t, c.Commands(), "agentic:prompt") assert.Contains(t, c.Commands(), "prompt/version") assert.Contains(t, c.Commands(), "agentic:prompt/version") assert.True(t, c.Action("agentic.prompt.version").Exists())