Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ functions
Functions
11,462 in github.com/AnukarOP/claude-code-leaked
⨍
Functions
11,462
◇
Types & classes
340
↓ 1 callers
Function
getVSCodeIDECommandByParentProcess
()
source code/utils/ide.ts:953
↓ 1 callers
Function
getValidationTip
(context: TipContext)
source code/utils/settings/validationTips.ts:142
↓ 1 callers
Function
getVariablesByScope
( parsed: ParsedPowerShellCommand, scope: string, )
source code/utils/powershell/parser.ts:1535
↓ 1 callers
Function
getVerifyPlanReminderAttachment
* Get verify plan reminder attachment if the model hasn't called VerifyPlanExecution yet.
source code/utils/attachments.ts:3896
↓ 1 callers
Function
getVerifyPlanReminderTurnCount
(messages: Message[])
source code/utils/attachments.ts:3874
↓ 1 callers
Function
getVersionFromPath
(installPath: string)
source code/utils/plugins/pluginVersioning.ts:129
↓ 1 callers
Function
getVersionFromSymlink
( symlinkPath: string, )
source code/utils/nativeInstaller/installer.ts:1020
↓ 1 callers
Method
getViewportCharEnd
(maxVisibleLines?: number)
source code/utils/Cursor.ts:195
↓ 1 callers
Method
getViewportCharOffset
(maxVisibleLines?: number)
source code/utils/Cursor.ts:188
↓ 1 callers
Function
getWarningUpsellText
* Get the upsell command text for warning messages based on subscription and limit type. * Returns null if no upsell should be shown. * Only used fo
source code/services/rateLimitMessages.ts:263
↓ 1 callers
Function
getWatchTargets
* Collect settings file paths and their deduplicated parent directories to watch. * Returns all potential settings file paths for watched directories
source code/utils/settings/changeDetector.ts:182
↓ 1 callers
Function
getWatchablePaths
()
source code/utils/skills/skillChangeDetector.ts:173
↓ 1 callers
Function
getWebFetchUserAgent
()
source code/utils/http.ts:58
↓ 1 callers
Function
getWebSearchPrompt
()
source code/tools/WebSearchTool/prompt.ts:7
↓ 1 callers
Function
getWithPermittedRedirects
( url: string, signal: AbortSignal, redirectChecker: (originalUrl: string, redirectUrl: string) => boole
source code/tools/WebFetchTool/utils.ts:264
↓ 1 callers
Function
getWordSegmenter
()
source code/utils/intl.ts:48
↓ 1 callers
Method
getWorkerState
()
source code/cli/transports/ccrClient.ts:532
↓ 1 callers
Function
getWorktreeCountFromFs
()
source code/utils/git/gitFilesystem.ts:688
↓ 1 callers
Function
getWriteToolDescription
()
source code/tools/FileWriteTool/prompt.ts:12
↓ 1 callers
Function
getXDGCacheHome
(options?: XDGOptions)
source code/utils/xdg.ts:44
↓ 1 callers
Function
getYesterdayDateString
()
source code/utils/statsCache.ts:424
↓ 1 callers
Function
getYoloClassifierApproval
( toolUseID: string, )
source code/utils/classifierApprovals.ts:53
↓ 1 callers
Function
getZipCacheMarketplacesDir
()
source code/utils/plugins/zipCache.ts:99
↓ 1 callers
Function
getZipCachePluginsDir
()
source code/utils/plugins/zipCache.ts:110
↓ 1 callers
Function
getZodSchema
(schema: PrimitiveSchemaDefinition)
source code/utils/mcp/elicitationValidation.ts:137
↓ 1 callers
Function
getZshCompletionCommand
* Generate zsh completion command using native zsh commands
source code/utils/bash/shellCompletion.ts:165
↓ 1 callers
Function
gitClone
( gitUrl: string, targetPath: string, ref?: string, sha?: string, )
source code/utils/plugins/pluginLoader.ts:536
↓ 1 callers
Function
gitClone
( gitUrl: string, targetPath: string, ref?: string, sparsePaths?: string[], )
source code/utils/plugins/marketplaceManager.ts:805
↓ 1 callers
Function
gitPull
( cwd: string, ref?: string, options?: { disableCredentialHelper?: boolean; sparsePaths?: string[] }, )
source code/utils/plugins/marketplaceManager.ts:530
↓ 1 callers
Function
glob
( filePattern: string, cwd: string, { limit, offset }: { limit: number; offset: number }, abortSignal:
source code/utils/glob.ts:68
↓ 1 callers
Function
graphemeWidth
(grapheme: string)
source code/ink/termio/parser.ts:65
↓ 1 callers
Function
groupHooksByEventAndMatcher
( appState: AppState, toolNames: string[], )
source code/utils/hooks/hooksConfigManager.ts:272
↓ 1 callers
Function
groupLogsBySessionId
(filteredLogs: LogOption[])
source code/components/LogSelector.tsx:1546
↓ 1 callers
Function
groupMessagesByApiRound
(messages: Message[])
source code/services/compact/grouping.ts:24
↓ 1 callers
Function
groupServersByScope
(serverList: ServerInfo[])
source code/components/mcp/MCPListPanel.tsx:79
↓ 1 callers
Function
growBranch
( node: TreeNode | string, prefix: string, _isLast: boolean, depth: number = 0, )
source code/utils/treeify.ts:57
↓ 1 callers
Function
guessMimeType
(filename: string)
source code/tools/BriefTool/upload.ts:53
↓ 1 callers
Function
guiGotoArgv
* Build goto-line argv for a GUI editor. VS Code family uses -g file:line; * subl uses bare file:line; others don't support goto-line.
source code/utils/editor.ts:60
↓ 1 callers
Function
handleAdd
()
source code/commands/plugin/AddMarketplace.tsx:47
↓ 1 callers
Method
handleAutoFocus
(node: DOMElement)
source code/ink/focus.ts:86
↓ 1 callers
Function
handleAutoModeTransition
( fromMode: string, toMode: string, )
source code/bootstrap/state.ts:1375
↓ 1 callers
Function
handleAwsCredentialError
* Clear AWS auth caches if appropriate. * @returns true if action was taken.
source code/services/api/withRetry.ts:652
↓ 1 callers
Function
handleBroadcast
( content: string, summary: string | undefined, context: ToolUseContext, )
source code/tools/SendMessageTool/SendMessageTool.ts:193
↓ 1 callers
Function
handleCancel
()
source code/components/tasks/BackgroundTasksDialog.tsx:417
↓ 1 callers
Function
handleCancel
()
source code/commands/remote-setup/remote-setup.tsx:123
↓ 1 callers
Function
handleChange
(path: string)
source code/keybindings/loadUserBindings.ts:426
↓ 1 callers
Function
handleChange
(path: string)
source code/utils/settings/changeDetector.ts:270
↓ 1 callers
Function
handleChannelEnable
* IDE-triggered channel enable. Derives the ChannelEntry from the connection's * pluginSource (IDE can't spoof kind/marketplace — we only take the se
source code/cli/print.ts:4664
↓ 1 callers
Function
handleClearAuth
()
source code/components/mcp/MCPRemoteServerMenu.tsx:305
↓ 1 callers
Method
handleClickFocus
(node: DOMElement)
source code/ink/focus.ts:90
↓ 1 callers
Function
handleConfirm
(token: RedactedGithubToken)
source code/commands/remote-setup/remote-setup.tsx:129
↓ 1 callers
Method
handleControlRequest
* Handle control requests from CCR (e.g., permission requests)
source code/remote/RemoteSessionManager.ts:191
↓ 1 callers
Function
handleCoordinatorPermission
* Handles the coordinator worker permission flow. * * For coordinator workers, automated checks (hooks and classifier) are * awaited sequentially b
source code/hooks/toolPermission/handlers/coordinatorHandler.ts:28
↓ 1 callers
Function
handleDenialLimitExceeded
* Check if a denial limit was exceeded and return an 'ask' result * so the user can review. Returns null if no limit was hit.
source code/utils/permissions/permissions.ts:986
↓ 1 callers
Function
handleFastModeOverageRejection
(reason: string | null)
source code/utils/fastMode.ts:297
↓ 1 callers
Function
handleFastModeRejectedByAPI
()
source code/utils/fastMode.ts:246
↓ 1 callers
Function
handleFastModeShortcut
(enable: boolean, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
source code/commands/fast/fast.tsx:228
↓ 1 callers
Function
handleGcpCredentialError
* Clear GCP auth caches if appropriate. * @returns true if action was taken.
source code/services/api/withRetry.ts:690
↓ 1 callers
Function
handleInitializeRequest
( request: SDKControlInitializeRequest, requestId: string, initialized: boolean, output: Stream<Stdout
source code/cli/print.ts:4338
↓ 1 callers
Function
handleInteractivePermission
* Handles the interactive (main-agent) permission flow. * * Pushes a ToolUseConfirm entry to the confirm queue with callbacks: * onAbort, onAllow,
source code/hooks/toolPermission/handlers/interactiveHandler.ts:59
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
source code/hooks/useSearchInput.ts:106
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
source code/hooks/useBackgroundTaskNavigation.ts:149
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
source code/hooks/useVoiceIntegration.tsx:470
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
source code/hooks/useHistorySearch.ts:264
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
source code/hooks/useTypeahead.tsx:1296
↓ 1 callers
Method
handleMcpClient
(socket: Socket)
source code/utils/claudeInChrome/chromeNativeHost.ts:356
↓ 1 callers
Function
handleMcpSetServers
( servers: Record<string, McpServerConfigForProcessTransport>, sdkState: SdkMcpState, dynamicState: Dyna
source code/cli/print.ts:5355
↓ 1 callers
Function
handleMcpjsonServerApprovals
(root: Root)
source code/services/mcpServerApproval.tsx:17
↓ 1 callers
Function
handleMemoryFileReadError
(error: unknown, filePath: string)
source code/utils/claudemd.ts:404
↓ 1 callers
Function
handleMessage
( recipientName: string, content: string, summary: string | undefined, context: ToolUseContext, )
source code/tools/SendMessageTool/SendMessageTool.ts:151
↓ 1 callers
Method
handleMessage
* Handle messages from WebSocket
source code/remote/RemoteSessionManager.ts:148
↓ 1 callers
Method
handleMessage
(messageJson: string)
source code/utils/claudeInChrome/chromeNativeHost.ts:247
↓ 1 callers
Function
handleModelChange
()
source code/commands/model/model.tsx:145
↓ 1 callers
Function
handleMouseEvent
(app: App, m: ParsedMouse)
source code/ink/components/App.tsx:517
↓ 1 callers
Function
handleOAuth401ErrorImpl
( failedAccessToken: string, )
source code/utils/auth.ts:1375
↓ 1 callers
Function
handleOrphanedPermission
( orphanedPermission: OrphanedPermission, tools: Tools, mutableMessages: Message[], processUserInputCo
source code/utils/queryHelpers.ts:226
↓ 1 callers
Function
handleOrphanedPermissionResponse
({ message, setAppState, onEnqueued, handledToolUseIds, }: { message: SDKControlResponse setAppSta
source code/cli/print.ts:5243
↓ 1 callers
Function
handlePlanApproval
( recipientName: string, requestId: string, context: ToolUseContext, )
source code/tools/SendMessageTool/SendMessageTool.ts:436
↓ 1 callers
Function
handlePlanApprovalResponse
( taskId: string, _response: PlanApprovalResponseMessage, setAppState: SetAppState, )
source code/utils/inProcessTeammateHelpers.ts:79
↓ 1 callers
Function
handlePlanRejection
( recipientName: string, requestId: string, feedback: string, context: ToolUseContext, )
source code/tools/SendMessageTool/SendMessageTool.ts:480
↓ 1 callers
Method
handleQueryStart
* Handle the start of a new query. This method: * - Initializes the diagnostic tracker if not already initialized * - Resets the tracker if alre
source code/services/diagnosticTracking.ts:332
↓ 1 callers
Function
handleRedirection
( part: ParseEntry, prev: ParseEntry | undefined, next: ParseEntry | undefined, nextNext: ParseEntry |
source code/utils/bash/commands.ts:862
↓ 1 callers
Function
handleResult
( error: ExecFileException | null, stdout: string, stderr: string, isRetry: boolean,
source code/utils/ripgrep.ts:360
↓ 1 callers
Function
handleRetry
()
source code/components/ResumeTask.tsx:83
↓ 1 callers
Method
handleSSEFrame
* Handle a single SSE frame. The event: field names the variant; data: * carries the inner proto JSON directly (no envelope). * * Worker subs
source code/cli/transports/SSETransport.ts:427
↓ 1 callers
Function
handleScreenshot
(stats: ClaudeCodeStats, activeTab: 'Overview' | 'Models', setStatus: (status: string | null) => void)
source code/components/Stats.tsx:1061
↓ 1 callers
Function
handleSecurityCheckResult
(result: SecurityCheckResult)
source code/services/remoteManagedSettings/securityCheck.tsx:69
↓ 1 callers
Function
handleSelect
(value: string)
source code/components/WorktreeExitDialog.tsx:99
↓ 1 callers
Function
handleSelect
(log: LogOption)
source code/commands/resume/resume.tsx:138
↓ 1 callers
Function
handleSelectOption
(value: string)
source code/components/ExportDialog.tsx:45
↓ 1 callers
Function
handleSetPermissionMode
( request: { mode: InternalPermissionMode }, requestId: string, toolPermissionContext: ToolPermissionCon
source code/cli/print.ts:4570
↓ 1 callers
Function
handleShutdownApproval
( requestId: string, context: ToolUseContext, )
source code/tools/SendMessageTool/SendMessageTool.ts:307
↓ 1 callers
Function
handleShutdownRejection
( requestId: string, reason: string, )
source code/tools/SendMessageTool/SendMessageTool.ts:403
↓ 1 callers
Function
handleShutdownRequest
( targetName: string, reason: string | undefined, context: ToolUseContext, )
source code/tools/SendMessageTool/SendMessageTool.ts:270
↓ 1 callers
Function
handleSpawn
* Handle spawn operation - creates a new Claude Code instance. * Uses in-process mode when enabled, otherwise uses tmux/iTerm2 split-pane view. * Fa
source code/tools/shared/spawnMultiAgent.ts:1042
↓ 1 callers
Function
handleSpawnSeparateWindow
* Handle spawn operation using separate windows (legacy behavior). * Creates each teammate in its own tmux window.
source code/tools/shared/spawnMultiAgent.ts:547
↓ 1 callers
Function
handleSpawnSplitPane
* Handle spawn operation using split-pane view (default). * When inside tmux: Creates teammates in a shared window with leader on left, teammates on
source code/tools/shared/spawnMultiAgent.ts:307
↓ 1 callers
Function
handleSpeculationAccept
( speculationState: ActiveSpeculationState, speculationSessionTimeSavedMs: number, setAppState: SetAppSt
source code/services/PromptSuggestion/speculation.ts:837
↓ 1 callers
Function
handleStash
()
source code/components/TeleportStash.tsx:44
↓ 1 callers
Function
handleStopHooks
( messagesForQuery: Message[], assistantMessages: AssistantMessage[], systemPrompt: SystemPrompt, user
source code/query/stopHooks.ts:67
← previous
next →
6,101–6,200 of 11,462, ranked by callers