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

Function getTaskCompletedHookMessage

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

Source from the content-addressed store, hash-verified

2005 * @returns Formatted message to give feedback to the model
2006 */
2007export function getTaskCompletedHookMessage(
2008 blockingError: HookBlockingError,
2009): string {
2010 return `TaskCompleted hook feedback:\n${blockingError.blockingError}`
2011}
2012
2013/**
2014 * 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