feat: add support for meta plugin options and outputs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -76,6 +76,16 @@ pub trait MetaPlugin {
|
||||
crate::db::store_meta(conn, meta)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// Configure plugin with options
|
||||
fn configure(&mut self, _options: &std::collections::HashMap<String, serde_yaml::Value>) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// Get output name mapping
|
||||
fn get_output_name(&self, default_name: &str) -> String {
|
||||
default_name.to_string()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_meta_plugin(meta_plugin_type: MetaPluginType) -> Box<dyn MetaPlugin> {
|
||||
|
||||
Reference in New Issue
Block a user