Skip to main content

Crate nyx_agent_types

Crate nyx_agent_types 

Source
Expand description

Shared serde structs, enums, and event-bus types used by every other nyx-agent crate.

This crate is published so the nyx-agent binary can be installed from crates.io with versioned internal dependencies. It is an implementation detail of Nyx Agent, not a stable public API.

Re-exports§

pub use event::AgentEvent;
pub use event::AiEvent;
pub use event::BudgetEvent;
pub use event::EventSink;
pub use event::EventStream;
pub use event::FindingEvent;
pub use event::QuarantineEvent;
pub use event::RepoOutcomeTag;
pub use event::ReproEvent;
pub use event::RunEvent;
pub use event::SandboxEvent;
pub use live_plan::AuthzBrowserRoleComparisonPlan;
pub use live_plan::AuthzObjectOwnershipPlan;
pub use live_plan::AuthzOracle;
pub use live_plan::AuthzOwnedObject;
pub use live_plan::AuthzRoleComparisonPlan;
pub use live_plan::BrowserOracle;
pub use live_plan::BrowserStep;
pub use live_plan::BrowserWorkflowPlan;
pub use live_plan::DifferentialHttpPlan;
pub use live_plan::DifferentialOracle;
pub use live_plan::HttpOracle;
pub use live_plan::HttpWorkflowPlan;
pub use live_plan::LiveHttpRequest;
pub use live_plan::LivePlanValidationError;
pub use live_plan::LiveTestPlan;
pub use live_plan::NoPlanReason;
pub use live_plan::NoPlanReasonCode;
pub use live_plan::SingleHttpPlan;
pub use verify::Oracle;
pub use verify::VerifyResult;
pub use verify::VerifyRun;
pub use verify::VerifyVerdict;

Modules§

agent
Shared types for the AI runtime layer.
api
Wire envelopes that don’t map 1:1 to a DB row.
attack_graph
Shared attack-graph row shapes.
budget
business_logic
Shared business-logic template metadata and run summary DTOs.
chain
AI-derived chain-reasoning schemas + persisted chains row.
event
finding
Shared finding-row shape.
integration
Project-scoped outbound integrations.
live_plan
Typed live verification plans.
novel
AI-discovered candidate finding schemas.
payload
AI-synthesised payload schemas.
product
Product-reset DTOs: launch profiles, environment runs, internal pentest signals/candidates, verification attempts, and verified vulnerabilities.
project
Shared project descriptor types.
repo
Shared repo descriptor types.
run
Shared run-row shape.
spec
AI-derived harness-spec schemas.
trace
Shared agent-trace row shape.
verify
Verifier wire types.