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