MCPcopy Create free account

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

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

↓ 3 callersFunctioncaptureScrolledRows
( s: SelectionState, screen: Screen, firstRow: number, lastRow: number, side: 'above' | 'below', )
src/ink/selection.ts:813
↓ 3 callersFunctioncheckAndDisableAutoModeIfNeeded
( toolPermissionContext: ToolPermissionContext, setAppState: (f: (prev: AppState) => AppState) => void,
src/utils/permissions/bypassPermissionsKillswitch.ts:74
↓ 3 callersFunctioncheckAndDisableBypassPermissionsIfNeeded
( toolPermissionContext: ToolPermissionContext, setAppState: (f: (prev: AppState) => AppState) => void, )
src/utils/permissions/bypassPermissionsKillswitch.ts:19
↓ 3 callersFunctioncheckBridgeMinVersion
()
src/bridge/bridgeEnabled.ts:160
↓ 3 callersFunctioncheckCachedPassesEligibility
()
src/services/api/referral.ts:83
↓ 3 callersFunctioncheckDenyRuleForGuessedPath
* Best-effort deny check for paths obscured by :: or backtick syntax. * ONLY checks deny rules — never auto-allows. If the stripped guess * doesn't
src/tools/PowerShellTool/pathValidation.ts:984
↓ 3 callersFunctioncheckEditableInternalPath
( absolutePath: string, input: { [key: string]: unknown }, )
src/utils/permissions/filesystem.ts:1479
↓ 3 callersFunctioncheckGithubAppInstalled
( owner: string, repo: string, signal?: AbortSignal, )
src/utils/background/remote/preconditions.ts:78
↓ 3 callersFunctioncheckIdeConnection
* Checks if the IDE connection is responding by testing if the port is open * @param host Host to connect to * @param port Port to connect to * @pa
src/utils/ide.ts:402
↓ 3 callersFunctioncheckInstall
( force: boolean = false, )
src/utils/nativeInstaller/installer.ts:800
↓ 3 callersFunctioncheckOriginFileChanged
( originalFile: string, backupFileName: string, originalStatsHint?: Stats, )
src/utils/fileHistory.ts:600
↓ 3 callersFunctioncheckOutTeleportedSessionBranch
(branch?: string)
src/utils/teleport.tsx:315
↓ 3 callersFunctioncheckPathConstraints
( input: z.infer<typeof BashTool.inputSchema>, cwd: string, toolPermissionContext: ToolPermissionContext
src/tools/BashTool/pathValidation.ts:1013
↓ 3 callersFunctioncheckPathExists
* Check if a file or directory exists on Windows using the dir command * @param path - The path to check * @returns true if the path exists, false o
src/utils/windowsPaths.ts:15
↓ 3 callersFunctioncheckPathSafetyForAutoEdit
( path: string, precomputedPathsToCheck?: readonly string[], )
src/utils/permissions/filesystem.ts:620
↓ 3 callersFunctioncheckReadableInternalPath
( absolutePath: string, input: { [key: string]: unknown }, )
src/utils/permissions/filesystem.ts:1611
↓ 3 callersFunctioncheckRemoteAgentEligibility
({ skipBundle = false }: { skipBundle?: boolean; } = {})
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:124
↓ 3 callersFunctionchordToString
(chord: Chord)
src/keybindings/parser.ts:143
↓ 3 callersFunctionchunk
(type: string, data: Uint8Array)
src/utils/ansiToPng.ts:292
↓ 3 callersFunctionclassifyHandoffIfNeeded
({ agentMessages, tools, toolPermissionContext, abortSignal, subagentType, totalToolUseCount, }: {
src/tools/AgentTool/agentToolUtils.ts:389
↓ 3 callersFunctioncleanMessagesForLogging
( messages: Message[], allMessages: readonly Message[] = messages, )
src/utils/sessionStorage.ts:4450
↓ 3 callersFunctioncleanup
()
src/services/mcp/client.ts:532
↓ 3 callersMethodcleanup
()
src/services/oauth/index.ts:194
↓ 3 callersFunctioncleanupComputerUseAfterTurn
( ctx: Pick< ToolUseContext, 'getAppState' | 'setAppState' | 'sendOSNotification' >, )
src/utils/computerUse/cleanup.ts:30
↓ 3 callersFunctioncleanupOldVersions
()
src/utils/nativeInstaller/installer.ts:1184
↓ 3 callersFunctioncleanupTerminalModes
()
src/utils/gracefulShutdown.ts:59
↓ 3 callersFunctioncleanupWorktree
()
src/utils/worktree.ts:813
↓ 3 callersFunctionclearCommandMemoizationCaches
()
src/commands.ts:523
↓ 3 callersFunctionclearConversation
({ setMessages, readFileState, discoveredSkillNames, loadedNestedMemoryPaths, getAppState, setAppS
src/commands/clear/conversation.ts:49
↓ 3 callersFunctionclearDumpState
(agentIdOrSessionId: string)
src/services/api/dumpPrompts.ts:40
↓ 3 callersFunctionclearIdleTimer
()
src/utils/sessionActivity.ts:53
↓ 3 callersFunctionclearIdpClientSecret
(idpIssuer: string)
src/services/mcp/xaaIdpLogin.ts:187
↓ 3 callersMethodclearLivenessTimer
()
src/cli/transports/SSETransport.ts:561
↓ 3 callersFunctionclearPendingRequest
()
src/hooks/toolPermission/handlers/swarmWorkerHandler.ts:61
↓ 3 callersFunctionclearPluginOptionsCache
()
src/utils/plugins/pluginOptionsStorage.ts:79
↓ 3 callersFunctionclearServerTokensFromLocalStorage
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:620
↓ 3 callersFunctionclearSessionCaches
( preservedAgentIds: ReadonlySet<string> = new Set(), )
src/commands/clear/caches.ts:47
↓ 3 callersFunctionclearSessionHooks
( setAppState: (updater: (prev: AppState) => AppState) => void, sessionId: string, )
src/utils/hooks/sessionHooks.ts:437
↓ 3 callersFunctionclearStallTimer
()
src/utils/nativeInstaller/download.ts:305
↓ 3 callersFunctionclearTimer
()
src/utils/bufferedWriter.ts:30
↓ 3 callersFunctionclearTimer
()
src/hooks/useAwaySummary.ts:57
↓ 3 callersFunctioncloseTabInIDE
()
src/hooks/useDiffInIDE.ts:151
↓ 3 callersFunctioncloseToolCallBlock
( controller: ReadableStreamDefaultController, encoder: TextEncoder, index: number, _toolCallI
src/services/api/codex-fetch-adapter.ts:632
↓ 3 callersFunctioncloseTransportAndRejectPending
(reason: string)
src/services/mcp/client.ts:1242
↓ 3 callersFunctioncmdQuote
* cmd.exe argument quoting. cmd.exe does NOT use CommandLineToArgvW-style * backslash escaping — it toggles its quoting state on every raw " * chara
src/utils/deepLink/terminalLauncher.ts:553
↓ 3 callersFunctioncodesignRipgrepIfNecessary
()
src/utils/ripgrep.ts:620
↓ 3 callersFunctioncollectCommandSubstitution
* Recurse into a command_substitution node's inner command(s). If the inner * command(s) parse cleanly (simple), add them to the innerCommands * acc
src/utils/bash/ast.ts:1374
↓ 3 callersFunctioncollectCommands
* Recursively collect leaf `command` nodes from a structural wrapper node. * Returns an error result on any disallowed node type, or null on success.
src/utils/bash/ast.ts:482
↓ 3 callersFunctioncolorsEqual
(a: Color, b: Color)
src/ink/termio/types.ts:104
↓ 3 callersFunctioncommandAsHint
* Format a bash command for the ⎿ hint. Drops blank lines, collapses runs of * inline whitespace, then caps total length. Newlines are preserved so t
src/utils/collapseReadSearch.ts:125
↓ 3 callersFunctioncommandHasAnyCd
(command: string)
src/tools/BashTool/bashPermissions.ts:2617
↓ 3 callersFunctioncommandListDisplayTruncated
(commands: string[])
src/components/permissions/shellPermissionHelpers.tsx:24
↓ 3 callersFunctioncommitCacheOutputs
(node: Node, performLayout: boolean)
src/native-ts/yoga-layout/index.ts:1022
↓ 3 callersFunctioncompactConversation
( messages: Message[], context: ToolUseContext, cacheSafeParams: CacheSafeParams, suppressFollowUpQues
src/services/compact/compact.ts:387
↓ 3 callersFunctioncomparePoints
-1 if a < b, 1 if a > b, 0 if equal (reading order: row then col).
src/ink/selection.ts:227
↓ 3 callersFunctioncomputeStandaloneAgentContext
( agentName: string | undefined, agentColor: string | undefined, )
src/utils/sessionRestore.ts:175
↓ 3 callersFunctioncomputeTargetDims
Logical → physical → API target dims. See `targetImageSize` + COORDINATES.md.
src/utils/computerUse/executor.ts:60
↓ 3 callersFunctionconfigureMarked
()
src/utils/markdown.ts:21
↓ 3 callersFunctionconsumeSpeculativeClassifierCheck
( command: string, )
src/tools/BashTool/bashPermissions.ts:1533
↓ 3 callersFunctioncontainsHeredoc
* Detects if a command contains a heredoc pattern * Matches patterns like: <<EOF, <<'EOF', <<"EOF", <<-EOF, <<-'EOF', <<\EOF, etc.
src/utils/bash/shellQuoting.ts:7
↓ 3 callersFunctioncontentHasToolReference
* Does the content array have a tool_result block whose inner content * contains tool_reference (ToolSearch loaded tools)?
src/utils/messages.ts:1778
↓ 3 callersFunctionconvertImagesToBlocks
(images: PastedContent[])
src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsx:630
↓ 3 callersFunctionconvertToLogOption
( transcript: TranscriptMessage[], value: number = 0, summary?: string, customTitle?: string, fileHi
src/utils/sessionStorage.ts:2479
↓ 3 callersFunctionconvertToSandboxRuntimeConfig
( settings: SettingsJson, )
src/utils/sandbox/sandbox-adapter.ts:172
↓ 3 callersFunctioncopyOrWriteToFile
(text: string, filename: string)
src/commands/copy/copy.tsx:81
↓ 3 callersFunctioncopyPluginToVersionedCache
( sourcePath: string, pluginId: string, version: string, entry?: PluginMarketplaceEntry, marketplace
src/utils/plugins/pluginLoader.ts:365
↓ 3 callersMethodcopySelectionNoClear
* Copy the current selection to the clipboard without clearing the * highlight. Matches iTerm2's copy-on-select behavior where the selected * re
src/ink/ink.tsx:1016
↓ 3 callersFunctioncountLinesChanged
( patch: StructuredPatchHunk[], newFileContent?: string, )
src/utils/diff.ts:49
↓ 3 callersFunctioncountMessagesTokensWithAPI
( messages: Anthropic.Beta.Messages.BetaMessageParam[], tools: Anthropic.Beta.Messages.BetaToolUnion[], )
src/services/tokenEstimation.ts:140
↓ 3 callersFunctioncountNewlines
(buf: Buffer, start: number, end: number)
src/utils/readEditContext.ts:153
↓ 3 callersFunctioncountToolsInMessages
(messages: Message[])
src/services/PromptSuggestion/speculation.ts:155
↓ 3 callersFunctioncountUnescapedChar
* Counts unescaped occurrences of a character in a string. * A character is considered escaped if preceded by an odd number of backslashes.
src/utils/settings/permissionValidation.ts:29
↓ 3 callersFunctioncountVisibleMessages
* Counts visible messages that would appear as conversation turns in the UI. * Excludes: * - System, attachment, and progress messages * - User mes
src/utils/sessionStorage.ts:2453
↓ 3 callersFunctioncreateArgv0ShellFunction
* Creates a shell function that invokes `binaryPath` with a specific argv[0]. * This uses the bun-internal ARGV0 dispatch trick: the bun binary check
src/utils/bash/ShellSnapshot.ts:35
↓ 3 callersFunctioncreateBridgeApiClient
(deps: BridgeApiDeps)
src/bridge/bridgeApi.ts:68
↓ 3 callersFunctioncreateBridgeSession
({ environmentId, title, events, gitRepoUrl, branch, signal, baseUrl: baseUrlOverride, getAcce
src/bridge/createSession.ts:34
↓ 3 callersFunctioncreateBufferedWriter
({ writeFn, flushIntervalMs = 1000, maxBufferSize = 100, maxBufferBytes = Infinity, immediateMode =
src/utils/bufferedWriter.ts:9
↓ 3 callersFunctioncreateCommandSuggestionItem
* Creates a suggestion item from a command. * Only shows the matched alias in parentheses if the user typed an alias.
src/utils/suggestions/commandSuggestions.ts:265
↓ 3 callersFunctioncreateCompactBoundaryMessage
( trigger: 'manual' | 'auto', preTokens: number, lastPreCompactMessageUuid?: UUID, userContext?: strin
src/utils/messages.ts:4530
↓ 3 callersFunctioncreateDisabledBypassPermissionsContext
( currentContext: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:1389
↓ 3 callersFunctioncreatePlanAttachmentIfNeeded
( agentId?: AgentId, )
src/services/compact/compact.ts:1470
↓ 3 callersFunctioncreateRoot
(options?: RenderOptions)
src/ink.ts:25
↓ 3 callersFunctioncreateShutdownRequestMessage
(params: { requestId: string from: string reason?: string })
src/utils/teammateMailbox.ts:772
↓ 3 callersFunctioncreateStopHookSummaryMessage
( hookCount: number, hookInfos: StopHookInfo[], hookErrors: string[], preventedContinuation: boolean,
src/utils/messages.ts:4398
↓ 3 callersFunctioncreateSyntheticAssistantMessage
( request: SDKControlPermissionRequest, requestId: string, )
src/remote/remotePermissionBridge.ts:12
↓ 3 callersFunctioncreateTokenizer
(options?: TokenizerOptions)
src/ink/termio/tokenize.ts:57
↓ 3 callersFunctioncreateToolStub
(toolName: string)
src/remote/remotePermissionBridge.ts:53
↓ 3 callersFunctioncreateV2ReplTransport
(opts: { sessionUrl: string ingressToken: string sessionId: string /** * SSE sequence-number high-w
src/bridge/replBridgeTransport.ts:119
↓ 3 callersFunctioncronToHuman
(cron: string, opts?: { utc?: boolean })
src/utils/cron.ts:218
↓ 3 callersFunctiondedupClaudeAiMcpServers
( claudeAiServers: Record<string, ScopedMcpServerConfig>, manualServers: Record<string, ScopedMcpServerCon
src/services/mcp/config.ts:281
↓ 3 callersFunctiondefaultStyle
()
src/ink/termio/types.ts:68
↓ 3 callersMethoddeleteTokenBefore
* Deletes a token before the cursor if one exists. * Supports pasted text refs: [Pasted text #1], [Pasted text #1 +10 lines], * [...Truncated te
src/utils/Cursor.ts:937
↓ 3 callersMethoddeleteWordBefore
()
src/utils/Cursor.ts:916
↓ 3 callersFunctiondequeueAllMatching
( predicate: (cmd: QueuedCommand) => boolean, )
src/utils/messageQueueManager.ts:244
↓ 3 callersFunctiondetectEncodingForResolvedPath
( resolvedPath: string, )
src/utils/fileRead.ts:20
↓ 3 callersFunctiondetectHomebrew
()
src/utils/nativeInstaller/packageManagers.ts:103
↓ 3 callersFunctiondetectImageFormatFromBase64
( base64Data: string, )
src/utils/imageResizer.ts:819
↓ 3 callersFunctiondetectSessionPatternType
( pattern: string, )
src/utils/memoryFileDetection.ts:65
↓ 3 callersFunctiondetectUnreachableRules
( context: ToolPermissionContext, options: DetectUnreachableRulesOptions, )
src/utils/permissions/shadowedRuleDetection.ts:193
↓ 3 callersFunctiondiffEach
( prev: Screen, next: Screen, cb: DiffCallback, )
src/ink/screen.ts:1156
← previousnext →1,701–1,800 of 11,548, ranked by callers