fix(coding-agent): warn when session-id creates a session

closes #6407
This commit is contained in:
Mario Zechner
2026-07-09 11:37:07 +02:00
parent 2170363af4
commit c4281a7dd1
3 changed files with 46 additions and 0 deletions
+5
View File
@@ -344,6 +344,11 @@ async function createSessionManager(
if (existingSession) {
return SessionManager.open(existingSession.path, sessionDir);
}
console.error(
chalk.yellow(
`Warning: No project session found with id '${parsed.sessionId}'; creating a new session with that id.`,
),
);
}
return SessionManager.create(cwd, sessionDir, { id: parsed.sessionId });