liminal-cli 0.3.1

The liminal command: serve the network, maintain its stores, or serve its discovery MCP over stdio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::tool_entries;
use serde_json::json;

#[test]
fn proposal_requires_the_exact_invocation_but_not_server_owned_fields() {
    let entries = tool_entries();
    assert_eq!(entries.len(), 1);
    let schema = &entries[0]["inputSchema"];
    assert_eq!(
        schema["required"],
        json!(["service", "command", "args", "env", "stop_timeout_ms"])
    );
    assert_eq!(schema["additionalProperties"], false);
    for name in ["digest", "subjects", "approved_by", "pass", "token"] {
        assert!(schema["properties"].get(name).is_none());
    }
}