Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tanbiralam/claude-code
/ functions
Functions
11,484 in github.com/tanbiralam/claude-code
⨍
Functions
11,484
◇
Types & classes
506
↓ 1 callers
Function
extractToolStats
(log: LogOption)
src/commands/insights.ts:467
↓ 1 callers
Function
extractToolUseBlock
( content: BetaContentBlock[], toolName: string, )
src/utils/permissions/classifierShared.ts:15
↓ 1 callers
Function
extractToolUseId
(message: AssistantMessage)
src/services/mcp/client.ts:3247
↓ 1 callers
Function
extractUrlScheme
* Extract URL scheme for telemetry. Defaults to 'gs' for unrecognized schemes * since the AKI backend is the only production path and the loader thro
src/tools/SkillTool/SkillTool.ts:949
↓ 1 callers
Function
extractUserMessageText
* Extract plain text from a replayed SDKUserMessage NDJSON line. Returns the * trimmed text if this looks like a real human-authored message, otherwi
src/bridge/sessionRunner.ts:207
↓ 1 callers
Function
extractUserMessages
(messages: Message[])
src/skills/bundled/skillify.ts:6
↓ 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
src/tools/BashTool/readOnlyValidation.ts:1795
↓ 1 callers
Function
extractWrittenPaths
(agentMessages: Message[])
src/services/extractMemories/extractMemories.ts:251
↓ 1 callers
Function
failDreamTask
(taskId: string, setAppState: SetAppState)
src/tasks/DreamTask/DreamTask.ts:122
↓ 1 callers
Function
fetchAndStoreClaudeCodeFirstTokenDate
()
src/services/api/firstTokenDate.ts:12
↓ 1 callers
Function
fetchAndStoreUserRoles
( accessToken: string, )
src/services/oauth/client.ts:276
↓ 1 callers
Function
fetchBootstrapAPI
()
src/services/api/bootstrap.ts:42
↓ 1 callers
Function
fetchBootstrapData
()
src/services/api/bootstrap.ts:114
↓ 1 callers
Function
fetchChannels
( clients: MCPServerConnection[], query: string, )
src/utils/suggestions/slackChannelSuggestions.ts:29
↓ 1 callers
Function
fetchCodeSessionsFromSessionsAPI
()
src/utils/teleport/api.ts:204
↓ 1 callers
Function
fetchFastModeStatus
( auth: { accessToken: string } | { apiKey: string }, )
src/utils/fastMode.ts:367
↓ 1 callers
Function
fetchFromOrigin
* Fetches a specific branch from remote origin * @param branch The branch to fetch. If not specified, fetches all branches.
src/utils/teleport.tsx:187
↓ 1 callers
Function
fetchGitDiff
()
src/utils/gitDiff.ts:49
↓ 1 callers
Function
fetchGitDiffHunks
()
src/utils/gitDiff.ts:114
↓ 1 callers
Function
fetchInfo
()
src/components/RemoteEnvironmentDialog.tsx:48
↓ 1 callers
Function
fetchInstallCountsFromGitHub
* Fetch install counts from GitHub stats repository
src/utils/plugins/installCounts.ts:184
↓ 1 callers
Function
fetchLatestEvents
( ctx: HistoryAuthCtx, limit = HISTORY_PAGE_SIZE, )
src/assistant/sessionHistory.ts:73
↓ 1 callers
Function
fetchLogs
(limit?: number)
src/utils/sessionStorage.ts:2559
↓ 1 callers
Function
fetchOlderEvents
( ctx: HistoryAuthCtx, beforeId: string, limit = HISTORY_PAGE_SIZE, )
src/assistant/sessionHistory.ts:81
↓ 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
src/services/api/overageCreditGrant.ts:29
↓ 1 callers
Function
fetchPolicyLimits
* Fetch policy limits (single attempt, no retries)
src/services/policyLimits/index.ts:300
↓ 1 callers
Function
fetchPrStatus
()
src/utils/ghPrStatus.ts:46
↓ 1 callers
Function
fetchProfileInfo
(accessToken: string)
src/services/oauth/client.ts:355
↓ 1 callers
Function
fetchReferralEligibility
( campaign: ReferralCampaign = 'claude_code_guest_pass', )
src/services/api/referral.ts:26
↓ 1 callers
Function
fetchReferralRedemptions
( campaign: string = 'claude_code_guest_pass', )
src/services/api/referral.ts:47
↓ 1 callers
Function
fetchRemoteManagedSettings
* Fetch the full remote settings (single attempt, no retries) * Optionally pass a cached checksum for ETag-based caching
src/services/remoteManagedSettings/index.ts:248
↓ 1 callers
Function
fetchResponse
()
src/commands/btw/btw.tsx:88
↓ 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) *
src/bridge/bridgeMain.ts:1971
↓ 1 callers
Function
fetchTeamMemory
( state: SyncState, repoSlug: string, etag?: string | null, )
src/services/teamMemorySync/index.ts:387
↓ 1 callers
Function
fetchTeamMemoryHashes
* Fetch only per-key checksums + metadata (no entry bodies). * Used for cheap serverChecksums refresh during 412 conflict resolution — avoids * down
src/services/teamMemorySync/index.ts:315
↓ 1 callers
Function
fetchTeamMemoryOnce
( state: SyncState, repoSlug: string, etag?: string | null, )
src/services/teamMemorySync/index.ts:188
↓ 1 callers
Function
fetchUltrareviewQuota
()
src/services/api/ultrareviewQuota.ts:19
↓ 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
src/utils/gitDiff.ts:334
↓ 1 callers
Function
fetchUserSettingsOnce
()
src/services/settingsSync/index.ts:247
↓ 1 callers
Function
fetchWithRetry
* Fetch remote settings with retry logic and exponential backoff * Uses existing codebase retry utilities for consistency
src/services/remoteManagedSettings/index.ts:209
↓ 1 callers
Function
fetchWithRetry
* Fetch policy limits with retry logic and exponential backoff
src/services/policyLimits/index.ts:267
↓ 1 callers
Function
fileHistoryEnabledSdk
()
src/utils/fileHistory.ts:73
↓ 1 callers
Function
fileHistoryHasAnyChanges
( state: FileHistoryState, messageId: UUID, )
src/utils/fileHistory.ts:494
↓ 1 callers
Function
fileNameWords
(filePath: string)
src/services/voiceKeyterms.ts:48
↓ 1 callers
Function
fileSuffixForOauthConfig
()
src/constants/oauth.ts:18
↓ 1 callers
Function
fillBackground
(px: Uint8Array, bg: AnsiColor)
src/utils/ansiToPng.ts:162
↓ 1 callers
Function
filterAllowedSdkBetas
( sdkBetas: string[] | undefined, )
src/utils/betas.ts:64
↓ 1 callers
Function
filterAppsForDescription
( installed: readonly InstalledAppLike[], homeDir: string | undefined, )
src/utils/computerUse/appNames.ts:168
↓ 1 callers
Function
filterCdCwdSubcommands
* Filter out `cd ${cwd}` prefix subcommands, keeping astCommands aligned. * Extracted to keep bashToolHasPermission under Bun's feature() DCE * comp
src/tools/BashTool/bashPermissions.ts:1367
↓ 1 callers
Function
filterControlOperators
( commandsAndOperators: string[], )
src/utils/bash/commands.ts:251
↓ 1 callers
Function
filterDuplicateMemoryAttachments
( attachments: Attachment[], readFileState: FileStateCache, )
src/utils/attachments.ts:2520
↓ 1 callers
Function
filterForBriefTool
(messages: T[], briefToolNames: string[])
src/components/Messages.tsx:93
↓ 1 callers
Function
filterManagedDisabledPlugins
(plugins: LoadedPlugin[])
src/commands/plugin/ManagePlugins.tsx:391
↓ 1 callers
Function
filterOutHyperlinkStyles
(styles: AnsiCode[])
src/ink/screen.ts:1113
↓ 1 callers
Function
filterPermissionRelayClients
( clients: readonly T[], isInAllowlist: (name: string) => boolean, )
src/services/mcp/channelPermissions.ts:177
↓ 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.
src/keybindings/template.ts:18
↓ 1 callers
Function
filterResumableSessions
(logs: LogOption[], currentSessionId: string)
src/commands/resume/resume.tsx:191
↓ 1 callers
Function
filterSwarmFieldsFromSchema
* Filter swarm-related fields from a tool's input schema. * Called at runtime when isAgentSwarmsEnabled() returns false.
src/utils/api.ts:96
↓ 1 callers
Function
filterToBundledAndMcp
(commands: Command[])
src/utils/attachments.ts:2651
↓ 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
src/utils/messages.ts:4781
↓ 1 callers
Function
finalizeOutput
(s: LoadState)
src/utils/sessionStoragePortable.ts:699
↓ 1 callers
Function
findAdjacentPairs
(markers: Marker[])
src/native-ts/color-diff/index.ts:576
↓ 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.
src/utils/swarm/inProcessRunner.ts:595
↓ 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
src/hooks/useTaskListWatcher.ts:197
↓ 1 callers
Function
findBracketObject
( text: string, offset: number, open: string, close: string, isInner: boolean, )
src/vim/textObjects.ts:149
↓ 1 callers
Function
findBtwTriggerPositions
(text: string)
src/utils/sideQuestion.ts:22
↓ 1 callers
Function
findBuddyTriggerPositions
(text: string)
src/buddy/useBuddyNotification.tsx:79
↓ 1 callers
Function
findChromeClient
(clients: MCPServerConnection[])
src/hooks/usePromptsFromClaudeInChrome.tsx:68
↓ 1 callers
Function
findCommandNode
(node: Node, parent: Node | null)
src/utils/bash/parser.ts:138
↓ 1 callers
Function
findCommonPrefix
* Finds the common prefix between two strings
src/hooks/fileSuggestions.ts:575
↓ 1 callers
Function
findCurrentIDE
(availableIDEs: DetectedIDEInfo[], dynamicMcpConfig?: Record<string, ScopedMcpServerConfig>)
src/commands/ide/ide.tsx:208
↓ 1 callers
Function
findElicitationInQueue
Find a queued elicitation event by server name and elicitationId.
src/services/mcp/elicitationHandler.ts:54
↓ 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.
src/utils/plans.ts:332
↓ 1 callers
Function
findFirstMatch
( profiles: string[], substring: string, )
src/utils/model/bedrock.ts:43
↓ 1 callers
Function
findFirstPipeOperator
* Finds the index of the first pipe operator in parsed shell command
src/utils/bash/bashPipeCommand.ts:105
↓ 1 callers
Function
findFirstSubcommand
( args: string[], spec: CommandSpec | null, )
src/utils/shell/specPrefix.ts:71
↓ 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.
src/utils/permissions/permissionRuleParser.ts:158
↓ 1 callers
Function
findHighestTaskId
* Finds the highest task ID ever assigned, considering both existing files * and the high water mark (for deleted/reset tasks).
src/utils/tasks.ts:271
↓ 1 callers
Function
findLastCompactBoundaryIndex
(messages: T[])
src/utils/messages.ts:4618
↓ 1 callers
Function
findLastStringToken
* Find the last string token and its index in parsed tokens
src/utils/bash/shellCompletion.ts:55
↓ 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.
src/utils/permissions/permissionRuleParser.ts:181
↓ 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.
src/services/api/sessionIngress.ts:491
↓ 1 callers
Function
findLongestCommonPrefix
(suggestions: SuggestionItem[])
src/hooks/fileSuggestions.ts:587
↓ 1 callers
Function
findMarkdownFilesNative
* Native implementation to find markdown files using Node.js fs APIs * * This implementation exists alongside ripgrep for the following reasons: *
src/utils/markdownConfigLoader.ts:451
↓ 1 callers
Function
findMatchedAlias
* Checks if a query matches any of the command's aliases. * Returns the matched alias if found, otherwise undefined.
src/utils/suggestions/commandSuggestions.ts:250
↓ 1 callers
Function
findMatchingFiles
( fileIndex: FileIndex, partialPath: string, )
src/hooks/fileSuggestions.ts:618
↓ 1 callers
Function
findMissedTasks
(tasks: CronTask[], nowMs: number)
src/utils/cronTasks.ts:453
↓ 1 callers
Function
findModifiedFiles
( turnStartTime: TurnStartTime, outputsDir: string, )
src/utils/filePersistence/outputsScanner.ts:62
↓ 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
src/ink/screen.ts:1213
↓ 1 callers
Function
findNextPendingTask
(tasks: Task[] | undefined)
src/components/Spinner.tsx:551
↓ 1 callers
Function
findOverlyBroadPowerShellPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
src/utils/permissions/permissionSetup.ts:417
↓ 1 callers
Function
findPlainTextUrlAt
( screen: Screen, col: number, row: number, )
src/ink/selection.ts:272
↓ 1 callers
Function
findPluginByIdentifier
* Helper function to find a plugin from loaded plugins
src/services/plugins/pluginOperations.ts:206
↓ 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
src/services/plugins/pluginOperations.ts:180
↓ 1 callers
Function
findPowerShell
()
src/utils/shell/powershellDetection.ts:24
↓ 1 callers
Function
findQuoteObject
( text: string, offset: number, quote: string, isInner: boolean, )
src/vim/textObjects.ts:118
↓ 1 callers
Function
findRawIndex
(uuid: string)
src/screens/REPL.tsx:3751
↓ 1 callers
Function
findRelevantMemories
( query: string, memoryDir: string, signal: AbortSignal, recentTools: readonly string[] = [], alread
src/memdir/findRelevantMemories.ts:39
↓ 1 callers
Function
findRemoteBase
()
src/utils/git.ts:562
↓ 1 callers
Function
findReusableCacheEntry
( mcpQuery: string, searchToken: string, )
src/utils/suggestions/slackChannelSuggestions.ts:140
← previous
next →
5,201–5,300 of 11,484, ranked by callers