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

Function createStopHookAttachment

src/screens/replMessageSignals.test.ts:76–89  ·  view source on GitHub ↗
(uuid: string, toolUseID: string)

Source from the content-addressed store, hash-verified

74}
75
76function 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
91function createStopHookSummary(uuid: string, toolUseID: string): Message {
92 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected