diff --git a/pkg/agentic/prep_test.go b/pkg/agentic/prep_test.go index 308e7dc..e6d0dfb 100644 --- a/pkg/agentic/prep_test.go +++ b/pkg/agentic/prep_test.go @@ -655,6 +655,7 @@ func TestPrep_RegisterTools_Good_RegistersCompletionTool(t *testing.T) { } assert.Contains(t, toolNames, "agentic_complete") + assert.Contains(t, toolNames, "prompt_version") assert.Contains(t, toolNames, "agentic_prompt_version") assert.Contains(t, toolNames, "session_complete") assert.Contains(t, toolNames, "agentic_message_send") diff --git a/pkg/agentic/prompt_version.go b/pkg/agentic/prompt_version.go index fcf7a5e..b70cd7c 100644 --- a/pkg/agentic/prompt_version.go +++ b/pkg/agentic/prompt_version.go @@ -54,6 +54,11 @@ func (s *PrepSubsystem) promptVersion(_ context.Context, _ *mcp.CallToolRequest, } func (s *PrepSubsystem) registerPromptTools(server *mcp.Server) { + mcp.AddTool(server, &mcp.Tool{ + Name: "prompt_version", + Description: "Read the current prompt snapshot for a workspace.", + }, s.promptVersionTool) + mcp.AddTool(server, &mcp.Tool{ Name: "agentic_prompt_version", Description: "Read the current prompt snapshot for a workspace.",