MCPcopy Create free account

hub / github.com/freecodexyz/free-code / functions

Functions11,548 in github.com/freecodexyz/free-code

↓ 1 callersFunctionprocessMcpResourceAttachments
( input: string, toolUseContext: ToolUseContext, )
src/utils/attachments.ts:1995
↓ 1 callersFunctionprocessOrphanedPluginVersion
( versionPath: string, now: number, )
src/utils/plugins/cacheUtils.ts:149
↓ 1 callersFunctionprocessPreMappedToolResultBlock
( toolResultBlock: ToolResultBlockParam, toolName: string, maxResultSizeChars: number, )
src/utils/toolResultStorage.ts:232
↓ 1 callersFunctionprocessProgressMessages
* 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 callersFunctionprocessPromptSlashCommand
(commandName: string, args: string, commands: Command[], context: ToolUseContext, imageContentBlocks: ContentB
src/utils/processUserInput/processSlashCommand.tsx:817
↓ 1 callersFunctionprocessQueueIfReady
({ executeInput, }: ProcessQueueParams)
src/utils/queueProcessor.ts:52
↓ 1 callersFunctionprocessQueuedCommands
* 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 callersFunctionprocessResponse
* Process a permission response by invoking the registered callback
src/hooks/useSwarmPermissionPoller.ts:231
↓ 1 callersFunctionprocessSandboxPermissionResponse
(params: { requestId: string host: string allow: boolean })
src/hooks/useSwarmPermissionPoller.ts:201
↓ 1 callersMethodprocessSequence
(seq: string)
src/ink/termio/parser.ts:339
↓ 1 callersFunctionprocessStraddle
( s: LoadState, chunk: Buffer, bytesRead: number, )
src/utils/sessionStoragePortable.ts:572
↓ 1 callersMethodprocessText
(text: string)
src/ink/termio/parser.ts:309
↓ 1 callersFunctionprocessTextPrompt
( input: string | Array<ContentBlockParam>, imageContentBlocks: ContentBlockParam[], imagePasteIds: numb
src/utils/processUserInput/processTextPrompt.ts:19
↓ 1 callersMethodprocessToken
(token: Token)
src/ink/termio/parser.ts:299
↓ 1 callersFunctionprocessUserInputBase
( input: string | Array<ContentBlockParam>, mode: PromptInputMode, setToolJSX: SetToolJSXFn, context:
src/utils/processUserInput/processUserInput.ts:281
↓ 1 callersFunctionprocessUserMessage
( msg: UserMessage | NormalizedUserMessage, breakdown: MessageBreakdown, toolUseIdToName: Map<string, st
src/utils/analyzeContext.ts:805
↓ 1 callersFunctionprocessedStatsToClaudeCodeStats
* Convert ProcessedStats to ClaudeCodeStats. * Used for filtered date ranges that bypass the cache.
src/utils/stats.ts:749
↓ 1 callersFunctionproductionDeps
()
src/query/deps.ts:33
↓ 1 callersFunctionprojectIsInGitRepo
(cwd: string)
src/utils/memory/versions.ts:6
↓ 1 callersFunctionprojectSnippedView
(messages: T[])
src/services/compact/snipProjection.ts:14
↓ 1 callersFunctionpropsEqual
* Check if two SpanProps are equal for merging.
src/ink/Ansi.tsx:212
↓ 1 callersFunctionprovisionContentReplacementState
( initialMessages?: Message[], initialContentReplacements?: ContentReplacementRecord[], )
src/utils/toolResultStorage.ts:447
↓ 1 callersFunctionpruneRemovedPluginHooks
()
src/utils/plugins/loadPluginHooks.ts:179
↓ 1 callersFunctionquery
( params: QueryParams, )
src/query.ts:219
↓ 1 callersFunctionqueryLoop
( params: QueryParams, consumedCommandUuids: string[], )
src/query.ts:241
↓ 1 callersMethodqueueFailedEvents
( events: FirstPartyEventLoggingEvent[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:430
↓ 1 callersFunctionquoteProblematicValues
* 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 callersFunctionquoteShellCommand
( command: string, addStdinRedirect: boolean = true, )
src/utils/bash/shellQuoting.ts:46
↓ 1 callersFunctionrandomInt
* Generate a cryptographically random integer in the range [0, max)
src/utils/words.ts:767
↓ 1 callersFunctionrawSettingsContainsKey
(key: string)
src/utils/settings/settings.ts:984
↓ 1 callersFunctionreadAgentMetadata
( agentId: AgentId, )
src/utils/sessionStorage.ts:292
↓ 1 callersFunctionreadAllAndSort
* 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 callersFunctionreadAutoModeEnabledState
()
src/services/mcp/vscodeSdkMcp.ts:14
↓ 1 callersFunctionreadBridgePointerAcrossWorktrees
( dir: string, )
src/bridge/bridgePointer.ts:129
↓ 1 callersFunctionreadClaudeDesktopMcpServers
()
src/utils/claudeDesktop.ts:98
↓ 1 callersFunctionreadEditContext
( path: string, needle: string, contextLines = 3, )
src/utils/readEditContext.ts:31
↓ 1 callersFunctionreadFileForEdit
(absoluteFilePath: string)
src/tools/FileEditTool/FileEditTool.ts:599
↓ 1 callersFunctionreadFileInRangeFast
( raw: string, mtimeMs: number, offset: number, maxLines: number | undefined, truncateAtBytes: numbe
src/utils/readFileInRange.ts:128
↓ 1 callersFunctionreadFileInRangeStreaming
( filePath: string, offset: number, maxLines: number | undefined, maxBytes: number | undefined, trun
src/utils/readFileInRange.ts:344
↓ 1 callersFunctionreadFileSafe
(filepath: string)
src/utils/file.ts:50
↓ 1 callersFunctionreadFileTailSync
* 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 callersFunctionreadHeadAndTail
( filePath: string, fileSize: number, buf: Buffer, )
src/utils/sessionStoragePortable.ts:215
↓ 1 callersFunctionreadIdeLockfile
(path: string)
src/utils/ide.ts:346
↓ 1 callersMethodreadInternalEvents
* 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 callersFunctionreadLastFetchTime
( cwd: string, )
src/utils/deepLink/banner.ts:88
↓ 1 callersFunctionreadLinesReverse
( path: string, )
src/utils/fsOperations.ts:722
↓ 1 callersFunctionreadLiteMetadata
* 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 callersFunctionreadLocalTeamMemory
* 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 callersFunctionreadMarketplaceJsonContent
* 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 callersFunctionreadMemoriesForSurfacing
( selected: ReadonlyArray<{ path: string; mtimeMs: number }>, signal?: AbortSignal, )
src/utils/attachments.ts:2279
↓ 1 callersFunctionreadNotebook
( notebookPath: string, cellId?: string, )
src/utils/notebook.ts:164
↓ 1 callersFunctionreadPDF
(filePath: string)
src/utils/pdf.ts:34
↓ 1 callersFunctionreadRawSymref
( gitDir: string, refPath: string, branchPrefix: string, )
src/utils/git/gitFilesystem.ts:287
↓ 1 callersFunctionreadResolvedPermission
( requestId: string, teamName?: string, )
src/utils/swarm/permissionSync.ts:320
↓ 1 callersFunctionreadScrollSpeedBase
()
src/components/ScrollKeybindingHandler.tsx:305
↓ 1 callersFunctionreadSeedKnownMarketplaces
( seedDir: string, )
src/utils/plugins/marketplaceManager.ts:436
↓ 1 callersFunctionreadSessionLite
( filePath: string, )
src/utils/sessionStoragePortable.ts:256
↓ 1 callersFunctionreadSessionStartDate
( filePath: string, )
src/utils/stats.ts:994
↓ 1 callersMethodreadStream
(body: ReadableStream<Uint8Array>)
src/cli/transports/SSETransport.ts:339
↓ 1 callersMethodreadSubagentInternalEvents
* 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 callersFunctionreadTeamMembers
* Reads team members from the team file
src/utils/tasks.ts:724
↓ 1 callersFunctionreadToken
(path: string)
src/upstreamproxy/upstreamproxy.ts:206
↓ 1 callersFunctionreadTruncatedFile
()
src/utils/attachments.ts:3128
↓ 1 callersFunctionreadWorktreeHeadSha
( worktreePath: string, )
src/utils/git/gitFilesystem.ts:619
↓ 1 callersFunctionreadZipCacheKnownMarketplaces
()
src/utils/plugins/zipCacheAdapters.ts:38
↓ 1 callersFunctionreaddirSync
(dirPath)
src/utils/fsOperations.ts:548
↓ 1 callersFunctionrearrangePipeCommand
(command: string)
src/utils/bash/bashPipeCommand.ts:14
↓ 1 callersFunctionrecollapsePastedContent
* Re-collapse expanded pasted text by finding content that matches * pastedContents and replacing it with references.
src/utils/promptEditor.ts:107
↓ 1 callersFunctionreconcileMcpServers
( desiredConfigs: Record<string, McpServerConfigForProcessTransport>, currentState: DynamicMcpState, set
src/cli/print.ts:5450
↓ 1 callersFunctionreconcileSparseCheckout
( cwd: string, sparsePaths: string[] | undefined, )
src/utils/plugins/marketplaceManager.ts:1034
↓ 1 callersMethodreconnect
* Force reconnect the WebSocket. * Useful when the subscription becomes stale after container shutdown.
src/remote/RemoteSessionManager.ts:320
↓ 1 callersFunctionreconnectWithBackoff
()
src/services/mcp/useManageMCPConnections.ts:371
↓ 1 callersFunctionreconstructCommand
(kept: ParseEntry[], originalCmd: string)
src/utils/bash/commands.ts:1195
↓ 1 callersFunctionreconstructForSubagentResume
( parentState: ContentReplacementState | undefined, resumedMessages: Message[], sidechainRecords: Conten
src/utils/toolResultStorage.ts:1001
↓ 1 callersFunctionrecordAutoModeDenial
(denial: AutoModeDenial)
src/utils/autoModeDenials.ts:19
↓ 1 callersFunctionrecordDenial
(state: DenialTrackingState)
src/utils/permissions/denialTracking.ts:24
↓ 1 callersFunctionrecordFirstStartTime
()
src/utils/config.ts:1788
↓ 1 callersFunctionrecordPromptState
(snapshot: PromptStateSnapshot)
src/services/api/promptCacheBreakDetection.ts:247
↓ 1 callersFunctionrecordQueueOperation
(queueOp: QueueOperationMessage)
src/utils/sessionStorage.ts:1464
↓ 1 callersFunctionrecordShownTip
(tip: Tip)
src/services/tips/tipScheduler.ts:48
↓ 1 callersFunctionrecordTipShown
(tipId: string)
src/services/tips/tipHistory.ts:3
↓ 1 callersMethodrecordUserActivity
* Called when user interacts with the CLI (typing, commands, etc.)
src/utils/activityManager.ts:60
↓ 1 callersFunctionrecordYogaMs
(ms: number)
src/ink/reconciler.ts:205
↓ 1 callersFunctionrecoverFromAuthFailure
()
src/bridge/remoteBridgeCore.ts:530
↓ 1 callersFunctionrecoverOrphanedParallelToolResults
* 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 callersFunctionrecoverPlanFromMessages
* 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 callersFunctionredactHeaders
* 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 callersFunctionredactSecrets
(s: string)
src/bridge/debugUtils.ts:26
↓ 1 callersFunctionrefreshAgentDefinitionsForModeSwitch
( modeWasSwitched: boolean, currentCwd: string, cliAgents: AgentDefinition[], currentAgentDefinitions:
src/utils/sessionRestore.ts:251
↓ 1 callersFunctionrefreshAllMarketplaces
()
src/utils/plugins/marketplaceManager.ts:2296
↓ 1 callersMethodrefreshAuthorization
( refreshToken: string, )
src/services/mcp/auth.ts:2090
↓ 1 callersFunctionrefreshAwsAuth
(awsAuthRefresh: string)
src/utils/auth.ts:651
↓ 1 callersFunctionrefreshGcpAuth
(gcpAuthRefresh: string)
src/utils/auth.ts:918
↓ 1 callersFunctionrefreshGrowthBookFeatures
()
src/services/analytics/growthbook.ts:1027
↓ 1 callersFunctionrefreshMdmSettings
()
src/utils/settings/mdm/settings.ts:166
↓ 1 callersFunctionrefreshModelCapabilities
()
src/utils/model/modelCapabilities.ts:85
↓ 1 callersFunctionrefreshOverageCreditGrantCache
()
src/services/api/overageCreditGrant.ts:77
↓ 1 callersFunctionrefreshPluginState
()
src/cli/print.ts:1760
↓ 1 callersFunctionregenerateSessionId
( options: { setCurrentAsParent?: boolean } = {}, )
src/bootstrap/state.ts:435
↓ 1 callersFunctionregisterAgentForeground
({ agentId, description, prompt, selectedAgent, setAppState, autoBackgroundMs, toolUseId }: {
src/tasks/LocalAgentTask/LocalAgentTask.tsx:526
← previousnext →7,101–7,200 of 11,548, ranked by callers