(uuid: string, toolUseID: string)
| 74 | } |
| 75 | |
| 76 | function createStopHookAttachment(uuid: string, toolUseID: string): Message { |
| 77 | return { |
| 78 | type: 'attachment', |
| 79 | uuid, |
| 80 | attachment: { |
| 81 | type: 'hook_success', |
| 82 | toolUseID, |
| 83 | hookEvent: 'Stop', |
| 84 | hookName: `stop-hook-${uuid}`, |
| 85 | stdout: '', |
| 86 | stderr: '', |
| 87 | }, |
| 88 | } as unknown as Message |
| 89 | } |
| 90 | |
| 91 | function createStopHookSummary(uuid: string, toolUseID: string): Message { |
| 92 | return { |
no outgoing calls
no test coverage detected