fix: complete config path and review follow-ups (#3348)

This commit is contained in:
Bohdan Triapitsyn
2026-09-05 02:19:59 +03:00
committed by GitHub
parent 0543b954c3
commit 260bfe666b
14 changed files with 119 additions and 29 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
import { OPENCODE_CONFIG_DIR } from './opencodeConfigPaths';
import fs from 'node:fs';
import path from 'node:path';
import os from 'node:os';
@@ -191,7 +192,6 @@ export type ProviderResult = {
planLabel?: string | null;
};
const OPENCODE_CONFIG_DIR = path.join(os.homedir(), '.config', 'opencode');
const OPENCODE_DATA_DIR = path.join(os.homedir(), '.local', 'share', 'opencode');
const AUTH_FILE = path.join(OPENCODE_DATA_DIR, 'auth.json');