refactor: rename is_saved to is_finalized in system meta plugins
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -6,7 +6,7 @@ use crate::meta_plugin::MetaPlugin;
|
|||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct CwdMetaPlugin {
|
pub struct CwdMetaPlugin {
|
||||||
meta_name: String,
|
meta_name: String,
|
||||||
is_saved: bool,
|
is_finalized: bool,
|
||||||
base: crate::meta_plugin::BaseMetaPlugin,
|
base: crate::meta_plugin::BaseMetaPlugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ impl CwdMetaPlugin {
|
|||||||
|
|
||||||
CwdMetaPlugin {
|
CwdMetaPlugin {
|
||||||
meta_name: "cwd".to_string(),
|
meta_name: "cwd".to_string(),
|
||||||
is_saved: false,
|
is_finalized: false,
|
||||||
base,
|
base,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -212,7 +212,7 @@ impl MetaPlugin for UserMetaPlugin {
|
|||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct ShellMetaPlugin {
|
pub struct ShellMetaPlugin {
|
||||||
meta_name: String,
|
meta_name: String,
|
||||||
is_saved: bool,
|
is_finalized: bool,
|
||||||
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
options: std::collections::HashMap<String, serde_yaml::Value>,
|
options: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
}
|
}
|
||||||
@@ -244,7 +244,7 @@ impl ShellMetaPlugin {
|
|||||||
|
|
||||||
ShellMetaPlugin {
|
ShellMetaPlugin {
|
||||||
meta_name: "shell".to_string(),
|
meta_name: "shell".to_string(),
|
||||||
is_saved: false,
|
is_finalized: false,
|
||||||
outputs: final_outputs,
|
outputs: final_outputs,
|
||||||
options: final_options,
|
options: final_options,
|
||||||
}
|
}
|
||||||
@@ -324,7 +324,7 @@ impl MetaPlugin for ShellMetaPlugin {
|
|||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct ShellPidMetaPlugin {
|
pub struct ShellPidMetaPlugin {
|
||||||
meta_name: String,
|
meta_name: String,
|
||||||
is_saved: bool,
|
is_finalized: bool,
|
||||||
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
options: std::collections::HashMap<String, serde_yaml::Value>,
|
options: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
}
|
}
|
||||||
@@ -356,7 +356,7 @@ impl ShellPidMetaPlugin {
|
|||||||
|
|
||||||
ShellPidMetaPlugin {
|
ShellPidMetaPlugin {
|
||||||
meta_name: "shell_pid".to_string(),
|
meta_name: "shell_pid".to_string(),
|
||||||
is_saved: false,
|
is_finalized: false,
|
||||||
outputs: final_outputs,
|
outputs: final_outputs,
|
||||||
options: final_options,
|
options: final_options,
|
||||||
}
|
}
|
||||||
@@ -436,7 +436,7 @@ impl MetaPlugin for ShellPidMetaPlugin {
|
|||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct KeepPidMetaPlugin {
|
pub struct KeepPidMetaPlugin {
|
||||||
meta_name: String,
|
meta_name: String,
|
||||||
is_saved: bool,
|
is_finalized: bool,
|
||||||
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
options: std::collections::HashMap<String, serde_yaml::Value>,
|
options: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
}
|
}
|
||||||
@@ -468,7 +468,7 @@ impl KeepPidMetaPlugin {
|
|||||||
|
|
||||||
KeepPidMetaPlugin {
|
KeepPidMetaPlugin {
|
||||||
meta_name: "keep_pid".to_string(),
|
meta_name: "keep_pid".to_string(),
|
||||||
is_saved: false,
|
is_finalized: false,
|
||||||
outputs: final_outputs,
|
outputs: final_outputs,
|
||||||
options: final_options,
|
options: final_options,
|
||||||
}
|
}
|
||||||
@@ -545,7 +545,7 @@ impl MetaPlugin for KeepPidMetaPlugin {
|
|||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct HostnameMetaPlugin {
|
pub struct HostnameMetaPlugin {
|
||||||
meta_name: String,
|
meta_name: String,
|
||||||
is_saved: bool,
|
is_finalized: bool,
|
||||||
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
options: std::collections::HashMap<String, serde_yaml::Value>,
|
options: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
}
|
}
|
||||||
@@ -577,7 +577,7 @@ impl HostnameMetaPlugin {
|
|||||||
|
|
||||||
HostnameMetaPlugin {
|
HostnameMetaPlugin {
|
||||||
meta_name: "hostname".to_string(),
|
meta_name: "hostname".to_string(),
|
||||||
is_saved: false,
|
is_finalized: false,
|
||||||
outputs: final_outputs,
|
outputs: final_outputs,
|
||||||
options: final_options,
|
options: final_options,
|
||||||
}
|
}
|
||||||
@@ -657,7 +657,7 @@ impl MetaPlugin for HostnameMetaPlugin {
|
|||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
pub struct FullHostnameMetaPlugin {
|
pub struct FullHostnameMetaPlugin {
|
||||||
meta_name: String,
|
meta_name: String,
|
||||||
is_saved: bool,
|
is_finalized: bool,
|
||||||
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
outputs: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
options: std::collections::HashMap<String, serde_yaml::Value>,
|
options: std::collections::HashMap<String, serde_yaml::Value>,
|
||||||
}
|
}
|
||||||
@@ -689,7 +689,7 @@ impl FullHostnameMetaPlugin {
|
|||||||
|
|
||||||
FullHostnameMetaPlugin {
|
FullHostnameMetaPlugin {
|
||||||
meta_name: "full_hostname".to_string(),
|
meta_name: "full_hostname".to_string(),
|
||||||
is_saved: false,
|
is_finalized: false,
|
||||||
outputs: final_outputs,
|
outputs: final_outputs,
|
||||||
options: final_options,
|
options: final_options,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user