Skip to main content

Crate shellfirm

Crate shellfirm 

Source

Re-exports§

pub use config::value_set;
pub use config::AgentConfig;
pub use config::Challenge;
pub use config::Config;
pub use config::InheritOr;
pub use config::LlmConfig;
pub use config::Mode;
pub use config::ResolvedSettings;
pub use config::Settings;
pub use config::SeverityEscalationConfig;
pub use config::WrapperToolConfig;
pub use config::WrappersConfig;
pub use config::DEFAULT_ENABLED_GROUPS;

Modules§

agent
AI agent guardrails — non-interactive decision mode for agent-originated commands.
audit
Audit trail — optional local log of every intercepted command.
blast_radius
Blast radius — runtime impact computation for matched checks.
checks
Manage command checks
config
Manage the app configuration by creating, deleting and modify the configuration
context
Runtime context detection.
env
Environment abstraction for testability.
error
Typed error types for shellfirm.
llm
LLM-powered semantic command analysis (feature-gated behind llm).
mcp
MCP (Model Context Protocol) server — exposes shellfirm as an MCP tool server.
parser
Shell-aware command parser and normalizer.
policy
Project-level policies (.shellfirm.yaml) and the optional org policy.
prompt
Challenge prompts and the Prompter trait for testability.
tui
Terminal UI for shellfirm config.
wrap
PTY proxy for wrapping interactive programs (psql, mysql, redis-cli, etc.).

Structs§

CmdExit