feat(cli): finalize stable footer UX and fix lint/tests

This commit is contained in:
Keith Guerin
2026-03-01 02:40:01 -08:00
parent e1e863dba2
commit acd24006b6
28 changed files with 484 additions and 498 deletions
@@ -302,6 +302,7 @@ export class HookEventHandler {
coreEvents.emitHookStart({
hookName: this.getHookName(config),
eventName,
source: config.source,
hookIndex: index + 1,
totalHooks: plan.hookConfigs.length,
});
+4 -1
View File
@@ -88,9 +88,12 @@ export interface HookPayload {
* Payload for the 'hook-start' event.
*/
export interface HookStartPayload extends HookPayload {
/**
* The source of the hook configuration.
*/
source?: string;
/**
* The 1-based index of the current hook in the execution sequence.
* Used for progress indication (e.g. "Hook 1/3").
*/
hookIndex?: number;
/**