mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
fix(session-manager): carry mode, claudeSessionId and resumeId into rows (#477)
_loadSessionManagerList() re-projects each unified item into the history-record shape _buildHistoryItem renders, and dropped these three fields. The row's own onActivate still read them from the unified item, but everything built from the record did not: the ⋯ menu's "Resume session" relaunched a codex row as claude (no mode, no resumeId), a resumed session lost its conversation id, and Cmd+K rows showed no mode badge. Same class of bug as the worktree fields the re-projection already carries (#266). Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0a52a99ca9
commit
7485afecaf
@@ -672,6 +672,9 @@ Object.assign(CodemanApp.prototype, {
|
||||
gitBranch: s.gitBranch,
|
||||
worktreeName: s.worktreeName,
|
||||
worktreeRepo: s.worktreeRepo,
|
||||
mode: s.mode,
|
||||
claudeSessionId: s.claudeSessionId,
|
||||
resumeId: s.resumeId,
|
||||
};
|
||||
const isLive = !!this.sessions?.has?.(s.sessionId);
|
||||
const item = this._buildHistoryItem(record, this.cases, {
|
||||
|
||||
Reference in New Issue
Block a user