MCPcopy Create free account

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

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

↓ 2 callersFunctionextractRawUtilization
(headers: globalThis.Headers)
source code/services/claudeAiLimits.ts:166
↓ 2 callersFunctionextractReceivedFromMessage
(msg: string)
source code/utils/settings/validation.ts:94
↓ 2 callersFunctionextractRowText
Extract text from one screen row. When the next row is a soft-wrap * continuation (screen.softWrap[row+1]>0), clamp to that content-end * column a
source code/ink/selection.ts:718
↓ 2 callersFunctionextractSearchText
({ filenames })
source code/tools/GlobTool/GlobTool.ts:153
↓ 2 callersFunctionextractSearchToken
(completionToken: { token: string; isQuoted?: boolean; })
source code/hooks/useTypeahead.tsx:125
↓ 2 callersFunctionextractSshHost
* Extract the SSH host from a git URL for error messaging. * Matches the SSH format user@host:path (e.g., git@github.com:owner/repo.git).
source code/utils/plugins/marketplaceManager.ts:783
↓ 2 callersFunctionextractTitleText
(m: Message)
source code/bridge/bridgeMessaging.ts:105
↓ 2 callersFunctionextractTranscript
* Extracts a truncated transcript from session messages.
source code/utils/agenticSessionSearch.ts:88
↓ 2 callersFunctionextractUsage
* Extract usage stats from an API response.
source code/utils/permissions/yoloClassifier.ts:611
↓ 2 callersFunctionextractZipToDirectory
( zipPath: string, targetDir: string, )
source code/utils/plugins/zipCache.ts:333
↓ 2 callersFunctionfamilyHasSpecificEntries
* Check if a family alias is narrowed by more specific entries in the allowlist. * When the allowlist contains both "opus" and "opus-4-5", the specif
source code/utils/model/modelAllowlist.ts:67
↓ 2 callersFunctionfetchAndStoreChangelog
()
source code/utils/releaseNotes.ts:84
↓ 2 callersFunctionfetchAndStoreGroveConfig
* Fetch Grove config from API and store in cache
source code/services/api/grove.ts:200
↓ 2 callersFunctionfetchAndStorePassesEligibility
()
source code/services/api/referral.ts:176
↓ 2 callersFunctionfetchPage
( ctx: HistoryAuthCtx, params: Record<string, string | number | boolean>, label: string, )
source code/assistant/sessionHistory.ts:47
↓ 2 callersFunctionfetchSingleFileGitDiff
( absoluteFilePath: string, )
source code/utils/gitDiff.ts:407
↓ 2 callersFunctionfetchSystemPromptParts
({ tools, mainLoopModel, additionalWorkingDirectories, mcpClients, customSystemPrompt, }: { tools:
source code/utils/queryContext.ts:46
↓ 2 callersFunctionfetchUserSettings
( maxRetries = DEFAULT_MAX_RETRIES, )
source code/services/settingsSync/index.ts:317
↓ 2 callersFunctionfetchWithCurrentAuth
()
source code/utils/fastMode.ts:449
↓ 2 callersFunctionfileExtension
(lang: string | undefined)
source code/commands/copy/copy.tsx:64
↓ 2 callersFunctionfileHistoryCanRestore
( state: FileHistoryState, messageId: UUID, )
source code/utils/fileHistory.ts:401
↓ 2 callersFunctionfileHistoryRestoreStateFromLog
( fileHistorySnapshots: FileHistorySnapshot[], onUpdateState: (newState: FileHistoryState) => void, )
source code/utils/fileHistory.ts:890
↓ 2 callersFunctionfileHistoryRewind
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, messag
source code/utils/fileHistory.ts:349
↓ 2 callersFunctionfilterAgentsByMcpRequirements
( agents: AgentDefinition[], availableServers: string[], )
source code/tools/AgentTool/loadAgentsDir.ts:252
↓ 2 callersFunctionfilterClaudeAliases
(lines: string[])
source code/utils/shellConfig.ts:47
↓ 2 callersFunctionfilterCommandsForRemoteMode
(commands: Command[])
source code/commands.ts:686
↓ 2 callersFunctionfilterExistingPaths
(paths: string[])
source code/utils/githubRepoPathMapping.ts:96
↓ 2 callersFunctionfilterGitIgnoredLocations
* Filters out locations whose file paths are gitignored. * Uses `git check-ignore` with batched path arguments for efficiency.
source code/tools/LSPTool/LSPTool.ts:558
↓ 2 callersFunctionfilterIncompleteToolCalls
(messages: Message[])
source code/tools/AgentTool/runAgent.ts:868
↓ 2 callersFunctionfilterInjectedMemoryFiles
( files: MemoryFileInfo[], )
source code/utils/claudemd.ts:1144
↓ 2 callersFunctionfilterInvalidPermissionRules
( data: unknown, filePath: string, )
source code/utils/settings/validation.ts:226
↓ 2 callersFunctionfilterMcpPromptsByServer
( commands: Command[], serverName: string, )
source code/services/mcp/utils.ts:87
↓ 2 callersFunctionfilterStartCodes
(codes: AnsiCode[])
source code/utils/sliceAnsi.ts:18
↓ 2 callersFunctionfilterToolsForAgent
({ tools, isBuiltIn, isAsync = false, permissionMode, }: { tools: Tools isBuiltIn: boolean isAsy
source code/tools/AgentTool/agentToolUtils.ts:72
↓ 2 callersFunctionfilterUnresolvedToolUses
(messages: Message[])
source code/utils/messages.ts:2797
↓ 2 callersFunctionfinalContextTokensFromLastResponse
( messages: Message[], )
source code/utils/tokens.ts:81
↓ 2 callersFunctionfinalizePendingAsyncHooks
()
source code/utils/hooks/AsyncHookRegistry.ts:283
↓ 2 callersFunctionfindAvailableIDE
()
source code/utils/ide.ts:628
↓ 2 callersFunctionfindAvailablePort
()
source code/services/mcp/oauthPort.ts:38
↓ 2 callersFunctionfindClaudeAlias
( options?: ShellConfigOptions, )
source code/utils/shellConfig.ts:116
↓ 2 callersFunctionfindDangerousClassifierPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
source code/utils/permissions/permissionSetup.ts:297
↓ 2 callersFunctionfindHighestTaskIdFromFiles
* Finds the highest task ID from existing task files (not including high water mark).
source code/utils/tasks.ts:248
↓ 2 callersFunctionfindInProcessTeammateTaskId
( agentName: string, appState: AppState, )
source code/utils/inProcessTeammateHelpers.ts:35
↓ 2 callersFunctionfindKeywordTriggerPositions
* Find keyword positions, skipping occurrences that are clearly not a * launch directive: * * - Inside paired delimiters: backticks, double quotes,
source code/utils/ultraplan/keyword.ts:48
↓ 2 callersFunctionfindMcpServerConnection
( toolName: string, mcpClients: MCPServerConnection[], )
source code/services/tools/toolExecution.ts:285
↓ 2 callersFunctionfindMostRecentBackup
* Find the most recent backup file for a given config file. * Checks ~/.claude/backups/ first, then falls back to the legacy location * (next to the
source code/utils/config.ts:1374
↓ 2 callersFunctionfindOverlyBroadBashPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
source code/utils/permissions/permissionSetup.ts:381
↓ 2 callersFunctionfindPluginOptionsTarget
(pluginId: string)
source code/commands/plugin/PluginOptionsFlow.tsx:29
↓ 2 callersFunctionfindPrInStdout
Find a GitHub PR URL embedded anywhere in stdout and parse it.
source code/tools/shared/gitOperationTracking.ts:75
↓ 2 callersFunctionfindReverseDependents
( pluginId: PluginId, plugins: readonly LoadedPlugin[], )
source code/utils/plugins/dependencyResolver.ts:246
↓ 2 callersFunctionfindSimilarFile
(filePath: string)
source code/utils/file.ts:180
↓ 2 callersFunctionfindSkillTool
(tools: Tools)
source code/utils/analyzeContext.ts:519
↓ 2 callersFunctionfindSlackClient
( clients: MCPServerConnection[], )
source code/utils/suggestions/slackChannelSuggestions.ts:25
↓ 2 callersFunctionfindThinkingTriggerPositions
(text: string)
source code/utils/thinking.ts:38
↓ 2 callersFunctionfindUltrareviewTriggerPositions
( text: string, )
source code/utils/ultraplan/keyword.ts:103
↓ 2 callersFunctionfindWordObject
( text: string, offset: number, isInner: boolean, isWordChar: (ch: string) => boolean, )
source code/vim/textObjects.ts:62
↓ 2 callersFunctionfinishLoadingPluginFromPath
* Shared tail of both loadPluginFromMarketplaceEntry variants. * * Once pluginPath is resolved (via clone, cache, or installPath lookup), * the res
source code/utils/plugins/pluginLoader.ts:2422
↓ 2 callersMethodfirstNonBlankInLogicalLine
()
source code/utils/Cursor.ts:505
↓ 2 callersFunctionflagTakesArg
( flag: string, nextArg: string | undefined, spec: CommandSpec | null, )
source code/utils/shell/specPrefix.ts:53
↓ 2 callersFunctionflattenSlug
(slug: string)
source code/utils/worktree.ts:219
↓ 2 callersFunctionflush
()
source code/utils/toolResultStorage.ts:608
↓ 2 callersMethodflush
()
source code/utils/task/diskOutput.ts:135
↓ 2 callersFunctionflushBuffer
( buffer: string, styles: AnsiCode[], stylePool: StylePool, out: ClusteredChar[], )
source code/ink/output.ts:588
↓ 2 callersFunctionflushGroup
(isActive: boolean)
source code/tools/AgentTool/UI.tsx:117
↓ 2 callersFunctionflushInteractionTime_inner
()
source code/bootstrap/state.ts:688
↓ 2 callersFunctionflushNonTableContent
()
source code/components/Markdown.tsx:139
↓ 2 callersFunctionflushSessionSection
( sectionHeader: string, sectionLines: string[], maxCharsPerSection: number, )
source code/services/SessionMemory/prompts.ts:300
↓ 2 callersFunctionflushText
()
source code/ink/termio/tokenize.ts:119
↓ 2 callersFunctionfmt
(n: number)
source code/utils/tokenBudget.ts:73
↓ 2 callersMethodforceFlush
()
source code/services/analytics/firstPartyEventLoggingExporter.ts:775
↓ 2 callersFunctionformatAgent
(agent: ResolvedAgent)
source code/cli/handlers/agents.ts:22
↓ 2 callersFunctionformatAgentAsMarkdown
( agentType: string, whenToUse: string, tools: string[] | undefined, systemPrompt: string, color?: s
source code/components/agents/agentFileUtils.ts:22
↓ 2 callersFunctionformatAutoUpdaterDisabledReason
( reason: AutoUpdaterDisabledReason, )
source code/utils/config.ts:1724
↓ 2 callersFunctionformatBashOutput
( stdout: string, stderr: string, inline = false, )
source code/utils/promptShellExecution.ts:147
↓ 2 callersFunctionformatBriefTimestamp
( isoString: string, now: Date = new Date(), )
source code/utils/formatBriefTimestamp.ts:18
↓ 2 callersFunctionformatCallHierarchyItem
* Formats a CallHierarchyItem with its location * Validates URI before formatting to handle malformed LSP data
source code/tools/LSPTool/formatters.ts:430
↓ 2 callersFunctionformatCommandLoadingMetadata
* Formats the loading metadata for a command (skill or slash command). * User-invocable skills use slash command format (/name), while model-only *
source code/utils/processUserInput/processSlashCommand.tsx:805
↓ 2 callersFunctionformatGoToDefinitionResult
( result: Location | Location[] | LocationLink | LocationLink[] | null, cwd?: string, )
source code/tools/LSPTool/formatters.ts:129
↓ 2 callersFunctionformatInstallCount
(count: number)
source code/utils/plugins/installCounts.ts:275
↓ 2 callersFunctionformatMemoryManifest
(memories: MemoryHeader[])
source code/memdir/memoryScan.ts:86
↓ 2 callersFunctionformatPastedTextRef
(id: number, numLines: number)
source code/history.ts:53
↓ 2 callersFunctionformatPrice
(price: number)
source code/utils/modelCost.ts:206
↓ 2 callersFunctionformatReleaseNotes
(notes: Array<[string, string[]]>)
source code/commands/release-notes/release-notes.ts:11
↓ 2 callersFunctionformatResolutionError
( r: ResolutionResult & { ok: false }, )
source code/utils/plugins/pluginInstallationHelpers.ts:306
↓ 2 callersFunctionformatReverseDependentsSuffix
( rdeps: string[] | undefined, )
source code/utils/plugins/dependencyResolver.ts:302
↓ 2 callersFunctionformatReviewStageCounts
(stage: ReviewStage | undefined, found: number, verified: number, refuted: number)
source code/components/tasks/RemoteSessionProgress.tsx:24
↓ 2 callersFunctionformatSetupNotes
* Formats setup notes as a bulleted Heads-up block. Shared between the * initial AskUserQuestion dialog text (no-args path) and the prompt-body * se
source code/skills/bundled/scheduleRemoteAgents.ts:120
↓ 2 callersFunctionformatShellPrefixCommand
( prefix: string, command: string, )
source code/utils/bash/shellPrefix.ts:17
↓ 2 callersFunctionformatSkillLoadingMetadata
(skillName: string, _progressMessage: string = 'loading')
source code/utils/processUserInput/processSlashCommand.tsx:788
↓ 2 callersFunctionformatSlashCommandLoadingMetadata
* Formats the metadata for a slash command loading message.
source code/utils/processUserInput/processSlashCommand.tsx:796
↓ 2 callersFunctionformatTimelineLine
( totalMs: number, deltaMs: number, name: string, memory: NodeJS.MemoryUsage | undefined, totalPad:
source code/utils/profilerBase.ts:35
↓ 2 callersFunctionformatValidationPath
* Formats a Zod validation path into a readable string * e.g., ['todos', 0, 'activeForm'] => 'todos[0].activeForm'
source code/utils/toolErrors.ts:49
↓ 2 callersFunctionformatWarning
(warning: KeybindingWarning)
source code/keybindings/validate.ts:458
↓ 2 callersFunctionformatWorkspaceFolders
(folders: string[], maxLength: number = 100)
source code/commands/ide/ide.tsx:614
↓ 2 callersFunctionformatWorkspaceSymbolResult
( result: SymbolInformation[] | null, cwd?: string, )
source code/tools/LSPTool/formatters.ts:373
↓ 2 callersFunctionforwardMessagesToBridge
()
source code/cli/print.ts:1519
↓ 2 callersFunctionforwardToWs
(ws: WebSocketLike, data: Buffer)
source code/upstreamproxy/relay.ts:438
↓ 2 callersFunctionfromArray
(values: T[])
source code/utils/generators.ts:86
↓ 2 callersFunctionfromJsonTimestamp
(o: any)
source code/types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts:848
↓ 2 callersFunctionfromSDKCompactMetadata
( meta: SDKCompactMetadata, )
source code/utils/messages/mappers.ts:100
← previousnext →2,901–3,000 of 11,462, ranked by callers