🐛 fix(vscode): 接管时把会话文件里的发送方路径重写为本机路径

Claude-Session: https://claude.ai/code/session_011cEyL6k351U2BzX1Qmygph
This commit is contained in:
cruldra committed 2026-08-26 19:04:09 +08:00
1 parent 07c40897e2
commit 71a91fe7ec
7 files changed
+151 -10

No files matched your search

+2
View File
@@ -25,6 +25,7 @@ export interface HandoffManifest {
from: string
createdAt: string
branch?: string
worktreePath?: string
sessions: HandoffSessions
profiles: HandoffProfiles
claude: Array<{ id: string, kind: ClaudeSessionKind }>
@@ -96,6 +97,7 @@ export function parseHandoffManifest(json: string, expectedIssue: number): Hando
from,
createdAt,
...(optString(raw.branch) ? { branch: optString(raw.branch) } : {}),
...(optString(raw.worktreePath) ? { worktreePath: optString(raw.worktreePath) } : {}),
sessions,
profiles,
claude,