liminal-cli 0.3.28

The liminal command: serve the network, maintain its stores, or serve its discovery MCP over stdio
Documentation
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(), 2);
    assert_eq!(entries[1]["name"], "templates_update");
    assert_eq!(entries[0]["inputSchema"], entries[1]["inputSchema"]);
    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());
    }
}