MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

↓ 1 callersFunctionuseTeammateViewAutoExit
()
source code/hooks/useTeammateViewAutoExit.ts:13
↓ 1 callersFunctionuseTeleportResume
(source)
source code/hooks/useTeleportResume.tsx:17
↓ 1 callersFunctionuseTerminalTitle
(title: string | null)
source code/ink/hooks/use-terminal-title.ts:19
↓ 1 callersFunctionuseTimeout
(delay: number, resetTrigger?: number)
source code/hooks/useTimeout.ts:5
↓ 1 callersFunctionuseTurnDiffs
(messages: Message[])
source code/hooks/useTurnDiffs.ts:102
↓ 1 callersFunctionuseTypeahead
({ commands, onInputChange, onSubmit, setCursorOffset, input, cursorOffset, mode, agents, se
source code/hooks/useTypeahead.tsx:355
↓ 1 callersFunctionuseUnseenDivider
(messageCount: number)
source code/components/FullscreenLayout.tsx:88
↓ 1 callersFunctionuseVimInput
(props: UseVimInputProps)
source code/hooks/useVimInput.ts:36
↓ 1 callersFunctionuseVirtualScroll
( scrollRef: RefObject<ScrollBoxHandle | null>, itemKeys: readonly string[], /** * Terminal column co
source code/hooks/useVirtualScroll.ts:144
↓ 1 callersFunctionuseVoiceIntegration
({ setInputValueRaw, inputValueRef, insertTextRef }: UseVoiceIntegrationArgs)
source code/hooks/useVoiceIntegration.tsx:120
↓ 1 callersFunctionuseVoiceKeybindingHandler
({ voiceHandleKeyEvent, stripTrailing, resetAnchor, isActive }: { voiceHandleKeyEvent: (fallbackMs?:
source code/hooks/useVoiceIntegration.tsx:375
↓ 1 callersFunctionuserFacingName
(input: Partial<{ description: string; prompt: string; subagent_type: string; name: string; team_nam
source code/tools/AgentTool/UI.tsx:762
↓ 1 callersFunctionuserFacingNameBackgroundColor
(input: Partial<{ description: string; prompt: string; subagent_type: string; }> | undefined)
source code/tools/AgentTool/UI.tsx:778
↓ 1 callersFunctionuserMessageToMessageParam
( message: UserMessage, addCache = false, enablePromptCaching: boolean, querySource?: QuerySource, )
source code/services/api/claude.ts:590
↓ 1 callersFunctionuuidToBigInt
* Parse a UUID string (with or without hyphens) into a 128-bit bigint.
source code/utils/taggedId.ts:38
↓ 1 callersFunctionvalidateAgent
( agent: Omit<CustomAgentDefinition, 'location'>, availableTools: Tools, existingAgents: AgentDefinition
source code/components/agents/validateAgent.ts:37
↓ 1 callersMethodvalidateAndRespond
( authCode: string | undefined, state: string | undefined, res: ServerResponse, )
source code/services/oauth/auth-code-listener.ts:154
↓ 1 callersFunctionvalidateAttachmentPaths
( rawPaths: string[], )
source code/tools/BriefTool/attachments.ts:28
↓ 1 callersFunctionvalidateBlock
* Validate a keybinding block from user config.
source code/keybindings/validate.ts:132
↓ 1 callersFunctionvalidateCommandForMode
( cmd: string, toolPermissionContext: ToolPermissionContext, )
source code/tools/BashTool/modeValidation.ts:25
↓ 1 callersFunctionvalidateCommandPaths
( command: PathCommand, args: string[], cwd: string, toolPermissionContext: ToolPermissionContext, c
source code/tools/BashTool/pathValidation.ts:605
↓ 1 callersFunctionvalidateComponentFile
* Validate the YAML frontmatter in a plugin component markdown file. * * The runtime loader (parseFrontmatter) silently drops unparseable YAML to a
source code/utils/plugins/validatePlugin.ts:519
↓ 1 callersFunctionvalidateElicitationInputAsync
( stringValue: string, schema: PrimitiveSchemaDefinition, signal: AbortSignal, )
source code/utils/mcp/elicitationValidation.ts:309
↓ 1 callersFunctionvalidateGlobPattern
( cleanPath: string, cwd: string, toolPermissionContext: ToolPermissionContext, operationType: FileOpe
source code/utils/permissions/pathValidation.ts:271
↓ 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
source code/utils/plugins/validatePlugin.ts:648
↓ 1 callersFunctionvalidateHtmlPreview
(preview: string | undefined)
source code/tools/AskUserQuestionTool/AskUserQuestionTool.tsx:252
↓ 1 callersFunctionvalidateImagesForAPI
(messages: unknown[])
source code/utils/imageValidation.ts:67
↓ 1 callersFunctionvalidateInputForSettingsFileEdit
( filePath: string, originalContent: string, getUpdatedContent: () => string, )
source code/utils/settings/validateEditTool.ts:16
↓ 1 callersFunctionvalidateKeystroke
* Validate a single keystroke string and return any parse errors.
source code/keybindings/validate.ts:93
↓ 1 callersFunctionvalidateOfficialNameSource
( name: string, source: { source: string; repo?: string; url?: string }, )
source code/utils/plugins/schemas.ts:121
↓ 1 callersFunctionvalidateOutputRedirections
( redirections: Array<{ target: string; operator: '>' | '>>' }>, cwd: string, toolPermissionContext: Too
source code/tools/BashTool/pathValidation.ts:926
↓ 1 callersFunctionvalidatePathWithinPlugin
* Validate that a resolved path stays within the plugin directory. * Prevents path traversal attacks via .. or absolute paths.
source code/utils/plugins/lspPluginIntegration.ts:30
↓ 1 callersFunctionvalidatePluginContents
( pluginDir: string, )
source code/utils/plugins/validatePlugin.ts:765
↓ 1 callersFunctionvalidateRepoAtPath
( path: string, expectedRepo: string, )
source code/utils/githubRepoPathMapping.ts:107
↓ 1 callersFunctionvalidateRequired
()
source code/components/mcp/ElicitationDialog.tsx:733
↓ 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
source code/tools/BashTool/pathValidation.ts:836
↓ 1 callersFunctionvalidateSinglePathCommandArgv
* Like validateSinglePathCommand but operates on AST-derived argv directly * instead of re-parsing the command string with shell-quote. Avoids the *
source code/tools/BashTool/pathValidation.ts:890
↓ 1 callersFunctionvalidateTeamMemKey
(relativeKey: string)
source code/memdir/teamMemPaths.ts:267
↓ 1 callersFunctionvalidateURL
(url: string)
source code/tools/WebFetchTool/utils.ts:141
↓ 1 callersFunctionvalidateUrl
(url: string)
source code/utils/browser.ts:5
↓ 1 callersFunctionvalidateUserConfig
(userBlocks: unknown)
source code/keybindings/validate.ts:314
↓ 1 callersFunctionvalidateZipFile
( file: ZipFileMetadata, state: ZipValidationState, )
source code/utils/dxt/zip.ts:65
↓ 1 callersFunctionverifyAndDemote
(plugins: readonly LoadedPlugin[])
source code/utils/plugins/dependencyResolver.ts:179
↓ 1 callersFunctionverifyApiKey
( apiKey: string, isNonInteractiveSession: boolean, )
source code/services/api/claude.ts:532
↓ 1 callersFunctionvertexModelSupportsWebSearch
(model: string)
source code/utils/betas.ts:116
↓ 1 callersFunctionviewTeammateOutput
(paneId: string, backendType: PaneBackendType | undefined)
source code/components/teams/TeamsDialog.tsx:607
↓ 1 callersFunctionvisibleCellAtIndex
( cells: Int32Array, charPool: CharPool, hyperlinkPool: HyperlinkPool, index: number, lastRenderedSt
source code/ink/screen.ts:626
↓ 1 callersMethodwaitForAuthorization
( state: string, onReady: () => Promise<void>, )
source code/services/oauth/auth-code-listener.ts:64
↓ 1 callersMethodwaitForAuthorizationCode
( state: string, onReady: () => Promise<void>, )
source code/services/oauth/index.ts:136
↓ 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
source code/services/mcp/xaaIdpLogin.ts:274
↓ 1 callersFunctionwaitForInitialization
()
source code/services/lsp/manager.ts:123
↓ 1 callersMethodwaitForNetworkInitialization
()
source code/utils/sandbox/sandbox-adapter.ts:911
↓ 1 callersFunctionwaitForNextPromptOrShutdown
* Waits for new prompts or shutdown request. * Polls the teammate's mailbox every 500ms, checking for: * - Shutdown request from leader (returned to
source code/utils/swarm/inProcessRunner.ts:691
↓ 1 callersFunctionwaitForSessionMemoryExtraction
()
source code/services/SessionMemory/sessionMemoryUtils.ts:91
↓ 1 callersFunctionwaitForTaskCompletion
(taskId: string, getAppState: () => { tasks?: Record<string, TaskState>; }, timeoutMs: number, abortControll
source code/tools/TaskOutputTool/TaskOutputTool.tsx:120
↓ 1 callersFunctionwaitForTeammatesToBecomeIdle
( setAppState: (f: (prev: AppState) => AppState) => void, appState: AppState, )
source code/utils/teammate.ts:240
↓ 1 callersFunctionwalk
(currentDir: string)
source code/utils/markdownConfigLoader.ts:460
↓ 1 callersFunctionwalk
( id: PluginId, requiredBy: PluginId, )
source code/utils/plugins/dependencyResolver.ts:108
↓ 1 callersFunctionwalk
(p: string)
source code/utils/plugins/pluginDirectories.ts:137
↓ 1 callersFunctionwalk
(node: DOMElement, offsetY: number)
source code/ink/dom.ts:472
↓ 1 callersFunctionwalkChainBeforeParse
(buf: Buffer)
source code/utils/sessionStorage.ts:3308
↓ 1 callersFunctionwalkCommand
* Walk a `command` node and extract argv. Children appear in order: * [variable_assignment...] command_name [argument...] [file_redirect...] * Any c
source code/utils/bash/ast.ts:1239
↓ 1 callersFunctionwalkDir
(dir: string)
source code/services/teamMemorySync/index.ts:577
↓ 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
source code/utils/bash/ast.ts:1213
↓ 1 callersFunctionwalkProgram
(root: Node)
source code/utils/bash/ast.ts:464
↓ 1 callersFunctionwalkRedirectedStatement
* A `redirected_statement` wraps a command (or pipeline) plus one or more * `file_redirect`/`heredoc_redirect` nodes. Extract redirects, walk the *
source code/utils/bash/ast.ts:1019
↓ 1 callersFunctionwalkTestExpr
* Recursively walk a test_command expression tree (unary/binary/negated/ * parenthesized expressions). Leaves are test_operator tokens and operands
source code/utils/bash/ast.ts:964
↓ 1 callersFunctionwalkTopLevel
(node: TreeSitterNode)
source code/utils/bash/treeSitterAnalysis.ts:310
↓ 1 callersFunctionwalkTree
(node: DOMElement, result: DOMElement[])
source code/ink/focus.ts:142
↓ 1 callersFunctionwebFetchToolInputToPermissionRuleContent
(input: { [k: string]: unknown })
source code/tools/WebFetchTool/WebFetchTool.ts:52
↓ 1 callersMethodwithCurrentMatch
(baseId: number)
source code/ink/screen.ts:192
↓ 1 callersFunctionwithFixture
* Generic fixture management helper * Handles caching, reading, writing fixtures for any data type
source code/services/vcr.ts:41
↓ 1 callersFunctionwithLock
( versionPath: string, lockFilePath: string, callback: () => void | Promise<void>, )
source code/utils/nativeInstaller/pidLock.ts:332
↓ 1 callersFunctionwithModifiers
* Bracket `fn()` with modifier press/release. `pressed` tracks which presses * actually landed, so a mid-press throw only releases what was pressed —
source code/utils/computerUse/executor.ts:152
↓ 1 callersMethodwithSelectionBg
(baseId: number)
source code/ink/screen.ts:246
↓ 1 callersFunctionwithStatsCacheLock
(fn: () => Promise<T>)
source code/utils/statsCache.ts:29
↓ 1 callersFunctionwithTimeout
* Race a promise against a timeout. Cleans up the timer regardless of outcome * to avoid unhandled rejections from orphaned setTimeout callbacks.
source code/services/lsp/LSPServerInstance.ts:501
↓ 1 callersFunctionwithTokenCountVCR
( messages: unknown[], tools: unknown[], f: () => Promise<number | null>, )
source code/services/vcr.ts:384
↓ 1 callersFunctionwithoutCcdSpawnEnvKeys
( env: Record<string, string> | undefined, )
source code/utils/managedEnv.ts:73
↓ 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
source code/utils/managedEnv.ts:47
↓ 1 callersMethodwithoutOutputRedirections
()
source code/utils/bash/ParsedCommand.ts:27
↓ 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
source code/utils/managedEnv.ts:25
↓ 1 callersFunctionwordAlignedLCP
* Word-aligned longest common prefix. Doesn't chop mid-word. * Case-insensitive comparison (PowerShell: Git === git), emits first * string's casing.
source code/utils/powershell/staticPrefix.ts:296
↓ 1 callersFunctionwordBackground
(marker: Marker, theme: Theme)
source code/native-ts/color-diff/index.ts:381
↓ 1 callersFunctionwordDiffStrings
(oldStr: string, newStr: string)
source code/native-ts/color-diff/index.ts:606
↓ 1 callersFunctionworker
()
source code/services/api/filesApi.ts:290
↓ 1 callersFunctionwrap
(text: string, width: number)
source code/buddy/CompanionSprite.tsx:30
↓ 1 callersFunctionwrapApiForFaultInjection
( api: BridgeApiClient, )
source code/bridge/bridgeDebug.ts:86
↓ 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
source code/utils/terminal.ts:21
↓ 1 callersFunctionwrapWithCwd
(fn: () => T)
source code/tools/AgentTool/resumeAgent.ts:229
↓ 1 callersFunctionwrapWithOsc8Link
(text: string, url: string)
source code/bridge/bridgeStatusUtil.ts:163
↓ 1 callersMethodwrite
(message: StdoutMessage)
source code/cli/structuredIO.ts:467
↓ 1 callersMethodwrite
(message: StdoutMessage)
source code/cli/transports/WebSocketTransport.ts:662
↓ 1 callersFunctionwriteCacheBreakDiff
( prevContent: string, newContent: string, )
source code/services/api/promptCacheBreakDetection.ts:710
↓ 1 callersFunctionwriteHeapSnapshot
* Write heap snapshot to a file. * Uses pipeline() which handles stream cleanup automatically on errors.
source code/utils/heapDumpService.ts:286
↓ 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
source code/cli/transports/ccrClient.ts:795
↓ 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
source code/ink/output.ts:635
↓ 1 callersFunctionwriteLockFile
* Write lock content to a file atomically
source code/utils/nativeInstaller/pidLock.ts:212
↓ 1 callersFunctionwritePerfettoTraceSync
* Final synchronous write (fallback for process 'exit' handler where async is forbidden).
source code/utils/telemetry/perfettoTracing.ts:1044
↓ 1 callersFunctionwriteRemoteAgentMetadata
( taskId: string, metadata: RemoteAgentMetadata, )
source code/utils/sessionStorage.ts:339
← previousnext →8,001–8,100 of 11,462, ranked by callers