✨ feat(vscode): 移交包不带子代理对话

This commit is contained in:
cruldra committed 2026-09-27 18:46:38 +08:00
1 parent a5ea0ddb57
commit c86939285d
6 files changed
+33 -15

No files matched your search

+5 -2
View File
@@ -3,7 +3,7 @@ import { promises as fsp } from 'node:fs'
import * as os from 'node:os'
import * as path from 'node:path'
import { formatByteSize, HANDOFF_ATTACHMENT_MAX_BYTES, HandoffArchiveTooLargeError, packHandoff } from './handoffArchive'
import { stageHandoffBundle } from './handoffBundle'
import { HANDOFF_SKIPPED_DIR, stageHandoffBundle } from './handoffBundle'
import { CLAUDE_SESSION_FIELDS } from './handoffManifest'
import { codexRolloutRelPathFor, findClaudeSessionFiles } from './sessionBundle'
@@ -45,8 +45,11 @@ async function treeBytes(abs: string): Promise<number> {
if (!st.isDirectory())
return st.size
let total = 0
for (const name of await fsp.readdir(abs))
for (const name of await fsp.readdir(abs)) {
if (name === HANDOFF_SKIPPED_DIR)
continue
total += await treeBytes(path.join(abs, name))
}
return total
}