This project implements a secure and robust layer for interpreting and executing shell commands, designed to let an AI agent act safely on a user's behalf. It leverages Tree-Sitter to build an Abstract Syntax Tree (AST) for deep syntactic understanding, while a Registry defines the specific behavior and arguments of commands. To ensure security and reliability, the system performs rigorous Sanitization, handles complex Heredoc structures, and captures a Snapshot of the user's environment to preserve aliases and configurations.
Generated by Code IQ