Documentation
¶
Overview ¶
Package validators provides centralized validation functions for resource names across the AgentRegistry CLI and services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAgentName ¶
ValidateAgentName checks if the agent name is valid. Allowed: lowercase letters and digits only, must start with a letter, minimum 2 characters. Not allowed: uppercase, underscores, dots, hyphens, or Python keywords.
func ValidateMCPServerName ¶
ValidateMCPServerName enforces DNS-1123 subdomain form.
func ValidateProjectName ¶
ValidateProjectName checks if the provided project name is valid for use as a directory name. This is a permissive check for filesystem safety, not a resource-name check.
func ValidatePromptName ¶ added in v0.4.0
ValidatePromptName enforces DNS-1123 subdomain form.
func ValidateSkillName ¶
ValidateSkillName enforces DNS-1123 subdomain form.
Types ¶
This section is empty.