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
loadCacheMetadata
* Load cache metadata for an MCPB source
source code/utils/plugins/mcpbHandler.ts:445
↓ 2 callers
Function
loadCachedRestrictions
()
source code/services/policyLimits/index.ts:394
↓ 2 callers
Function
loadCommandsFromDirectory
( commandsPath: string, pluginName: string, sourceName: string, pluginManifest: PluginManifest, plug
source code/utils/plugins/loadPluginCommands.ts:171
↓ 2 callers
Method
loadFromFileListAsync
* Async variant: yields to the event loop every ~8–12k paths so large * indexes (270k+ files) don't block the main thread for >10ms at a time. *
source code/native-ts/file-index/index.ts:85
↓ 2 callers
Function
loadMcpServersFromMcpb
* Load MCP servers from an MCPB file * Handles downloading, extracting, and converting DXT manifest to MCP config
source code/utils/plugins/mcpPluginIntegration.ts:36
↓ 2 callers
Function
loadOutputStyleFromFile
( filePath: string, pluginName: string, loadedPaths: Set<string>, )
source code/utils/plugins/loadPluginOutputStyles.ts:38
↓ 2 callers
Function
loadOutputStylesFromDirectory
( outputStylesPath: string, pluginName: string, loadedPaths: Set<string>, )
source code/utils/plugins/loadPluginOutputStyles.ts:17
↓ 2 callers
Function
loadPluginsFromMarketplaces
* Shared discovery/policy/merge pipeline for both load modes. * * Resolves enabledPlugins → marketplace entries, runs enterprise policy * checks, p
source code/utils/plugins/pluginLoader.ts:1890
↓ 2 callers
Function
loadRipgrepIgnorePatterns
* Load ripgrep-specific ignore patterns from .ignore or .rgignore files * Returns an ignore instance if patterns were found, null otherwise * Result
source code/hooks/fileSuggestions.ts:204
↓ 2 callers
Function
loadSameRepoMessageLogs
( worktreePaths: string[], limit?: number, initialEnrichCount: number = INITIAL_ENRICH_COUNT, )
source code/utils/sessionStorage.ts:4075
↓ 2 callers
Function
loadSessionFile
* Loads all messages, summaries, file history snapshots, and attribution snapshots from a specific session file.
source code/utils/sessionStorage.ts:3820
↓ 2 callers
Function
loadSessionMemoryTemplate
()
source code/services/SessionMemory/prompts.ts:88
↓ 2 callers
Function
loadSkillsFromDirectory
* Loads skills from plugin skills directories * Skills are directories containing SKILL.md files
source code/utils/plugins/loadPluginCommands.ts:689
↓ 2 callers
Function
loadSubagentTranscripts
( agentIds: string[], )
source code/utils/sessionStorage.ts:4299
↓ 2 callers
Function
localCommandOutputToSDKAssistantMessage
( rawContent: string, uuid: UUID, )
source code/utils/messages/mappers.ts:198
↓ 2 callers
Function
locationLinkToLocation
* Converts LocationLink to Location format for consistent handling
source code/tools/LSPTool/formatters.ts:111
↓ 2 callers
Function
logAPIError
({ error, model, messageCount, messageTokens, durationMs, durationMsIncludingRetries, attempt,
source code/services/api/logging.ts:237
↓ 2 callers
Function
logContainsQuery
* Checks if a log contains the query term in any searchable field.
source code/utils/agenticSessionSearch.ts:115
↓ 2 callers
Function
logCustomBindingsLoadedOncePerDay
* Log a telemetry event when custom keybindings are loaded, at most once per day. * This lets us estimate the percentage of users who customize their
source code/keybindings/loadUserBindings.ts:85
↓ 2 callers
Function
logEventTo1P
( eventName: string, metadata: Record<string, number | boolean | undefined> = {}, )
source code/services/analytics/firstPartyEventLogger.ts:218
↓ 2 callers
Function
logHeadlessProfilerTurn
()
source code/utils/headlessProfiler.ts:105
↓ 2 callers
Function
logLoadOnce
(success: boolean)
source code/utils/bash/parser.ts:39
↓ 2 callers
Function
logPermissionContextForAnts
( toolPermissionContext: ToolPermissionContext | null, moment: 'summary' | 'initialization', )
source code/services/internalLogging.ts:73
↓ 2 callers
Function
logQueryProfileReport
()
source code/utils/queryProfiler.ts:300
↓ 2 callers
Function
logSessionTelemetry
* Per-session skill/plugin telemetry. Called from both the interactive path * and the headless -p path (before runHeadless) — both go through * main
source code/main.tsx:281
↓ 2 callers
Method
logSuccess
( eventCount: number, withAuth: boolean, responseData: unknown, )
source code/services/analytics/firstPartyEventLoggingExporter.ts:619
↓ 2 callers
Function
looksLikeRealHostname
* Checks whether a hostname looks like a real domain name rather than an * SSH config alias. A simple dot-check is not enough because aliases like *
source code/utils/detectRepository.ts:172
↓ 2 callers
Function
makeAltScreenParkPatch
(terminalRows: number)
source code/ink/ink.tsx:63
↓ 2 callers
Function
makeHistoryReader
()
source code/history.ts:147
↓ 2 callers
Function
makeShutdownNotif
(count: number)
source code/hooks/notifs/useTeammateShutdownNotification.ts:41
↓ 2 callers
Function
makeSpawnNotif
(count: number)
source code/hooks/notifs/useTeammateShutdownNotification.ts:24
↓ 2 callers
Function
makeXaaFetch
* Creates a fetch wrapper that enforces the XAA request timeout and optionally * composes a caller-provided abort signal. Using AbortSignal.any ensur
source code/services/mcp/xaa.ts:44
↓ 2 callers
Function
mapConfigsToOptions
(styles: { [styleName: string]: OutputStyleConfig | null; })
source code/components/OutputStylePicker.tsx:15
↓ 2 callers
Function
mapInput
(input_map: Array<[string, InputHandler]>)
source code/hooks/useTextInput.ts:33
↓ 2 callers
Function
mapMessage
( message: AssistantMessage | SystemAPIErrorMessage | StreamEvent, f: (s: unknown) => unknown, index: nu
source code/services/vcr.ts:280
↓ 2 callers
Function
mapValuesDeep
( obj: { [x: string]: unknown }, f: (val: unknown, key: string, obj: Record<string, unknown>) => unk
source code/services/vcr.ts:223
↓ 2 callers
Function
markClaudeAiMcpConnected
(name: string)
source code/services/mcp/claudeai.ts:156
↓ 2 callers
Method
markDirty
()
source code/ink/layout/yoga.ts:104
↓ 2 callers
Function
markExtractionCompleted
()
source code/services/SessionMemory/sessionMemoryUtils.ts:83
↓ 2 callers
Function
markExtractionStarted
()
source code/services/SessionMemory/sessionMemoryUtils.ts:76
↓ 2 callers
Function
markFirstTeleportMessageLogged
()
source code/bootstrap/state.ts:1497
↓ 2 callers
Function
markGroveNoticeViewed
()
source code/services/api/grove.ts:92
↓ 2 callers
Function
markIt2SetupComplete
()
source code/utils/swarm/backends/it2Setup.ts:216
↓ 2 callers
Function
markMessagesAsRead
( agentName: string, teamName?: string, )
source code/utils/teammateMailbox.ts:281
↓ 2 callers
Function
markRead
()
source code/hooks/useInboxPoller.ts:202
↓ 2 callers
Function
markTaskNotified
(taskId: string, setAppState: SetAppState)
source code/tasks/LocalShellTask/LocalShellTask.tsx:483
↓ 2 callers
Function
markToolUseAsComplete
( toolUseContext: ToolUseContext, toolUseID: string, )
source code/services/tools/toolOrchestration.ts:181
↓ 2 callers
Function
matchesCommand
(cmd: string)
source code/tools/PowerShellTool/powershellPermissions.ts:225
↓ 2 callers
Function
matchesDotGitPrefix
(n: string)
source code/tools/PowerShellTool/gitSafety.ts:172
↓ 2 callers
Function
matchesGitInternalPrefix
(n: string)
source code/tools/PowerShellTool/gitSafety.ts:126
↓ 2 callers
Function
maxDefined
( a: number | undefined, b: number | undefined, )
source code/ink/output.ts:116
↓ 2 callers
Function
maybeDumpStateForDebug
(state: FileHistoryState)
source code/utils/fileHistory.ts:1112
↓ 2 callers
Function
maybePersistLargeToolResult
* Handle large tool results by persisting to disk instead of truncating. * Returns the original block if no persistence needed, or a modified block
source code/utils/toolResultStorage.ts:274
↓ 2 callers
Function
maybePersistTokenForSubprocesses
( path: string, token: string, tokenName: string, )
source code/utils/authFileDescriptor.ts:32
↓ 2 callers
Function
maybeRemoveApiKeyFromMacOSKeychain
()
source code/utils/auth.ts:1187
↓ 2 callers
Function
maybeShortenFilePath
* Use the relative path as the key to reduce session storage space for tracking.
source code/utils/fileHistory.ts:869
↓ 2 callers
Function
mcpContentNeedsTruncation
( content: MCPToolResult, )
source code/utils/mcpValidation.ts:153
↓ 2 callers
Function
measureElement
(node: DOMElement)
source code/ink/measure-element.ts:20
↓ 2 callers
Function
median
(values: number[])
source code/screens/REPL.tsx:313
↓ 2 callers
Function
meetsAvailabilityRequirement
(cmd: Command)
source code/commands.ts:419
↓ 2 callers
Function
memoryAgeDays
(mtimeMs: number)
source code/memdir/memoryAge.ts:8
↓ 2 callers
Function
memoryFreshnessText
(mtimeMs: number)
source code/memdir/memoryAge.ts:35
↓ 2 callers
Function
memoryHeader
(path: string, mtimeMs: number)
source code/utils/attachments.ts:2329
↓ 2 callers
Function
mergeCacheWithNewStats
( existingCache: PersistedStatsCache, newStats: { dailyActivity: DailyActivity[] dailyModelTokens:
source code/utils/statsCache.ts:262
↓ 2 callers
Function
mergeHookInstructions
( userInstructions: string | undefined, hookInstructions: string | undefined, )
source code/services/compact/compact.ts:376
↓ 2 callers
Function
mergeHooksSettings
* Merge two HooksSettings objects
source code/utils/plugins/pluginLoader.ts:1856
↓ 2 callers
Function
messageSelector
()
source code/QueryEngine.ts:90
↓ 2 callers
Function
messagesAfterAreOnlySynthetic
(messages: Message[], fromIndex: number)
source code/components/MessageSelector.tsx:801
↓ 2 callers
Function
migrateFromEnabledPlugins
()
source code/utils/plugins/installedPluginsManager.ts:1050
↓ 2 callers
Function
minDefined
( a: number | undefined, b: number | undefined, )
source code/ink/output.ts:125
↓ 2 callers
Function
mkBundle
(base: string)
source code/utils/teleport/gitBundle.ts:61
↓ 2 callers
Function
modelSupports1M
(model: string)
source code/utils/context.ts:45
↓ 2 callers
Function
modelSupportsAdaptiveThinking
(model: string)
source code/utils/thinking.ts:115
↓ 2 callers
Function
modelSupportsISP
(model: string)
source code/utils/betas.ts:94
↓ 2 callers
Function
modifiersMatch
* Check if all modifiers match between Ink Key and ParsedKeystroke. * * Alt and Meta: Ink historically set `key.meta` for Alt/Option. A `meta` * mo
source code/keybindings/match.ts:62
↓ 2 callers
Function
mtimeOrUndefined
(p: string)
source code/utils/deepLink/banner.ts:106
↓ 2 callers
Function
mulberry32
(seed: number)
source code/buddy/companion.ts:18
↓ 2 callers
Function
ndjsonSafeStringify
(value: unknown)
source code/cli/ndjsonSafeStringify.ts:32
↓ 2 callers
Function
newConnState
()
source code/upstreamproxy/relay.ts:142
↓ 2 callers
Method
nextVimWord
()
source code/utils/Cursor.ts:660
↓ 2 callers
Function
normalizeAndTruncateToWidth
(text: string, maxWidth: number)
source code/components/LogSelector.tsx:64
↓ 2 callers
Function
normalizeAttachmentForAPI
( attachment: Attachment, )
source code/utils/messages.ts:3455
↓ 2 callers
Function
normalizeCRLF
Decode buf[0..len) to utf8, normalizing CRLF only if CR is present.
source code/utils/readEditContext.ts:162
↓ 2 callers
Function
normalizeControlMessageKeys
(obj: unknown)
source code/utils/controlMessageCompat.ts:15
↓ 2 callers
Function
normalizeEdit
(fileContent: string, edit: FileEdit)
source code/components/FileEditToolDiff.tsx:174
↓ 2 callers
Function
normalizeEntry
(raw: string)
source code/utils/permissions/permissionsLoader.ts:188
↓ 2 callers
Function
normalizeForCompare
(p: string)
source code/utils/plugins/orphanedPluginFilter.ts:113
↓ 2 callers
Function
normalizeGitPathArg
* Normalize PS arg text → canonical path for git-internal matching. * Order matters: structural strips first (colon-bound param, quotes, * backtick
source code/tools/PowerShellTool/gitSafety.ts:50
↓ 2 callers
Function
normalizeGitPaths
* Normalize git paths relative to originalCwd
source code/hooks/fileSuggestions.ts:154
↓ 2 callers
Function
normalizeOAuthErrorBody
( response: Response, )
source code/services/mcp/auth.ts:159
↓ 2 callers
Function
normalizeQuotes
(str: string)
source code/tools/FileEditTool/utils.ts:33
↓ 2 callers
Function
normalizeSource
* Resolve relative directory/file paths for stable comparison. * Settings declared at project scope may use project-relative paths; * JSON stores ab
source code/utils/plugins/reconciler.ts:251
↓ 2 callers
Function
notifyCacheDeletion
( querySource: QuerySource, agentId?: AgentId, )
source code/services/api/promptCacheBreakDetection.ts:675
↓ 2 callers
Function
notifyExpectedEscape
()
source code/utils/computerUse/escHotkey.ts:53
↓ 2 callers
Function
oauthHeaders
(accessToken: string)
source code/bridge/codeSessionApi.ts:20
↓ 2 callers
Function
onError
(error: Error)
source code/services/lsp/LSPClient.ts:123
↓ 2 callers
Function
onGrowthBookRefresh
( listener: GrowthBookRefreshListener, )
source code/services/analytics/growthbook.ts:141
↓ 2 callers
Function
onInit
()
source code/screens/REPL.tsx:3794
↓ 2 callers
Function
onInput
(input: string, key: Key)
source code/hooks/useTextInput.ts:433
↓ 2 callers
Function
onPermissionResponse
(response)
source code/cli/print.ts:3933
← previous
next →
3,601–3,700 of 11,462, ranked by callers