Update paths in sync.sh, master/main.go, and CLAUDE.md to reflect the directory rename. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
337 B
TypeScript
14 lines
337 B
TypeScript
import { z } from "zod";
|
|
|
|
export const executionContextSchema = z.object({
|
|
diachron_root: z.string(),
|
|
});
|
|
|
|
export type ExecutionContext = z.infer<typeof executionContextSchema>;
|
|
|
|
export function parseExecutionContext(
|
|
env: Record<string, string | undefined>,
|
|
): ExecutionContext {
|
|
return executionContextSchema.parse(env);
|
|
}
|