feat: add default implementations for outputs and options methods

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-26 17:33:57 -03:00
parent c6544ab034
commit 293380600e
2 changed files with 30 additions and 35 deletions

View File

@@ -40,6 +40,22 @@ impl BaseMetaPlugin {
pub fn new() -> Self {
Self::default()
}
pub fn outputs(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.outputs
}
pub fn outputs_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
&mut self.outputs
}
pub fn options(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.options
}
pub fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
&mut self.options
}
}
impl MetaPlugin for BaseMetaPlugin {