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

Function onReject

src/hooks/useSSHSession.ts:143–151  ·  view source on GitHub ↗
(feedback)

Source from the content-addressed store, hash-verified

141 setIsLoading(true)
142 },
143 onReject(feedback) {
144 manager.respondToPermissionRequest(requestId, {
145 behavior: 'deny',
146 message: feedback ?? 'User denied permission',
147 })
148 setToolUseConfirmQueue(q =>
149 q.filter(i => i.toolUseID !== request.tool_use_id),
150 )
151 },
152 async recheckPermission() {},
153 }
154

Callers 12

PermissionRequestFunction · 0.50
handleRejectFunction · 0.50
SkillPermissionRequestFunction · 0.50
handleResponseFunction · 0.50
handleEmptyPlanResponseFunction · 0.50
handleRejectFunction · 0.50

Calls 1

Tested by

no test coverage detected