feat: add options to meta plugins
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
@@ -104,6 +104,10 @@ pub trait MetaPlugin {
|
||||
fn outputs(&self) -> &std::collections::HashMap<String, serde_yaml::Value>;
|
||||
fn outputs_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value>;
|
||||
|
||||
// Access to options mapping
|
||||
fn options(&self) -> &std::collections::HashMap<String, serde_yaml::Value>;
|
||||
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value>;
|
||||
|
||||
// Get the default output names this plugin can produce
|
||||
fn default_outputs(&self) -> Vec<String> {
|
||||
// Default implementation returns empty - plugins should override this
|
||||
|
||||
Reference in New Issue
Block a user