feat: add full hostname option to hostname plugin and remove full_hostname plugin

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-26 18:45:14 -03:00
parent c8afbb3984
commit 221d8b3b27
2 changed files with 31 additions and 156 deletions

View File

@@ -121,7 +121,6 @@ pub enum MetaPluginType {
ReadTime,
ReadRate,
Hostname,
FullHostname,
}
/// Central function to handle metadata output with name mapping
@@ -284,6 +283,5 @@ pub fn get_meta_plugin(meta_plugin_type: MetaPluginType) -> Box<dyn MetaPlugin>
MetaPluginType::ReadTime => Box::new(ReadTimeMetaPlugin::new_simple()),
MetaPluginType::ReadRate => Box::new(ReadRateMetaPlugin::new_simple()),
MetaPluginType::Hostname => Box::new(HostnameMetaPlugin::new_simple()),
MetaPluginType::FullHostname => Box::new(FullHostnameMetaPlugin::new_simple()),
}
}