tweak: read global claude skills too (#6420)

This commit is contained in:
Aiden Cline
2025-12-29 21:48:58 -08:00
committed by GitHub
parent 1670d220da
commit abc7eed92b
4 changed files with 122 additions and 40 deletions

View File

@@ -12,14 +12,17 @@ const state = path.join(xdgState!, app)
export namespace Global {
export const Path = {
home: os.homedir(),
// Allow override via OPENCODE_TEST_HOME for test isolation
get home() {
return process.env.OPENCODE_TEST_HOME || os.homedir()
},
data,
bin: path.join(data, "bin"),
log: path.join(data, "log"),
cache,
config,
state,
} as const
}
}
await Promise.all([