mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
Keep hook visibility out of trust hashes
This commit is contained in:
@@ -1526,6 +1526,12 @@ pub enum HookVisibilityHint {
|
||||
Hidden,
|
||||
}
|
||||
|
||||
impl HookVisibilityHint {
|
||||
pub fn is_default(&self) -> bool {
|
||||
*self == Self::Default
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum HookOutputEntryKind {
|
||||
|
||||
Reference in New Issue
Block a user