mirror of
https://github.com/openai/codex.git
synced 2026-08-25 13:28:55 +00:00
## What changed - Define and export `RequirementsExecPolicy` from `codex-execpolicy`, alongside the underlying `Policy` type. - Re-export the type from `codex-config` so existing config consumers retain the same API. - Preserve its order-independent equality and `AsRef<Policy>` behavior. GitOrigin-RevId: e94c56b36824d07f2bc7ba14ce40bdb770d4ab46
34 lines
923 B
Rust
34 lines
923 B
Rust
pub(crate) mod amend;
|
|
pub(crate) mod decision;
|
|
pub(crate) mod error;
|
|
pub(crate) mod execpolicycheck;
|
|
mod executable_name;
|
|
pub(crate) mod parser;
|
|
pub(crate) mod policy;
|
|
pub mod rule;
|
|
mod sandbox_migration;
|
|
|
|
pub use amend::AmendError;
|
|
pub use amend::blocking_append_allow_prefix_rule;
|
|
pub use amend::blocking_append_network_rule;
|
|
pub use decision::Decision;
|
|
pub use error::Error;
|
|
pub use error::ErrorLocation;
|
|
pub use error::Result;
|
|
pub use error::TextPosition;
|
|
pub use error::TextRange;
|
|
pub use execpolicycheck::ExecPolicyCheckCommand;
|
|
pub use parser::PolicyParser;
|
|
pub use policy::Evaluation;
|
|
pub use policy::MatchOptions;
|
|
pub use policy::Policy;
|
|
pub use policy::RequirementsExecPolicy;
|
|
pub use rule::NetworkRuleProtocol;
|
|
pub use rule::PatternToken;
|
|
pub use rule::PrefixPattern;
|
|
pub use rule::PrefixRule;
|
|
pub use rule::Rule;
|
|
pub use rule::RuleMatch;
|
|
pub use rule::RuleRef;
|
|
pub use sandbox_migration::prefix_rule_migration;
|