refactor: remove legacy config and state aliases (PR5)

This commit is contained in:
ejclaw
2026-04-10 22:09:04 +09:00
parent 312d19c0d1
commit e5bd721ac4
18 changed files with 155 additions and 980 deletions

View File

@@ -74,3 +74,11 @@ export function readEnvFile(keys: string[]): Record<string, string> {
}
return result;
}
export function listConfiguredEnvKeys(): string[] {
if (!_cache) loadEnvFile();
return Array.from(
new Set([...Object.keys(_cache!), ...Object.keys(process.env)]),
).sort();
}