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
↓ 1 callers
Function
extractUserMessages
(messages: Message[])
source code/skills/bundled/skillify.ts:8
↓ 1 callers
Function
extractWritePathsFromSubcommand
* Extracts write paths from a subcommand using PATH_EXTRACTORS. * Only returns paths for commands that can create new files/directories * (write/cre
source code/tools/BashTool/readOnlyValidation.ts:1797
↓ 1 callers
Function
extractWrittenPaths
(agentMessages: Message[])
source code/services/extractMemories/extractMemories.ts:253
↓ 1 callers
Function
failDreamTask
(taskId: string, setAppState: SetAppState)
source code/tasks/DreamTask/DreamTask.ts:124
↓ 1 callers
Function
fetchAndStoreClaudeCodeFirstTokenDate
()
source code/services/api/firstTokenDate.ts:14
↓ 1 callers
Function
fetchAndStoreUserRoles
( accessToken: string, )
source code/services/oauth/client.ts:278
↓ 1 callers
Function
fetchBootstrapAPI
()
source code/services/api/bootstrap.ts:44
↓ 1 callers
Function
fetchBootstrapData
()
source code/services/api/bootstrap.ts:116
↓ 1 callers
Function
fetchChannels
( clients: MCPServerConnection[], query: string, )
source code/utils/suggestions/slackChannelSuggestions.ts:31
↓ 1 callers
Function
fetchCodeSessionsFromSessionsAPI
()
source code/utils/teleport/api.ts:206
↓ 1 callers
Function
fetchFastModeStatus
( auth: { accessToken: string } | { apiKey: string }, )
source code/utils/fastMode.ts:369
↓ 1 callers
Function
fetchFromOrigin
* Fetches a specific branch from remote origin * @param branch The branch to fetch. If not specified, fetches all branches.
source code/utils/teleport.tsx:189
↓ 1 callers
Function
fetchGitDiff
()
source code/utils/gitDiff.ts:51
↓ 1 callers
Function
fetchGitDiffHunks
()
source code/utils/gitDiff.ts:116
↓ 1 callers
Function
fetchInfo
()
source code/components/RemoteEnvironmentDialog.tsx:50
↓ 1 callers
Function
fetchInstallCountsFromGitHub
* Fetch install counts from GitHub stats repository
source code/utils/plugins/installCounts.ts:186
↓ 1 callers
Function
fetchLatestEvents
( ctx: HistoryAuthCtx, limit = HISTORY_PAGE_SIZE, )
source code/assistant/sessionHistory.ts:75
↓ 1 callers
Function
fetchLogs
(limit?: number)
source code/utils/sessionStorage.ts:2561
↓ 1 callers
Function
fetchOlderEvents
( ctx: HistoryAuthCtx, beforeId: string, limit = HISTORY_PAGE_SIZE, )
source code/assistant/sessionHistory.ts:83
↓ 1 callers
Function
fetchOverageCreditGrant
* Fetch the current user's overage credit grant eligibility from the backend. * The backend resolves tier-specific amounts and role-based claim permi
source code/services/api/overageCreditGrant.ts:31
↓ 1 callers
Function
fetchPolicyLimits
* Fetch policy limits (single attempt, no retries)
source code/services/policyLimits/index.ts:302
↓ 1 callers
Function
fetchPrStatus
()
source code/utils/ghPrStatus.ts:48
↓ 1 callers
Function
fetchProfileInfo
(accessToken: string)
source code/services/oauth/client.ts:357
↓ 1 callers
Function
fetchReferralEligibility
( campaign: ReferralCampaign = 'claude_code_guest_pass', )
source code/services/api/referral.ts:28
↓ 1 callers
Function
fetchReferralRedemptions
( campaign: string = 'claude_code_guest_pass', )
source code/services/api/referral.ts:49
↓ 1 callers
Function
fetchRemoteManagedSettings
* Fetch the full remote settings (single attempt, no retries) * Optionally pass a cached checksum for ETag-based caching
source code/services/remoteManagedSettings/index.ts:250
↓ 1 callers
Function
fetchResponse
()
source code/commands/btw/btw.tsx:90
↓ 1 callers
Function
fetchSessionTitle
* One-shot fetch of a session's title via GET /v1/sessions/{id}. * * Uses `getBridgeSession` from createSession.ts (ccr-byoc headers + org UUID) *
source code/bridge/bridgeMain.ts:1973
↓ 1 callers
Function
fetchTeamMemory
( state: SyncState, repoSlug: string, etag?: string | null, )
source code/services/teamMemorySync/index.ts:389
↓ 1 callers
Function
fetchTeamMemoryHashes
* Fetch only per-key checksums + metadata (no entry bodies). * Used for cheap serverChecksums refresh during 412 conflict resolution — avoids * down
source code/services/teamMemorySync/index.ts:317
↓ 1 callers
Function
fetchTeamMemoryOnce
( state: SyncState, repoSlug: string, etag?: string | null, )
source code/services/teamMemorySync/index.ts:190
↓ 1 callers
Function
fetchUltrareviewQuota
()
source code/services/api/ultrareviewQuota.ts:21
↓ 1 callers
Function
fetchUntrackedFiles
* Fetch untracked file names (no content reading). * Returns file paths only - they'll be displayed with a note to stage them. * * @param maxFiles
source code/utils/gitDiff.ts:336
↓ 1 callers
Function
fetchUserSettingsOnce
()
source code/services/settingsSync/index.ts:249
↓ 1 callers
Function
fetchWithRetry
* Fetch remote settings with retry logic and exponential backoff * Uses existing codebase retry utilities for consistency
source code/services/remoteManagedSettings/index.ts:211
↓ 1 callers
Function
fetchWithRetry
* Fetch policy limits with retry logic and exponential backoff
source code/services/policyLimits/index.ts:269
↓ 1 callers
Function
fileHistoryEnabledSdk
()
source code/utils/fileHistory.ts:75
↓ 1 callers
Function
fileHistoryHasAnyChanges
( state: FileHistoryState, messageId: UUID, )
source code/utils/fileHistory.ts:496
↓ 1 callers
Function
fileNameWords
(filePath: string)
source code/services/voiceKeyterms.ts:50
↓ 1 callers
Function
fileSuffixForOauthConfig
()
source code/constants/oauth.ts:20
↓ 1 callers
Function
fillBackground
(px: Uint8Array, bg: AnsiColor)
source code/utils/ansiToPng.ts:164
↓ 1 callers
Function
filterAllowedSdkBetas
( sdkBetas: string[] | undefined, )
source code/utils/betas.ts:66
↓ 1 callers
Function
filterAppsForDescription
( installed: readonly InstalledAppLike[], homeDir: string | undefined, )
source code/utils/computerUse/appNames.ts:170
↓ 1 callers
Function
filterCdCwdSubcommands
* Filter out `cd ${cwd}` prefix subcommands, keeping astCommands aligned. * Extracted to keep bashToolHasPermission under Bun's feature() DCE * comp
source code/tools/BashTool/bashPermissions.ts:1369
↓ 1 callers
Function
filterControlOperators
( commandsAndOperators: string[], )
source code/utils/bash/commands.ts:253
↓ 1 callers
Function
filterDuplicateMemoryAttachments
( attachments: Attachment[], readFileState: FileStateCache, )
source code/utils/attachments.ts:2522
↓ 1 callers
Function
filterForBriefTool
(messages: T[], briefToolNames: string[])
source code/components/Messages.tsx:95
↓ 1 callers
Function
filterManagedDisabledPlugins
(plugins: LoadedPlugin[])
source code/commands/plugin/ManagePlugins.tsx:393
↓ 1 callers
Function
filterOutHyperlinkStyles
(styles: AnsiCode[])
source code/ink/screen.ts:1115
↓ 1 callers
Function
filterPermissionRelayClients
( clients: readonly T[], isInAllowlist: (name: string) => boolean, )
source code/services/mcp/channelPermissions.ts:179
↓ 1 callers
Function
filterReservedShortcuts
* Filter out reserved shortcuts that cannot be rebound. * These would cause /doctor to warn, so we exclude them from the template.
source code/keybindings/template.ts:20
↓ 1 callers
Function
filterResumableSessions
(logs: LogOption[], currentSessionId: string)
source code/commands/resume/resume.tsx:193
↓ 1 callers
Function
filterSwarmFieldsFromSchema
* Filter swarm-related fields from a tool's input schema. * Called at runtime when isAgentSwarmsEnabled() returns false.
source code/utils/api.ts:98
↓ 1 callers
Function
filterToBundledAndMcp
(commands: Command[])
source code/utils/attachments.ts:2653
↓ 1 callers
Function
filterTrailingThinkingFromLastAssistant
* Filter trailing thinking blocks from the last message if it's an assistant message. * The API doesn't allow assistant messages to end with thinking
source code/utils/messages.ts:4783
↓ 1 callers
Function
finalizeOutput
(s: LoadState)
source code/utils/sessionStoragePortable.ts:701
↓ 1 callers
Function
findAdjacentPairs
(markers: Marker[])
source code/native-ts/color-diff/index.ts:578
↓ 1 callers
Function
findAvailableTask
* Find an available task from the team's task list. * A task is available if it's pending, has no owner, and is not blocked.
source code/utils/swarm/inProcessRunner.ts:597
↓ 1 callers
Function
findAvailableTask
* Find an available task that can be worked on: * - Status is 'pending' * - No owner assigned * - Not blocked by any unresolved tasks
source code/hooks/useTaskListWatcher.ts:199
↓ 1 callers
Function
findBracketObject
( text: string, offset: number, open: string, close: string, isInner: boolean, )
source code/vim/textObjects.ts:151
↓ 1 callers
Function
findBtwTriggerPositions
(text: string)
source code/utils/sideQuestion.ts:24
↓ 1 callers
Function
findBuddyTriggerPositions
(text: string)
source code/buddy/useBuddyNotification.tsx:81
↓ 1 callers
Function
findChromeClient
(clients: MCPServerConnection[])
source code/hooks/usePromptsFromClaudeInChrome.tsx:70
↓ 1 callers
Function
findCommandNode
(node: Node, parent: Node | null)
source code/utils/bash/parser.ts:140
↓ 1 callers
Function
findCommonPrefix
* Finds the common prefix between two strings
source code/hooks/fileSuggestions.ts:577
↓ 1 callers
Function
findCurrentIDE
(availableIDEs: DetectedIDEInfo[], dynamicMcpConfig?: Record<string, ScopedMcpServerConfig>)
source code/commands/ide/ide.tsx:210
↓ 1 callers
Function
findElicitationInQueue
Find a queued elicitation event by server name and elicitationId.
source code/services/mcp/elicitationHandler.ts:56
↓ 1 callers
Function
findFileSnapshotEntry
* Find a file entry in the most recent file-snapshot system message in the transcript. * Scans backwards to find the latest snapshot.
source code/utils/plans.ts:334
↓ 1 callers
Function
findFirstMatch
( profiles: string[], substring: string, )
source code/utils/model/bedrock.ts:45
↓ 1 callers
Function
findFirstPipeOperator
* Finds the index of the first pipe operator in parsed shell command
source code/utils/bash/bashPipeCommand.ts:107
↓ 1 callers
Function
findFirstSubcommand
( args: string[], spec: CommandSpec | null, )
source code/utils/shell/specPrefix.ts:73
↓ 1 callers
Function
findFirstUnescapedChar
* Find the index of the first unescaped occurrence of a character. * A character is escaped if preceded by an odd number of backslashes.
source code/utils/permissions/permissionRuleParser.ts:160
↓ 1 callers
Function
findHighestTaskId
* Finds the highest task ID ever assigned, considering both existing files * and the high water mark (for deleted/reset tasks).
source code/utils/tasks.ts:273
↓ 1 callers
Function
findLastCompactBoundaryIndex
(messages: T[])
source code/utils/messages.ts:4620
↓ 1 callers
Function
findLastStringToken
* Find the last string token and its index in parsed tokens
source code/utils/bash/shellCompletion.ts:57
↓ 1 callers
Function
findLastUnescapedChar
* Find the index of the last unescaped occurrence of a character. * A character is escaped if preceded by an odd number of backslashes.
source code/utils/permissions/permissionRuleParser.ts:183
↓ 1 callers
Function
findLastUuid
* Walk backward through entries to find the last one with a uuid. * Some entry types (SummaryMessage, TagMessage) don't have one.
source code/services/api/sessionIngress.ts:493
↓ 1 callers
Function
findLongestCommonPrefix
(suggestions: SuggestionItem[])
source code/hooks/fileSuggestions.ts:589
↓ 1 callers
Function
findMarkdownFilesNative
* Native implementation to find markdown files using Node.js fs APIs * * This implementation exists alongside ripgrep for the following reasons: *
source code/utils/markdownConfigLoader.ts:453
↓ 1 callers
Function
findMatchedAlias
* Checks if a query matches any of the command's aliases. * Returns the matched alias if found, otherwise undefined.
source code/utils/suggestions/commandSuggestions.ts:252
↓ 1 callers
Function
findMatchingFiles
( fileIndex: FileIndex, partialPath: string, )
source code/hooks/fileSuggestions.ts:620
↓ 1 callers
Function
findMissedTasks
(tasks: CronTask[], nowMs: number)
source code/utils/cronTasks.ts:455
↓ 1 callers
Function
findModifiedFiles
( turnStartTime: TurnStartTime, outputsDir: string, )
source code/utils/filePersistence/outputsScanner.ts:64
↓ 1 callers
Function
findNextDiff
* Scan for the next cell that differs between two Int32Arrays. * Returns the number of matching cells before the first difference, * or `count` if a
source code/ink/screen.ts:1215
↓ 1 callers
Function
findNextPendingTask
(tasks: Task[] | undefined)
source code/components/Spinner.tsx:553
↓ 1 callers
Function
findOverlyBroadPowerShellPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
source code/utils/permissions/permissionSetup.ts:419
↓ 1 callers
Function
findPlainTextUrlAt
( screen: Screen, col: number, row: number, )
source code/ink/selection.ts:274
↓ 1 callers
Function
findPluginByIdentifier
* Helper function to find a plugin from loaded plugins
source code/services/plugins/pluginOperations.ts:208
↓ 1 callers
Function
findPluginInSettings
* Search all editable settings scopes for a plugin ID matching the given input. * * If `plugin` contains `@`, it's treated as a full pluginId and re
source code/services/plugins/pluginOperations.ts:182
↓ 1 callers
Function
findPowerShell
()
source code/utils/shell/powershellDetection.ts:26
↓ 1 callers
Function
findQuoteObject
( text: string, offset: number, quote: string, isInner: boolean, )
source code/vim/textObjects.ts:120
↓ 1 callers
Function
findRawIndex
(uuid: string)
source code/screens/REPL.tsx:3753
↓ 1 callers
Function
findRelevantMemories
( query: string, memoryDir: string, signal: AbortSignal, recentTools: readonly string[] = [], alread
source code/memdir/findRelevantMemories.ts:41
↓ 1 callers
Function
findRemoteBase
()
source code/utils/git.ts:564
↓ 1 callers
Function
findReusableCacheEntry
( mcpQuery: string, searchToken: string, )
source code/utils/suggestions/slackChannelSuggestions.ts:142
↓ 1 callers
Function
findSeedMarketplaceLocation
* Locate a marketplace in the seed directory by name. * * Probes the canonical locations under seedDir/marketplaces/ rather than * trusting the see
source code/utils/plugins/marketplaceManager.ts:475
↓ 1 callers
Function
findSlackChannelPositions
( text: string, )
source code/utils/suggestions/slackChannelSuggestions.ts:112
↓ 1 callers
Function
findSlashCommandPositions
( text: string, )
source code/utils/suggestions/commandSuggestions.ts:554
↓ 1 callers
Function
findSuitableShell
()
source code/utils/Shell.ts:75
↓ 1 callers
Function
findTeammateColor
( appState: { teamContext?: { teammates: { [id: string]: { color?: string } } } }, name: string, )
source code/tools/SendMessageTool/SendMessageTool.ts:135
← previous
next →
5,201–5,300 of 11,462, ranked by callers