MCPcopy Create free account

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

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

↓ 1 callersFunctionrunChromeNativeHost
()
src/utils/claudeInChrome/chromeNativeHost.ts:59
↓ 1 callersFunctionrunClaudeInChromeMcpServer
()
src/utils/claudeInChrome/mcpServer.ts:245
↓ 1 callersFunctionrunCleanupFunctions
()
src/utils/cleanupRegistry.ts:23
↓ 1 callersFunctionrunCodexOAuthFlow
( onUrlReady: (url: string) => Promise<void>, onManualInput?: () => Promise<string>, )
src/services/oauth/codex-client.ts:319
↓ 1 callersFunctionrunComputerUseMcpServer
()
src/utils/computerUse/mcpServer.ts:85
↓ 1 callersFunctionrunExtraction
({ context, appendSystemMessage, isTrailingRun, }: { context: REPLHookContext appendSyst
src/services/extractMemories/extractMemories.ts:329
↓ 1 callersFunctionrunFilePersistence
( turnStartTime: TurnStartTime, signal?: AbortSignal, )
src/utils/filePersistence/filePersistence.ts:51
↓ 1 callersFunctionrunGcpAuthRefresh
* Run gcpAuthRefresh to perform interactive authentication (e.g., gcloud auth application-default login) * Streams output in real-time for user visib
src/utils/auth.ts:876
↓ 1 callersFunctionrunHeadless
( inputPrompt: string | AsyncIterable<string>, getAppState: () => AppState, setAppState: (f: (prev: AppS
src/cli/print.ts:455
↓ 1 callersFunctionrunHeadlessStreaming
( structuredIO: StructuredIO, mcpClients: MCPServerConnection[], commands: Command[], tools: Tools,
src/cli/print.ts:976
↓ 1 callersFunctionrunInProcessTeammate
( config: InProcessRunnerConfig, )
src/utils/swarm/inProcessRunner.ts:883
↓ 1 callersFunctionrunMigrations
()
src/main.tsx:326
↓ 1 callersFunctionrunPermissionDialog
* Render the approval dialog mid-call via `setToolJSX` + `Promise`, wait for * the user. Mirrors `spawnMultiAgent.ts:419-436` (the `It2SetupPrompt` p
src/utils/computerUse/wrapper.tsx:296
↓ 1 callersFunctionrunPermissionRequestHooksForHeadlessAgent
* Runs PermissionRequest hooks for headless/async agents that cannot show * permission prompts. This gives hooks an opportunity to allow or deny * t
src/utils/permissions/permissions.ts:400
↓ 1 callersFunctionrunPostToolUseFailureHooks
( toolUseContext: ToolUseContext, tool: Tool<Input, unknown>, toolUseID: string, messageId: string,
src/services/tools/toolHooks.ts:193
↓ 1 callersFunctionrunPostToolUseHooks
( toolUseContext: ToolUseContext, tool: Tool<Input, Output>, toolUseID: string, messageId: string, t
src/services/tools/toolHooks.ts:39
↓ 1 callersFunctionrunPowerShellCommand
({ input, abortController, setAppState, setToolJSX, preventCwdChanges, isMainThread, toolUseId,
src/tools/PowerShellTool/PowerShellTool.tsx:663
↓ 1 callersFunctionrunPreToolUseHooks
( toolUseContext: ToolUseContext, tool: Tool, processedInput: Record<string, unknown>, toolUseID: stri
src/services/tools/toolHooks.ts:435
↓ 1 callersFunctionrunServer
()
src/entrypoints/mcp.ts:190
↓ 1 callersFunctionrunShellCommand
({ input, abortController, setAppState, setToolJSX, preventCwdChanges, isMainThread, toolUseId,
src/tools/BashTool/BashTool.tsx:826
↓ 1 callersMethodrunShellDirect
Fallback when tmux is not available — runs a non-persistent shell.
src/utils/terminalPanel.ts:182
↓ 1 callersFunctionrunToolsConcurrently
( toolUseMessages: ToolUseBlock[], assistantMessages: AssistantMessage[], canUseTool: CanUseToolFn, to
src/services/tools/toolOrchestration.ts:152
↓ 1 callersFunctionrunToolsSerially
( toolUseMessages: ToolUseBlock[], assistantMessages: AssistantMessage[], canUseTool: CanUseToolFn, to
src/services/tools/toolOrchestration.ts:118
↓ 1 callersFunctionrunValidation
()
src/commands/plugin/ValidatePlugin.tsx:24
↓ 1 callersFunctionrunWithTeammateContext
( context: TeammateContext, fn: () => T, )
src/utils/teammateContext.ts:59
↓ 1 callersFunctionsafeJsonParse
(raw: string)
src/bridge/bridgePointer.ts:204
↓ 1 callersFunctionsafeKeys
(obj: Record<string, unknown> | undefined | null)
src/commands/insights.ts:3031
↓ 1 callersFunctionsafeParseJSONC
(json: string | null | undefined)
src/utils/json.ts:65
↓ 1 callersFunctionsafeSpawn
Attempt to spawn a session; returns error string if spawn throws.
src/bridge/bridgeMain.ts:127
↓ 1 callersFunctionsafeWriteFile
(p: string, content: string)
src/skills/bundledSkills.ts:186
↓ 1 callersFunctionsanitizeAPIError
(apiError: APIError)
src/services/api/errorUtils.ts:122
↓ 1 callersFunctionsanitizeAgentTypeForPath
* Sanitize an agent type name for use as a directory name. * Replaces colons (invalid on Windows, used in plugin-namespaced agent * types like "my-p
src/tools/AgentTool/agentMemory.ts:20
↓ 1 callersFunctionsanitizeAppNames
(raw: readonly string[])
src/utils/computerUse/appNames.ts:150
↓ 1 callersFunctionsanitizeConnectorName
(name: string)
src/skills/bundled/scheduleRemoteAgents.ts:89
↓ 1 callersFunctionsanitizeErrorToolResultContent
* Strip non-text blocks from is_error tool_results — the API rejects the * combination with "all content must be type text if is_error is true". *
src/utils/messages.ts:1884
↓ 1 callersFunctionsanitizeFileName
* Strip path components and keep only filename-safe chars. file_name comes * from the network (web composer), so treat it as untrusted even though th
src/bridge/inboundAttachments.ts:55
↓ 1 callersFunctionsanitizeFilename
(text: string)
src/commands/export/export.tsx:42
↓ 1 callersFunctionsanitizeHeaderValue
* Strip CR, LF, and NUL bytes from a header value to prevent HTTP header * injection (CRLF injection) via env var values or hook-configured header *
src/utils/hooks/execHttpHook.ts:76
↓ 1 callersFunctionsanitizePathKey
* Sanitize a file path key by rejecting dangerous patterns. * Checks for null bytes, URL-encoded traversals, and other injection vectors. * Returns
src/memdir/teamMemPaths.ts:22
↓ 1 callersFunctionsanitizePluginId
(pluginId: string)
src/utils/plugins/pluginDirectories.ts:92
↓ 1 callersFunctionsanitizeTrustedNames
(raw: readonly string[])
src/utils/computerUse/appNames.ts:159
↓ 1 callersFunctionsaveAgentToFile
( source: SettingSource | 'built-in', agentType: string, whenToUse: string, tools: string[] | undefine
src/components/agents/agentFileUtils.ts:166
↓ 1 callersFunctionsaveAiGeneratedTitle
(sessionId: UUID, aiTitle: string)
src/utils/sessionStorage.ts:2667
↓ 1 callersFunctionsaveApiKey
(apiKey: string)
src/utils/auth.ts:1095
↓ 1 callersFunctionsaveCacheSafeParams
(params: CacheSafeParams | null)
src/utils/forkedAgent.ts:75
↓ 1 callersFunctionsaveCachedRestrictions
* Save restrictions to cache file
src/services/policyLimits/index.ts:410
↓ 1 callersFunctionsaveFacets
(facets: SessionFacets)
src/commands/insights.ts:963
↓ 1 callersFunctionsaveIdpClientSecret
( idpIssuer: string, clientSecret: string, )
src/services/mcp/xaaIdpLogin.ts:159
↓ 1 callersFunctionsaveIdpIdTokenFromJwt
( idpIssuer: string, idToken: string, )
src/services/mcp/xaaIdpLogin.ts:133
↓ 1 callersFunctionsaveInstallCountsCache
* Save the install counts cache to disk atomically. * Uses a temp file + rename pattern to prevent corruption.
src/utils/plugins/installCounts.ts:149
↓ 1 callersFunctionsaveMarketplaceJsonToZipCache
( marketplaceName: string, installLocation: string, )
src/utils/plugins/zipCacheAdapters.ts:100
↓ 1 callersFunctionsaveSessionMeta
(meta: SessionMeta)
src/commands/insights.ts:988
↓ 1 callersFunctionsaveSettings
* Save remote settings to file * Stores raw settings JSON (checksum is computed on-demand when needed)
src/services/remoteManagedSettings/index.ts:367
↓ 1 callersMethodsaveTokens
(tokens: OAuthTokens)
src/services/mcp/auth.ts:1704
↓ 1 callersFunctionscan
(dirPath: string, namespace: string[])
src/utils/plugins/walkPluginMarkdown.ts:29
↓ 1 callersFunctionscanAllSessions
* Scans all project directories using filesystem metadata only (no JSONL parsing). * Returns a list of session file info sorted by mtime descending.
src/commands/insights.ts:2755
↓ 1 callersFunctionscanArithOp
Scan next arithmetic binary operator; returns [text, length] or null.
src/utils/bash/bashParser.ts:4191
↓ 1 callersFunctionscanBashResultForGitOps
* Scan a bash tool result for commit SHAs and PR URLs and push them into the * group accumulator. Called only for results whose tool_use_id was recor
src/utils/collapseReadSearch.ts:555
↓ 1 callersFunctionscanChunkLines
( s: LoadState, buf: Buffer, boundaryMarker: Buffer, )
src/utils/sessionStoragePortable.ts:614
↓ 1 callersFunctionscanDirectory
( dirPath: string, )
src/utils/suggestions/directoryCompletion.ts:84
↓ 1 callersFunctionscanDirectoryForPaths
( dirPath: string, includeHidden = false, )
src/utils/suggestions/directoryCompletion.ts:168
↓ 1 callersMethodscanElementSubtree
Paint an EXISTING DOM subtree to a fresh Screen at its natural * height, scan for query. Returns positions relative to the element's * boundin
src/ink/ink.tsx:1071
↓ 1 callersFunctionscanPositions
(screen: Screen, query: string)
src/ink/render-to-screen.ts:149
↓ 1 callersFunctionscanPreBoundaryMetadata
* Lightweight forward scan of [0, endOffset) collecting only metadata-entry lines. * Uses raw Buffer chunks and byte-level marker matching — no readl
src/utils/sessionStorage.ts:3157
↓ 1 callersMethodscheduleDrain
()
src/utils/sessionStorage.ts:618
↓ 1 callersFunctionscheduleFlush
()
src/utils/bufferedWriter.ts:49
↓ 1 callersFunctionscheduleReload
* Debounce rapid skill changes into a single reload. When many skill files * change at once (e.g. auto-update installs a new binary and a new session
src/utils/skills/skillChangeDetector.ts:255
↓ 1 callersFunctionscheduleRenderFrom
(node?: DOMNode)
src/ink/dom.ts:419
↓ 1 callersFunctionscopeColor
( scope: string | undefined, text: string, theme: Theme, )
src/native-ts/color-diff/index.ts:453
↓ 1 callersFunctionscrollDown
(s: ScrollBoxHandle, amount: number)
src/components/ScrollKeybindingHandler.tsx:852
↓ 1 callersFunctionscrollUp
(s: ScrollBoxHandle, amount: number)
src/components/ScrollKeybindingHandler.tsx:873
↓ 1 callersFunctionscrubBareGitRepoFiles
* Delete bare-repo files planted at cwd during a sandboxed command, before * Claude's unsandboxed git calls can see them. See the SECURITY block abov
src/utils/sandbox/sandbox-adapter.ts:404
↓ 1 callersFunctionsearchToolsWithKeywords
* Keyword-based search over tool names and descriptions. * Handles both MCP tools (mcp__server__action) and regular tools (CamelCase). * * The mode
src/tools/ToolSearchTool/ToolSearchTool.ts:186
↓ 1 callersFunctionseedEarlyInput
(text: string)
src/utils/earlyInput.ts:182
↓ 1 callersFunctionsegmentTextByHighlights
( text: string, highlights: TextHighlight[], )
src/utils/textHighlighting.ts:27
↓ 1 callersFunctionsegmentedCommandPermissionResult
( input: z.infer<typeof BashTool.inputSchema>, segments: string[], bashToolHasPermissionFn: ( input:
src/tools/BashTool/bashCommandHelpers.ts:23
↓ 1 callersFunctionselect
(m: NavigableMessage)
src/components/VirtualMessageList.tsx:346
↓ 1 callersMethodselectAggregationTemporality
()
src/utils/telemetry/bigqueryExporter.ts:246
↓ 1 callersFunctionselectFreshToReplace
* Pick the largest fresh results to replace until the model-visible total * (frozen + remaining fresh) is at or under budget, or fresh is exhausted.
src/utils/toolResultStorage.ts:675
↓ 1 callersFunctionselectLineAt
( s: SelectionState, screen: Screen, row: number, )
src/ink/selection.ts:368
↓ 1 callersFunctionselectRelevantMemories
( query: string, memories: MemoryHeader[], signal: AbortSignal, recentTools: readonly string[], )
src/memdir/findRelevantMemories.ts:77
↓ 1 callersFunctionselectTipWithLongestTimeSinceShown
( availableTips: Tip[], )
src/services/tips/tipScheduler.ts:10
↓ 1 callersFunctionselectWordAt
( s: SelectionState, screen: Screen, col: number, row: number, )
src/ink/selection.ts:240
↓ 1 callersFunctionselectableUserMessagesFilter
(message: Message)
src/components/MessageSelector.tsx:767
↓ 1 callersFunctionselectionFocusMoveForKey
(key: Key)
src/components/ScrollKeybindingHandler.tsx:132
↓ 1 callersMethodsend
* Send a query and wait for its response. * * Resolves with the response when `query.match` matches an incoming * TerminalResponse, or with `
src/ink/terminal-querier.ts:148
↓ 1 callersFunctionsendAuto
( opts: NotificationOptions, terminal: TerminalNotification, )
src/services/notifier.ts:77
↓ 1 callersMethodsendBatchWithRetry
( payload: FirstPartyEventLoggingPayload, )
src/services/analytics/firstPartyEventLoggingExporter.ts:527
↓ 1 callersFunctionsendCommandToPane
( paneId: string, command: string, useSwarmSocket = false, )
src/utils/swarm/teammateLayoutManager.ts:100
↓ 1 callersFunctionsendDirectMemberMessage
( recipientName: string, message: string, teamContext: AppState['teamContext'], writeToMailbox?: Write
src/utils/directMemberMessage.ts:39
↓ 1 callersMethodsendErrorResponse
(requestId: string, error: string)
src/server/directConnectManager.ts:188
↓ 1 callersFunctionsendEventToRemoteSession
( sessionId: string, messageContent: RemoteMessageContent, opts?: { uuid?: string }, )
src/utils/teleport/api.ts:361
↓ 1 callersMethodsendHeartbeat
Send a heartbeat via POST /sessions/{id}/worker/heartbeat.
src/cli/transports/ccrClient.ts:706
↓ 1 callersFunctionsendMessageToLeader
* Sends a message to the leader's file-based mailbox. * Uses the same mailbox system as tmux teammates for consistency.
src/utils/swarm/inProcessRunner.ts:547
↓ 1 callersFunctionsendModeChangeToTeammate
* Send a mode change message to a single teammate * Also updates config.json directly so the UI reflects the change immediately
src/components/teams/TeamsDialog.tsx:645
↓ 1 callersFunctionsendSandboxPermissionRequestViaMailbox
( host: string, requestId: string, teamName?: string, )
src/utils/swarm/permissionSync.ts:805
↓ 1 callersFunctionsendSandboxPermissionResponseViaMailbox
( workerName: string, requestId: string, host: string, allow: boolean, teamName?: string, )
src/utils/swarm/permissionSync.ts:882
↓ 1 callersFunctionsendSessionActivitySignal
()
src/utils/sessionActivity.ts:78
↓ 1 callersFunctionsendToChannel
( channel: string, opts: NotificationOptions, terminal: TerminalNotification, )
src/services/notifier.ts:40
↓ 1 callersMethodsendWithRetry
Retries indefinitely with exponential backoff until success or close().
src/cli/transports/WorkerStateUploader.ts:70
← previousnext →7,401–7,500 of 11,548, ranked by callers