🐛 fix(vscode): 别的机器上开的会话在本机没有会话文件时,会话 id 行置灰不可双击,不再 resume 报错

This commit is contained in:
cruldra committed 2026-09-24 19:22:29 +08:00
1 parent 2b1e660cc8
commit bf4661e364
20 files changed
+508 -234

No files matched your search

+5 -4
View File
@@ -98,11 +98,12 @@ export interface Issue {
*/
reviewSessionId?: string
/**
* Whether the codex session file (`~/.codex/sessions/YYYY/MM/DD/rollout-...-<id>.jsonl`)
* for `reviewSessionId` exists on this machine; computed on load, never
* persisted. codex resume 只依赖这个文件,与 worktree 无关。
* 本工单引用的会话 id(sessionId / implementSessionId / testSessionId /
* prototypeSessionId 走 claude,reviewSessionId 走 codex)里本机没有会话
* 文件的那些;加载时计算,不持久化。会话 id 来自共享状态,别的机器上开的
* 会话本机 resume 不了。缺省或空 = 全部能 resume。
*/
reviewSessionFileExists?: boolean
missingSessionIds?: string[]
/**
* Session id of the test conversation (a Claude Code session id). Set the
* first time the user manually starts a test session after the issue's PR