Support admin scope skills. (#8296)

a new scope reads from /etc/codex
This commit is contained in:
xl-openai authored and GitHub committed 2025-12-19 02:28:56 +00:00
1 parent d35337227a
commit 8120c8765b
3 files changed
+61 -2

No files matched your search

@@ -1081,6 +1081,7 @@ pub enum SkillScope {
User,
Repo,
System,
Admin,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
@@ -1131,6 +1132,7 @@ impl From<CoreSkillScope> for SkillScope {
CoreSkillScope::User => Self::User,
CoreSkillScope::Repo => Self::Repo,
CoreSkillScope::System => Self::System,
CoreSkillScope::Admin => Self::Admin,
}
}
}