MCPcopy Create free account

hub / github.com/Austin1serb/Anthropic-Leaked-Source-Code / functions

Functions11,462 in github.com/Austin1serb/Anthropic-Leaked-Source-Code

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