✨ 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

+2 -3
View File
@@ -2,11 +2,11 @@ import type { KanbanWebviewPanel } from '../KanbanPanel'
import { promises as fsp } from 'node:fs'
import * as path from 'node:path'
import { packHandoff, unpackHandoff } from '../../cc/handoffArchive'
import { stageClaudeSessionFiles } from '../../cc/handoffBundle'
import { HANDOFF_MANIFEST_FILE } from '../../cc/handoffManifest'
import { resolveProfilePath } from '../../cc/profiles'
import {
claudeProjectsRoot,
copyClaudeSessionFiles,
findClaudeSessionFiles,
installClaudeSession,
rewritePathInFile,
@@ -125,8 +125,7 @@ export async function handleSessionHandoffStart(panel: KanbanWebviewPanel, sessi
let mailboxIndex: number
try {
const claudeDir = path.join(staging, 'claude')
await fsp.mkdir(claudeDir, { recursive: true })
await copyClaudeSessionFiles(files, claudeDir)
await stageClaudeSessionFiles(files, claudeDir)
await fsp.writeFile(path.join(staging, HANDOFF_MANIFEST_FILE), `${JSON.stringify(manifest, null, 2)}\n`)
mailboxIndex = await ensureMailboxIssue(ctx)
const archive = path.join(outDir, attachmentName)