export function createIdempotencyKey() {
    return crypto.randomUUID();
}
/**
 * Create once per user intent. Retries must reuse the returned envelope rather than call this again.
 */
export function createIdempotentCommand(request) {
    return Object.freeze({ idempotencyKey: createIdempotencyKey(), request });
}
