Remove Codex skill mention plumbing

This commit is contained in:
Meta Vens 2026-05-14 01:55:09 +01:00
commit 42df76747b
47 changed files with 108 additions and 1963 deletions

View file

@ -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>>(),
}

View file

@ -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 },
}