From 7ae2a3919fc6989d3a9dbbab7863e42696e9725b Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Fri, 29 Aug 2025 14:38:04 -0300 Subject: [PATCH] feat: add env as default meta plugin Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) --- src/config.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/config.rs b/src/config.rs index 0d26b7b..a5672fb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -234,6 +234,18 @@ impl Settings { }, ]; } + + // Set default meta_plugins to include 'env' if not provided + if settings.meta_plugins.is_none() { + debug!("CONFIG: Setting default meta_plugins to include 'env'"); + settings.meta_plugins = Some(vec![ + MetaPluginConfig { + name: "env".to_string(), + options: std::collections::HashMap::new(), + outputs: std::collections::HashMap::new(), + } + ]); + } // Set dir to default if not provided or is empty if settings.dir == PathBuf::new() {