MCPcopy Create free account

hub / github.com/tanbiralam/claude-code / functions

Functions11,484 in github.com/tanbiralam/claude-code

↓ 2 callersFunctioncacheExtraUsageDisabledReason
* Cache the extra usage disabled reason from API headers.
src/services/claudeAiLimits.ts:441
↓ 2 callersFunctioncacheMarketplaceFromUrl
* Cache a marketplace from a URL * * Downloads a marketplace.json file from a URL and saves it locally. * Creates the cache directory structure if
src/utils/plugins/marketplaceManager.ts:1256
↓ 2 callersFunctioncacheToObject
( cache: FileStateCache, )
src/utils/fileStateCache.ts:109
↓ 2 callersFunctioncachedHighlight
(hl: NonNullable<Awaited<ReturnType<typeof getCliHighlightPromise>>>, code: string, language: string)
src/components/HighlightedCode/Fallback.tsx:21
↓ 2 callersFunctioncalculateBaseline
(node: Node)
src/native-ts/yoga-layout/index.ts:2304
↓ 2 callersFunctioncalculateContextPercentages
( currentUsage: { input_tokens: number cache_creation_input_tokens: number cache_read_input_toke
src/utils/context.ts:118
↓ 2 callersMethodcalculateLayout
(width?: number, _height?: number)
src/ink/layout/yoga.ts:82
↓ 2 callersFunctioncalculateShouldShowGrove
( settingsResult: ApiResult<AccountSettings>, configResult: ApiResult<GroveConfig>, showIfAlreadyViewed:
src/services/api/grove.ts:284
↓ 2 callersFunctioncalculateStreaks
(dailyActivity: DailyActivity[])
src/utils/stats.ts:853
↓ 2 callersFunctioncalculateToolResultTokens
(block: ToolResultBlockParam)
src/services/compact/microCompact.ts:138
↓ 2 callersFunctioncallInner
* Inner implementation of call, separated to allow ENOENT handling in the outer call.
src/tools/FileReadTool/FileReadTool.ts:804
↓ 2 callersFunctioncallSafe
Call a listener with sync-throw and async-rejection both routed to logError.
src/services/analytics/growthbook.ts:110
↓ 2 callersFunctioncamelToSnakeCase
(str: string)
src/services/analytics/datadog.ts:85
↓ 2 callersMethodcancelReservation
* Cancel a reservation when processQueueIfReady had nothing to process. * Transitions dispatching → idle.
src/utils/QueryGuard.ts:49
↓ 2 callersFunctioncanonicalizePath
(dir: string)
src/utils/sessionStoragePortable.ts:339
↓ 2 callersFunctioncaptureHooksConfigSnapshot
()
src/utils/hooks/hooksConfigSnapshot.ts:95
↓ 2 callersFunctioncaptureTeammateModeSnapshot
()
src/utils/swarm/backends/teammateModeSnapshot.ts:56
↓ 2 callersFunctioncheckAndRefreshOAuthTokenIfNeededImpl
( retryCount: number, force: boolean, )
src/utils/auth.ts:1447
↓ 2 callersFunctioncheckAndRestoreTerminalBackup
()
src/utils/appleTerminalBackup.ts:82
↓ 2 callersFunctioncheckCommandAndSuggestRules
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, commandPref
src/tools/BashTool/bashPermissions.ts:1183
↓ 2 callersFunctioncheckCrossProjectResume
( log: LogOption, showAllProjects: boolean, worktreePaths: string[], )
src/utils/crossProjectResume.ts:30
↓ 2 callersFunctioncheckDuplicateKeysInJson
( jsonString: string, )
src/keybindings/validate.ts:258
↓ 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),
src/tools/BashTool/bashPermissions.ts:1391
↓ 2 callersFunctioncheckElements
(cmd: ParsedCommandElement)
src/utils/powershell/parser.ts:1741
↓ 2 callersFunctioncheckEnvLessBridgeMinVersion
()
src/bridge/envLessBridgeConfig.ts:147
↓ 2 callersFunctioncheckExistingSecret
()
src/commands/install-github-app/install-github-app.tsx:218
↓ 2 callersFunctioncheckGlobalInstallPermissions
()
src/utils/autoUpdater.ts:292
↓ 2 callersFunctioncheckMcpServerHealth
(name: string, server: ScopedMcpServerConfig)
src/cli/handlers/mcp.tsx:26
↓ 2 callersFunctioncheckNeedsClaudeAiLogin
()
src/utils/background/remote/preconditions.ts:23
↓ 2 callersFunctioncheckPermissionMode
( input: { command: string }, parsed: ParsedPowerShellCommand, toolPermissionContext: ToolPermissionCont
src/tools/PowerShellTool/modeValidation.ts:132
↓ 2 callersFunctioncheckReadOnlyConstraints
( input: z.infer<typeof BashTool.inputSchema>, compoundCommandHasCd: boolean, )
src/tools/BashTool/readOnlyValidation.ts:1876
↓ 2 callersFunctioncheckRecordingAvailability
()
src/services/voice.ts:259
↓ 2 callersFunctioncheckSemantics
(commands: SimpleCommand[])
src/utils/bash/ast.ts:2213
↓ 2 callersFunctioncheckStsCallerIdentity
()
src/utils/aws.ts:50
↓ 2 callersFunctioncheckTeamMemSecrets
( filePath: string, content: string, )
src/services/teamMemorySync/teamMemSecretGuard.ts:15
↓ 2 callersFunctioncheckVoiceDependencies
()
src/services/voice.ts:190
↓ 2 callersFunctionclaimTask
( taskListId: string, taskId: string, claimantAgentId: string, options: ClaimTaskOptions = {}, )
src/utils/tasks.ts:541
↓ 2 callersFunctionclassifyCommandName
( name: string, )
src/utils/powershell/parser.ts:800
↓ 2 callersFunctionclassifyGuiEditor
(editor: string)
src/utils/editor.ts:49
↓ 2 callersFunctionclassifyImageError
* Classifies image processing errors for analytics. * * Uses error codes when available (Node.js module errors), falls back to * message matching f
src/utils/imageResizer.ts:50
↓ 2 callersFunctionclassifyYoloAction
( messages: Message[], action: TranscriptEntry, tools: Tools, context: ToolPermissionContext, signal
src/utils/permissions/yoloClassifier.ts:1012
↓ 2 callersFunctioncleanup
()
src/services/lsp/LSPClient.ts:125
↓ 2 callersFunctioncleanup
()
src/services/mcp/xaaIdpLogin.ts:281
↓ 2 callersMethodcleanupAfterCommand
()
src/utils/sandbox/sandbox-adapter.ts:916
↓ 2 callersFunctioncleanupLegacyCache
* Clean up legacy non-versioned cache directories. * * Legacy cache structure: ~/.claude/plugins/cache/{plugin-name}/ * Versioned cache structure:
src/utils/plugins/installedPluginsManager.ts:192
↓ 2 callersFunctioncleanupNpmCacheForAnthropicPackages
()
src/utils/cleanup.ts:438
↓ 2 callersFunctioncleanupOldFilesInDirectory
( dirPath: string, cutoffDate: Date, isMessagePath: boolean, )
src/utils/cleanup.ts:55
↓ 2 callersFunctioncleanupOrphanedPluginVersionsInBackground
()
src/utils/plugins/cacheUtils.ts:74
↓ 2 callersFunctioncleanupPath
(path: string | undefined)
src/ink/components/ErrorOverview.tsx:12
↓ 2 callersFunctioncleanupSecureStorage
()
src/cli/handlers/mcp.tsx:79
↓ 2 callersFunctioncleanupStaleLocks
(locksDir: string)
src/utils/nativeInstaller/pidLock.ts:394
↓ 2 callersFunctioncleanupTeamDirectories
(teamName: string)
src/utils/swarm/teamHelpers.ts:641
↓ 2 callersFunctioncleanupYogaNode
(node: DOMElement | TextNode)
src/ink/reconciler.ts:95
↓ 2 callersFunctionclearAgentDefinitionsCache
()
src/tools/AgentTool/loadAgentsDir.ts:395
↓ 2 callersFunctionclearApiKeyHelperCache
()
src/utils/auth.ts:585
↓ 2 callersFunctionclearAuthRelatedCaches
()
src/commands/logout/logout.tsx:51
↓ 2 callersFunctionclearAwsCredentialsCache
()
src/utils/auth.ts:809
↓ 2 callersFunctionclearBetasCaches
()
src/utils/betas.ts:430
↓ 2 callersFunctionclearDeliveredDiagnosticsForFile
(fileUri: string)
src/services/lsp/LSPDiagnosticRegistry.ts:372
↓ 2 callersFunctionclearGcpCredentialsCache
()
src/utils/auth.ts:983
↓ 2 callersFunctionclearLegacyApiKeyPrefetch
()
src/utils/secureStorage/keychainPrefetch.ts:114
↓ 2 callersFunctionclearMcpAuthCache
()
src/services/mcp/client.ts:311
↓ 2 callersFunctionclearPluginAgentCache
()
src/utils/plugins/loadPluginAgents.ts:346
↓ 2 callersFunctionclearPluginCommandCache
()
src/utils/plugins/loadPluginCommands.ts:679
↓ 2 callersFunctionclearPluginHookCache
()
src/utils/plugins/loadPluginHooks.ts:159
↓ 2 callersFunctionclearPluginOutputStyleCache
()
src/utils/plugins/loadPluginOutputStyles.ts:176
↓ 2 callersFunctionclearPolicyLimitsCache
()
src/services/policyLimits/index.ts:595
↓ 2 callersFunctionclearPromptCache
()
src/tools/SkillTool/prompt.ts:217
↓ 2 callersFunctionclearRegisteredPluginHooks
()
src/bootstrap/state.ts:1446
↓ 2 callersFunctionclearRemoteManagedSettingsCache
()
src/services/remoteManagedSettings/index.ts:391
↓ 2 callersFunctionclearSessionMetadata
()
src/utils/sessionStorage.ts:2792
↓ 2 callersFunctionclearSkillCaches
()
src/skills/loadSkillsDir.ts:806
↓ 2 callersFunctionclearSpeculativeChecks
()
src/tools/BashTool/bashPermissions.ts:1543
↓ 2 callersMethodclearTextSelection
Clear the current text selection without copying.
src/ink/ink.tsx:1042
↓ 2 callersFunctionclearToolSchemaCache
()
src/utils/toolSchemaCache.ts:24
↓ 2 callersFunctionclone
(value: T, options?: StructuredSerializeOptions)
src/utils/slowOperations.ts:221
↓ 2 callersMethodclose
* Close the WebSocket connection
src/remote/SessionsWebSocket.ts:369
↓ 2 callersFunctioncloseOpenSpans
* Force-close any remaining open spans at session end.
src/utils/telemetry/perfettoTracing.ts:965
↓ 2 callersFunctioncoalescePatches
* Coalesce two patches for PUT /worker. * * Top-level keys: overlay replaces base (last value wins). * Metadata keys (external_metadata, internal_m
src/cli/transports/WorkerStateUploader.ts:106
↓ 2 callersFunctioncollectCandidatesByMessage
* Extract candidate tool_result blocks grouped by API-level user message. * * normalizeMessagesForAPI merges consecutive user messages into one * (
src/utils/toolResultStorage.ts:600
↓ 2 callersFunctioncollectCompactableToolIds
* Walk messages and collect tool_use IDs whose tool name is in * COMPACTABLE_TOOLS, in encounter order. Shared by both microcompact paths.
src/services/compact/microCompact.ts:226
↓ 2 callersFunctioncollectContextData
( context: CollectContextDataInput, )
src/commands/context/context-noninteractive.ts:34
↓ 2 callersFunctioncollectDirectoryNames
( files: string[], start: number, end: number, out: Set<string>, )
src/hooks/fileSuggestions.ts:420
↓ 2 callersFunctioncolorToEscape
(c: Color, fg: boolean, mode: ColorMode)
src/native-ts/color-diff/index.ts:129
↓ 2 callersFunctioncolorToString
* Convert termio's Color to the string format used by Ink.
src/ink/Ansi.tsx:196
↓ 2 callersFunctioncommandArraysMatch
* Check if two command arrays match exactly
src/services/mcp/config.ts:149
↓ 2 callersFunctioncommandHasArgAbbreviation
( command: ParsedCommandElement, fullParam: string, minPrefix: string, )
src/utils/powershell/parser.ts:1663
↓ 2 callersFunctioncommitTextField
(fieldName_3: string, schema_1: PrimitiveSchemaDefinition, value_0: string)
src/components/mcp/ElicitationDialog.tsx:365
↓ 2 callersFunctioncompleteMainSessionTask
( taskId: string, success: boolean, setAppState: SetAppState, )
src/tasks/LocalMainSessionTask.ts:168
↓ 2 callersFunctioncompressImageBuffer
( imageBuffer: Buffer, maxBytes: number = IMAGE_TARGET_RAW_SIZE, originalMediaType?: string, )
src/utils/imageResizer.ts:498
↓ 2 callersFunctioncomputeFileModificationState
* Compute the character contribution for a file modification. * Returns the FileAttributionState to store, or null if tracking failed.
src/utils/commitAttribution.ts:325
↓ 2 callersFunctioncomputeFingerprint
( messageText: string, version: string, )
src/utils/fingerprint.ts:50
↓ 2 callersFunctioncomputeInitialTeamContext
()
src/utils/swarm/reconnection.ts:23
↓ 2 callersFunctioncomputeNewLimitsFromHeaders
( headers: globalThis.Headers, )
src/services/claudeAiLimits.ts:376
↓ 2 callersFunctioncomputeSimpleEnvInfo
( modelId: string, additionalWorkingDirectories?: string[], )
src/constants/prompts.ts:651
↓ 2 callersFunctioncomputeToolHashes
()
src/services/api/promptCacheBreakDetection.ts:285
↓ 2 callersFunctioncomputeTurnStats
(turn: TurnDiff)
src/hooks/useTurnDiffs.ts:79
↓ 2 callersFunctioncomputeWheelStep
(state: WheelAccelState, dir: 1 | -1, now: number)
src/components/ScrollKeybindingHandler.tsx:176
↓ 2 callersFunctionconfigureGlobalAgents
()
src/utils/proxy.ts:327
↓ 2 callersMethodconnect
* Connect to the sessions WebSocket endpoint
src/remote/SessionsWebSocket.ts:100
← previousnext →2,601–2,700 of 11,484, ranked by callers