Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freecodexyz/free-code
/ functions
Functions
11,548 in github.com/freecodexyz/free-code
⨍
Functions
11,548
◇
Types & classes
343
↓ 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:383
↓ 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:3754
↓ 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
↓ 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
src/utils/plugins/marketplaceManager.ts:473
↓ 1 callers
Function
findSlackChannelPositions
( text: string, )
src/utils/suggestions/slackChannelSuggestions.ts:110
↓ 1 callers
Function
findSlashCommandPositions
( text: string, )
src/utils/suggestions/commandSuggestions.ts:552
↓ 1 callers
Function
findSuitableShell
()
src/utils/Shell.ts:73
↓ 1 callers
Function
findTeammateColor
( appState: { teamContext?: { teammates: { [id: string]: { color?: string } } } }, name: string, )
src/tools/SendMessageTool/SendMessageTool.ts:133
↓ 1 callers
Function
findTextObject
( text: string, offset: number, objectType: string, isInner: boolean, )
src/vim/textObjects.ts:38
↓ 1 callers
Function
findTokenBudgetPositions
( text: string, )
src/utils/tokenBudget.ts:31
↓ 1 callers
Function
findUnmatched
(entries: readonly ChannelEntry[], allowlist: ReturnType<typeof getEffectiveChannelAllowlist>)
src/components/LogoV2/ChannelsNotice.tsx:206
↓ 1 callers
Function
findUnresolvedToolUse
( toolUseId: string, )
src/utils/sessionStorage.ts:4478
↓ 1 callers
Function
findValidClaudeAlias
( options?: ShellConfigOptions, )
src/utils/shellConfig.ts:142
↓ 1 callers
Function
firstCommandToken
(command: string)
src/utils/claudeCodeHints.ts:130
↓ 1 callers
Function
firstWord
(s: string)
src/components/design-system/FuzzyPicker.tsx:308
↓ 1 callers
Function
flattenHljs
( node: HljsNode | string, theme: Theme, parentScope: string | undefined, out: Block[], )
src/native-ts/color-diff/index.ts:469
↓ 1 callers
Function
flush
()
src/utils/bufferedWriter.ts:37
↓ 1 callers
Method
flush
* Flush pending client events (writeEvent queue). Call before close() * when the caller needs delivery confirmation — close() abandons the * que
src/cli/transports/ccrClient.ts:831
↓ 1 callers
Function
flushDeferred
()
src/utils/bufferedWriter.ts:60
↓ 1 callers
Function
flushHistory
(msgs: Message[])
src/bridge/remoteBridgeCore.ts:624
↓ 1 callers
Function
flushInteractionTime
()
src/bootstrap/state.ts:680
↓ 1 callers
Method
flushInternalEvents
()
src/cli/remoteIO.ts:217
↓ 1 callers
Function
flushPromptHistory
(retries: number)
src/history.ts:329
↓ 1 callers
Method
flushStreamEvents
Delay timer fired — enqueue accumulated stream_events.
src/cli/transports/HybridTransport.ts:166
↓ 1 callers
Function
flushTelemetry
()
src/utils/telemetry/instrumentation.ts:24
↓ 1 callers
Method
focusNext
(root: DOMElement)
src/ink/focus.ts:102
↓ 1 callers
Method
focusPrevious
(root: DOMElement)
src/ink/focus.ts:106
← previous
next →
5,201–5,300 of 11,548, ranked by callers