agent-berth 1.0.0

Monitor and resume coding agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;
use crate::paths::Context;
use tempfile::tempdir;

#[test]
fn ipc_failure_is_success() {
    let root = tempdir().unwrap();
    let ctx = Context::for_test(root.path(), &root.path().join("agent-berth"));
    send_payload(
        &ctx,
        "claude".into(),
        serde_json::json!({"session_id":"s","hook_event_name":"Stop"}),
    )
    .unwrap();
}