2026-07-20 17:11:06 +08:00
|
|
|
import { z } from "zod";
|
|
|
|
|
|
2026-09-29 07:08:46 +08:00
|
|
|
/** Optional expectations used to compare the live session with its caller. */
|
2026-07-20 17:11:06 +08:00
|
|
|
export const binarySessionInputSchema = z.object({
|
|
|
|
|
expected_package_version: z.string().min(1).optional(),
|
|
|
|
|
expected_catalog_digest: z
|
|
|
|
|
.string()
|
|
|
|
|
.regex(/^[a-f0-9]{64}$/u)
|
|
|
|
|
.optional(),
|
|
|
|
|
expected_server_path: z.string().min(1).optional(),
|
|
|
|
|
});
|