MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getTaskCompletedHookMessage

Function getTaskCompletedHookMessage

source code/utils/hooks.ts:1927–1931  ·  view source on GitHub ↗
(
  blockingError: HookBlockingError,
)

Source from the content-addressed store, hash-verified

1925 * @returns Formatted message to give feedback to the model
1926 */
1927export function getTaskCompletedHookMessage(
1928 blockingError: HookBlockingError,
1929): string {
1930 return `TaskCompleted hook feedback:\n${blockingError.blockingError}`
1931}
1932
1933/**
1934 * Format a list of blocking errors from a UserPromptSubmit hook's configured commands.

Callers 2

callFunction · 0.85
handleStopHooksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected