histoire
Version:
A fast story book powered by Vite
22 lines • 1.34 kB
TypeScript
import { z } from 'zod/v4';
/** Exact existing Histoire ID, including punctuation, preserved without normalization. */
export declare const mcpIdSchema: z.ZodString;
/** URL authority-safe opaque project identifier. */
export declare const mcpProjectIdSchema: z.ZodString;
/** Random lifetime marker, never a filesystem identity. */
export declare const mcpEpochSchema: z.ZodUUID;
/** Completed catalog publication marker. */
export declare const mcpRevisionSchema: z.ZodString;
/** Independent random job/artifact capability. */
export declare const mcpHandleSchema: z.ZodUUID;
/** Client-controlled retry key; no control characters or non-ASCII data. */
export declare const mcpRequestKeySchema: z.ZodString;
/** Hash of full content, never a shortened edit authorization. */
export declare const mcpSha256Schema: z.ZodString;
/** Registered relative metadata; outside-root stories may contain parent segments. */
export declare const mcpRelativePathSchema: z.ZodString;
/** Generate non-disclosing identity salted per controller. Canonicalize roots before calling. */
export declare function createMcpProjectId(rootOrBuildId: string, salt?: `${string}-${string}-${string}-${string}-${string}`): string;
/** Generate new runtime lifetime identity. */
export declare function createMcpEpoch(): string;
//# sourceMappingURL=ids.d.ts.map