agent-graph-mcp 0.2.5

MCP server for graph-orchestrated LLM workflows — 25 typed tools, daemon/proxy architecture, checkpoint/resume, HITL approvals, HMAC receipts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[path = "../src/daemon.rs"]
mod daemon;
#[path = "../src/lifecycle.rs"]
mod lifecycle;
#[path = "../src/migrations.rs"]
mod migrations;
#[test]
fn second_daemon_fails_before_opening_database() {
    let d = tempfile::tempdir().unwrap();
    let (_lock, _db) = daemon::open_owned(d.path(), "a").unwrap();
    let e = daemon::DaemonLock::acquire(d.path()).unwrap_err();
    assert_eq!(e.code(), "DATA_DIR_ALREADY_OWNED");
}
#[test]
fn timeout_is_completion_unknown_and_requests_cancel() {
    let d = lifecycle::synchronous_timeout();
    assert!(d.completion_unknown && d.cancellation_requested);
}