mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 17:41:24 -07:00
Load extension settings for hooks, agents, skills (#17245)
This commit is contained in:
@@ -267,6 +267,7 @@ export class HookRunner {
|
||||
...sanitizeEnvironment(process.env, this.config.sanitizationConfig),
|
||||
GEMINI_PROJECT_DIR: input.cwd,
|
||||
CLAUDE_PROJECT_DIR: input.cwd, // For compatibility
|
||||
...hookConfig.env,
|
||||
};
|
||||
|
||||
const child = spawn(
|
||||
|
||||
@@ -59,6 +59,7 @@ export interface CommandHookConfig {
|
||||
description?: string;
|
||||
timeout?: number;
|
||||
source?: ConfigSource;
|
||||
env?: Record<string, string>;
|
||||
}
|
||||
|
||||
export type HookConfig = CommandHookConfig;
|
||||
|
||||
Reference in New Issue
Block a user