/** * Babysitter SDK Configuration Module * * This module provides centralized configuration management for the SDK. * Import from this module to access defaults, configuration helpers, and types. * * @example * ```ts * import { DEFAULTS, getConfig, validateConfig } from "@a5c-ai/babysitter-sdk/config"; * * // Use defaults directly * console.log(DEFAULTS.runsDir); // "/home/alice/.a5c/runs" * * // Get merged config with env overrides * const config = getConfig({ maxIterations: 500 }); * * // Validate configuration * const result = validateConfig(config); * if (!result.valid) { * throw new Error(result.errors.join(", ")); * } * ``` */ export { type LogLevel, type BabysitterConfig, type ConfigValidationResult, DEFAULTS, CONFIG_ENV_VARS, getConfig, getGlobalLogDir, getGlobalStateDir, getConfiguredGlobalStateRoot, normalizeSessionStateDir, validateConfig, getDefaults, isValidLogLevel, } from "./defaults"; export { type RunsScope, findRepoRoot, getGlobalRunsDir, getReadableRunsDirs, getRepoRoot, getRepoRunsDir, getRunsScope, parseRunsScope, resolveExistingRunDir, resolveProjectRootForRun, resolveRunRootFromRunDir, resolveRunsDir, } from "./runs"; export { CROSS_SUBAGENTS_ENV_VAR, EXECUTE_TASKS_ENV_VAR, crossSubagentsEnabled, executeTasksEnabled, } from "./executionPolicy"; export { ENV_VAR_CONTRACTS, configKeyToEnvVar, createScopedRuntimeConfigState, scopedBabysitterEnvVarName, type EnvContractScope, type EnvVarContract, type RuntimeConfigValueType, type ScopedRuntimeConfigStateOptions, } from "./envContract"; //# sourceMappingURL=index.d.ts.map