config: {
serverName: string;
serverVersion: string;
logLevel: "debug" | "info" | "warn" | "error";
nodeEnv: "development" | "production" | "test";
foundry: {
url: string;
apiKey?: string;
username?: string;
password?: string;
socketPath: string;
timeout: number;
retryAttempts: number;
retryDelay: number;
};
cache: { enabled: boolean; ttlSeconds: number; maxSize: number };
} = ...
Type declaration
serverName: string
serverVersion: string
logLevel: "debug" | "info" | "warn" | "error"
nodeEnv: "development" | "production" | "test"
foundry: {
url: string;
apiKey?: string;
username?: string;
password?: string;
socketPath: string;
timeout: number;
retryAttempts: number;
retryDelay: number;
}
cache: { enabled: boolean; ttlSeconds: number; maxSize: number }
Global configuration instance
This is the main configuration object used throughout the application. It's loaded once at module initialization and contains all validated settings.