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

Function onReject

src/hooks/useInboxPoller.ts:321–332  ·  view source on GitHub ↗
(feedback?: string)

Source from the content-addressed store, hash-verified

319 )
320 },
321 onReject(feedback?: string) {
322 void sendPermissionResponseViaMailbox(
323 parsed.agent_id,
324 {
325 decision: 'rejected',
326 resolvedBy: 'leader',
327 feedback,
328 },
329 parsed.request_id,
330 teamName,
331 )
332 },
333 async recheckPermission() {
334 // No-op for tmux workers — permission state is on the worker side
335 },

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected