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
extractRawUtilization
(headers: globalThis.Headers)
source code/services/claudeAiLimits.ts:166
↓ 2 callers
Function
extractReceivedFromMessage
(msg: string)
source code/utils/settings/validation.ts:94
↓ 2 callers
Function
extractRowText
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 callers
Function
extractSearchText
({ filenames })
source code/tools/GlobTool/GlobTool.ts:153
↓ 2 callers
Function
extractSearchToken
(completionToken: { token: string; isQuoted?: boolean; })
source code/hooks/useTypeahead.tsx:125
↓ 2 callers
Function
extractSshHost
* 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 callers
Function
extractTitleText
(m: Message)
source code/bridge/bridgeMessaging.ts:105
↓ 2 callers
Function
extractTranscript
* Extracts a truncated transcript from session messages.
source code/utils/agenticSessionSearch.ts:88
↓ 2 callers
Function
extractUsage
* Extract usage stats from an API response.
source code/utils/permissions/yoloClassifier.ts:611
↓ 2 callers
Function
extractZipToDirectory
( zipPath: string, targetDir: string, )
source code/utils/plugins/zipCache.ts:333
↓ 2 callers
Function
familyHasSpecificEntries
* 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 callers
Function
fetchAndStoreChangelog
()
source code/utils/releaseNotes.ts:84
↓ 2 callers
Function
fetchAndStoreGroveConfig
* Fetch Grove config from API and store in cache
source code/services/api/grove.ts:200
↓ 2 callers
Function
fetchAndStorePassesEligibility
()
source code/services/api/referral.ts:176
↓ 2 callers
Function
fetchPage
( ctx: HistoryAuthCtx, params: Record<string, string | number | boolean>, label: string, )
source code/assistant/sessionHistory.ts:47
↓ 2 callers
Function
fetchSingleFileGitDiff
( absoluteFilePath: string, )
source code/utils/gitDiff.ts:407
↓ 2 callers
Function
fetchSystemPromptParts
({ tools, mainLoopModel, additionalWorkingDirectories, mcpClients, customSystemPrompt, }: { tools:
source code/utils/queryContext.ts:46
↓ 2 callers
Function
fetchUserSettings
( maxRetries = DEFAULT_MAX_RETRIES, )
source code/services/settingsSync/index.ts:317
↓ 2 callers
Function
fetchWithCurrentAuth
()
source code/utils/fastMode.ts:449
↓ 2 callers
Function
fileExtension
(lang: string | undefined)
source code/commands/copy/copy.tsx:64
↓ 2 callers
Function
fileHistoryCanRestore
( state: FileHistoryState, messageId: UUID, )
source code/utils/fileHistory.ts:401
↓ 2 callers
Function
fileHistoryRestoreStateFromLog
( fileHistorySnapshots: FileHistorySnapshot[], onUpdateState: (newState: FileHistoryState) => void, )
source code/utils/fileHistory.ts:890
↓ 2 callers
Function
fileHistoryRewind
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, messag
source code/utils/fileHistory.ts:349
↓ 2 callers
Function
filterAgentsByMcpRequirements
( agents: AgentDefinition[], availableServers: string[], )
source code/tools/AgentTool/loadAgentsDir.ts:252
↓ 2 callers
Function
filterClaudeAliases
(lines: string[])
source code/utils/shellConfig.ts:47
↓ 2 callers
Function
filterCommandsForRemoteMode
(commands: Command[])
source code/commands.ts:686
↓ 2 callers
Function
filterExistingPaths
(paths: string[])
source code/utils/githubRepoPathMapping.ts:96
↓ 2 callers
Function
filterGitIgnoredLocations
* 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 callers
Function
filterIncompleteToolCalls
(messages: Message[])
source code/tools/AgentTool/runAgent.ts:868
↓ 2 callers
Function
filterInjectedMemoryFiles
( files: MemoryFileInfo[], )
source code/utils/claudemd.ts:1144
↓ 2 callers
Function
filterInvalidPermissionRules
( data: unknown, filePath: string, )
source code/utils/settings/validation.ts:226
↓ 2 callers
Function
filterMcpPromptsByServer
( commands: Command[], serverName: string, )
source code/services/mcp/utils.ts:87
↓ 2 callers
Function
filterStartCodes
(codes: AnsiCode[])
source code/utils/sliceAnsi.ts:18
↓ 2 callers
Function
filterToolsForAgent
({ tools, isBuiltIn, isAsync = false, permissionMode, }: { tools: Tools isBuiltIn: boolean isAsy
source code/tools/AgentTool/agentToolUtils.ts:72
↓ 2 callers
Function
filterUnresolvedToolUses
(messages: Message[])
source code/utils/messages.ts:2797
↓ 2 callers
Function
finalContextTokensFromLastResponse
( messages: Message[], )
source code/utils/tokens.ts:81
↓ 2 callers
Function
finalizePendingAsyncHooks
()
source code/utils/hooks/AsyncHookRegistry.ts:283
↓ 2 callers
Function
findAvailableIDE
()
source code/utils/ide.ts:628
↓ 2 callers
Function
findAvailablePort
()
source code/services/mcp/oauthPort.ts:38
↓ 2 callers
Function
findClaudeAlias
( options?: ShellConfigOptions, )
source code/utils/shellConfig.ts:116
↓ 2 callers
Function
findDangerousClassifierPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
source code/utils/permissions/permissionSetup.ts:297
↓ 2 callers
Function
findHighestTaskIdFromFiles
* Finds the highest task ID from existing task files (not including high water mark).
source code/utils/tasks.ts:248
↓ 2 callers
Function
findInProcessTeammateTaskId
( agentName: string, appState: AppState, )
source code/utils/inProcessTeammateHelpers.ts:35
↓ 2 callers
Function
findKeywordTriggerPositions
* 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 callers
Function
findMcpServerConnection
( toolName: string, mcpClients: MCPServerConnection[], )
source code/services/tools/toolExecution.ts:285
↓ 2 callers
Function
findMostRecentBackup
* 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 callers
Function
findOverlyBroadBashPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
source code/utils/permissions/permissionSetup.ts:381
↓ 2 callers
Function
findPluginOptionsTarget
(pluginId: string)
source code/commands/plugin/PluginOptionsFlow.tsx:29
↓ 2 callers
Function
findPrInStdout
Find a GitHub PR URL embedded anywhere in stdout and parse it.
source code/tools/shared/gitOperationTracking.ts:75
↓ 2 callers
Function
findReverseDependents
( pluginId: PluginId, plugins: readonly LoadedPlugin[], )
source code/utils/plugins/dependencyResolver.ts:246
↓ 2 callers
Function
findSimilarFile
(filePath: string)
source code/utils/file.ts:180
↓ 2 callers
Function
findSkillTool
(tools: Tools)
source code/utils/analyzeContext.ts:519
↓ 2 callers
Function
findSlackClient
( clients: MCPServerConnection[], )
source code/utils/suggestions/slackChannelSuggestions.ts:25
↓ 2 callers
Function
findThinkingTriggerPositions
(text: string)
source code/utils/thinking.ts:38
↓ 2 callers
Function
findUltrareviewTriggerPositions
( text: string, )
source code/utils/ultraplan/keyword.ts:103
↓ 2 callers
Function
findWordObject
( text: string, offset: number, isInner: boolean, isWordChar: (ch: string) => boolean, )
source code/vim/textObjects.ts:62
↓ 2 callers
Function
finishLoadingPluginFromPath
* 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 callers
Method
firstNonBlankInLogicalLine
()
source code/utils/Cursor.ts:505
↓ 2 callers
Function
flagTakesArg
( flag: string, nextArg: string | undefined, spec: CommandSpec | null, )
source code/utils/shell/specPrefix.ts:53
↓ 2 callers
Function
flattenSlug
(slug: string)
source code/utils/worktree.ts:219
↓ 2 callers
Function
flush
()
source code/utils/toolResultStorage.ts:608
↓ 2 callers
Method
flush
()
source code/utils/task/diskOutput.ts:135
↓ 2 callers
Function
flushBuffer
( buffer: string, styles: AnsiCode[], stylePool: StylePool, out: ClusteredChar[], )
source code/ink/output.ts:588
↓ 2 callers
Function
flushGroup
(isActive: boolean)
source code/tools/AgentTool/UI.tsx:117
↓ 2 callers
Function
flushInteractionTime_inner
()
source code/bootstrap/state.ts:688
↓ 2 callers
Function
flushNonTableContent
()
source code/components/Markdown.tsx:139
↓ 2 callers
Function
flushSessionSection
( sectionHeader: string, sectionLines: string[], maxCharsPerSection: number, )
source code/services/SessionMemory/prompts.ts:300
↓ 2 callers
Function
flushText
()
source code/ink/termio/tokenize.ts:119
↓ 2 callers
Function
fmt
(n: number)
source code/utils/tokenBudget.ts:73
↓ 2 callers
Method
forceFlush
()
source code/services/analytics/firstPartyEventLoggingExporter.ts:775
↓ 2 callers
Function
formatAgent
(agent: ResolvedAgent)
source code/cli/handlers/agents.ts:22
↓ 2 callers
Function
formatAgentAsMarkdown
( agentType: string, whenToUse: string, tools: string[] | undefined, systemPrompt: string, color?: s
source code/components/agents/agentFileUtils.ts:22
↓ 2 callers
Function
formatAutoUpdaterDisabledReason
( reason: AutoUpdaterDisabledReason, )
source code/utils/config.ts:1724
↓ 2 callers
Function
formatBashOutput
( stdout: string, stderr: string, inline = false, )
source code/utils/promptShellExecution.ts:147
↓ 2 callers
Function
formatBriefTimestamp
( isoString: string, now: Date = new Date(), )
source code/utils/formatBriefTimestamp.ts:18
↓ 2 callers
Function
formatCallHierarchyItem
* Formats a CallHierarchyItem with its location * Validates URI before formatting to handle malformed LSP data
source code/tools/LSPTool/formatters.ts:430
↓ 2 callers
Function
formatCommandLoadingMetadata
* 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 callers
Function
formatGoToDefinitionResult
( result: Location | Location[] | LocationLink | LocationLink[] | null, cwd?: string, )
source code/tools/LSPTool/formatters.ts:129
↓ 2 callers
Function
formatInstallCount
(count: number)
source code/utils/plugins/installCounts.ts:275
↓ 2 callers
Function
formatMemoryManifest
(memories: MemoryHeader[])
source code/memdir/memoryScan.ts:86
↓ 2 callers
Function
formatPastedTextRef
(id: number, numLines: number)
source code/history.ts:53
↓ 2 callers
Function
formatPrice
(price: number)
source code/utils/modelCost.ts:206
↓ 2 callers
Function
formatReleaseNotes
(notes: Array<[string, string[]]>)
source code/commands/release-notes/release-notes.ts:11
↓ 2 callers
Function
formatResolutionError
( r: ResolutionResult & { ok: false }, )
source code/utils/plugins/pluginInstallationHelpers.ts:306
↓ 2 callers
Function
formatReverseDependentsSuffix
( rdeps: string[] | undefined, )
source code/utils/plugins/dependencyResolver.ts:302
↓ 2 callers
Function
formatReviewStageCounts
(stage: ReviewStage | undefined, found: number, verified: number, refuted: number)
source code/components/tasks/RemoteSessionProgress.tsx:24
↓ 2 callers
Function
formatSetupNotes
* 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 callers
Function
formatShellPrefixCommand
( prefix: string, command: string, )
source code/utils/bash/shellPrefix.ts:17
↓ 2 callers
Function
formatSkillLoadingMetadata
(skillName: string, _progressMessage: string = 'loading')
source code/utils/processUserInput/processSlashCommand.tsx:788
↓ 2 callers
Function
formatSlashCommandLoadingMetadata
* Formats the metadata for a slash command loading message.
source code/utils/processUserInput/processSlashCommand.tsx:796
↓ 2 callers
Function
formatTimelineLine
( totalMs: number, deltaMs: number, name: string, memory: NodeJS.MemoryUsage | undefined, totalPad:
source code/utils/profilerBase.ts:35
↓ 2 callers
Function
formatValidationPath
* Formats a Zod validation path into a readable string * e.g., ['todos', 0, 'activeForm'] => 'todos[0].activeForm'
source code/utils/toolErrors.ts:49
↓ 2 callers
Function
formatWarning
(warning: KeybindingWarning)
source code/keybindings/validate.ts:458
↓ 2 callers
Function
formatWorkspaceFolders
(folders: string[], maxLength: number = 100)
source code/commands/ide/ide.tsx:614
↓ 2 callers
Function
formatWorkspaceSymbolResult
( result: SymbolInformation[] | null, cwd?: string, )
source code/tools/LSPTool/formatters.ts:373
↓ 2 callers
Function
forwardMessagesToBridge
()
source code/cli/print.ts:1519
↓ 2 callers
Function
forwardToWs
(ws: WebSocketLike, data: Buffer)
source code/upstreamproxy/relay.ts:438
↓ 2 callers
Function
fromArray
(values: T[])
source code/utils/generators.ts:86
↓ 2 callers
Function
fromJsonTimestamp
(o: any)
source code/types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts:848
↓ 2 callers
Function
fromSDKCompactMetadata
( meta: SDKCompactMetadata, )
source code/utils/messages/mappers.ts:100
← previous
next →
2,901–3,000 of 11,462, ranked by callers