feat(goose-acp): enable parallel sessions with isolated agent state (#6392)

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Adrian Cole
2026-01-15 06:19:17 +08:00
committed by GitHub
parent fb0eca2c36
commit 7d4a6bd8ff
86 changed files with 2594 additions and 1938 deletions
+2 -1
View File
@@ -403,7 +403,8 @@ async fn send_session_event(installation: &InstallationData) -> Result<(), Strin
.insert_prop("db_schema_version", CURRENT_SCHEMA_VERSION)
.ok();
if let Ok(insights) = SessionManager::get_insights().await {
let session_manager = SessionManager::instance();
if let Ok(insights) = session_manager.get_insights().await {
event
.insert_prop("total_sessions", insights.total_sessions)
.ok();