diff --git a/src/config.rs b/src/config.rs
index 0898fcf..09e1850 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -762,7 +762,7 @@ rauthy:
assert_eq!(cfg.url, "http://0.0.0.0:5500");
assert_eq!(cfg.hiqlite_raft_port, 9100);
assert_eq!(cfg.hiqlite_api_port, 9200);
- assert_eq!(cfg.rauthy_enabled, true);
+ assert!(cfg.rauthy_enabled);
assert_eq!(cfg.rauthy_port, 4444);
clear_ofm_env();
diff --git a/src/opencode_sdk/client.rs b/src/opencode_sdk/client.rs
index ab3b78d..756a652 100644
--- a/src/opencode_sdk/client.rs
+++ b/src/opencode_sdk/client.rs
@@ -731,7 +731,7 @@ mod tests {
let client = reqwest::Client::new();
let resp = client
- .get(&format!("http://127.0.0.1:{port}/event"))
+ .get(format!("http://127.0.0.1:{port}/event"))
.send()
.await
.unwrap();
diff --git a/src/providers/opencode_sdk_provider.rs b/src/providers/opencode_sdk_provider.rs
index 842cafa..ab9a1f3 100644
--- a/src/providers/opencode_sdk_provider.rs
+++ b/src/providers/opencode_sdk_provider.rs
@@ -1,10 +1,12 @@
use std::path::{Path, PathBuf};
+use std::sync::Arc;
use std::sync::Mutex;
use std::time::Duration;
use async_trait::async_trait;
use futures_util::StreamExt;
use tokio::sync::mpsc;
+use tokio::sync::Notify;
use uuid::Uuid;
use crate::opencode_sdk::client::EventStreamCancellation;
@@ -26,8 +28,10 @@ pub struct OpenCodeSdkProvider {
/// Last known session id — used by `abort_turn` for the best-effort
/// `client.session.abort` call.
session_id: Mutex