noxid-cli 0.2.1

The Noxid compiler command line: check, build, test, adapt, and the agent surface
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::path::Path;
use std::process::Command;

#[test]
fn openapi_to_llms_generator_is_deterministic_and_fails_closed() {
    let root = Path::new(env!("CARGO_MANIFEST_DIR")).join("../..");
    let output = Command::new("node")
        .args(["--test", "tools/openapi-to-llms.test.mjs"])
        .current_dir(&root)
        .output()
        .expect("Node.js is required for the llms API section tests");
    assert!(
        output.status.success(),
        "{}\n{}",
        String::from_utf8_lossy(&output.stdout),
        String::from_utf8_lossy(&output.stderr)
    );
}