feat(vscode): 审查会话链接按本机 codex 会话文件存在判定,不再绑 worktree

This commit is contained in:
2026-08-19 19:24:57 +08:00
parent bf3f7f9e67
commit 6251ba0d2a
12 changed files with 190 additions and 21 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ import { promises as fsp } from 'node:fs'
import * as path from 'node:path'
/** UUID at the tail of `rollout-<ISO>-<uuid>.jsonl`. v7 UUIDs are still 8-4-4-4-12. */
const ROLLOUT_UUID_REGEX = /-([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\.jsonl$/i
export const ROLLOUT_UUID_REGEX = /-([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\.jsonl$/i
/**
* Try to extract a thread_id (UUID) from a rollout filename.