Skip to main content

agent_shell_parser/
lib.rs

1pub mod hook;
2pub mod parse;
3
4#[derive(Debug, thiserror::Error)]
5#[non_exhaustive]
6pub enum Error {
7    #[error("failed to read stdin: {0}")]
8    Stdin(#[from] std::io::Error),
9    #[error("failed to parse JSON input: {0}")]
10    Json(#[from] serde_json::Error),
11}