fix(coding-agent): allow session id for no-session runs

closes #6070
This commit is contained in:
Armin Ronacher
2026-06-25 14:44:25 +02:00
parent 09f1059575
commit e454f50b48
5 changed files with 18 additions and 4 deletions
@@ -1431,8 +1431,8 @@ export class SessionManager {
}
/** Create an in-memory session (no file persistence) */
static inMemory(cwd: string = process.cwd()): SessionManager {
return new SessionManager(cwd, "", undefined, false);
static inMemory(cwd: string = process.cwd(), options?: NewSessionOptions): SessionManager {
return new SessionManager(cwd, "", undefined, false, options);
}
/**