MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

↓ 2 callersFunctioncacheToObject
( cache: FileStateCache, )
source code/utils/fileStateCache.ts:111
↓ 2 callersFunctioncachedHighlight
(hl: NonNullable<Awaited<ReturnType<typeof getCliHighlightPromise>>>, code: string, language: string)
source code/components/HighlightedCode/Fallback.tsx:23
↓ 2 callersFunctioncalculateBaseline
(node: Node)
source code/native-ts/yoga-layout/index.ts:2306
↓ 2 callersFunctioncalculateContextPercentages
( currentUsage: { input_tokens: number cache_creation_input_tokens: number cache_read_input_toke
source code/utils/context.ts:120
↓ 2 callersMethodcalculateLayout
(width?: number, _height?: number)
source code/ink/layout/yoga.ts:84
↓ 2 callersFunctioncalculateShouldShowGrove
( settingsResult: ApiResult<AccountSettings>, configResult: ApiResult<GroveConfig>, showIfAlreadyViewed:
source code/services/api/grove.ts:286
↓ 2 callersFunctioncalculateStreaks
(dailyActivity: DailyActivity[])
source code/utils/stats.ts:855
↓ 2 callersFunctioncalculateToolResultTokens
(block: ToolResultBlockParam)
source code/services/compact/microCompact.ts:140
↓ 2 callersFunctioncallInner
* Inner implementation of call, separated to allow ENOENT handling in the outer call.
source code/tools/FileReadTool/FileReadTool.ts:806
↓ 2 callersFunctioncallSafe
Call a listener with sync-throw and async-rejection both routed to logError.
source code/services/analytics/growthbook.ts:112
↓ 2 callersFunctioncamelToSnakeCase
(str: string)
source code/services/analytics/datadog.ts:87
↓ 2 callersMethodcancelReservation
* Cancel a reservation when processQueueIfReady had nothing to process. * Transitions dispatching → idle.
source code/utils/QueryGuard.ts:51
↓ 2 callersFunctioncanonicalizePath
(dir: string)
source code/utils/sessionStoragePortable.ts:341
↓ 2 callersFunctioncaptureHooksConfigSnapshot
()
source code/utils/hooks/hooksConfigSnapshot.ts:97
↓ 2 callersFunctioncaptureTeammateModeSnapshot
()
source code/utils/swarm/backends/teammateModeSnapshot.ts:58
↓ 2 callersFunctioncheckAndRefreshOAuthTokenIfNeededImpl
( retryCount: number, force: boolean, )
source code/utils/auth.ts:1449
↓ 2 callersFunctioncheckAndRestoreTerminalBackup
()
source code/utils/appleTerminalBackup.ts:84
↓ 2 callersFunctioncheckCommandAndSuggestRules
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, commandPref
source code/tools/BashTool/bashPermissions.ts:1185
↓ 2 callersFunctioncheckCrossProjectResume
( log: LogOption, showAllProjects: boolean, worktreePaths: string[], )
source code/utils/crossProjectResume.ts:32
↓ 2 callersFunctioncheckDuplicateKeysInJson
( jsonString: string, )
source code/keybindings/validate.ts:260
↓ 2 callersFunctioncheckEarlyExitDeny
* 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 callersFunctioncheckElements
(cmd: ParsedCommandElement)
source code/utils/powershell/parser.ts:1743
↓ 2 callersFunctioncheckEnvLessBridgeMinVersion
()
source code/bridge/envLessBridgeConfig.ts:149
↓ 2 callersFunctioncheckExistingSecret
()
source code/commands/install-github-app/install-github-app.tsx:220
↓ 2 callersFunctioncheckGlobalInstallPermissions
()
source code/utils/autoUpdater.ts:294
↓ 2 callersFunctioncheckMcpServerHealth
(name: string, server: ScopedMcpServerConfig)
source code/cli/handlers/mcp.tsx:28
↓ 2 callersFunctioncheckNeedsClaudeAiLogin
()
source code/utils/background/remote/preconditions.ts:25
↓ 2 callersFunctioncheckPermissionMode
( input: { command: string }, parsed: ParsedPowerShellCommand, toolPermissionContext: ToolPermissionCont
source code/tools/PowerShellTool/modeValidation.ts:134
↓ 2 callersFunctioncheckReadOnlyConstraints
( input: z.infer<typeof BashTool.inputSchema>, compoundCommandHasCd: boolean, )
source code/tools/BashTool/readOnlyValidation.ts:1878
↓ 2 callersFunctioncheckRecordingAvailability
()
source code/services/voice.ts:261
↓ 2 callersFunctioncheckSemantics
(commands: SimpleCommand[])
source code/utils/bash/ast.ts:2215
↓ 2 callersFunctioncheckStsCallerIdentity
()
source code/utils/aws.ts:52
↓ 2 callersFunctioncheckTeamMemSecrets
( filePath: string, content: string, )
source code/services/teamMemorySync/teamMemSecretGuard.ts:17
↓ 2 callersFunctioncheckVoiceDependencies
()
source code/services/voice.ts:192
↓ 2 callersFunctionclaimTask
( taskListId: string, taskId: string, claimantAgentId: string, options: ClaimTaskOptions = {}, )
source code/utils/tasks.ts:543
↓ 2 callersFunctionclassifyCommandName
( name: string, )
source code/utils/powershell/parser.ts:802
↓ 2 callersFunctionclassifyGuiEditor
(editor: string)
source code/utils/editor.ts:51
↓ 2 callersFunctionclassifyImageError
* 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 callersFunctionclassifyYoloAction
( messages: Message[], action: TranscriptEntry, tools: Tools, context: ToolPermissionContext, signal
source code/utils/permissions/yoloClassifier.ts:1014
↓ 2 callersFunctioncleanup
()
source code/services/lsp/LSPClient.ts:127
↓ 2 callersFunctioncleanup
()
source code/services/mcp/xaaIdpLogin.ts:283
↓ 2 callersMethodcleanupAfterCommand
()
source code/utils/sandbox/sandbox-adapter.ts:918
↓ 2 callersFunctioncleanupLegacyCache
* 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 callersFunctioncleanupNpmCacheForAnthropicPackages
()
source code/utils/cleanup.ts:440
↓ 2 callersFunctioncleanupOldFilesInDirectory
( dirPath: string, cutoffDate: Date, isMessagePath: boolean, )
source code/utils/cleanup.ts:57
↓ 2 callersFunctioncleanupOrphanedPluginVersionsInBackground
()
source code/utils/plugins/cacheUtils.ts:76
↓ 2 callersFunctioncleanupPath
(path: string | undefined)
source code/ink/components/ErrorOverview.tsx:14
↓ 2 callersFunctioncleanupSecureStorage
()
source code/cli/handlers/mcp.tsx:81
↓ 2 callersFunctioncleanupStaleLocks
(locksDir: string)
source code/utils/nativeInstaller/pidLock.ts:396
↓ 2 callersFunctioncleanupTeamDirectories
(teamName: string)
source code/utils/swarm/teamHelpers.ts:643
↓ 2 callersFunctioncleanupYogaNode
(node: DOMElement | TextNode)
source code/ink/reconciler.ts:97
↓ 2 callersFunctionclearAgentDefinitionsCache
()
source code/tools/AgentTool/loadAgentsDir.ts:397
↓ 2 callersFunctionclearApiKeyHelperCache
()
source code/utils/auth.ts:587
↓ 2 callersFunctionclearAuthRelatedCaches
()
source code/commands/logout/logout.tsx:53
↓ 2 callersFunctionclearAwsCredentialsCache
()
source code/utils/auth.ts:811
↓ 2 callersFunctionclearBetasCaches
()
source code/utils/betas.ts:432
↓ 2 callersFunctionclearDeliveredDiagnosticsForFile
(fileUri: string)
source code/services/lsp/LSPDiagnosticRegistry.ts:374
↓ 2 callersFunctionclearGcpCredentialsCache
()
source code/utils/auth.ts:985
↓ 2 callersFunctionclearLegacyApiKeyPrefetch
()
source code/utils/secureStorage/keychainPrefetch.ts:116
↓ 2 callersFunctionclearMcpAuthCache
()
source code/services/mcp/client.ts:313
↓ 2 callersFunctionclearPluginAgentCache
()
source code/utils/plugins/loadPluginAgents.ts:348
↓ 2 callersFunctionclearPluginCommandCache
()
source code/utils/plugins/loadPluginCommands.ts:681
↓ 2 callersFunctionclearPluginHookCache
()
source code/utils/plugins/loadPluginHooks.ts:161
↓ 2 callersFunctionclearPluginOutputStyleCache
()
source code/utils/plugins/loadPluginOutputStyles.ts:178
↓ 2 callersFunctionclearPolicyLimitsCache
()
source code/services/policyLimits/index.ts:597
↓ 2 callersFunctionclearPromptCache
()
source code/tools/SkillTool/prompt.ts:219
↓ 2 callersFunctionclearRegisteredPluginHooks
()
source code/bootstrap/state.ts:1448
↓ 2 callersFunctionclearRemoteManagedSettingsCache
()
source code/services/remoteManagedSettings/index.ts:393
↓ 2 callersFunctionclearSessionMetadata
()
source code/utils/sessionStorage.ts:2794
↓ 2 callersFunctionclearSkillCaches
()
source code/skills/loadSkillsDir.ts:808
↓ 2 callersFunctionclearSpeculativeChecks
()
source code/tools/BashTool/bashPermissions.ts:1545
↓ 2 callersMethodclearTextSelection
Clear the current text selection without copying.
source code/ink/ink.tsx:1044
↓ 2 callersFunctionclearToolSchemaCache
()
source code/utils/toolSchemaCache.ts:26
↓ 2 callersFunctionclone
(value: T, options?: StructuredSerializeOptions)
source code/utils/slowOperations.ts:223
↓ 2 callersMethodclose
* Close the WebSocket connection
source code/remote/SessionsWebSocket.ts:371
↓ 2 callersFunctioncloseOpenSpans
* Force-close any remaining open spans at session end.
source code/utils/telemetry/perfettoTracing.ts:967
↓ 2 callersFunctioncoalescePatches
* 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 callersFunctioncollectCandidatesByMessage
* 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 callersFunctioncollectCompactableToolIds
* 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 callersFunctioncollectContextData
( context: CollectContextDataInput, )
source code/commands/context/context-noninteractive.ts:36
↓ 2 callersFunctioncollectDirectoryNames
( files: string[], start: number, end: number, out: Set<string>, )
source code/hooks/fileSuggestions.ts:422
↓ 2 callersFunctioncolorToEscape
(c: Color, fg: boolean, mode: ColorMode)
source code/native-ts/color-diff/index.ts:131
↓ 2 callersFunctioncolorToString
* Convert termio's Color to the string format used by Ink.
source code/ink/Ansi.tsx:198
↓ 2 callersFunctioncommandArraysMatch
* Check if two command arrays match exactly
source code/services/mcp/config.ts:151
↓ 2 callersFunctioncommandHasArgAbbreviation
( command: ParsedCommandElement, fullParam: string, minPrefix: string, )
source code/utils/powershell/parser.ts:1665
↓ 2 callersFunctioncommitTextField
(fieldName_3: string, schema_1: PrimitiveSchemaDefinition, value_0: string)
source code/components/mcp/ElicitationDialog.tsx:367
↓ 2 callersFunctioncompleteMainSessionTask
( taskId: string, success: boolean, setAppState: SetAppState, )
source code/tasks/LocalMainSessionTask.ts:170
↓ 2 callersFunctioncompressImageBuffer
( imageBuffer: Buffer, maxBytes: number = IMAGE_TARGET_RAW_SIZE, originalMediaType?: string, )
source code/utils/imageResizer.ts:500
↓ 2 callersFunctioncomputeFileModificationState
* 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 callersFunctioncomputeFingerprint
( messageText: string, version: string, )
source code/utils/fingerprint.ts:52
↓ 2 callersFunctioncomputeInitialTeamContext
()
source code/utils/swarm/reconnection.ts:25
↓ 2 callersFunctioncomputeNewLimitsFromHeaders
( headers: globalThis.Headers, )
source code/services/claudeAiLimits.ts:378
↓ 2 callersFunctioncomputeSimpleEnvInfo
( modelId: string, additionalWorkingDirectories?: string[], )
source code/constants/prompts.ts:653
↓ 2 callersFunctioncomputeToolHashes
()
source code/services/api/promptCacheBreakDetection.ts:287
↓ 2 callersFunctioncomputeTurnStats
(turn: TurnDiff)
source code/hooks/useTurnDiffs.ts:81
↓ 2 callersFunctioncomputeWheelStep
(state: WheelAccelState, dir: 1 | -1, now: number)
source code/components/ScrollKeybindingHandler.tsx:178
↓ 2 callersFunctionconfigureGlobalAgents
()
source code/utils/proxy.ts:329
↓ 2 callersMethodconnect
* Connect to the sessions WebSocket endpoint
source code/remote/SessionsWebSocket.ts:102
↓ 2 callersFunctionconnectMcpBatch
(configs: Record<string, ScopedMcpServerConfig>, label: string)
source code/main.tsx:2693
↓ 2 callersFunctionconnectVoiceStream
( callbacks: VoiceStreamCallbacks, options?: { language?: string; keyterms?: string[] }, )
source code/services/voiceStreamSTT.ts:113
← previousnext →2,601–2,700 of 11,462, ranked by callers