MCPcopy
hub / github.com/codeaashu/claude-code / getTaskCompletedHookMessage

Function getTaskCompletedHookMessage

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

Source from the content-addressed store, hash-verified

1923 * @returns Formatted message to give feedback to the model
1924 */
1925export function getTaskCompletedHookMessage(
1926 blockingError: HookBlockingError,
1927): string {
1928 return `TaskCompleted hook feedback:\n${blockingError.blockingError}`
1929}
1930
1931/**
1932 * 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