cli: route run commands through v2 APIs (#35234)

This commit is contained in:
Simon Klee
2026-07-03 22:47:04 +02:00
committed by GitHub
parent d097cc8065
commit 64e4f6f91b
7 changed files with 763 additions and 77 deletions
+3 -1
View File
@@ -665,7 +665,9 @@ async function runInteractiveRuntime(input: RunRuntimeInput, deps: RunRuntimeDep
(row) => row.commit.kind !== "user" || row.commit.messageID !== prompt.messageID,
)
}
includeFiles = false
// Shell and skill turns never send CLI file attachments; keep them
// pending for the next prompt-shaped turn.
if (prompt.mode !== "shell" && prompt.command?.source !== "skill") includeFiles = false
} catch (error) {
if (signal.aborted || footer.isClosed) {
return