Remove Codex skill mention plumbing
This commit is contained in:
parent
6803802e13
commit
42df76747b
47 changed files with 108 additions and 1963 deletions
2
vendor/codex/codex-rs/protocol/src/models.rs
vendored
2
vendor/codex/codex-rs/protocol/src/models.rs
vendored
|
|
@ -944,7 +944,7 @@ impl From<Vec<UserInput>> for ResponseInputItem {
|
|||
Err(err) => vec![local_image_error_placeholder(&path, err)],
|
||||
}
|
||||
}
|
||||
UserInput::Skill { .. } | UserInput::Mention { .. } => Vec::new(), // Tool bodies are injected later in core
|
||||
UserInput::Mention { .. } => Vec::new(),
|
||||
})
|
||||
.collect::<Vec<ContentItem>>(),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,15 +27,10 @@ pub enum UserInput {
|
|||
/// `Image` variant (base64 data URL) during request serialization.
|
||||
LocalImage { path: std::path::PathBuf },
|
||||
|
||||
/// Skill selected by the user (name + path to SKILL.md).
|
||||
Skill {
|
||||
name: String,
|
||||
path: std::path::PathBuf,
|
||||
},
|
||||
/// Explicit structured mention selected by the user.
|
||||
///
|
||||
/// `path` identifies the exact mention target, for example
|
||||
/// `mcp://<server-name>` or a path to `SKILL.md`.
|
||||
/// `mcp://<server-name>`.
|
||||
Mention { name: String, path: String },
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue