import { z } from "zod";
export const contextSchema = z.object({
    adminUser: z.custom(),
    userTimeZone: z.string(),
    sessionId: z.string(),
    turnId: z.string(),
    abortSignal: z.custom().optional(),
    currentPage: z.custom().optional(),
    chatSurface: z.string().optional(),
    adminBaseUrl: z.string().optional(),
    adminPublicOrigin: z.string().optional(),
    emit: z.custom().optional(),
    sequenceDebugSink: z.custom(),
});
export function toLangchainAgentContext(context) {
    return context;
}
