haematite-cli 0.21.7

The haematite command: serve a store, its door and Studio, answer MCP, query with jq, and host the store's assistant seat
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::door::assistant_test_support::Result;
#[tokio::test(flavor = "current_thread")]
async fn r3_15_one_deadline_bounds_the_entire_draft_search() -> Result {
    let result = super::deadline(
        std::time::Duration::ZERO,
        std::future::pending::<
            std::result::Result<serde_json::Value, crate::serve::storage::Failure>,
        >(),
    )
    .await;
    let error = result
        .err()
        .ok_or_else(|| anyhow::anyhow!("unbounded draft search"))?;
    assert_eq!(error.code, "lys_draft_deadline");
    Ok(())
}