feat(hooks): Hook Configuration Schema and Types (#9074)

Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
This commit is contained in:
Edilmo Palencia
2025-11-02 11:49:16 -08:00
committed by GitHub
parent 02518d2927
commit c0495ce2f9
5 changed files with 217 additions and 2 deletions

View File

@@ -711,6 +711,9 @@ export async function loadCliConfig(
recordResponses: argv.recordResponses,
retryFetchErrors: settings.general?.retryFetchErrors ?? false,
ptyInfo: ptyInfo?.name,
// TODO: loading of hooks based on workspace trust
enableHooks: settings.tools?.enableHooks ?? false,
hooks: settings.hooks || {},
});
}