MCPcopy Create free account

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

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

↓ 5 callersFunctionvalidateForceLoginOrg
()
src/utils/auth.ts:1991
↓ 5 callersFunctionvalidateUserConfig
( values: UserConfigValues, schema: UserConfigSchema, )
src/utils/plugins/mcpbHandler.ts:346
↓ 5 callersFunctionwithOAuthRetry
* Execute an OAuth-authenticated request with a single retry on 401. * On 401, attempts token refresh via handleOAuth401Error (same pattern as *
src/bridge/bridgeApi.ts:106
↓ 5 callersFunctionworktreeBranchName
(slug: string)
src/utils/worktree.ts:221
↓ 5 callersFunctionwriteTeamFileAsync
( teamName: string, teamFile: TeamFile, )
src/utils/swarm/teamHelpers.ts:175
↓ 5 callersFunctionwriteToStderr
(data: string)
src/utils/process.ts:32
↓ 4 callersFunctionaddImageMetadataMessage
( result: ProcessUserInputBaseResult, imageMetadataTexts: string[], )
src/utils/processUserInput/processUserInput.ts:592
↓ 4 callersFunctionapplyPositionEdge
( node: LayoutNode, edge: 'top' | 'bottom' | 'left' | 'right', v: number | `${number}%` | undefined, )
src/ink/styles.ts:420
↓ 4 callersFunctionapplyTriggerSuggestion
(suggestion: SuggestionItem, input: string, cursorOffset: number, triggerRe: RegExp, onInputChange: (value: st
src/hooks/useTypeahead.tsx:197
↓ 4 callersFunctionarchiveRemoteSession
(sessionId: string)
src/utils/teleport.tsx:1200
↓ 4 callersFunctionarchiveSession
( sessionId: string, baseUrl: string, accessToken: string | undefined, orgUUID: string, timeoutMs: n
src/bridge/remoteBridgeCore.ts:963
↓ 4 callersFunctionargLeaksValue
( _cmd: string, element?: ParsedCommandElement, )
src/tools/PowerShellTool/readOnlyValidation.ts:76
↓ 4 callersFunctionarmFocusSilenceTimer
()
src/hooks/useVoice.ts:542
↓ 4 callersMethodbackground
(taskId: string)
src/utils/ShellCommand.ts:349
↓ 4 callersFunctionbashCommandIsSafe_DEPRECATED
( command: string, )
src/tools/BashTool/bashSecurity.ts:2257
↓ 4 callersFunctionbuildAttributionSnapshotChain
* Builds an attribution snapshot chain from the conversation. * Unlike file history snapshots, attribution snapshots are returned in full * because
src/utils/sessionStorage.ts:2280
↓ 4 callersFunctionbuildCCRv2SdkUrl
( apiBaseUrl: string, sessionId: string, )
src/bridge/workSecret.ts:81
↓ 4 callersFunctionbuildFileHistorySnapshotChain
* Builds a filie history snapshot chain from the conversation
src/utils/sessionStorage.ts:2248
↓ 4 callersFunctionbuildLargeToolResultMessage
( result: PersistedToolResult, )
src/utils/toolResultStorage.ts:189
↓ 4 callersFunctionbuildMcpToolName
(serverName: string, toolName: string)
src/services/mcp/mcpStringUtils.ts:50
↓ 4 callersFunctionbuildPluginDetailsMenuOptions
(hasHomepage: string | undefined, githubRepo: string | null)
src/commands/plugin/pluginDetailsHelpers.tsx:46
↓ 4 callersFunctionbuildSearchResult
* Build the search result output structure.
src/tools/ToolSearchTool/ToolSearchTool.ts:110
↓ 4 callersFunctioncacheKeys
(cache: FileStateCache)
src/utils/fileStateCache.ts:116
↓ 4 callersFunctioncalculateTokenWarningState
( tokenUsage: number, model: string, )
src/services/compact/autoCompact.ts:93
↓ 4 callersFunctioncaptureUntrackedFiles
* Capture untracked files (git diff doesn't include them). * Respects size limits and skips binary files.
src/utils/git.ts:616
↓ 4 callersFunctioncharClass
* Character class for double-click word-expansion. Cells with the same * class as the clicked cell are included in the selection; a class change * i
src/ink/selection.ts:151
↓ 4 callersFunctioncheckArgElementType
(argIdx: number)
src/tools/PowerShellTool/pathValidation.ts:1334
↓ 4 callersFunctioncheckReadPermissionForTool
( tool: Tool, input: { [key: string]: unknown }, toolPermissionContext: ToolPermissionContext, )
src/utils/permissions/filesystem.ts:1030
↓ 4 callersFunctioncheckWritePermissionForTool
( tool: Tool<Input>, input: z.infer<Input>, toolPermissionContext: ToolPermissionContext, precomputedP
src/utils/permissions/filesystem.ts:1205
↓ 4 callersFunctionchildMarginForAxis
( child: Node, axis: FlexDirection, ownerWidth: number, )
src/native-ts/yoga-layout/index.ts:2334
↓ 4 callersFunctioncleanupWorktreeIfNeeded
()
src/tools/AgentTool/AgentTool.tsx:644
↓ 4 callersFunctionclearClassifierIndicator
()
src/hooks/toolPermission/handlers/interactiveHandler.ts:86
↓ 4 callersFunctionclearFastModeCooldown
()
src/utils/fastMode.ts:235
↓ 4 callersFunctionclearInvokedSkillsForAgent
(agentId: string)
src/bootstrap/state.ts:1557
↓ 4 callersFunctionclearSelection
(s: SelectionState)
src/ink/selection.ts:122
↓ 4 callersFunctionclearStreamIdleTimers
()
src/services/api/claude.ts:1885
↓ 4 callersMethodclip
(clip: Clip)
src/ink/output.ts:255
↓ 4 callersFunctionconsume
(method: BridgeFault['method'])
src/bridge/bridgeDebug.ts:87
↓ 4 callersFunctioncontainsAnyPlaceholder
* All placeholder strings. Used for defense-in-depth: if a varScope value * contains ANY placeholder (exact or embedded), the value is NOT a pure *
src/utils/bash/ast.ts:94
↓ 4 callersFunctionconvertSDKMessage
( msg: SDKMessage, opts?: ConvertOptions, )
src/remote/sdkMessageAdapter.ts:168
↓ 4 callersFunctioncopyDir
(src: string, dest: string)
src/utils/plugins/pluginLoader.ts:293
↓ 4 callersFunctioncountUniqueFiles
* Counts unique files from an array of locations
src/tools/LSPTool/LSPTool.ts:531
↓ 4 callersFunctioncreateActivityDescriptionResolver
(tools: Tools)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:110
↓ 4 callersFunctioncreateContentReplacementState
()
src/utils/toolResultStorage.ts:395
↓ 4 callersFunctioncreateEmptyAttributionState
()
src/utils/commitAttribution.ts:306
↓ 4 callersFunctioncreateHttpsProxyAgent
* Create an HttpsProxyAgent with optional mTLS configuration * Skips local DNS resolution to let the proxy handle it
src/utils/proxy.ts:135
↓ 4 callersFunctioncreateImageMetadataText
( dims: ImageDimensions, sourcePath?: string, )
src/utils/imageResizer.ts:835
↓ 4 callersFunctioncreateImageResponse
( buffer: Buffer, mediaType: string, originalSize: number, dimensions?: ImageDimensions, )
src/tools/FileReadTool/FileReadTool.ts:784
↓ 4 callersFunctioncreateProgressTracker
()
src/tasks/LocalAgentTask/LocalAgentTask.tsx:50
↓ 4 callersFunctioncreateReadRuleSuggestion
( dirPath: string, destination: PermissionUpdateDestination = 'session', )
src/utils/permissions/PermissionUpdate.ts:361
↓ 4 callersFunctioncreateRecentActivityFeed
(activities: LogOption[])
src/components/LogoV2/feedConfigs.tsx:11
↓ 4 callersFunctioncreateStore
( initialState: T, onChange?: OnChange<T>, )
src/state/store.ts:10
↓ 4 callersFunctioncreateSubagentContext
( parentContext: ToolUseContext, overrides?: SubagentContextOverrides, )
src/utils/forkedAgent.ts:345
↓ 4 callersFunctioncreateTmuxBackend
* Creates a TmuxBackend instance. * Throws if TmuxBackend hasn't been registered.
src/utils/swarm/backends/registry.ts:106
↓ 4 callersFunctioncursorMove
(x: number, y: number)
src/ink/termio/csi.ts:169
↓ 4 callersFunctiondefaultStyle
(theme: Theme)
src/native-ts/color-diff/index.ts:364
↓ 4 callersMethoddel
()
src/utils/Cursor.ts:866
↓ 4 callersFunctiondenySpeculation
( message: string, reason: string, )
src/services/PromptSuggestion/speculation.ts:84
↓ 4 callersFunctiondequeue
( filter?: (cmd: QueuedCommand) => boolean, )
src/utils/messageQueueManager.ts:167
↓ 4 callersFunctionderiveUUID
(parentUUID: UUID, index: number)
src/utils/messages.ts:725
↓ 4 callersFunctiondetectCurrentRepository
()
src/utils/detectRepository.ts:17
↓ 4 callersFunctiondetectIDEs
( includeInvalid: boolean, )
src/utils/ide.ts:664
↓ 4 callersFunctiondetectImageFormatFromBuffer
(buffer: Buffer)
src/utils/imageResizer.ts:769
↓ 4 callersFunctiondetectSessionFileType
( filePath: string, )
src/utils/memoryFileDetection.ts:40
↓ 4 callersFunctiondisablePluginOp
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginOperations.ts:770
↓ 4 callersFunctiondjb2Hash
(str: string)
src/utils/hash.ts:7
↓ 4 callersFunctiondrainSdkEvents
()
src/utils/sdkEventQueue.ts:89
↓ 4 callersMethoddrainStdin
@see drainStdin
src/ink/ink.tsx:953
↓ 4 callersFunctionemitLoadError
* Emits an error message in the correct format based on outputFormat. * When using stream-json, writes JSON to stdout; otherwise writes plain text to
src/cli/print.ts:4841
↓ 4 callersFunctionemitTaskProgress
( tracker: ProgressTracker, taskId: string, toolUseId: string | undefined, description: string, star
src/tools/AgentTool/agentToolUtils.ts:369
↓ 4 callersMethodendAuthentication
(success: boolean)
src/utils/awsAuthStatusManager.ts:58
↓ 4 callersMethodendCLIActivity
* Stops tracking CLI activity
src/utils/activityManager.ts:106
↓ 4 callersFunctionenhanceGitPullErrorMessages
* Enhance error messages for git pull failures
src/utils/plugins/marketplaceManager.ts:649
↓ 4 callersFunctionenqueueShellNotification
(taskId: string, description: string, status: 'completed' | 'failed' | 'killed', exitCode: number | undefined,
src/tasks/LocalShellTask/LocalShellTask.tsx:105
↓ 4 callersFunctionensureBackendsRegistered
()
src/utils/swarm/backends/registry.ts:74
↓ 4 callersFunctionensureConfigScope
(scope?: string)
src/services/mcp/utils.ts:301
↓ 4 callersFunctionensureConnectedClient
( client: ConnectedMCPServer, )
src/services/mcp/client.ts:1690
↓ 4 callersFunctionensureToolResultsDir
()
src/utils/toolResultStorage.ts:122
↓ 4 callersMethodenterAlternateScreen
* Pause Ink and hand the terminal over to an external TUI (e.g. git * commit editor). In non-fullscreen mode this enters the alt screen; * in fu
src/ink/ink.tsx:357
↓ 4 callersFunctionescapeHtmlWithBold
(text: string)
src/commands/insights.ts:1801
↓ 4 callersFunctionexceedsSizeLimit
(content: string, _path: string)
src/services/settingsSync/index.ts:497
↓ 4 callersFunctionexcludeCommandsByServer
( commands: Command[], serverName: string, )
src/services/mcp/utils.ts:129
↓ 4 callersFunctionexcludeResourcesByServer
( resources: Record<string, ServerResource[]>, serverName: string, )
src/services/mcp/utils.ts:142
↓ 4 callersFunctionexec
( command: string, abortSignal: AbortSignal, shellType: ShellType, options?: ExecOptions, )
src/utils/Shell.ts:181
↓ 4 callersFunctionexecCommandHook
* Execute a command-based hook using bash or PowerShell. * * Shell resolution: hook.shell → 'bash'. PowerShell hooks spawn pwsh * with -NoProfile -
src/utils/hooks.ts:747
↓ 4 callersMethodexitAlternateScreen
* Resume Ink after an external TUI handoff with a full repaint. * In non-fullscreen mode this exits the alt screen back to main; * in fullscreen
src/ink/ink.tsx:392
↓ 4 callersFunctionexpandTilde
* Expands tilde (~) at the start of a path to the user's home directory.
src/tools/PowerShellTool/pathValidation.ts:820
↓ 4 callersFunctionextractDangerousSettings
( settings: SettingsJson | null | undefined, )
src/components/ManagedSettingsSecurityDialog/utils.ts:24
↓ 4 callersFunctionextractDescriptionFromMarkdown
( content: string, defaultDescription: string = 'Custom item', )
src/utils/markdownConfigLoader.ts:52
↓ 4 callersFunctionextractFlag
(flag: string, opts: { hasValue?: boolean; as?: string; } = {})
src/main.tsx:739
↓ 4 callersFunctionfanOut
* Reset the settings cache, then notify all listeners. * * The cache reset MUST happen here (single producer), not in each listener * (N consumers)
src/utils/settings/changeDetector.ts:437
↓ 4 callersFunctionfetchAuthServerMetadata
* Fetches authorization server metadata, using a configured metadata URL if available, * otherwise performing RFC 9728 → RFC 8414 discovery via the S
src/services/mcp/auth.ts:256
↓ 4 callersFunctionfetchSession
( sessionId: string, )
src/utils/teleport/api.ts:289
↓ 4 callersFunctionfileHistoryTrackEdit
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, filePa
src/utils/fileHistory.ts:86
↓ 4 callersFunctionfilterErrors
(errors: ValidationError[], severity: 'fatal' | 'warning')
src/components/mcp/McpParsingWarnings.tsx:210
↓ 4 callersFunctionfilterToolProgressMessages
( progressMessagesForMessage: ProgressMessage[], )
src/Tool.ts:312
↓ 4 callersFunctionfindActualString
( fileContent: string, searchString: string, )
src/tools/FileEditTool/utils.ts:73
↓ 4 callersFunctionfindChannelEntry
( serverName: string, channels: readonly ChannelEntry[], )
src/services/mcp/channelNotification.ts:161
↓ 4 callersFunctionfindLatestMessage
* O(n) single-pass: find the message with the latest timestamp matching a predicate. * Replaces the `[...values].filter(pred).sort((a,b) => Date(b)-D
src/utils/sessionStorage.ts:2046
↓ 4 callersFunctionflushGroup
()
src/utils/collapseReadSearch.ts:770
← previousnext →1,201–1,300 of 11,548, ranked by callers