fix: update binary and system meta plugin implementations

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:34:56 -03:00
parent 293380600e
commit 9d53141af7
2 changed files with 19 additions and 7 deletions

View File

@@ -126,11 +126,11 @@ impl MetaPlugin for BinaryMetaPlugin {
}
fn outputs(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.base.outputs
self.base.outputs()
}
fn outputs_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
&mut self.base.outputs
self.base.outputs_mut()
}
fn default_outputs(&self) -> Vec<String> {
@@ -138,7 +138,11 @@ impl MetaPlugin for BinaryMetaPlugin {
}
fn options(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.base.options
self.base.options()
}
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
self.base.options_mut()
}
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {

View File

@@ -163,11 +163,11 @@ impl MetaPlugin for UidMetaPlugin {
}
fn outputs(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.outputs
&self.base.outputs
}
fn outputs_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
&mut self.outputs
&mut self.base.outputs
}
fn default_outputs(&self) -> Vec<String> {
@@ -179,7 +179,7 @@ impl MetaPlugin for UidMetaPlugin {
}
fn options(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.options
&self.base.options
}
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
@@ -275,7 +275,11 @@ impl MetaPlugin for UserMetaPlugin {
}
fn options(&self) -> &std::collections::HashMap<String, serde_yaml::Value> {
&self.options
&self.base.options
}
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
&mut self.base.options
}
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
@@ -374,6 +378,10 @@ impl MetaPlugin for GidMetaPlugin {
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
&mut self.options
}
fn options_mut(&mut self) -> &mut std::collections::HashMap<String, serde_yaml::Value> {
&mut self.options
}
}
#[derive(Debug, Clone, Default)]