Function
getUserPromptSubmitHookBlockingMessage
(
blockingError: HookBlockingError,
)
Source from the content-addressed store, hash-verified
| 1938 | * @returns Formatted blocking message |
| 1939 | */ |
| 1940 | export function getUserPromptSubmitHookBlockingMessage( |
| 1941 | blockingError: HookBlockingError, |
| 1942 | ): string { |
| 1943 | return `UserPromptSubmit operation blocked by hook:\n${blockingError.blockingError}` |
| 1944 | } |
| 1945 | /** |
| 1946 | * Common logic for executing hooks |
| 1947 | * @param hookInput The structured hook input that will be validated and converted to JSON |
Tested by
no test coverage detected