refactor(coding-agent): move auth storage to backend abstraction
This commit is contained in:
@@ -554,7 +554,7 @@ export async function main(args: string[]) {
|
||||
const agentDir = getAgentDir();
|
||||
const settingsManager = SettingsManager.create(cwd, agentDir);
|
||||
reportSettingsErrors(settingsManager, "startup");
|
||||
const authStorage = new AuthStorage();
|
||||
const authStorage = AuthStorage.create();
|
||||
const modelRegistry = new ModelRegistry(authStorage, getModelsPath());
|
||||
|
||||
const resourceLoader = new DefaultResourceLoader({
|
||||
|
||||
Reference in New Issue
Block a user