Skip to main content

heartbeat_rs/
lib.rs

1//! heartbeat-rs: Stop hook and PTY launcher for autonomous Claude Code agent loops.
2//!
3//! This library provides the core primitives used by the `heartbeat-stop` stop hook
4//! binary, and the PTY spawn layer used by the `heartbeat-launch` binary (feature-gated
5//! behind `--features launch`).
6
7pub mod error;
8pub use error::{HeartbeatError, Result};
9
10pub mod hook;
11pub mod in_flight;
12pub mod inbox;
13#[cfg(feature = "launch")]
14pub mod pty;
15pub mod recover;