Fix legacy workspace compatibility

This commit is contained in:
Mohamed Boudra
2026-06-19 04:14:12 +07:00
parent ee3a7a2d28
commit 112f1ace65
8 changed files with 186 additions and 21 deletions

View File

@@ -2278,7 +2278,7 @@ export const ServerInfoStatusPayloadSchema = z
workspaceMultiplicity: z.boolean().optional(),
// COMPAT(projectRemove): added in v0.1.97, drop the gate when floor >= v0.1.97.
projectRemove: z.boolean().optional(),
// COMPAT(worktreeRestore): added in v0.1.98, drop the gate when floor >= v0.1.98
// COMPAT(worktreeRestore): added in v0.1.97, drop the gate when floor >= v0.1.97
worktreeRestore: z.boolean().optional(),
})
.optional(),