MCPcopy Create free account

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

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

↓ 1 callersFunctionextractUserMessages
(messages: Message[])
source code/skills/bundled/skillify.ts:8
↓ 1 callersFunctionextractWritePathsFromSubcommand
* 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 callersFunctionextractWrittenPaths
(agentMessages: Message[])
source code/services/extractMemories/extractMemories.ts:253
↓ 1 callersFunctionfailDreamTask
(taskId: string, setAppState: SetAppState)
source code/tasks/DreamTask/DreamTask.ts:124
↓ 1 callersFunctionfetchAndStoreClaudeCodeFirstTokenDate
()
source code/services/api/firstTokenDate.ts:14
↓ 1 callersFunctionfetchAndStoreUserRoles
( accessToken: string, )
source code/services/oauth/client.ts:278
↓ 1 callersFunctionfetchBootstrapAPI
()
source code/services/api/bootstrap.ts:44
↓ 1 callersFunctionfetchBootstrapData
()
source code/services/api/bootstrap.ts:116
↓ 1 callersFunctionfetchChannels
( clients: MCPServerConnection[], query: string, )
source code/utils/suggestions/slackChannelSuggestions.ts:31
↓ 1 callersFunctionfetchCodeSessionsFromSessionsAPI
()
source code/utils/teleport/api.ts:206
↓ 1 callersFunctionfetchFastModeStatus
( auth: { accessToken: string } | { apiKey: string }, )
source code/utils/fastMode.ts:369
↓ 1 callersFunctionfetchFromOrigin
* 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 callersFunctionfetchGitDiff
()
source code/utils/gitDiff.ts:51
↓ 1 callersFunctionfetchGitDiffHunks
()
source code/utils/gitDiff.ts:116
↓ 1 callersFunctionfetchInfo
()
source code/components/RemoteEnvironmentDialog.tsx:50
↓ 1 callersFunctionfetchInstallCountsFromGitHub
* Fetch install counts from GitHub stats repository
source code/utils/plugins/installCounts.ts:186
↓ 1 callersFunctionfetchLatestEvents
( ctx: HistoryAuthCtx, limit = HISTORY_PAGE_SIZE, )
source code/assistant/sessionHistory.ts:75
↓ 1 callersFunctionfetchLogs
(limit?: number)
source code/utils/sessionStorage.ts:2561
↓ 1 callersFunctionfetchOlderEvents
( ctx: HistoryAuthCtx, beforeId: string, limit = HISTORY_PAGE_SIZE, )
source code/assistant/sessionHistory.ts:83
↓ 1 callersFunctionfetchOverageCreditGrant
* 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 callersFunctionfetchPolicyLimits
* Fetch policy limits (single attempt, no retries)
source code/services/policyLimits/index.ts:302
↓ 1 callersFunctionfetchPrStatus
()
source code/utils/ghPrStatus.ts:48
↓ 1 callersFunctionfetchProfileInfo
(accessToken: string)
source code/services/oauth/client.ts:357
↓ 1 callersFunctionfetchReferralEligibility
( campaign: ReferralCampaign = 'claude_code_guest_pass', )
source code/services/api/referral.ts:28
↓ 1 callersFunctionfetchReferralRedemptions
( campaign: string = 'claude_code_guest_pass', )
source code/services/api/referral.ts:49
↓ 1 callersFunctionfetchRemoteManagedSettings
* 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 callersFunctionfetchResponse
()
source code/commands/btw/btw.tsx:90
↓ 1 callersFunctionfetchSessionTitle
* 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 callersFunctionfetchTeamMemory
( state: SyncState, repoSlug: string, etag?: string | null, )
source code/services/teamMemorySync/index.ts:389
↓ 1 callersFunctionfetchTeamMemoryHashes
* 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 callersFunctionfetchTeamMemoryOnce
( state: SyncState, repoSlug: string, etag?: string | null, )
source code/services/teamMemorySync/index.ts:190
↓ 1 callersFunctionfetchUltrareviewQuota
()
source code/services/api/ultrareviewQuota.ts:21
↓ 1 callersFunctionfetchUntrackedFiles
* 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 callersFunctionfetchUserSettingsOnce
()
source code/services/settingsSync/index.ts:249
↓ 1 callersFunctionfetchWithRetry
* Fetch remote settings with retry logic and exponential backoff * Uses existing codebase retry utilities for consistency
source code/services/remoteManagedSettings/index.ts:211
↓ 1 callersFunctionfetchWithRetry
* Fetch policy limits with retry logic and exponential backoff
source code/services/policyLimits/index.ts:269
↓ 1 callersFunctionfileHistoryEnabledSdk
()
source code/utils/fileHistory.ts:75
↓ 1 callersFunctionfileHistoryHasAnyChanges
( state: FileHistoryState, messageId: UUID, )
source code/utils/fileHistory.ts:496
↓ 1 callersFunctionfileNameWords
(filePath: string)
source code/services/voiceKeyterms.ts:50
↓ 1 callersFunctionfileSuffixForOauthConfig
()
source code/constants/oauth.ts:20
↓ 1 callersFunctionfillBackground
(px: Uint8Array, bg: AnsiColor)
source code/utils/ansiToPng.ts:164
↓ 1 callersFunctionfilterAllowedSdkBetas
( sdkBetas: string[] | undefined, )
source code/utils/betas.ts:66
↓ 1 callersFunctionfilterAppsForDescription
( installed: readonly InstalledAppLike[], homeDir: string | undefined, )
source code/utils/computerUse/appNames.ts:170
↓ 1 callersFunctionfilterCdCwdSubcommands
* 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 callersFunctionfilterControlOperators
( commandsAndOperators: string[], )
source code/utils/bash/commands.ts:253
↓ 1 callersFunctionfilterDuplicateMemoryAttachments
( attachments: Attachment[], readFileState: FileStateCache, )
source code/utils/attachments.ts:2522
↓ 1 callersFunctionfilterForBriefTool
(messages: T[], briefToolNames: string[])
source code/components/Messages.tsx:95
↓ 1 callersFunctionfilterManagedDisabledPlugins
(plugins: LoadedPlugin[])
source code/commands/plugin/ManagePlugins.tsx:393
↓ 1 callersFunctionfilterOutHyperlinkStyles
(styles: AnsiCode[])
source code/ink/screen.ts:1115
↓ 1 callersFunctionfilterPermissionRelayClients
( clients: readonly T[], isInAllowlist: (name: string) => boolean, )
source code/services/mcp/channelPermissions.ts:179
↓ 1 callersFunctionfilterReservedShortcuts
* 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 callersFunctionfilterResumableSessions
(logs: LogOption[], currentSessionId: string)
source code/commands/resume/resume.tsx:193
↓ 1 callersFunctionfilterSwarmFieldsFromSchema
* Filter swarm-related fields from a tool's input schema. * Called at runtime when isAgentSwarmsEnabled() returns false.
source code/utils/api.ts:98
↓ 1 callersFunctionfilterToBundledAndMcp
(commands: Command[])
source code/utils/attachments.ts:2653
↓ 1 callersFunctionfilterTrailingThinkingFromLastAssistant
* 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 callersFunctionfinalizeOutput
(s: LoadState)
source code/utils/sessionStoragePortable.ts:701
↓ 1 callersFunctionfindAdjacentPairs
(markers: Marker[])
source code/native-ts/color-diff/index.ts:578
↓ 1 callersFunctionfindAvailableTask
* 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 callersFunctionfindAvailableTask
* 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 callersFunctionfindBracketObject
( text: string, offset: number, open: string, close: string, isInner: boolean, )
source code/vim/textObjects.ts:151
↓ 1 callersFunctionfindBtwTriggerPositions
(text: string)
source code/utils/sideQuestion.ts:24
↓ 1 callersFunctionfindBuddyTriggerPositions
(text: string)
source code/buddy/useBuddyNotification.tsx:81
↓ 1 callersFunctionfindChromeClient
(clients: MCPServerConnection[])
source code/hooks/usePromptsFromClaudeInChrome.tsx:70
↓ 1 callersFunctionfindCommandNode
(node: Node, parent: Node | null)
source code/utils/bash/parser.ts:140
↓ 1 callersFunctionfindCommonPrefix
* Finds the common prefix between two strings
source code/hooks/fileSuggestions.ts:577
↓ 1 callersFunctionfindCurrentIDE
(availableIDEs: DetectedIDEInfo[], dynamicMcpConfig?: Record<string, ScopedMcpServerConfig>)
source code/commands/ide/ide.tsx:210
↓ 1 callersFunctionfindElicitationInQueue
Find a queued elicitation event by server name and elicitationId.
source code/services/mcp/elicitationHandler.ts:56
↓ 1 callersFunctionfindFileSnapshotEntry
* 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 callersFunctionfindFirstMatch
( profiles: string[], substring: string, )
source code/utils/model/bedrock.ts:45
↓ 1 callersFunctionfindFirstPipeOperator
* Finds the index of the first pipe operator in parsed shell command
source code/utils/bash/bashPipeCommand.ts:107
↓ 1 callersFunctionfindFirstSubcommand
( args: string[], spec: CommandSpec | null, )
source code/utils/shell/specPrefix.ts:73
↓ 1 callersFunctionfindFirstUnescapedChar
* 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 callersFunctionfindHighestTaskId
* 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 callersFunctionfindLastCompactBoundaryIndex
(messages: T[])
source code/utils/messages.ts:4620
↓ 1 callersFunctionfindLastStringToken
* Find the last string token and its index in parsed tokens
source code/utils/bash/shellCompletion.ts:57
↓ 1 callersFunctionfindLastUnescapedChar
* 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 callersFunctionfindLastUuid
* 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 callersFunctionfindLongestCommonPrefix
(suggestions: SuggestionItem[])
source code/hooks/fileSuggestions.ts:589
↓ 1 callersFunctionfindMarkdownFilesNative
* 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 callersFunctionfindMatchedAlias
* 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 callersFunctionfindMatchingFiles
( fileIndex: FileIndex, partialPath: string, )
source code/hooks/fileSuggestions.ts:620
↓ 1 callersFunctionfindMissedTasks
(tasks: CronTask[], nowMs: number)
source code/utils/cronTasks.ts:455
↓ 1 callersFunctionfindModifiedFiles
( turnStartTime: TurnStartTime, outputsDir: string, )
source code/utils/filePersistence/outputsScanner.ts:64
↓ 1 callersFunctionfindNextDiff
* 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 callersFunctionfindNextPendingTask
(tasks: Task[] | undefined)
source code/components/Spinner.tsx:553
↓ 1 callersFunctionfindOverlyBroadPowerShellPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
source code/utils/permissions/permissionSetup.ts:419
↓ 1 callersFunctionfindPlainTextUrlAt
( screen: Screen, col: number, row: number, )
source code/ink/selection.ts:274
↓ 1 callersFunctionfindPluginByIdentifier
* Helper function to find a plugin from loaded plugins
source code/services/plugins/pluginOperations.ts:208
↓ 1 callersFunctionfindPluginInSettings
* 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 callersFunctionfindPowerShell
()
source code/utils/shell/powershellDetection.ts:26
↓ 1 callersFunctionfindQuoteObject
( text: string, offset: number, quote: string, isInner: boolean, )
source code/vim/textObjects.ts:120
↓ 1 callersFunctionfindRawIndex
(uuid: string)
source code/screens/REPL.tsx:3753
↓ 1 callersFunctionfindRelevantMemories
( query: string, memoryDir: string, signal: AbortSignal, recentTools: readonly string[] = [], alread
source code/memdir/findRelevantMemories.ts:41
↓ 1 callersFunctionfindRemoteBase
()
source code/utils/git.ts:564
↓ 1 callersFunctionfindReusableCacheEntry
( mcpQuery: string, searchToken: string, )
source code/utils/suggestions/slackChannelSuggestions.ts:142
↓ 1 callersFunctionfindSeedMarketplaceLocation
* 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 callersFunctionfindSlackChannelPositions
( text: string, )
source code/utils/suggestions/slackChannelSuggestions.ts:112
↓ 1 callersFunctionfindSlashCommandPositions
( text: string, )
source code/utils/suggestions/commandSuggestions.ts:554
↓ 1 callersFunctionfindSuitableShell
()
source code/utils/Shell.ts:75
↓ 1 callersFunctionfindTeammateColor
( appState: { teamContext?: { teammates: { [id: string]: { color?: string } } } }, name: string, )
source code/tools/SendMessageTool/SendMessageTool.ts:135
← previousnext →5,201–5,300 of 11,462, ranked by callers