fix(cli): preserve unsupported historical-source imports (#795)

This commit is contained in:
N0zoM1z0
2026-10-07 04:02:10 +08:00
committed by GitHub
parent b62931f833
commit 911d580634
8 changed files with 85 additions and 5 deletions
+6 -1
View File
@@ -4,7 +4,12 @@ import { isCliOperationFailure } from "../cliLogging.js";
const referenceSourceImportFailureSchema = z.strictObject({
error: z.literal("Import failed"),
category: z.enum(["cancelled", "invalid_input", "execution_failure"]),
category: z.enum([
"cancelled",
"invalid_input",
"unsupported_host",
"execution_failure",
]),
message: z.string().min(1),
});