MCPcopy Create free account
hub / github.com/codeaashu/claude-code / onAbort

Function onAbort

src/hooks/useInboxPoller.ts:297–304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295 // No-op for tmux workers (no classifier auto-approval)
296 },
297 onAbort() {
298 void sendPermissionResponseViaMailbox(
299 parsed.agent_id,
300 { decision: 'rejected', resolvedBy: 'leader' },
301 parsed.request_id,
302 teamName,
303 )
304 },
305 onAllow(
306 updatedInput: Record<string, unknown>,
307 permissionUpdates: PermissionUpdate[],

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected