This commit is contained in:
Owen Lin
2026-05-08 12:50:56 -07:00
parent 33b182d805
commit 3cc96a5aac
2 changed files with 2 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ pub use codex_core::ForkSnapshot;
pub use codex_core::McpManager;
pub use codex_core::NewThread;
pub use codex_core::StartThreadOptions;
pub use codex_core::StateDbAccess;
pub use codex_core::StateDbHandle;
pub use codex_core::ThreadManager;
pub use codex_core::ThreadShutdownReport;

View File

@@ -403,7 +403,7 @@ impl ThreadManager {
let skills_watcher = build_skills_watcher(Arc::clone(&skills_manager));
// This test constructor has no Config input. Tests that need a non-local
// process store should construct ThreadManager::new with an explicit store.
let state_db_access = StateDbAccess::new(state_db.clone());
let state_db_access = StateDbAccess::new(state_db);
let thread_store: Arc<dyn ThreadStore> = Arc::new(LocalThreadStore::new(
LocalThreadStoreConfig {
codex_home: codex_home.clone(),