feat: pass connection to meta plugin methods
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -176,7 +176,7 @@ fn process_input_stream(
|
||||
|
||||
// Process data with meta plugins
|
||||
for meta_plugin in meta_plugins.iter_mut() {
|
||||
meta_plugin.update(&buffer[..n]);
|
||||
meta_plugin.update(&buffer[..n], conn);
|
||||
}
|
||||
|
||||
// Check if we should finalize and save the binary plugin after 4KB
|
||||
@@ -194,7 +194,7 @@ fn process_input_stream(
|
||||
|
||||
// Finalize meta plugins
|
||||
for meta_plugin in meta_plugins.iter_mut() {
|
||||
if let Err(e) = meta_plugin.finalize() {
|
||||
if let Err(e) = meta_plugin.finalize(conn) {
|
||||
eprintln!("Warning: Failed to finalize meta plugin: {}", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user