| import type { OpenClawConfig } from "../config/config.js"; | |
| import type { RuntimeEnv } from "../runtime.js"; | |
| import { requireValidConfigSnapshot } from "./config-validation.js"; | |
| export function createQuietRuntime(runtime: RuntimeEnv): RuntimeEnv { | |
| return { ...runtime, log: () => {} }; | |
| } | |
| export async function requireValidConfig(runtime: RuntimeEnv): Promise<OpenClawConfig | null> { | |
| return await requireValidConfigSnapshot(runtime); | |
| } | |