mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
config: add repeatable UserInstructions declarations
This commit is contained in:
@@ -118,7 +118,7 @@ enum RawPluginManifestMcpServers {
|
||||
enum RawPluginManifestHooks {
|
||||
Path(String),
|
||||
Paths(Vec<String>),
|
||||
Inline(HooksFile),
|
||||
Inline(Box<HooksFile>),
|
||||
InlineList(Vec<HooksFile>),
|
||||
Invalid(JsonValue),
|
||||
}
|
||||
@@ -285,7 +285,7 @@ fn resolve_manifest_hooks(
|
||||
}
|
||||
RawPluginManifestHooks::Inline(hooks) => {
|
||||
Some(codex_plugin::manifest::PluginManifestHooks::Inline(vec![
|
||||
hooks,
|
||||
*hooks,
|
||||
]))
|
||||
}
|
||||
RawPluginManifestHooks::InlineList(hooks) => (!hooks.is_empty())
|
||||
|
||||
Reference in New Issue
Block a user