nyx_agent_nyx/lib.rs
1//! Pure subprocess driver around the upstream `nyx` static scanner.
2//!
3//! This crate is published so the `nyx-agent` binary can be installed
4//! from crates.io with versioned internal dependencies. It is an
5//! implementation detail of Nyx Agent, not a stable public API.
6//!
7//! No FFI. No source-level dependency on the scanner. The agent only ever
8//! talks to `nyx` through `argv` + `stdout`, which keeps the
9//! GPL-licensed scanner cleanly outside the agent's link graph (see
10//! `LICENSE-GRANTS.md`).
11
12pub mod diag;
13pub mod error;
14pub mod harness_spec;
15pub mod lane;
16pub mod runner;
17
18pub use diag::{Diag, FlowStep};
19pub use error::NyxError;
20pub use harness_spec::{HarnessSpec, HarnessSpecValidationError};
21pub use lane::NyxScanLane;
22pub use runner::{NyxRunner, ScanOptions, ScanOutcome, MINIMUM_NYX_VERSION};