fix: gate test-only imports behind #[cfg(test)] in nest.rs

BackendKind and RespondTo are only used in test helper constructors.
This commit is contained in:
Will Pfleger
2026-05-14 14:50:35 -04:00
parent 78b4334a93
commit 7f80210675

View File

@@ -6,9 +6,9 @@
//!
//! Idempotent: existing files and directories are never overwritten.
use super::{
load_managed_agents, load_personas, BackendKind, ManagedAgentRecord, PersonaRecord, RespondTo,
};
use super::{load_managed_agents, load_personas, ManagedAgentRecord, PersonaRecord};
#[cfg(test)]
use super::{BackendKind, RespondTo};
use crate::app_state::AppState;
use crate::relay::relay_ws_url_with_override;
use std::fs;