Documentation
¶
Overview ¶
Package validation provides input validation functions for the Entire CLI. This package has no dependencies to avoid import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAgentID ¶
ValidateAgentID validates that an agent ID contains only safe characters for paths.
func ValidateAgentSessionID ¶
ValidateAgentSessionID validates that an agent session ID contains only safe characters for paths. Agent session IDs can be UUIDs (Claude Code), test identifiers, or other formats depending on the agent. This prevents path traversal attacks when the ID is used in file path construction.
func ValidateSessionID ¶
ValidateSessionID validates that a session ID doesn't contain path separators. This prevents path traversal attacks when session IDs are used in file paths.
func ValidateToolUseID ¶
ValidateToolUseID validates that a tool use ID contains only safe characters for paths. Tool use IDs can be UUIDs or prefixed identifiers like "toolu_xxx".
Types ¶
This section is empty.