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
↓ 2 callers
Function
cacheToObject
( cache: FileStateCache, )
source code/utils/fileStateCache.ts:111
↓ 2 callers
Function
cachedHighlight
(hl: NonNullable<Awaited<ReturnType<typeof getCliHighlightPromise>>>, code: string, language: string)
source code/components/HighlightedCode/Fallback.tsx:23
↓ 2 callers
Function
calculateBaseline
(node: Node)
source code/native-ts/yoga-layout/index.ts:2306
↓ 2 callers
Function
calculateContextPercentages
( currentUsage: { input_tokens: number cache_creation_input_tokens: number cache_read_input_toke
source code/utils/context.ts:120
↓ 2 callers
Method
calculateLayout
(width?: number, _height?: number)
source code/ink/layout/yoga.ts:84
↓ 2 callers
Function
calculateShouldShowGrove
( settingsResult: ApiResult<AccountSettings>, configResult: ApiResult<GroveConfig>, showIfAlreadyViewed:
source code/services/api/grove.ts:286
↓ 2 callers
Function
calculateStreaks
(dailyActivity: DailyActivity[])
source code/utils/stats.ts:855
↓ 2 callers
Function
calculateToolResultTokens
(block: ToolResultBlockParam)
source code/services/compact/microCompact.ts:140
↓ 2 callers
Function
callInner
* Inner implementation of call, separated to allow ENOENT handling in the outer call.
source code/tools/FileReadTool/FileReadTool.ts:806
↓ 2 callers
Function
callSafe
Call a listener with sync-throw and async-rejection both routed to logError.
source code/services/analytics/growthbook.ts:112
↓ 2 callers
Function
camelToSnakeCase
(str: string)
source code/services/analytics/datadog.ts:87
↓ 2 callers
Method
cancelReservation
* Cancel a reservation when processQueueIfReady had nothing to process. * Transitions dispatching → idle.
source code/utils/QueryGuard.ts:51
↓ 2 callers
Function
canonicalizePath
(dir: string)
source code/utils/sessionStoragePortable.ts:341
↓ 2 callers
Function
captureHooksConfigSnapshot
()
source code/utils/hooks/hooksConfigSnapshot.ts:97
↓ 2 callers
Function
captureTeammateModeSnapshot
()
source code/utils/swarm/backends/teammateModeSnapshot.ts:58
↓ 2 callers
Function
checkAndRefreshOAuthTokenIfNeededImpl
( retryCount: number, force: boolean, )
source code/utils/auth.ts:1449
↓ 2 callers
Function
checkAndRestoreTerminalBackup
()
source code/utils/appleTerminalBackup.ts:84
↓ 2 callers
Function
checkCommandAndSuggestRules
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, commandPref
source code/tools/BashTool/bashPermissions.ts:1185
↓ 2 callers
Function
checkCrossProjectResume
( log: LogOption, showAllProjects: boolean, worktreePaths: string[], )
source code/utils/crossProjectResume.ts:32
↓ 2 callers
Function
checkDuplicateKeysInJson
( jsonString: string, )
source code/keybindings/validate.ts:260
↓ 2 callers
Function
checkEarlyExitDeny
* Early-exit deny enforcement for the AST too-complex and checkSemantics * paths. Returns the exact-match result if non-passthrough (deny/ask/allow),
source code/tools/BashTool/bashPermissions.ts:1393
↓ 2 callers
Function
checkElements
(cmd: ParsedCommandElement)
source code/utils/powershell/parser.ts:1743
↓ 2 callers
Function
checkEnvLessBridgeMinVersion
()
source code/bridge/envLessBridgeConfig.ts:149
↓ 2 callers
Function
checkExistingSecret
()
source code/commands/install-github-app/install-github-app.tsx:220
↓ 2 callers
Function
checkGlobalInstallPermissions
()
source code/utils/autoUpdater.ts:294
↓ 2 callers
Function
checkMcpServerHealth
(name: string, server: ScopedMcpServerConfig)
source code/cli/handlers/mcp.tsx:28
↓ 2 callers
Function
checkNeedsClaudeAiLogin
()
source code/utils/background/remote/preconditions.ts:25
↓ 2 callers
Function
checkPermissionMode
( input: { command: string }, parsed: ParsedPowerShellCommand, toolPermissionContext: ToolPermissionCont
source code/tools/PowerShellTool/modeValidation.ts:134
↓ 2 callers
Function
checkReadOnlyConstraints
( input: z.infer<typeof BashTool.inputSchema>, compoundCommandHasCd: boolean, )
source code/tools/BashTool/readOnlyValidation.ts:1878
↓ 2 callers
Function
checkRecordingAvailability
()
source code/services/voice.ts:261
↓ 2 callers
Function
checkSemantics
(commands: SimpleCommand[])
source code/utils/bash/ast.ts:2215
↓ 2 callers
Function
checkStsCallerIdentity
()
source code/utils/aws.ts:52
↓ 2 callers
Function
checkTeamMemSecrets
( filePath: string, content: string, )
source code/services/teamMemorySync/teamMemSecretGuard.ts:17
↓ 2 callers
Function
checkVoiceDependencies
()
source code/services/voice.ts:192
↓ 2 callers
Function
claimTask
( taskListId: string, taskId: string, claimantAgentId: string, options: ClaimTaskOptions = {}, )
source code/utils/tasks.ts:543
↓ 2 callers
Function
classifyCommandName
( name: string, )
source code/utils/powershell/parser.ts:802
↓ 2 callers
Function
classifyGuiEditor
(editor: string)
source code/utils/editor.ts:51
↓ 2 callers
Function
classifyImageError
* Classifies image processing errors for analytics. * * Uses error codes when available (Node.js module errors), falls back to * message matching f
source code/utils/imageResizer.ts:52
↓ 2 callers
Function
classifyYoloAction
( messages: Message[], action: TranscriptEntry, tools: Tools, context: ToolPermissionContext, signal
source code/utils/permissions/yoloClassifier.ts:1014
↓ 2 callers
Function
cleanup
()
source code/services/lsp/LSPClient.ts:127
↓ 2 callers
Function
cleanup
()
source code/services/mcp/xaaIdpLogin.ts:283
↓ 2 callers
Method
cleanupAfterCommand
()
source code/utils/sandbox/sandbox-adapter.ts:918
↓ 2 callers
Function
cleanupLegacyCache
* Clean up legacy non-versioned cache directories. * * Legacy cache structure: ~/.claude/plugins/cache/{plugin-name}/ * Versioned cache structure:
source code/utils/plugins/installedPluginsManager.ts:194
↓ 2 callers
Function
cleanupNpmCacheForAnthropicPackages
()
source code/utils/cleanup.ts:440
↓ 2 callers
Function
cleanupOldFilesInDirectory
( dirPath: string, cutoffDate: Date, isMessagePath: boolean, )
source code/utils/cleanup.ts:57
↓ 2 callers
Function
cleanupOrphanedPluginVersionsInBackground
()
source code/utils/plugins/cacheUtils.ts:76
↓ 2 callers
Function
cleanupPath
(path: string | undefined)
source code/ink/components/ErrorOverview.tsx:14
↓ 2 callers
Function
cleanupSecureStorage
()
source code/cli/handlers/mcp.tsx:81
↓ 2 callers
Function
cleanupStaleLocks
(locksDir: string)
source code/utils/nativeInstaller/pidLock.ts:396
↓ 2 callers
Function
cleanupTeamDirectories
(teamName: string)
source code/utils/swarm/teamHelpers.ts:643
↓ 2 callers
Function
cleanupYogaNode
(node: DOMElement | TextNode)
source code/ink/reconciler.ts:97
↓ 2 callers
Function
clearAgentDefinitionsCache
()
source code/tools/AgentTool/loadAgentsDir.ts:397
↓ 2 callers
Function
clearApiKeyHelperCache
()
source code/utils/auth.ts:587
↓ 2 callers
Function
clearAuthRelatedCaches
()
source code/commands/logout/logout.tsx:53
↓ 2 callers
Function
clearAwsCredentialsCache
()
source code/utils/auth.ts:811
↓ 2 callers
Function
clearBetasCaches
()
source code/utils/betas.ts:432
↓ 2 callers
Function
clearDeliveredDiagnosticsForFile
(fileUri: string)
source code/services/lsp/LSPDiagnosticRegistry.ts:374
↓ 2 callers
Function
clearGcpCredentialsCache
()
source code/utils/auth.ts:985
↓ 2 callers
Function
clearLegacyApiKeyPrefetch
()
source code/utils/secureStorage/keychainPrefetch.ts:116
↓ 2 callers
Function
clearMcpAuthCache
()
source code/services/mcp/client.ts:313
↓ 2 callers
Function
clearPluginAgentCache
()
source code/utils/plugins/loadPluginAgents.ts:348
↓ 2 callers
Function
clearPluginCommandCache
()
source code/utils/plugins/loadPluginCommands.ts:681
↓ 2 callers
Function
clearPluginHookCache
()
source code/utils/plugins/loadPluginHooks.ts:161
↓ 2 callers
Function
clearPluginOutputStyleCache
()
source code/utils/plugins/loadPluginOutputStyles.ts:178
↓ 2 callers
Function
clearPolicyLimitsCache
()
source code/services/policyLimits/index.ts:597
↓ 2 callers
Function
clearPromptCache
()
source code/tools/SkillTool/prompt.ts:219
↓ 2 callers
Function
clearRegisteredPluginHooks
()
source code/bootstrap/state.ts:1448
↓ 2 callers
Function
clearRemoteManagedSettingsCache
()
source code/services/remoteManagedSettings/index.ts:393
↓ 2 callers
Function
clearSessionMetadata
()
source code/utils/sessionStorage.ts:2794
↓ 2 callers
Function
clearSkillCaches
()
source code/skills/loadSkillsDir.ts:808
↓ 2 callers
Function
clearSpeculativeChecks
()
source code/tools/BashTool/bashPermissions.ts:1545
↓ 2 callers
Method
clearTextSelection
Clear the current text selection without copying.
source code/ink/ink.tsx:1044
↓ 2 callers
Function
clearToolSchemaCache
()
source code/utils/toolSchemaCache.ts:26
↓ 2 callers
Function
clone
(value: T, options?: StructuredSerializeOptions)
source code/utils/slowOperations.ts:223
↓ 2 callers
Method
close
* Close the WebSocket connection
source code/remote/SessionsWebSocket.ts:371
↓ 2 callers
Function
closeOpenSpans
* Force-close any remaining open spans at session end.
source code/utils/telemetry/perfettoTracing.ts:967
↓ 2 callers
Function
coalescePatches
* Coalesce two patches for PUT /worker. * * Top-level keys: overlay replaces base (last value wins). * Metadata keys (external_metadata, internal_m
source code/cli/transports/WorkerStateUploader.ts:108
↓ 2 callers
Function
collectCandidatesByMessage
* Extract candidate tool_result blocks grouped by API-level user message. * * normalizeMessagesForAPI merges consecutive user messages into one * (
source code/utils/toolResultStorage.ts:602
↓ 2 callers
Function
collectCompactableToolIds
* Walk messages and collect tool_use IDs whose tool name is in * COMPACTABLE_TOOLS, in encounter order. Shared by both microcompact paths.
source code/services/compact/microCompact.ts:228
↓ 2 callers
Function
collectContextData
( context: CollectContextDataInput, )
source code/commands/context/context-noninteractive.ts:36
↓ 2 callers
Function
collectDirectoryNames
( files: string[], start: number, end: number, out: Set<string>, )
source code/hooks/fileSuggestions.ts:422
↓ 2 callers
Function
colorToEscape
(c: Color, fg: boolean, mode: ColorMode)
source code/native-ts/color-diff/index.ts:131
↓ 2 callers
Function
colorToString
* Convert termio's Color to the string format used by Ink.
source code/ink/Ansi.tsx:198
↓ 2 callers
Function
commandArraysMatch
* Check if two command arrays match exactly
source code/services/mcp/config.ts:151
↓ 2 callers
Function
commandHasArgAbbreviation
( command: ParsedCommandElement, fullParam: string, minPrefix: string, )
source code/utils/powershell/parser.ts:1665
↓ 2 callers
Function
commitTextField
(fieldName_3: string, schema_1: PrimitiveSchemaDefinition, value_0: string)
source code/components/mcp/ElicitationDialog.tsx:367
↓ 2 callers
Function
completeMainSessionTask
( taskId: string, success: boolean, setAppState: SetAppState, )
source code/tasks/LocalMainSessionTask.ts:170
↓ 2 callers
Function
compressImageBuffer
( imageBuffer: Buffer, maxBytes: number = IMAGE_TARGET_RAW_SIZE, originalMediaType?: string, )
source code/utils/imageResizer.ts:500
↓ 2 callers
Function
computeFileModificationState
* Compute the character contribution for a file modification. * Returns the FileAttributionState to store, or null if tracking failed.
source code/utils/commitAttribution.ts:327
↓ 2 callers
Function
computeFingerprint
( messageText: string, version: string, )
source code/utils/fingerprint.ts:52
↓ 2 callers
Function
computeInitialTeamContext
()
source code/utils/swarm/reconnection.ts:25
↓ 2 callers
Function
computeNewLimitsFromHeaders
( headers: globalThis.Headers, )
source code/services/claudeAiLimits.ts:378
↓ 2 callers
Function
computeSimpleEnvInfo
( modelId: string, additionalWorkingDirectories?: string[], )
source code/constants/prompts.ts:653
↓ 2 callers
Function
computeToolHashes
()
source code/services/api/promptCacheBreakDetection.ts:287
↓ 2 callers
Function
computeTurnStats
(turn: TurnDiff)
source code/hooks/useTurnDiffs.ts:81
↓ 2 callers
Function
computeWheelStep
(state: WheelAccelState, dir: 1 | -1, now: number)
source code/components/ScrollKeybindingHandler.tsx:178
↓ 2 callers
Function
configureGlobalAgents
()
source code/utils/proxy.ts:329
↓ 2 callers
Method
connect
* Connect to the sessions WebSocket endpoint
source code/remote/SessionsWebSocket.ts:102
↓ 2 callers
Function
connectMcpBatch
(configs: Record<string, ScopedMcpServerConfig>, label: string)
source code/main.tsx:2693
↓ 2 callers
Function
connectVoiceStream
( callbacks: VoiceStreamCallbacks, options?: { language?: string; keyterms?: string[] }, )
source code/services/voiceStreamSTT.ts:113
← previous
next →
2,601–2,700 of 11,462, ranked by callers