fix(coding-agent): scope custom session dir lookups
This commit is contained in:
@@ -4401,7 +4401,10 @@ export class InteractiveMode {
|
||||
const selector = new SessionSelectorComponent(
|
||||
(onProgress) =>
|
||||
SessionManager.list(this.sessionManager.getCwd(), this.sessionManager.getSessionDir(), onProgress),
|
||||
SessionManager.listAll,
|
||||
(onProgress) =>
|
||||
this.sessionManager.usesDefaultSessionDir()
|
||||
? SessionManager.listAll(onProgress)
|
||||
: SessionManager.listAll(this.sessionManager.getSessionDir(), onProgress),
|
||||
async (sessionPath) => {
|
||||
done();
|
||||
await this.handleResumeSession(sessionPath);
|
||||
|
||||
Reference in New Issue
Block a user