//! OS hook — shell tool for agents.
//!
//! Registers the `bash` tool schema. Dispatch method lives on
//! [`DaemonHook`](crate::hook::DaemonHook). Access control is handled by
//! the permission layer in `dispatch_tool`.
use Write;
pub use ;
pub
/// Build an `<environment>` XML block with OS, working directory, and sandbox
/// state. Appended to every agent's system prompt.