MCPcopy Create free account

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

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

↓ 2 callersFunctionaccumulateUsage
( totalUsage: Readonly<NonNullableUsage>, messageUsage: Readonly<NonNullableUsage>, )
src/services/api/claude.ts:2993
↓ 2 callersFunctionacquireIdpIdToken
( opts: IdpLoginOptions, )
src/services/mcp/xaaIdpLogin.ts:401
↓ 2 callersFunctionaddArgumentsToPrompt
( prompt: string, jsonInput: string, )
src/utils/hooks/hookHelpers.ts:30
↓ 2 callersFunctionaddErrorNotificationIfNeeded
( error: unknown, context: Pick<ToolUseContext, 'addNotification'>, )
src/services/compact/compact.ts:1108
↓ 2 callersFunctionaddErrorsToAppState
* Add errors to AppState, deduplicating to avoid showing the same error multiple times
src/services/mcp/useManageMCPConnections.ts:103
↓ 2 callersFunctionaddFunctionHook
( setAppState: (updater: (prev: AppState) => AppState) => void, sessionId: string, event: HookEvent, m
src/utils/hooks/sessionHooks.ts:93
↓ 2 callersFunctionaddHookToSession
* Internal helper to add a hook to session state
src/utils/hooks/sessionHooks.ts:167
↓ 2 callersFunctionaddInstalledPlugin
( pluginId: string, metadata: InstalledPlugin, scope: PersistableScope = 'user', projectPath?: string,
src/utils/plugins/installedPluginsManager.ts:874
↓ 2 callersFunctionaddLineNumber
( h: Highlight, theme: Theme, maxDigits: number, fullDim: boolean, )
src/native-ts/color-diff/index.ts:726
↓ 2 callersFunctionaddLineNumbers
({ content, // 1-indexed startLine, }: { content: string startLine: number })
src/utils/file.ts:290
↓ 2 callersMethodaddOutput
(line: string)
src/utils/awsAuthStatusManager.ts:48
↓ 2 callersFunctionaddPluginScopeToLspServers
( servers: Record<string, LspServerConfig>, pluginName: string, )
src/utils/plugins/lspPluginIntegration.ts:298
↓ 2 callersFunctionaddPluginScopeToServers
( servers: Record<string, McpServerConfig>, pluginName: string, pluginSource: string, )
src/utils/plugins/mcpPluginIntegration.ts:341
↓ 2 callersFunctionaddSessionHook
( setAppState: (updater: (prev: AppState) => AppState) => void, sessionId: string, event: HookEvent, m
src/utils/hooks/sessionHooks.ts:68
↓ 2 callersFunctionaddToToolDuration
(duration: number)
src/bootstrap/state.ts:586
↓ 2 callersFunctionaddToTurnHookDuration
(duration: number)
src/bootstrap/state.ts:596
↓ 2 callersFunctionaddToolResult
( toolUseResult: unknown, preMappedBlock?: ToolResultBlockParam, )
src/services/tools/toolExecution.ts:1403
↓ 2 callersFunctionadjustHunkLineNumbers
( hunks: StructuredPatchHunk[], offset: number, )
src/utils/diff.ts:17
↓ 2 callersFunctionaggregateClaudeCodeStatsForRange
( range: StatsDateRange, )
src/utils/stats.ts:718
↓ 2 callersFunctionaliasMatchesParentTier
* Check if a bare family alias (opus/sonnet/haiku) matches the parent model's * tier. When it does, the subagent inherits the parent's exact model st
src/utils/model/agent.ts:110
↓ 2 callersFunctionalignAbsolute
( align: Align, leadEdge: number, trailEdge: number, childSize: number, wrapReverse: boolean, )
src/native-ts/yoga-layout/index.ts:2039
↓ 2 callersFunctionall
( generators: AsyncGenerator<A, void>[], concurrencyCap = Infinity, )
src/utils/generators.ts:32
↓ 2 callersFunctionanalyzeContextUsage
( messages: Message[], model: string, getToolPermissionContext: () => Promise<ToolPermissionContext>,
src/utils/analyzeContext.ts:918
↓ 2 callersFunctionannotateBoundaryWithPreservedSegment
( boundary: SystemCompactBoundaryMessage, anchorUuid: UUID, messagesToKeep: readonly Message[] | undefin
src/services/compact/compact.ts:349
↓ 2 callersFunctionappendStdout
(msg: string)
src/screens/REPL.tsx:4866
↓ 2 callersFunctionappendTeammateMessage
(taskId: string, message: Message, setAppState: SetAppState)
src/tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:51
↓ 2 callersMethodappendToFile
(filePath: string, data: string)
src/utils/sessionStorage.ts:634
↓ 2 callersFunctionappleScriptQuote
* AppleScript string literal escaping (backslash then double-quote).
src/utils/deepLink/terminalLauncher.ts:526
↓ 2 callersFunctionapplyCommandSuggestion
( suggestion: string | SuggestionItem, shouldExecute: boolean, commands: Command[], onInputChange: (va
src/utils/suggestions/commandSuggestions.ts:503
↓ 2 callersFunctionapplyCoordinatorToolFilter
(tools: Tools)
src/utils/toolPool.ts:35
↓ 2 callersFunctionapplyDirectorySuggestion
(input: string, suggestionId: string, tokenStartPos: number, tokenLength: number, isDirectory: boolean)
src/hooks/useTypeahead.tsx:237
↓ 2 callersFunctionapplyEditToFile
( originalContent: string, oldString: string, newString: string, replaceAll: boolean = false, )
src/tools/FileEditTool/utils.ts:206
↓ 2 callersFunctionapplyMarkdown
( content: string, theme: ThemeName, highlight: CliHighlight | null = null, )
src/utils/markdown.ts:36
↓ 2 callersFunctionapplyMcpServerChanges
( servers: Record<string, McpServerConfigForProcessTransport>, )
src/cli/print.ts:1548
↓ 2 callersFunctionapplyModelOverrides
* Layer user-configured modelOverrides (from settings.json) on top of the * provider-derived model strings. Overrides are keyed by canonical first-pa
src/utils/model/modelStrings.ts:63
↓ 2 callersFunctionapplyParentRegionPrefix
( resolvedModel: string, originalSpec: string, )
src/utils/model/agent.ts:58
↓ 2 callersFunctionapplyPluginMcpDiff
()
src/cli/print.ts:1792
↓ 2 callersFunctionapplySettingsChange
( source: SettingSource, setAppState: (f: (prev: AppState) => AppState) => void, )
src/utils/settings/applySettingsChange.ts:33
↓ 2 callersFunctionapplyTaskOffsetsAndEvictions
( setAppState: SetAppState, updatedTaskOffsets: Record<string, number>, evictedTaskIds: string[], )
src/utils/task/framework.ts:213
↓ 2 callersFunctionapplyVarToScope
* Apply a variable assignment to the scope, handling `+=` append semantics. * SECURITY: If EITHER side (existing value or appended value) contains a
src/utils/bash/ast.ts:2017
↓ 2 callersFunctionassemblePluginLoadResult
* Shared body of loadAllPlugins and loadAllPluginsCacheOnly. * * The only difference between the two is which marketplace loader runs — * session p
src/utils/plugins/pluginLoader.ts:3155
↓ 2 callersFunctionatomicMoveToInstallPath
( stagedBinaryPath: string, installPath: string, )
src/utils/nativeInstaller/installer.ts:300
↓ 2 callersFunctionattemptNpmUninstall
( packageName: string, )
src/utils/nativeInstaller/installer.ts:1609
↓ 2 callersFunctionawaitClassifierAutoApproval
( pendingCheck: PendingClassifierCheck, signal: AbortSignal, isNonInteractiveSession: boolean, )
src/tools/BashTool/bashPermissions.ts:1555
↓ 2 callersFunctionbackgroundAll
(getAppState: () => AppState, setAppState: SetAppState)
src/tasks/LocalShellTask/LocalShellTask.tsx:390
↓ 2 callersFunctionbackgroundExistingForegroundTask
(taskId: string, shellCommand: ShellCommand, description: string, setAppState: SetAppState, toolUseId?: string
src/tasks/LocalShellTask/LocalShellTask.tsx:420
↓ 2 callersFunctionbaseCreateAssistantMessage
({ content, isApiErrorMessage = false, apiError, error, errorDetails, isVirtual, usage = { i
src/utils/messages.ts:355
↓ 2 callersFunctionbashToolCheckPermission
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, compoundCom
src/tools/BashTool/bashPermissions.ts:1050
↓ 2 callersMethodbeforeFileEdited
* Capture baseline diagnostics for a specific file before editing. * This is called before editing a file to ensure we have a baseline to compare a
src/services/diagnosticTracking.ts:135
↓ 2 callersFunctionbeginFocusRecording
()
src/hooks/useVoice.ts:594
↓ 2 callersMethodbinarySearchBoundary
* Binary search for boundaries. * @param boundaries: Sorted array of boundaries * @param target: Target offset * @param findNext: If true, fi
src/utils/Cursor.ts:1198
↓ 2 callersFunctionblitRegion
( dst: Screen, src: Screen, regionX: number, regionY: number, maxX: number, maxY: number, )
src/ink/screen.ts:858
↓ 2 callersFunctionblockTask
( taskListId: string, fromTaskId: string, toTaskId: string, )
src/utils/tasks.ts:458
↓ 2 callersFunctionbridgeMain
(args: string[])
src/bridge/bridgeMain.ts:1980
↓ 2 callersFunctionbuildAPIProviderProperties
()
src/utils/status.tsx:240
↓ 2 callersFunctionbuildAccountProperties
()
src/utils/status.tsx:200
↓ 2 callersFunctionbuildActiveFooterText
(url: string)
src/bridge/bridgeStatusUtil.ts:149
↓ 2 callersFunctionbuildAlreadyActiveMessage
(url: string | undefined)
src/commands/ultraplan.tsx:192
↓ 2 callersFunctionbuildChildMessage
(directive: string)
src/tools/AgentTool/forkSubagent.ts:171
↓ 2 callersFunctionbuildCodeEditToolAttributes
( tool: ToolType, input: unknown, decision: 'accept' | 'reject', source: string, )
src/hooks/toolPermission/permissionLogging.ts:41
↓ 2 callersFunctionbuildCommandParts
* Builds command parts from parsed entries, handling strings and operators. * Special handling for file descriptor redirections to preserve them as s
src/utils/bash/bashPipeCommand.ts:119
↓ 2 callersFunctionbuildExtractAutoOnlyPrompt
( newMessageCount: number, existingMemories: string, skipIndex = false, )
src/services/extractMemories/prompts.ts:50
↓ 2 callersFunctionbuildIdleFooterText
(url: string)
src/bridge/bridgeStatusUtil.ts:144
↓ 2 callersFunctionbuildImageToolResult
( stdout: string, toolUseID: string, )
src/tools/BashTool/utils.ts:71
↓ 2 callersFunctionbuildInheritedCliFlags
* Builds CLI flags to propagate from the current session to spawned teammates. * This ensures teammates inherit important settings like permission mo
src/tools/shared/spawnMultiAgent.ts:208
↓ 2 callersFunctionbuildInlineReference
( filePaths: string[], content: SkillContent, )
src/skills/bundled/claudeApi.ts:81
↓ 2 callersFunctionbuildMarketplaceAction
(name: string)
src/commands/plugin/PluginSettings.tsx:153
↓ 2 callersFunctionbuildMcpServerStatuses
()
src/cli/print.ts:1612
↓ 2 callersFunctionbuildMcpUserConfig
* Build the userConfig map for a single MCP server by merging the plugin's * top-level manifest.userConfig values with the channel-specific per-serve
src/utils/plugins/mcpPluginIntegration.ts:440
↓ 2 callersFunctionbuildMemoryLines
( displayName: string, memoryDir: string, extraGuidelines?: string[], skipIndex = false, )
src/memdir/memdir.ts:199
↓ 2 callersFunctionbuildNamespace
(targetDir: string, baseDir: string)
src/skills/loadSkillsDir.ts:523
↓ 2 callersFunctionbuildParsedCommandFromRoot
( command: string, root: Node, )
src/utils/bash/ParsedCommand.ts:255
↓ 2 callersFunctionbuildPowerShellArgs
(cmd: string)
src/utils/shell/powershellProvider.ts:11
↓ 2 callersFunctionbuildPrefix
( command: string, args: string[], spec: CommandSpec | null, )
src/utils/shell/specPrefix.ts:88
↓ 2 callersFunctionbuildResumeInputFromSuggestion
(suggestion: SuggestionItem)
src/hooks/useTypeahead.tsx:75
↓ 2 callersFunctionbuildSdkUrl
(apiBaseUrl: string, sessionId: string)
src/bridge/workSecret.ts:41
↓ 2 callersFunctionbuildSessionMemoryUpdatePrompt
( currentNotes: string, notesPath: string, )
src/services/SessionMemory/prompts.ts:226
↓ 2 callersFunctionbuildShellCommand
* Build a single-quoted POSIX shell command string. ONLY used by the * AppleScript paths (iTerm, Terminal.app) which have no argv interface.
src/utils/deepLink/terminalLauncher.ts:505
↓ 2 callersFunctionbuildSuggestions
(ruleContent: string)
src/tools/WebFetchTool/WebFetchTool.ts:309
↓ 2 callersFunctionbuildSystemInitMessage
(inputs: SystemInitInputs)
src/utils/messages/systemInit.ts:53
↓ 2 callersFunctionbuildTheme
(themeName: string, mode: ColorMode)
src/native-ts/color-diff/index.ts:282
↓ 2 callersFunctionbuildToolLookup
(tools: Tools)
src/utils/permissions/yoloClassifier.ts:364
↓ 2 callersFunctionbuildTranscriptEntries
(messages: Message[])
src/utils/permissions/yoloClassifier.ts:302
↓ 2 callersFunctionbyteAt
(L: Lexer, charIdx: number)
src/utils/bash/bashParser.ts:166
↓ 2 callersFunctioncacheExtraUsageDisabledReason
* Cache the extra usage disabled reason from API headers.
src/services/claudeAiLimits.ts:441
↓ 2 callersFunctioncacheMarketplaceFromUrl
* Cache a marketplace from a URL * * Downloads a marketplace.json file from a URL and saves it locally. * Creates the cache directory structure if
src/utils/plugins/marketplaceManager.ts:1256
↓ 2 callersFunctioncacheToObject
( cache: FileStateCache, )
src/utils/fileStateCache.ts:109
↓ 2 callersFunctioncachedHighlight
(hl: NonNullable<Awaited<ReturnType<typeof getCliHighlightPromise>>>, code: string, language: string)
src/components/HighlightedCode/Fallback.tsx:21
↓ 2 callersFunctioncalculateBaseline
(node: Node)
src/native-ts/yoga-layout/index.ts:2304
↓ 2 callersFunctioncalculateContextPercentages
( currentUsage: { input_tokens: number cache_creation_input_tokens: number cache_read_input_toke
src/utils/context.ts:118
↓ 2 callersMethodcalculateLayout
(width?: number, _height?: number)
src/ink/layout/yoga.ts:82
↓ 2 callersFunctioncalculateShouldShowGrove
( settingsResult: ApiResult<AccountSettings>, configResult: ApiResult<GroveConfig>, showIfAlreadyViewed:
src/services/api/grove.ts:284
↓ 2 callersFunctioncalculateStreaks
(dailyActivity: DailyActivity[])
src/utils/stats.ts:853
↓ 2 callersFunctioncalculateToolResultTokens
(block: ToolResultBlockParam)
src/services/compact/microCompact.ts:138
↓ 2 callersFunctioncallInner
* Inner implementation of call, separated to allow ENOENT handling in the outer call.
src/tools/FileReadTool/FileReadTool.ts:804
↓ 2 callersFunctioncallSafe
Call a listener with sync-throw and async-rejection both routed to logError.
src/services/analytics/growthbook.ts:110
↓ 2 callersMethodcancelReservation
* Cancel a reservation when processQueueIfReady had nothing to process. * Transitions dispatching → idle.
src/utils/QueryGuard.ts:49
↓ 2 callersFunctioncanonicalizePath
(dir: string)
src/utils/sessionStoragePortable.ts:339
↓ 2 callersFunctioncaptureHooksConfigSnapshot
()
src/utils/hooks/hooksConfigSnapshot.ts:95
↓ 2 callersFunctioncaptureTeammateModeSnapshot
()
src/utils/swarm/backends/teammateModeSnapshot.ts:56
← previousnext →2,501–2,600 of 11,548, ranked by callers