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
processMcpResourceAttachments
( input: string, toolUseContext: ToolUseContext, )
src/utils/attachments.ts:1995
↓ 1 callers
Function
processOrphanedPluginVersion
( versionPath: string, now: number, )
src/utils/plugins/cacheUtils.ts:149
↓ 1 callers
Function
processPreMappedToolResultBlock
( toolResultBlock: ToolResultBlockParam, toolName: string, maxResultSizeChars: number, )
src/utils/toolResultStorage.ts:232
↓ 1 callers
Function
processProgressMessages
* Process progress messages to group consecutive search/read operations into summaries. * For ants only - returns original messages for non-ants. *
src/tools/AgentTool/UI.tsx:100
↓ 1 callers
Function
processPromptSlashCommand
(commandName: string, args: string, commands: Command[], context: ToolUseContext, imageContentBlocks: ContentB
src/utils/processUserInput/processSlashCommand.tsx:817
↓ 1 callers
Function
processQueueIfReady
({ executeInput, }: ProcessQueueParams)
src/utils/queueProcessor.ts:52
↓ 1 callers
Function
processQueuedCommands
* Process queued commands to cap task notifications at MAX_VISIBLE_NOTIFICATIONS lines. * Other command types are always shown in full. * Idle notif
src/components/PromptInput/PromptInputQueuedCommands.tsx:47
↓ 1 callers
Function
processResponse
* Process a permission response by invoking the registered callback
src/hooks/useSwarmPermissionPoller.ts:231
↓ 1 callers
Function
processSandboxPermissionResponse
(params: { requestId: string host: string allow: boolean })
src/hooks/useSwarmPermissionPoller.ts:201
↓ 1 callers
Method
processSequence
(seq: string)
src/ink/termio/parser.ts:339
↓ 1 callers
Function
processStraddle
( s: LoadState, chunk: Buffer, bytesRead: number, )
src/utils/sessionStoragePortable.ts:572
↓ 1 callers
Method
processText
(text: string)
src/ink/termio/parser.ts:309
↓ 1 callers
Function
processTextPrompt
( input: string | Array<ContentBlockParam>, imageContentBlocks: ContentBlockParam[], imagePasteIds: numb
src/utils/processUserInput/processTextPrompt.ts:19
↓ 1 callers
Method
processToken
(token: Token)
src/ink/termio/parser.ts:299
↓ 1 callers
Function
processUserInputBase
( input: string | Array<ContentBlockParam>, mode: PromptInputMode, setToolJSX: SetToolJSXFn, context:
src/utils/processUserInput/processUserInput.ts:281
↓ 1 callers
Function
processUserMessage
( msg: UserMessage | NormalizedUserMessage, breakdown: MessageBreakdown, toolUseIdToName: Map<string, st
src/utils/analyzeContext.ts:805
↓ 1 callers
Function
processedStatsToClaudeCodeStats
* Convert ProcessedStats to ClaudeCodeStats. * Used for filtered date ranges that bypass the cache.
src/utils/stats.ts:749
↓ 1 callers
Function
productionDeps
()
src/query/deps.ts:33
↓ 1 callers
Function
projectIsInGitRepo
(cwd: string)
src/utils/memory/versions.ts:6
↓ 1 callers
Function
projectSnippedView
(messages: T[])
src/services/compact/snipProjection.ts:14
↓ 1 callers
Function
propsEqual
* Check if two SpanProps are equal for merging.
src/ink/Ansi.tsx:212
↓ 1 callers
Function
provisionContentReplacementState
( initialMessages?: Message[], initialContentReplacements?: ContentReplacementRecord[], )
src/utils/toolResultStorage.ts:447
↓ 1 callers
Function
pruneRemovedPluginHooks
()
src/utils/plugins/loadPluginHooks.ts:179
↓ 1 callers
Function
query
( params: QueryParams, )
src/query.ts:219
↓ 1 callers
Function
queryLoop
( params: QueryParams, consumedCommandUuids: string[], )
src/query.ts:241
↓ 1 callers
Method
queueFailedEvents
( events: FirstPartyEventLoggingEvent[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:430
↓ 1 callers
Function
quoteProblematicValues
* Pre-processes frontmatter text to quote values that contain special YAML characters. * This allows glob patterns like **\/*.{ts,tsx} to be parsed c
src/utils/frontmatterParser.ts:85
↓ 1 callers
Function
quoteShellCommand
( command: string, addStdinRedirect: boolean = true, )
src/utils/bash/shellQuoting.ts:46
↓ 1 callers
Function
randomInt
* Generate a cryptographically random integer in the range [0, max)
src/utils/words.ts:767
↓ 1 callers
Function
rawSettingsContainsKey
(key: string)
src/utils/settings/settings.ts:984
↓ 1 callers
Function
readAgentMetadata
( agentId: AgentId, )
src/utils/sessionStorage.ts:292
↓ 1 callers
Function
readAllAndSort
* Read-all path for when no limit/offset is set. Skips the stat pass * entirely — reads every candidate, then sorts/dedups on real mtimes * from rea
src/utils/listSessionsImpl.ts:278
↓ 1 callers
Function
readAutoModeEnabledState
()
src/services/mcp/vscodeSdkMcp.ts:14
↓ 1 callers
Function
readBridgePointerAcrossWorktrees
( dir: string, )
src/bridge/bridgePointer.ts:129
↓ 1 callers
Function
readClaudeDesktopMcpServers
()
src/utils/claudeDesktop.ts:98
↓ 1 callers
Function
readEditContext
( path: string, needle: string, contextLines = 3, )
src/utils/readEditContext.ts:31
↓ 1 callers
Function
readFileForEdit
(absoluteFilePath: string)
src/tools/FileEditTool/FileEditTool.ts:599
↓ 1 callers
Function
readFileInRangeFast
( raw: string, mtimeMs: number, offset: number, maxLines: number | undefined, truncateAtBytes: numbe
src/utils/readFileInRange.ts:128
↓ 1 callers
Function
readFileInRangeStreaming
( filePath: string, offset: number, maxLines: number | undefined, maxBytes: number | undefined, trun
src/utils/readFileInRange.ts:344
↓ 1 callers
Function
readFileSafe
(filepath: string)
src/utils/file.ts:50
↓ 1 callers
Function
readFileTailSync
* Sync tail read for reAppendSessionMetadata's external-writer check. * fstat on the already-open fd (no extra path lookup); reads the same * LITE_R
src/utils/sessionStorage.ts:2592
↓ 1 callers
Function
readHeadAndTail
( filePath: string, fileSize: number, buf: Buffer, )
src/utils/sessionStoragePortable.ts:215
↓ 1 callers
Function
readIdeLockfile
(path: string)
src/utils/ide.ts:346
↓ 1 callers
Method
readInternalEvents
* Read foreground agent internal events from * GET /sessions/{id}/worker/internal-events. * Returns transcript entries from the last compaction
src/cli/transports/ccrClient.ts:842
↓ 1 callers
Function
readLastFetchTime
( cwd: string, )
src/utils/deepLink/banner.ts:88
↓ 1 callers
Function
readLinesReverse
( path: string, )
src/utils/fsOperations.ts:722
↓ 1 callers
Function
readLiteMetadata
* Reads the first and last ~64KB of a JSONL file and extracts lite metadata. * * Head (first 64KB): isSidechain, projectPath, teamName, firstPrompt.
src/utils/sessionStorage.ts:4739
↓ 1 callers
Function
readLocalTeamMemory
* Read all team memory files from the local directory into a flat key-value map. * Keys are relative paths from the team memory directory. * Empty f
src/services/teamMemorySync/index.ts:567
↓ 1 callers
Function
readMarketplaceJsonContent
* Read marketplace.json content from a cloned marketplace directory or file. * For directory sources: checks .claude-plugin/marketplace.json, marketp
src/utils/plugins/zipCacheAdapters.ts:120
↓ 1 callers
Function
readMemoriesForSurfacing
( selected: ReadonlyArray<{ path: string; mtimeMs: number }>, signal?: AbortSignal, )
src/utils/attachments.ts:2279
↓ 1 callers
Function
readNotebook
( notebookPath: string, cellId?: string, )
src/utils/notebook.ts:164
↓ 1 callers
Function
readPDF
(filePath: string)
src/utils/pdf.ts:34
↓ 1 callers
Function
readRawSymref
( gitDir: string, refPath: string, branchPrefix: string, )
src/utils/git/gitFilesystem.ts:287
↓ 1 callers
Function
readResolvedPermission
( requestId: string, teamName?: string, )
src/utils/swarm/permissionSync.ts:320
↓ 1 callers
Function
readScrollSpeedBase
()
src/components/ScrollKeybindingHandler.tsx:305
↓ 1 callers
Function
readSeedKnownMarketplaces
( seedDir: string, )
src/utils/plugins/marketplaceManager.ts:436
↓ 1 callers
Function
readSessionLite
( filePath: string, )
src/utils/sessionStoragePortable.ts:256
↓ 1 callers
Function
readSessionStartDate
( filePath: string, )
src/utils/stats.ts:994
↓ 1 callers
Method
readStream
(body: ReadableStream<Uint8Array>)
src/cli/transports/SSETransport.ts:339
↓ 1 callers
Method
readSubagentInternalEvents
* Read all subagent internal events from * GET /sessions/{id}/worker/internal-events?subagents=true. * Returns a merged stream across all non-fo
src/cli/transports/ccrClient.ts:852
↓ 1 callers
Function
readTeamMembers
* Reads team members from the team file
src/utils/tasks.ts:724
↓ 1 callers
Function
readToken
(path: string)
src/upstreamproxy/upstreamproxy.ts:206
↓ 1 callers
Function
readTruncatedFile
()
src/utils/attachments.ts:3128
↓ 1 callers
Function
readWorktreeHeadSha
( worktreePath: string, )
src/utils/git/gitFilesystem.ts:619
↓ 1 callers
Function
readZipCacheKnownMarketplaces
()
src/utils/plugins/zipCacheAdapters.ts:38
↓ 1 callers
Function
readdirSync
(dirPath)
src/utils/fsOperations.ts:548
↓ 1 callers
Function
rearrangePipeCommand
(command: string)
src/utils/bash/bashPipeCommand.ts:14
↓ 1 callers
Function
recollapsePastedContent
* Re-collapse expanded pasted text by finding content that matches * pastedContents and replacing it with references.
src/utils/promptEditor.ts:107
↓ 1 callers
Function
reconcileMcpServers
( desiredConfigs: Record<string, McpServerConfigForProcessTransport>, currentState: DynamicMcpState, set
src/cli/print.ts:5450
↓ 1 callers
Function
reconcileSparseCheckout
( cwd: string, sparsePaths: string[] | undefined, )
src/utils/plugins/marketplaceManager.ts:1034
↓ 1 callers
Method
reconnect
* Force reconnect the WebSocket. * Useful when the subscription becomes stale after container shutdown.
src/remote/RemoteSessionManager.ts:320
↓ 1 callers
Function
reconnectWithBackoff
()
src/services/mcp/useManageMCPConnections.ts:371
↓ 1 callers
Function
reconstructCommand
(kept: ParseEntry[], originalCmd: string)
src/utils/bash/commands.ts:1195
↓ 1 callers
Function
reconstructForSubagentResume
( parentState: ContentReplacementState | undefined, resumedMessages: Message[], sidechainRecords: Conten
src/utils/toolResultStorage.ts:1001
↓ 1 callers
Function
recordAutoModeDenial
(denial: AutoModeDenial)
src/utils/autoModeDenials.ts:19
↓ 1 callers
Function
recordDenial
(state: DenialTrackingState)
src/utils/permissions/denialTracking.ts:24
↓ 1 callers
Function
recordFirstStartTime
()
src/utils/config.ts:1788
↓ 1 callers
Function
recordPromptState
(snapshot: PromptStateSnapshot)
src/services/api/promptCacheBreakDetection.ts:247
↓ 1 callers
Function
recordQueueOperation
(queueOp: QueueOperationMessage)
src/utils/sessionStorage.ts:1464
↓ 1 callers
Function
recordShownTip
(tip: Tip)
src/services/tips/tipScheduler.ts:48
↓ 1 callers
Function
recordTipShown
(tipId: string)
src/services/tips/tipHistory.ts:3
↓ 1 callers
Method
recordUserActivity
* Called when user interacts with the CLI (typing, commands, etc.)
src/utils/activityManager.ts:60
↓ 1 callers
Function
recordYogaMs
(ms: number)
src/ink/reconciler.ts:205
↓ 1 callers
Function
recoverFromAuthFailure
()
src/bridge/remoteBridgeCore.ts:530
↓ 1 callers
Function
recoverOrphanedParallelToolResults
* Post-pass for buildConversationChain: recover sibling assistant blocks and * tool_results that the single-parent walk orphaned. * * Streaming (cl
src/utils/sessionStorage.ts:2118
↓ 1 callers
Function
recoverPlanFromMessages
* Recover plan content from the message history. Plan content can appear in * three forms depending on what happened during the session: * * 1. Exi
src/utils/plans.ts:279
↓ 1 callers
Function
redactHeaders
* Redact header values for safe logging * * @param headers - Headers to redact * @returns Headers with values replaced by '***REDACTED***'
src/utils/plugins/marketplaceManager.ts:1186
↓ 1 callers
Function
redactSecrets
(s: string)
src/bridge/debugUtils.ts:26
↓ 1 callers
Function
refreshAgentDefinitionsForModeSwitch
( modeWasSwitched: boolean, currentCwd: string, cliAgents: AgentDefinition[], currentAgentDefinitions:
src/utils/sessionRestore.ts:251
↓ 1 callers
Function
refreshAllMarketplaces
()
src/utils/plugins/marketplaceManager.ts:2296
↓ 1 callers
Method
refreshAuthorization
( refreshToken: string, )
src/services/mcp/auth.ts:2090
↓ 1 callers
Function
refreshAwsAuth
(awsAuthRefresh: string)
src/utils/auth.ts:651
↓ 1 callers
Function
refreshGcpAuth
(gcpAuthRefresh: string)
src/utils/auth.ts:918
↓ 1 callers
Function
refreshGrowthBookFeatures
()
src/services/analytics/growthbook.ts:1027
↓ 1 callers
Function
refreshMdmSettings
()
src/utils/settings/mdm/settings.ts:166
↓ 1 callers
Function
refreshModelCapabilities
()
src/utils/model/modelCapabilities.ts:85
↓ 1 callers
Function
refreshOverageCreditGrantCache
()
src/services/api/overageCreditGrant.ts:77
↓ 1 callers
Function
refreshPluginState
()
src/cli/print.ts:1760
↓ 1 callers
Function
regenerateSessionId
( options: { setCurrentAsParent?: boolean } = {}, )
src/bootstrap/state.ts:435
↓ 1 callers
Function
registerAgentForeground
({ agentId, description, prompt, selectedAgent, setAppState, autoBackgroundMs, toolUseId }: {
src/tasks/LocalAgentTask/LocalAgentTask.tsx:526
← previous
next →
7,101–7,200 of 11,548, ranked by callers