MCPcopy Create free account

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

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

↓ 2 callersFunctionloadCacheMetadata
* Load cache metadata for an MCPB source
source code/utils/plugins/mcpbHandler.ts:445
↓ 2 callersFunctionloadCachedRestrictions
()
source code/services/policyLimits/index.ts:394
↓ 2 callersFunctionloadCommandsFromDirectory
( commandsPath: string, pluginName: string, sourceName: string, pluginManifest: PluginManifest, plug
source code/utils/plugins/loadPluginCommands.ts:171
↓ 2 callersMethodloadFromFileListAsync
* 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 callersFunctionloadMcpServersFromMcpb
* 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 callersFunctionloadOutputStyleFromFile
( filePath: string, pluginName: string, loadedPaths: Set<string>, )
source code/utils/plugins/loadPluginOutputStyles.ts:38
↓ 2 callersFunctionloadOutputStylesFromDirectory
( outputStylesPath: string, pluginName: string, loadedPaths: Set<string>, )
source code/utils/plugins/loadPluginOutputStyles.ts:17
↓ 2 callersFunctionloadPluginsFromMarketplaces
* 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 callersFunctionloadRipgrepIgnorePatterns
* 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 callersFunctionloadSameRepoMessageLogs
( worktreePaths: string[], limit?: number, initialEnrichCount: number = INITIAL_ENRICH_COUNT, )
source code/utils/sessionStorage.ts:4075
↓ 2 callersFunctionloadSessionFile
* Loads all messages, summaries, file history snapshots, and attribution snapshots from a specific session file.
source code/utils/sessionStorage.ts:3820
↓ 2 callersFunctionloadSessionMemoryTemplate
()
source code/services/SessionMemory/prompts.ts:88
↓ 2 callersFunctionloadSkillsFromDirectory
* Loads skills from plugin skills directories * Skills are directories containing SKILL.md files
source code/utils/plugins/loadPluginCommands.ts:689
↓ 2 callersFunctionloadSubagentTranscripts
( agentIds: string[], )
source code/utils/sessionStorage.ts:4299
↓ 2 callersFunctionlocalCommandOutputToSDKAssistantMessage
( rawContent: string, uuid: UUID, )
source code/utils/messages/mappers.ts:198
↓ 2 callersFunctionlocationLinkToLocation
* Converts LocationLink to Location format for consistent handling
source code/tools/LSPTool/formatters.ts:111
↓ 2 callersFunctionlogAPIError
({ error, model, messageCount, messageTokens, durationMs, durationMsIncludingRetries, attempt,
source code/services/api/logging.ts:237
↓ 2 callersFunctionlogContainsQuery
* Checks if a log contains the query term in any searchable field.
source code/utils/agenticSessionSearch.ts:115
↓ 2 callersFunctionlogCustomBindingsLoadedOncePerDay
* 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 callersFunctionlogEventTo1P
( eventName: string, metadata: Record<string, number | boolean | undefined> = {}, )
source code/services/analytics/firstPartyEventLogger.ts:218
↓ 2 callersFunctionlogHeadlessProfilerTurn
()
source code/utils/headlessProfiler.ts:105
↓ 2 callersFunctionlogLoadOnce
(success: boolean)
source code/utils/bash/parser.ts:39
↓ 2 callersFunctionlogPermissionContextForAnts
( toolPermissionContext: ToolPermissionContext | null, moment: 'summary' | 'initialization', )
source code/services/internalLogging.ts:73
↓ 2 callersFunctionlogQueryProfileReport
()
source code/utils/queryProfiler.ts:300
↓ 2 callersFunctionlogSessionTelemetry
* 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 callersMethodlogSuccess
( eventCount: number, withAuth: boolean, responseData: unknown, )
source code/services/analytics/firstPartyEventLoggingExporter.ts:619
↓ 2 callersFunctionlooksLikeRealHostname
* 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 callersFunctionmakeAltScreenParkPatch
(terminalRows: number)
source code/ink/ink.tsx:63
↓ 2 callersFunctionmakeHistoryReader
()
source code/history.ts:147
↓ 2 callersFunctionmakeShutdownNotif
(count: number)
source code/hooks/notifs/useTeammateShutdownNotification.ts:41
↓ 2 callersFunctionmakeSpawnNotif
(count: number)
source code/hooks/notifs/useTeammateShutdownNotification.ts:24
↓ 2 callersFunctionmakeXaaFetch
* 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 callersFunctionmapConfigsToOptions
(styles: { [styleName: string]: OutputStyleConfig | null; })
source code/components/OutputStylePicker.tsx:15
↓ 2 callersFunctionmapInput
(input_map: Array<[string, InputHandler]>)
source code/hooks/useTextInput.ts:33
↓ 2 callersFunctionmapMessage
( message: AssistantMessage | SystemAPIErrorMessage | StreamEvent, f: (s: unknown) => unknown, index: nu
source code/services/vcr.ts:280
↓ 2 callersFunctionmapValuesDeep
( obj: { [x: string]: unknown }, f: (val: unknown, key: string, obj: Record<string, unknown>) => unk
source code/services/vcr.ts:223
↓ 2 callersFunctionmarkClaudeAiMcpConnected
(name: string)
source code/services/mcp/claudeai.ts:156
↓ 2 callersMethodmarkDirty
()
source code/ink/layout/yoga.ts:104
↓ 2 callersFunctionmarkExtractionCompleted
()
source code/services/SessionMemory/sessionMemoryUtils.ts:83
↓ 2 callersFunctionmarkExtractionStarted
()
source code/services/SessionMemory/sessionMemoryUtils.ts:76
↓ 2 callersFunctionmarkFirstTeleportMessageLogged
()
source code/bootstrap/state.ts:1497
↓ 2 callersFunctionmarkGroveNoticeViewed
()
source code/services/api/grove.ts:92
↓ 2 callersFunctionmarkIt2SetupComplete
()
source code/utils/swarm/backends/it2Setup.ts:216
↓ 2 callersFunctionmarkMessagesAsRead
( agentName: string, teamName?: string, )
source code/utils/teammateMailbox.ts:281
↓ 2 callersFunctionmarkRead
()
source code/hooks/useInboxPoller.ts:202
↓ 2 callersFunctionmarkTaskNotified
(taskId: string, setAppState: SetAppState)
source code/tasks/LocalShellTask/LocalShellTask.tsx:483
↓ 2 callersFunctionmarkToolUseAsComplete
( toolUseContext: ToolUseContext, toolUseID: string, )
source code/services/tools/toolOrchestration.ts:181
↓ 2 callersFunctionmatchesCommand
(cmd: string)
source code/tools/PowerShellTool/powershellPermissions.ts:225
↓ 2 callersFunctionmatchesDotGitPrefix
(n: string)
source code/tools/PowerShellTool/gitSafety.ts:172
↓ 2 callersFunctionmatchesGitInternalPrefix
(n: string)
source code/tools/PowerShellTool/gitSafety.ts:126
↓ 2 callersFunctionmaxDefined
( a: number | undefined, b: number | undefined, )
source code/ink/output.ts:116
↓ 2 callersFunctionmaybeDumpStateForDebug
(state: FileHistoryState)
source code/utils/fileHistory.ts:1112
↓ 2 callersFunctionmaybePersistLargeToolResult
* 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 callersFunctionmaybePersistTokenForSubprocesses
( path: string, token: string, tokenName: string, )
source code/utils/authFileDescriptor.ts:32
↓ 2 callersFunctionmaybeRemoveApiKeyFromMacOSKeychain
()
source code/utils/auth.ts:1187
↓ 2 callersFunctionmaybeShortenFilePath
* Use the relative path as the key to reduce session storage space for tracking.
source code/utils/fileHistory.ts:869
↓ 2 callersFunctionmcpContentNeedsTruncation
( content: MCPToolResult, )
source code/utils/mcpValidation.ts:153
↓ 2 callersFunctionmeasureElement
(node: DOMElement)
source code/ink/measure-element.ts:20
↓ 2 callersFunctionmedian
(values: number[])
source code/screens/REPL.tsx:313
↓ 2 callersFunctionmeetsAvailabilityRequirement
(cmd: Command)
source code/commands.ts:419
↓ 2 callersFunctionmemoryAgeDays
(mtimeMs: number)
source code/memdir/memoryAge.ts:8
↓ 2 callersFunctionmemoryFreshnessText
(mtimeMs: number)
source code/memdir/memoryAge.ts:35
↓ 2 callersFunctionmemoryHeader
(path: string, mtimeMs: number)
source code/utils/attachments.ts:2329
↓ 2 callersFunctionmergeCacheWithNewStats
( existingCache: PersistedStatsCache, newStats: { dailyActivity: DailyActivity[] dailyModelTokens:
source code/utils/statsCache.ts:262
↓ 2 callersFunctionmergeHookInstructions
( userInstructions: string | undefined, hookInstructions: string | undefined, )
source code/services/compact/compact.ts:376
↓ 2 callersFunctionmergeHooksSettings
* Merge two HooksSettings objects
source code/utils/plugins/pluginLoader.ts:1856
↓ 2 callersFunctionmessageSelector
()
source code/QueryEngine.ts:90
↓ 2 callersFunctionmessagesAfterAreOnlySynthetic
(messages: Message[], fromIndex: number)
source code/components/MessageSelector.tsx:801
↓ 2 callersFunctionmigrateFromEnabledPlugins
()
source code/utils/plugins/installedPluginsManager.ts:1050
↓ 2 callersFunctionminDefined
( a: number | undefined, b: number | undefined, )
source code/ink/output.ts:125
↓ 2 callersFunctionmkBundle
(base: string)
source code/utils/teleport/gitBundle.ts:61
↓ 2 callersFunctionmodelSupports1M
(model: string)
source code/utils/context.ts:45
↓ 2 callersFunctionmodelSupportsAdaptiveThinking
(model: string)
source code/utils/thinking.ts:115
↓ 2 callersFunctionmodelSupportsISP
(model: string)
source code/utils/betas.ts:94
↓ 2 callersFunctionmodifiersMatch
* 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 callersFunctionmtimeOrUndefined
(p: string)
source code/utils/deepLink/banner.ts:106
↓ 2 callersFunctionmulberry32
(seed: number)
source code/buddy/companion.ts:18
↓ 2 callersFunctionndjsonSafeStringify
(value: unknown)
source code/cli/ndjsonSafeStringify.ts:32
↓ 2 callersFunctionnewConnState
()
source code/upstreamproxy/relay.ts:142
↓ 2 callersMethodnextVimWord
()
source code/utils/Cursor.ts:660
↓ 2 callersFunctionnormalizeAndTruncateToWidth
(text: string, maxWidth: number)
source code/components/LogSelector.tsx:64
↓ 2 callersFunctionnormalizeAttachmentForAPI
( attachment: Attachment, )
source code/utils/messages.ts:3455
↓ 2 callersFunctionnormalizeCRLF
Decode buf[0..len) to utf8, normalizing CRLF only if CR is present.
source code/utils/readEditContext.ts:162
↓ 2 callersFunctionnormalizeControlMessageKeys
(obj: unknown)
source code/utils/controlMessageCompat.ts:15
↓ 2 callersFunctionnormalizeEdit
(fileContent: string, edit: FileEdit)
source code/components/FileEditToolDiff.tsx:174
↓ 2 callersFunctionnormalizeEntry
(raw: string)
source code/utils/permissions/permissionsLoader.ts:188
↓ 2 callersFunctionnormalizeForCompare
(p: string)
source code/utils/plugins/orphanedPluginFilter.ts:113
↓ 2 callersFunctionnormalizeGitPathArg
* 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 callersFunctionnormalizeGitPaths
* Normalize git paths relative to originalCwd
source code/hooks/fileSuggestions.ts:154
↓ 2 callersFunctionnormalizeOAuthErrorBody
( response: Response, )
source code/services/mcp/auth.ts:159
↓ 2 callersFunctionnormalizeQuotes
(str: string)
source code/tools/FileEditTool/utils.ts:33
↓ 2 callersFunctionnormalizeSource
* 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 callersFunctionnotifyCacheDeletion
( querySource: QuerySource, agentId?: AgentId, )
source code/services/api/promptCacheBreakDetection.ts:675
↓ 2 callersFunctionnotifyExpectedEscape
()
source code/utils/computerUse/escHotkey.ts:53
↓ 2 callersFunctionoauthHeaders
(accessToken: string)
source code/bridge/codeSessionApi.ts:20
↓ 2 callersFunctiononError
(error: Error)
source code/services/lsp/LSPClient.ts:123
↓ 2 callersFunctiononGrowthBookRefresh
( listener: GrowthBookRefreshListener, )
source code/services/analytics/growthbook.ts:141
↓ 2 callersFunctiononInit
()
source code/screens/REPL.tsx:3794
↓ 2 callersFunctiononInput
(input: string, key: Key)
source code/hooks/useTextInput.ts:433
↓ 2 callersFunctiononPermissionResponse
(response)
source code/cli/print.ts:3933
← previousnext →3,601–3,700 of 11,462, ranked by callers