MCPcopy Create free account
hub / github.com/Noumena-Network/code / getUserPromptSubmitHookBlockingMessage

Function getUserPromptSubmitHookBlockingMessage

src/utils/hooks.ts:1940–1944  ·  view source on GitHub ↗
(
  blockingError: HookBlockingError,
)

Source from the content-addressed store, hash-verified

1938 * @returns Formatted blocking message
1939 */
1940export 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

Callers 1

processUserInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected