✨ feat(vscode): 审查会话链接按本机 codex 会话文件存在判定,不再绑 worktree
This commit is contained in:
@@ -254,12 +254,12 @@ export function IssueDetailPanel({
|
||||
onCloseSessionTab(issue.number, 'implement')
|
||||
},
|
||||
},
|
||||
issue?.worktreeExists
|
||||
issue?.reviewSessionFileExists
|
||||
? {
|
||||
key: 'reviewSessionId',
|
||||
label: '审查会话id',
|
||||
type: 'action',
|
||||
description: '双击在新终端运行 codex resume <id> 查看审查会话(cwd 优先用 worktree)',
|
||||
description: '双击在新终端运行 codex resume <id> 查看审查会话(worktree 在则用之,否则工作区根目录)',
|
||||
actionIcon: <Terminal className="size-3.5" />,
|
||||
onAction: (v) => {
|
||||
if (typeof v !== 'string' || v.length === 0 || !issue)
|
||||
@@ -282,7 +282,7 @@ export function IssueDetailPanel({
|
||||
label: '审查会话id',
|
||||
type: 'string',
|
||||
readOnly: true,
|
||||
description: 'worktree 已清理,无法 resume;仅保留 id 文本',
|
||||
description: '本机没有该 codex 会话文件,无法 resume;仅保留 id 文本',
|
||||
},
|
||||
(() => {
|
||||
// 测试会话 id 行有三种状态(照搬头脑风暴行的三态):
|
||||
|
||||
Reference in New Issue
Block a user