MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / registerPermissionHandler

Function registerPermissionHandler

src/entrypoints/cli.tsx:148–152  ·  view source on GitHub ↗
(server, handler)

Source from the content-addressed store, hash-verified

146 shutdown1PEventLogging,
147 logForDebugging,
148 registerPermissionHandler(server, handler) {
149 server.setNotificationHandler(ChannelPermissionRequestNotificationSchema(), async notification =>
150 handler(notification.params),
151 );
152 },
153 },
154 MACRO.VERSION,
155 );

Callers

nothing calls this directly

Calls 2

handlerFunction · 0.50

Tested by

no test coverage detected