MCPcopy Create free account

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

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

↓ 1 callersFunctiondeleteClassifierApproval
(toolUseID: string)
src/utils/classifierApprovals.ts:80
↓ 1 callersMethoddeleteOutputFile
Delete the output file (fire-and-forget safe).
src/utils/task/TaskOutput.ts:373
↓ 1 callersFunctiondeletePermissionRule
({ rule, initialContext, setToolPermissionContext, }: EditPermissionRuleArgs & { rule: PermissionRule })
src/utils/permissions/permissions.ts:1329
↓ 1 callersFunctiondeletePermissionRuleFromSettings
( rule: PermissionRuleFromEditableSettings, )
src/utils/permissions/permissionsLoader.ts:163
↓ 1 callersFunctiondeleteRemoteAgentMetadata
(taskId: string)
src/utils/sessionStorage.ts:359
↓ 1 callersFunctiondeleteResolvedPermission
( requestId: string, teamName?: string, )
src/utils/swarm/permissionSync.ts:607
↓ 1 callersFunctionderiveFirstPrompt
( firstUserMessage: Extract<SerializedMessage, { type: 'user' }> | undefined, )
src/commands/branch/branch.ts:38
↓ 1 callersFunctionderiveReviewState
( isDraft: boolean, reviewDecision: string, )
src/utils/ghPrStatus.ts:26
↓ 1 callersFunctionderiveSessionTitle
Derive a session title from a user message: first line, truncated.
src/bridge/bridgeMain.ts:1956
↓ 1 callersFunctionderiveShortMessageId
(uuid: string)
src/utils/messages.ts:200
↓ 1 callersFunctiondesanitizeMatchString
* Normalizes a match string by applying specific replacements * This helps handle when exact matches fail due to formatting differences * @returns T
src/tools/FileEditTool/utils.ts:557
↓ 1 callersFunctiondescriptionAlreadyExists
* Check if a description already exists in the allow list. * Compares lowercase and trailing-whitespace-trimmed versions.
src/components/permissions/BashPermissionRequest/bashToolUseOptions.tsx:15
↓ 1 callersFunctiondeserializeLogEntry
(line: string)
src/history.ts:102
↓ 1 callersFunctiondestroyWorktree
* Destroys a git worktree at the given path. * First attempts to use `git worktree remove`, then falls back to rm -rf. * Safe to call on non-existen
src/utils/swarm/teamHelpers.ts:492
↓ 1 callersMethoddetachForShutdown
* Mark this instance as unmounted so future unmount() calls early-return. * Called by gracefulShutdown's cleanupTerminalModes() after it has sent
src/ink/ink.tsx:932
↓ 1 callersFunctiondetectAvailableBrowser
()
src/utils/claudeInChrome/common.ts:345
↓ 1 callersFunctiondetectBlockedSleepPattern
(command: string)
src/tools/PowerShellTool/PowerShellTool.tsx:189
↓ 1 callersFunctiondetectBlockedSleepPattern
(command: string)
src/tools/BashTool/BashTool.tsx:322
↓ 1 callersFunctiondetectCodeIndexingFromCommand
( command: string, )
src/utils/codeIndexing.ts:126
↓ 1 callersFunctiondetectCodeIndexingFromMcpServerName
( serverName: string, )
src/utils/codeIndexing.ts:196
↓ 1 callersFunctiondetectConfigurationIssues
( type: InstallationType, )
src/utils/doctorDiagnostic.ts:317
↓ 1 callersFunctiondetectDelistedPlugins
( installedPlugins: InstalledPluginsFileV2, marketplace: PluginMarketplace, marketplaceName: string, )
src/utils/plugins/pluginBlocklist.ts:34
↓ 1 callersFunctiondetectEmptyMarketplaceReason
({ configuredMarketplaceCount, failedMarketplaceCount, }: { configuredMarketplaceCount: number failedM
src/utils/plugins/marketplaceHelpers.ts:550
↓ 1 callersFunctiondetectExtensionInstallationPortable
( browserPaths: BrowserPath[], log?: Logger, )
src/utils/claudeInChrome/setupPortable.ts:147
↓ 1 callersFunctiondetectFromColorFgBg
* Read $COLORFGBG for a synchronous initial guess before the OSC 11 * round-trip completes. Format is `fg;bg` (or `fg;other;bg`) where values * are
src/utils/systemTheme.ts:109
↓ 1 callersFunctiondetectGitOperation
( command: string, output: string, )
src/tools/shared/gitOperationTracking.ts:135
↓ 1 callersFunctiondetectLanguage
()
src/skills/bundled/claudeApi.ts:30
↓ 1 callersFunctiondetectLineEndings
( filePath: string, encoding: BufferEncoding = 'utf8', )
src/utils/file.ts:120
↓ 1 callersFunctiondetectLinuxGlobPatternWarnings
()
src/utils/doctorDiagnostic.ts:487
↓ 1 callersFunctiondetectLinuxTerminal
* Detect the user's preferred terminal on Linux. * Checks $TERMINAL, then x-terminal-emulator, then walks a priority list.
src/utils/deepLink/terminalLauncher.ts:127
↓ 1 callersFunctiondetectMacosTerminal
* Detect the user's preferred terminal on macOS. * Checks running processes first (most likely to be what the user prefers), * then falls back to ch
src/utils/deepLink/terminalLauncher.ts:64
↓ 1 callersFunctiondetectManifestType
* Detect whether a file is a plugin manifest or marketplace manifest
src/utils/plugins/validatePlugin.ts:54
↓ 1 callersFunctiondetectMcpb
()
src/commands/plugin/ManagePlugins.tsx:827
↓ 1 callersFunctiondetectMultiClauding
( sessions: Array<{ session_id: string user_message_timestamps: string[] }>, )
src/commands/insights.ts:1062
↓ 1 callersFunctiondetectMultipleInstallations
()
src/utils/doctorDiagnostic.ts:205
↓ 1 callersFunctiondetectPluginDirectories
(ideName: string)
src/utils/jetbrains.ts:85
↓ 1 callersFunctiondetectPythonPackageManager
()
src/utils/swarm/backends/it2Setup.ts:40
↓ 1 callersFunctiondetectRunningIDEsCached
()
src/utils/ide.ts:1164
↓ 1 callersFunctiondetectRunningIDEsImpl
* Internal implementation of IDE detection.
src/utils/ide.ts:1075
↓ 1 callersFunctiondetectSessionFileType
* Detects if a file path is a session-related file for analytics logging. * Only matches files within the Claude config directory (e.g., ~/.claude).
src/tools/FileReadTool/FileReadTool.ts:195
↓ 1 callersFunctiondetectTerminal
()
src/utils/env.ts:135
↓ 1 callersFunctiondetectTerminal
()
src/utils/deepLink/terminalLauncher.ts:183
↓ 1 callersFunctiondetectTurnInterruption
* Determines whether the conversation was interrupted mid-turn based on the * last message after filtering. An assistant as last message (after filte
src/utils/conversationRecovery.ts:272
↓ 1 callersFunctiondetectVcs
(dir?: string)
src/utils/platform.ts:129
↓ 1 callersFunctiondetectWindowsTerminal
* Detect the user's preferred terminal on Windows.
src/utils/deepLink/terminalLauncher.ts:157
↓ 1 callersFunctiondetectWorktreeMainRepoPath
* Detect if cwd is a git worktree and resolve the main repo path. * Called once during initialize() and cached for the session. * In a worktree, .gi
src/utils/sandbox/sandbox-adapter.ts:422
↓ 1 callersFunctiondetermineErrorType
* Determines the type of error based on the error message
src/components/ResumeTask.tsx:227
↓ 1 callersFunctiondidLayoutShift
()
src/ink/render-node-to-output.ts:40
↓ 1 callersFunctiondiffDifferentWidth
* Fallback: diff two screens with different widths (resize). * Separate indices for prev and next cells arrays.
src/ink/screen.ts:1378
↓ 1 callersFunctiondiffRowAdded
* Emit additions for a row that only exists in next (height grew). * Skips empty/unwritten cells.
src/ink/screen.ts:1283
↓ 1 callersFunctiondiffRowBoth
* Diff one row where both screens are in bounds. * Scans for differences with findNextDiff, unpacks and calls cb for each.
src/ink/screen.ts:1230
↓ 1 callersFunctiondiffRowRemoved
* Emit removals for a row that only exists in prev (height shrank). * Cannot skip empty cells — the terminal still has content from the * previous f
src/ink/screen.ts:1263
↓ 1 callersFunctiondiffSameWidth
* Diff two screens with identical width. * Dispatches each row to a small, JIT-friendly function.
src/ink/screen.ts:1305
↓ 1 callersFunctiondimContent
(h: Highlight)
src/native-ts/color-diff/index.ts:758
↓ 1 callersFunctiondirIsInGitRepo
(cwd: string)
src/utils/git.ts:253
↓ 1 callersFunctiondisableAllPlugins
()
src/services/plugins/pluginCliCommands.ts:275
↓ 1 callersFunctiondisableAllPluginsOp
()
src/services/plugins/pluginOperations.ts:782
↓ 1 callersFunctiondisableHintRecommendations
()
src/utils/plugins/hintRecommendation.ts:156
↓ 1 callersFunctiondisableKeepAlive
()
src/utils/proxy.ts:29
↓ 1 callersFunctiondisablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:236
↓ 1 callersMethoddisconnect
()
src/server/directConnectManager.ts:203
↓ 1 callersFunctiondiscoverAuthorizationServer
( asUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:178
↓ 1 callersFunctiondiscoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:135
↓ 1 callersMethoddiscoveryState
()
src/services/mcp/auth.ts:2037
↓ 1 callersFunctiondispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
src/ink/hit-test.ts:49
↓ 1 callersFunctiondispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
src/ink/hit-test.ts:102
↓ 1 callersMethoddispatchKeyboardEvent
(parsedKey: ParsedKey)
src/ink/ink.tsx:1269
↓ 1 callersFunctiondisplayServerName
(name: string)
src/components/messages/UserChannelMessage.tsx:21
↓ 1 callersMethoddisplayWidthToStringIndex
(text: string, targetWidth: number)
src/utils/Cursor.ts:1240
↓ 1 callersFunctiondispose
()
src/utils/skills/skillChangeDetector.ts:146
↓ 1 callersFunctiondisposeKeybindingWatcher
()
src/keybindings/loadUserBindings.ts:409
↓ 1 callersMethoddoExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
src/utils/telemetry/bigqueryExporter.ts:87
↓ 1 callersMethoddoExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
src/services/analytics/firstPartyEventLoggingExporter.ts:306
↓ 1 callersFunctiondoFetch
()
src/utils/fastMode.ts:461
↓ 1 callersFunctiondoInitialize
()
src/utils/tmuxSocket.ts:268
↓ 1 callersFunctiondoParse
(command: string)
src/utils/bash/ParsedCommand.ts:270
↓ 1 callersFunctiondoReadAsync
()
src/utils/secureStorage/macOsKeychainStorage.ts:178
↓ 1 callersFunctiondoReconnect
()
src/bridge/replBridge.ts:617
↓ 1 callersFunctiondoRefresh
(sessionId: string, gen: number)
src/bridge/jwtUtils.ts:165
↓ 1 callersFunctiondoctorHandler
(root: Root)
src/cli/handlers/util.tsx:72
↓ 1 callersFunctiondoesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
src/utils/sessionStorage.ts:3861
↓ 1 callersFunctiondoesSourceMatchHostPattern
* Check if a source matches a hostPattern entry. * Extracts the host from the source and tests it against the regex pattern. * * @param source - Th
src/utils/plugins/marketplaceHelpers.ts:278
↓ 1 callersFunctiondoesSourceMatchPathPattern
* Check if a source matches a pathPattern entry. * Tests the source's .path (file and directory sources only) against the regex pattern. * * @param
src/utils/plugins/marketplaceHelpers.ts:305
↓ 1 callersFunctiondownOrHistoryDown
()
src/hooks/useTextInput.ts:293
↓ 1 callersFunctiondownloadAndSaveFile
( attachment: File, config: FilesApiConfig, )
src/services/api/filesApi.ts:219
↓ 1 callersFunctiondownloadAndVerifyBinary
* Common logic for downloading and verifying a binary. * Includes stall detection (aborts if no bytes for 60s) and retry logic.
src/utils/nativeInstaller/download.ts:293
↓ 1 callersFunctiondownloadCaBundle
( baseUrl: string, systemCaPath: string, outPath: string, )
src/upstreamproxy/upstreamproxy.ts:254
↓ 1 callersFunctiondownloadFile
( fileId: string, config: FilesApiConfig, )
src/services/api/filesApi.ts:132
↓ 1 callersFunctiondownloadMcpb
* Download MCPB file from URL
src/utils/plugins/mcpbHandler.ts:482
↓ 1 callersFunctiondownloadSessionFiles
( files: File[], config: FilesApiConfig, concurrency: number = DEFAULT_CONCURRENCY, )
src/services/api/filesApi.ts:317
↓ 1 callersFunctiondownloadVersion
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:487
↓ 1 callersFunctiondownloadVersionFromArtifactory
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:151
↓ 1 callersFunctiondragScrollDirection
(sel: SelectionState | null, top: number, bottom: number, alreadyScrollingDir: -1 | 0 | 1 = 0)
src/components/ScrollKeybindingHandler.tsx:810
↓ 1 callersMethoddrain
()
src/cli/transports/WorkerStateUploader.ts:54
↓ 1 callersFunctiondrainAdaptive
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:124
↓ 1 callersFunctiondrainCommandQueue
()
src/cli/print.ts:1934
↓ 1 callersFunctiondrainPendingMessages
(taskId: string, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:181
↓ 1 callersFunctiondrainProportional
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:161
↓ 1 callersFunctiondrainStdin
(stdin: NodeJS.ReadStream = process.stdin)
src/ink/ink.tsx:1664
↓ 1 callersFunctiondrainer
()
src/services/extractMemories/extractMemories.ts:288
← previousnext →4,901–5,000 of 11,548, ranked by callers