feat(coding-agent): add resume scope toggle

refactor(coding-agent): refine session listing helpers
This commit is contained in:
Thomas Mustier 2026-01-10 20:33:05 +00:00
parent f1e225d9e7
commit e8d91f2bd4
6 changed files with 219 additions and 106 deletions

View file

@ -2876,9 +2876,11 @@ export class InteractiveMode {
private showSessionSelector(): void {
this.showSelector((done) => {
const sessions = SessionManager.list(this.sessionManager.getCwd(), this.sessionManager.getSessionDir());
const currentSessions = SessionManager.list(this.sessionManager.getCwd(), this.sessionManager.getSessionDir());
const allSessions = SessionManager.listAll();
const selector = new SessionSelectorComponent(
sessions,
currentSessions,
allSessions,
async (sessionPath) => {
done();
await this.handleResumeSession(sessionPath);