Skip to main content

Crate heartbeat_rs

Crate heartbeat_rs 

Source
Expand description

heartbeat-rs: Stop hook and PTY launcher for autonomous Claude Code agent loops.

This library provides the core primitives used by the heartbeat-stop stop hook binary, and the PTY spawn layer used by the heartbeat-launch binary (feature-gated behind --features launch).

Re-exports§

pub use error::HeartbeatError;
pub use error::Result;

Modules§

error
Error types for the heartbeat-rs library.
hook
Stop hook protocol and state machine.
in_flight
.in-flight artifact: the on-disk sentinel for mid-delivery entries.
inbox
Byte-offset JSONL inbox reader.
recover
Orphan recovery: the heartbeat-stop recover subcommand.