Skip to main content

nyx_agent_types/
lib.rs

1//! Shared serde structs, enums, and event-bus types used by every other
2//! nyx-agent crate.
3//!
4//! This crate is published so the `nyx-agent` binary can be installed
5//! from crates.io with versioned internal dependencies. It is an
6//! implementation detail of Nyx Agent, not a stable public API.
7
8pub mod agent;
9pub mod api;
10pub mod attack_graph;
11pub mod budget;
12pub mod business_logic;
13pub mod chain;
14pub mod event;
15pub mod finding;
16pub mod integration;
17pub mod live_plan;
18pub mod novel;
19pub mod payload;
20pub mod product;
21pub mod project;
22pub mod repo;
23pub mod run;
24pub mod spec;
25pub mod trace;
26pub mod verify;
27
28pub use event::{
29    AgentEvent, AiEvent, BudgetEvent, EventSink, EventStream, FindingEvent, QuarantineEvent,
30    RepoOutcomeTag, ReproEvent, RunEvent, SandboxEvent,
31};
32pub use live_plan::{
33    AuthzBrowserRoleComparisonPlan, AuthzObjectOwnershipPlan, AuthzOracle, AuthzOwnedObject,
34    AuthzRoleComparisonPlan, BrowserOracle, BrowserStep, BrowserWorkflowPlan, DifferentialHttpPlan,
35    DifferentialOracle, HttpOracle, HttpWorkflowPlan, LiveHttpRequest, LivePlanValidationError,
36    LiveTestPlan, NoPlanReason, NoPlanReasonCode, SingleHttpPlan,
37};
38pub use verify::{Oracle, VerifyResult, VerifyRun, VerifyVerdict};