MCPcopy Create free account

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

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

↓ 1 callersFunctionvalidateAttachmentPaths
( rawPaths: string[], )
src/tools/BriefTool/attachments.ts:26
↓ 1 callersFunctionvalidateBlock
* Validate a keybinding block from user config.
src/keybindings/validate.ts:130
↓ 1 callersFunctionvalidateCommandForMode
( cmd: string, toolPermissionContext: ToolPermissionContext, )
src/tools/BashTool/modeValidation.ts:23
↓ 1 callersFunctionvalidateCommandPaths
( command: PathCommand, args: string[], cwd: string, toolPermissionContext: ToolPermissionContext, c
src/tools/BashTool/pathValidation.ts:603
↓ 1 callersFunctionvalidateComponentFile
* Validate the YAML frontmatter in a plugin component markdown file. * * The runtime loader (parseFrontmatter) silently drops unparseable YAML to a
src/utils/plugins/validatePlugin.ts:517
↓ 1 callersFunctionvalidateElicitationInputAsync
( stringValue: string, schema: PrimitiveSchemaDefinition, signal: AbortSignal, )
src/utils/mcp/elicitationValidation.ts:307
↓ 1 callersFunctionvalidateGlobPattern
( cleanPath: string, cwd: string, toolPermissionContext: ToolPermissionContext, operationType: FileOpe
src/utils/permissions/pathValidation.ts:269
↓ 1 callersFunctionvalidateHooksJson
* Validate a plugin's hooks.json file. Unlike frontmatter, this one HARD-ERRORS * at runtime (pluginLoader uses .parse() not .safeParse()) — a bad ho
src/utils/plugins/validatePlugin.ts:646
↓ 1 callersFunctionvalidateHtmlPreview
(preview: string | undefined)
src/tools/AskUserQuestionTool/AskUserQuestionTool.tsx:250
↓ 1 callersFunctionvalidateImagesForAPI
(messages: unknown[])
src/utils/imageValidation.ts:65
↓ 1 callersFunctionvalidateInputForSettingsFileEdit
( filePath: string, originalContent: string, getUpdatedContent: () => string, )
src/utils/settings/validateEditTool.ts:14
↓ 1 callersFunctionvalidateKeystroke
* Validate a single keystroke string and return any parse errors.
src/keybindings/validate.ts:91
↓ 1 callersFunctionvalidateOfficialNameSource
( name: string, source: { source: string; repo?: string; url?: string }, )
src/utils/plugins/schemas.ts:119
↓ 1 callersFunctionvalidateOutputRedirections
( redirections: Array<{ target: string; operator: '>' | '>>' }>, cwd: string, toolPermissionContext: Too
src/tools/BashTool/pathValidation.ts:924
↓ 1 callersFunctionvalidatePathWithinPlugin
* Validate that a resolved path stays within the plugin directory. * Prevents path traversal attacks via .. or absolute paths.
src/utils/plugins/lspPluginIntegration.ts:28
↓ 1 callersFunctionvalidatePluginContents
( pluginDir: string, )
src/utils/plugins/validatePlugin.ts:763
↓ 1 callersFunctionvalidateRepoAtPath
( path: string, expectedRepo: string, )
src/utils/githubRepoPathMapping.ts:105
↓ 1 callersFunctionvalidateRequired
()
src/components/mcp/ElicitationDialog.tsx:731
↓ 1 callersFunctionvalidateSinglePathCommand
* Validates a single command for path constraints and shell safety. * * This function: * 1. Parses the command arguments * 2. Checks if it's a pat
src/tools/BashTool/pathValidation.ts:834
↓ 1 callersFunctionvalidateSinglePathCommandArgv
* Like validateSinglePathCommand but operates on AST-derived argv directly * instead of re-parsing the command string with shell-quote. Avoids the *
src/tools/BashTool/pathValidation.ts:888
↓ 1 callersFunctionvalidateTeamMemKey
(relativeKey: string)
src/memdir/teamMemPaths.ts:265
↓ 1 callersFunctionvalidateURL
(url: string)
src/tools/WebFetchTool/utils.ts:139
↓ 1 callersFunctionvalidateUrl
(url: string)
src/utils/browser.ts:3
↓ 1 callersFunctionvalidateUserConfig
(userBlocks: unknown)
src/keybindings/validate.ts:312
↓ 1 callersFunctionvalidateZipFile
( file: ZipFileMetadata, state: ZipValidationState, )
src/utils/dxt/zip.ts:63
↓ 1 callersFunctionverifyAndDemote
(plugins: readonly LoadedPlugin[])
src/utils/plugins/dependencyResolver.ts:177
↓ 1 callersFunctionverifyApiKey
( apiKey: string, isNonInteractiveSession: boolean, )
src/services/api/claude.ts:530
↓ 1 callersFunctionvertexModelSupportsWebSearch
(model: string)
src/utils/betas.ts:114
↓ 1 callersFunctionviewTeammateOutput
(paneId: string, backendType: PaneBackendType | undefined)
src/components/teams/TeamsDialog.tsx:605
↓ 1 callersFunctionvisibleCellAtIndex
( cells: Int32Array, charPool: CharPool, hyperlinkPool: HyperlinkPool, index: number, lastRenderedSt
src/ink/screen.ts:624
↓ 1 callersMethodwaitForAuthorization
( state: string, onReady: () => Promise<void>, )
src/services/oauth/auth-code-listener.ts:62
↓ 1 callersMethodwaitForAuthorizationCode
( state: string, onReady: () => Promise<void>, )
src/services/oauth/index.ts:134
↓ 1 callersFunctionwaitForCallback
* Wait for the OAuth authorization code on a local callback server. * Returns the code once /callback is hit with a matching state. * * `onListenin
src/services/mcp/xaaIdpLogin.ts:272
↓ 1 callersFunctionwaitForInitialization
()
src/services/lsp/manager.ts:121
↓ 1 callersMethodwaitForNetworkInitialization
()
src/utils/sandbox/sandbox-adapter.ts:909
↓ 1 callersFunctionwaitForNextPromptOrShutdown
* Waits for new prompts or shutdown request. * Polls the teammate's mailbox every 500ms, checking for: * - Shutdown request from leader (returned to
src/utils/swarm/inProcessRunner.ts:689
↓ 1 callersFunctionwaitForRemoteManagedSettingsToLoad
()
src/services/remoteManagedSettings/index.ts:155
↓ 1 callersFunctionwaitForSessionMemoryExtraction
()
src/services/SessionMemory/sessionMemoryUtils.ts:89
↓ 1 callersFunctionwaitForTaskCompletion
(taskId: string, getAppState: () => { tasks?: Record<string, TaskState>; }, timeoutMs: number, abortControll
src/tools/TaskOutputTool/TaskOutputTool.tsx:118
↓ 1 callersFunctionwaitForTeammatesToBecomeIdle
( setAppState: (f: (prev: AppState) => AppState) => void, appState: AppState, )
src/utils/teammate.ts:238
↓ 1 callersFunctionwalk
(currentDir: string)
src/utils/markdownConfigLoader.ts:458
↓ 1 callersFunctionwalk
( id: PluginId, requiredBy: PluginId, )
src/utils/plugins/dependencyResolver.ts:106
↓ 1 callersFunctionwalk
(p: string)
src/utils/plugins/pluginDirectories.ts:135
↓ 1 callersFunctionwalk
(node: DOMElement, offsetY: number)
src/ink/dom.ts:470
↓ 1 callersFunctionwalkChainBeforeParse
(buf: Buffer)
src/utils/sessionStorage.ts:3306
↓ 1 callersFunctionwalkCommand
* Walk a `command` node and extract argv. Children appear in order: * [variable_assignment...] command_name [argument...] [file_redirect...] * Any c
src/utils/bash/ast.ts:1237
↓ 1 callersFunctionwalkDir
(dir: string)
src/services/teamMemorySync/index.ts:575
↓ 1 callersFunctionwalkHerestringRedirect
* Here-string redirect (`<<< content`). The content becomes stdin — not * argv, not a path. Safe when content is a literal word, raw_string, or * st
src/utils/bash/ast.ts:1211
↓ 1 callersFunctionwalkProgram
(root: Node)
src/utils/bash/ast.ts:462
↓ 1 callersFunctionwalkRedirectedStatement
* A `redirected_statement` wraps a command (or pipeline) plus one or more * `file_redirect`/`heredoc_redirect` nodes. Extract redirects, walk the *
src/utils/bash/ast.ts:1017
↓ 1 callersFunctionwalkTestExpr
* Recursively walk a test_command expression tree (unary/binary/negated/ * parenthesized expressions). Leaves are test_operator tokens and operands
src/utils/bash/ast.ts:962
↓ 1 callersFunctionwalkTopLevel
(node: TreeSitterNode)
src/utils/bash/treeSitterAnalysis.ts:308
↓ 1 callersFunctionwalkTree
(node: DOMElement, result: DOMElement[])
src/ink/focus.ts:140
↓ 1 callersFunctionwebFetchToolInputToPermissionRuleContent
(input: { [k: string]: unknown })
src/tools/WebFetchTool/WebFetchTool.ts:50
↓ 1 callersMethodwithCurrentMatch
(baseId: number)
src/ink/screen.ts:190
↓ 1 callersFunctionwithFixture
* Generic fixture management helper * Handles caching, reading, writing fixtures for any data type
src/services/vcr.ts:39
↓ 1 callersFunctionwithLock
( versionPath: string, lockFilePath: string, callback: () => void | Promise<void>, )
src/utils/nativeInstaller/pidLock.ts:330
↓ 1 callersFunctionwithModifiers
* Bracket `fn()` with modifier press/release. `pressed` tracks which presses * actually landed, so a mid-press throw only releases what was pressed —
src/utils/computerUse/executor.ts:150
↓ 1 callersMethodwithSelectionBg
(baseId: number)
src/ink/screen.ts:244
↓ 1 callersFunctionwithStatsCacheLock
(fn: () => Promise<T>)
src/utils/statsCache.ts:27
↓ 1 callersFunctionwithTimeout
* Race a promise against a timeout. Cleans up the timer regardless of outcome * to avoid unhandled rejections from orphaned setTimeout callbacks.
src/services/lsp/LSPServerInstance.ts:499
↓ 1 callersFunctionwithTokenCountVCR
( messages: unknown[], tools: unknown[], f: () => Promise<number | null>, )
src/services/vcr.ts:382
↓ 1 callersFunctionwithoutCcdSpawnEnvKeys
( env: Record<string, string> | undefined, )
src/utils/managedEnv.ts:71
↓ 1 callersFunctionwithoutHostManagedProviderVars
* When the host owns inference routing (sets * CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST in spawn env), strip * provider-selection / model-default vars f
src/utils/managedEnv.ts:45
↓ 1 callersMethodwithoutOutputRedirections
()
src/utils/bash/ParsedCommand.ts:25
↓ 1 callersFunctionwithoutSSHTunnelVars
* `claude ssh` remote: ANTHROPIC_UNIX_SOCKET routes auth through a -R forwarded * socket to a local proxy, and the launcher sets a handful of placeho
src/utils/managedEnv.ts:23
↓ 1 callersFunctionwordAlignedLCP
* Word-aligned longest common prefix. Doesn't chop mid-word. * Case-insensitive comparison (PowerShell: Git === git), emits first * string's casing.
src/utils/powershell/staticPrefix.ts:294
↓ 1 callersFunctionwordBackground
(marker: Marker, theme: Theme)
src/native-ts/color-diff/index.ts:379
↓ 1 callersFunctionwordDiffStrings
(oldStr: string, newStr: string)
src/native-ts/color-diff/index.ts:604
↓ 1 callersFunctionworker
()
src/services/api/filesApi.ts:288
↓ 1 callersFunctionwrap
(text: string, width: number)
src/buddy/CompanionSprite.tsx:28
↓ 1 callersFunctionwrapApiForFaultInjection
( api: BridgeApiClient, )
src/bridge/bridgeDebug.ts:84
↓ 1 callersFunctionwrapText
* Inserts newlines in a string to wrap it at the specified width. * Uses ANSI-aware slicing to avoid splitting escape sequences. * @param text The t
src/utils/terminal.ts:19
↓ 1 callersFunctionwrapWithCwd
(fn: () => T)
src/tools/AgentTool/resumeAgent.ts:227
↓ 1 callersFunctionwrapWithOsc8Link
(text: string, url: string)
src/bridge/bridgeStatusUtil.ts:161
↓ 1 callersMethodwrite
(message: StdoutMessage)
src/cli/structuredIO.ts:465
↓ 1 callersMethodwrite
(message: StdoutMessage)
src/cli/transports/WebSocketTransport.ts:660
↓ 1 callersFunctionwriteCacheBreakDiff
( prevContent: string, newContent: string, )
src/services/api/promptCacheBreakDetection.ts:708
↓ 1 callersFunctionwriteHeapSnapshot
* Write heap snapshot to a file. * Uses pipeline() which handles stream cleanup automatically on errors.
src/utils/heapDumpService.ts:284
↓ 1 callersMethodwriteInternalEvent
* Write an internal worker event via POST /sessions/{id}/worker/internal-events. * These events are NOT visible to frontend clients — they store wo
src/cli/transports/ccrClient.ts:793
↓ 1 callersFunctionwriteLineToScreen
* Write a single line's characters into the screen buffer. * Extracted from Output.get() so JSC can optimize this tight, * monomorphic loop independ
src/ink/output.ts:633
↓ 1 callersFunctionwriteLockFile
* Write lock content to a file atomically
src/utils/nativeInstaller/pidLock.ts:210
↓ 1 callersFunctionwritePerfettoTraceSync
* Final synchronous write (fallback for process 'exit' handler where async is forbidden).
src/utils/telemetry/perfettoTracing.ts:1042
↓ 1 callersFunctionwriteRemoteAgentMetadata
( taskId: string, metadata: RemoteAgentMetadata, )
src/utils/sessionStorage.ts:337
↓ 1 callersFunctionwriteRemoteEntriesToLocal
* Write remote team memory entries to the local directory. * Validates every path against the team memory directory boundary. * Skips entries whose
src/services/teamMemorySync/index.ts:689
↓ 1 callersFunctionwriteSkillFiles
( dir: string, files: Record<string, string>, )
src/skills/bundledSkills.ts:147
↓ 1 callersMethodwriteStderr
Write stderr data (always piped).
src/utils/task/TaskOutput.ts:172
↓ 1 callersMethodwriteStdout
Write stdout data (pipe mode only — used by hooks).
src/utils/task/TaskOutput.ts:167
↓ 1 callersFunctionwriteZipCacheKnownMarketplaces
( data: KnownMarketplacesFile, )
src/utils/plugins/zipCacheAdapters.ts:58
↓ 1 callersMethodxaaRefresh
* XAA silent refresh: cached id_token → Layer-2 exchange → new access_token. * No browser. * * Returns undefined if the id_token is gone from
src/services/mcp/auth.ts:1751
↓ 1 callersFunctionxtversion
()
src/ink/terminal-querier.ts:108
↓ 1 callersFunctionzeroLayoutRecursive
(node: Node)
src/native-ts/yoga-layout/index.ts:2386
Method#abortHandler
()
src/utils/ShellCommand.ts:186
Method#dataHandler
(data: Buffer | string)
src/utils/ShellCommand.ts:82
Method#errorHandler
()
src/utils/ShellCommand.ts:205
Method#exitHandler
(code: number | null, signal: NodeJS.Signals | null)
src/utils/ShellCommand.ts:195
Method#handleExit
(code: number)
src/utils/ShellCommand.ts:291
Method#handleTimeout
(self: ShellCommandImpl)
src/utils/ShellCommand.ts:135
Method#onHideTimerFired
(scheduledForTaskListId: string)
src/hooks/useTasksV2.ts:154
Method#tick
* Shared tick: reads the file tail for every actively-polled task. * Non-async body (.then) to avoid stacking if I/O is slow.
src/utils/task/TaskOutput.ts:109
← previousnext →8,001–8,100 of 11,548, ranked by callers