chore: generate

This commit is contained in:
GitHub Action
2026-01-21 04:56:39 +00:00
parent 74bd52e8a7
commit 2049af4d6f

View File

@@ -172,7 +172,7 @@ export const ApplyPatchTool = Tool.define("apply_patch", {
const changedFiles: string[] = [] const changedFiles: string[] = []
for (const change of fileChanges) { for (const change of fileChanges) {
const edited = change.type === "delete" ? undefined : change.movePath ?? change.filePath const edited = change.type === "delete" ? undefined : (change.movePath ?? change.filePath)
switch (change.type) { switch (change.type) {
case "add": case "add":
// Create parent directories (recursive: true is safe on existing/root dirs) // Create parent directories (recursive: true is safe on existing/root dirs)