Skip to main content

Module command_safety

Module command_safety 

Source
Expand description

Command safety and validation module

This module provides utilities for detecting potentially problematic commands that might hang, require interaction, or cause other issues. Based on WCGW’s command safety patterns.

Structs§

CommandContext
Command execution context
CommandSafety
Command safety analyzer

Constants§

DEFAULT_COMMAND_TIMEOUT
Default command timeout in seconds
MAX_OUTPUT_SIZE
Maximum output buffer size (1MB)