MCPcopy Create free account

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

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

↓ 5 callersFunctionupdateFileHistoryState
(updater: (prev: FileHistoryState) => FileHistoryState)
source code/screens/REPL.tsx:2444
↓ 5 callersFunctionupdateProgressFromMessage
(tracker: ProgressTracker, message: Message, resolveActivityDescription?: ActivityDescriptionResolver, tools?:
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:70
↓ 5 callersFunctionupdateSessionName
( name: string | undefined, )
source code/utils/concurrentSessions.ts:133
↓ 5 callersFunctionuseCommandQueue
()
source code/hooks/useCommandQueue.ts:15
↓ 5 callersFunctionuseTerminalNotification
()
source code/ink/useTerminalNotification.ts:27
↓ 5 callersFunctionvalidateForceLoginOrg
()
source code/utils/auth.ts:1925
↓ 5 callersFunctionvalidateUserConfig
( values: UserConfigValues, schema: UserConfigSchema, )
source code/utils/plugins/mcpbHandler.ts:348
↓ 5 callersFunctionwithOAuthRetry
* Execute an OAuth-authenticated request with a single retry on 401. * On 401, attempts token refresh via handleOAuth401Error (same pattern as *
source code/bridge/bridgeApi.ts:108
↓ 5 callersFunctionworktreeBranchName
(slug: string)
source code/utils/worktree.ts:223
↓ 5 callersFunctionwriteTeamFileAsync
( teamName: string, teamFile: TeamFile, )
source code/utils/swarm/teamHelpers.ts:177
↓ 5 callersFunctionwriteToStderr
(data: string)
source code/utils/process.ts:34
↓ 4 callersFunctionaddImageMetadataMessage
( result: ProcessUserInputBaseResult, imageMetadataTexts: string[], )
source code/utils/processUserInput/processUserInput.ts:594
↓ 4 callersFunctionapplyPositionEdge
( node: LayoutNode, edge: 'top' | 'bottom' | 'left' | 'right', v: number | `${number}%` | undefined, )
source code/ink/styles.ts:422
↓ 4 callersFunctionapplyTriggerSuggestion
(suggestion: SuggestionItem, input: string, cursorOffset: number, triggerRe: RegExp, onInputChange: (value: st
source code/hooks/useTypeahead.tsx:199
↓ 4 callersFunctionarchiveSession
( sessionId: string, baseUrl: string, accessToken: string | undefined, orgUUID: string, timeoutMs: n
source code/bridge/remoteBridgeCore.ts:965
↓ 4 callersFunctionargLeaksValue
( _cmd: string, element?: ParsedCommandElement, )
source code/tools/PowerShellTool/readOnlyValidation.ts:78
↓ 4 callersFunctionarmFocusSilenceTimer
()
source code/hooks/useVoice.ts:544
↓ 4 callersMethodbackground
(taskId: string)
source code/utils/ShellCommand.ts:351
↓ 4 callersFunctionbashCommandIsSafe_DEPRECATED
( command: string, )
source code/tools/BashTool/bashSecurity.ts:2259
↓ 4 callersFunctionbuildAttributionSnapshotChain
* Builds an attribution snapshot chain from the conversation. * Unlike file history snapshots, attribution snapshots are returned in full * because
source code/utils/sessionStorage.ts:2282
↓ 4 callersFunctionbuildCCRv2SdkUrl
( apiBaseUrl: string, sessionId: string, )
source code/bridge/workSecret.ts:83
↓ 4 callersFunctionbuildFileHistorySnapshotChain
* Builds a filie history snapshot chain from the conversation
source code/utils/sessionStorage.ts:2250
↓ 4 callersFunctionbuildLargeToolResultMessage
( result: PersistedToolResult, )
source code/utils/toolResultStorage.ts:191
↓ 4 callersFunctionbuildMcpToolName
(serverName: string, toolName: string)
source code/services/mcp/mcpStringUtils.ts:52
↓ 4 callersFunctionbuildPluginDetailsMenuOptions
(hasHomepage: string | undefined, githubRepo: string | null)
source code/commands/plugin/pluginDetailsHelpers.tsx:48
↓ 4 callersFunctionbuildSearchResult
* Build the search result output structure.
source code/tools/ToolSearchTool/ToolSearchTool.ts:112
↓ 4 callersFunctioncacheKeys
(cache: FileStateCache)
source code/utils/fileStateCache.ts:118
↓ 4 callersFunctioncalculateTokenWarningState
( tokenUsage: number, model: string, )
source code/services/compact/autoCompact.ts:95
↓ 4 callersFunctioncaptureUntrackedFiles
* Capture untracked files (git diff doesn't include them). * Respects size limits and skips binary files.
source code/utils/git.ts:618
↓ 4 callersFunctioncharClass
* Character class for double-click word-expansion. Cells with the same * class as the clicked cell are included in the selection; a class change * i
source code/ink/selection.ts:153
↓ 4 callersFunctioncheckArgElementType
(argIdx: number)
source code/tools/PowerShellTool/pathValidation.ts:1336
↓ 4 callersFunctioncheckReadPermissionForTool
( tool: Tool, input: { [key: string]: unknown }, toolPermissionContext: ToolPermissionContext, )
source code/utils/permissions/filesystem.ts:1032
↓ 4 callersFunctioncheckWritePermissionForTool
( tool: Tool<Input>, input: z.infer<Input>, toolPermissionContext: ToolPermissionContext, precomputedP
source code/utils/permissions/filesystem.ts:1207
↓ 4 callersFunctionchildMarginForAxis
( child: Node, axis: FlexDirection, ownerWidth: number, )
source code/native-ts/yoga-layout/index.ts:2336
↓ 4 callersFunctioncleanupWorktreeIfNeeded
()
source code/tools/AgentTool/AgentTool.tsx:646
↓ 4 callersFunctionclearClassifierIndicator
()
source code/hooks/toolPermission/handlers/interactiveHandler.ts:88
↓ 4 callersFunctionclearFastModeCooldown
()
source code/utils/fastMode.ts:237
↓ 4 callersFunctionclearInvokedSkillsForAgent
(agentId: string)
source code/bootstrap/state.ts:1559
↓ 4 callersFunctionclearSelection
(s: SelectionState)
source code/ink/selection.ts:124
↓ 4 callersFunctionclearStreamIdleTimers
()
source code/services/api/claude.ts:1887
↓ 4 callersMethodclip
(clip: Clip)
source code/ink/output.ts:257
↓ 4 callersFunctionconsume
(method: BridgeFault['method'])
source code/bridge/bridgeDebug.ts:89
↓ 4 callersFunctioncontainsAnyPlaceholder
* All placeholder strings. Used for defense-in-depth: if a varScope value * contains ANY placeholder (exact or embedded), the value is NOT a pure *
source code/utils/bash/ast.ts:96
↓ 4 callersFunctionconvertSDKMessage
( msg: SDKMessage, opts?: ConvertOptions, )
source code/remote/sdkMessageAdapter.ts:170
↓ 4 callersFunctioncopyDir
(src: string, dest: string)
source code/utils/plugins/pluginLoader.ts:295
↓ 4 callersFunctioncountUniqueFiles
* Counts unique files from an array of locations
source code/tools/LSPTool/LSPTool.ts:533
↓ 4 callersFunctioncreateActivityDescriptionResolver
(tools: Tools)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:112
↓ 4 callersFunctioncreateContentReplacementState
()
source code/utils/toolResultStorage.ts:397
↓ 4 callersFunctioncreateEmptyAttributionState
()
source code/utils/commitAttribution.ts:308
↓ 4 callersFunctioncreateHttpsProxyAgent
* Create an HttpsProxyAgent with optional mTLS configuration * Skips local DNS resolution to let the proxy handle it
source code/utils/proxy.ts:137
↓ 4 callersFunctioncreateImageMetadataText
( dims: ImageDimensions, sourcePath?: string, )
source code/utils/imageResizer.ts:837
↓ 4 callersFunctioncreateImageResponse
( buffer: Buffer, mediaType: string, originalSize: number, dimensions?: ImageDimensions, )
source code/tools/FileReadTool/FileReadTool.ts:786
↓ 4 callersFunctioncreateProgressTracker
()
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:52
↓ 4 callersFunctioncreateReadRuleSuggestion
( dirPath: string, destination: PermissionUpdateDestination = 'session', )
source code/utils/permissions/PermissionUpdate.ts:363
↓ 4 callersFunctioncreateRecentActivityFeed
(activities: LogOption[])
source code/components/LogoV2/feedConfigs.tsx:13
↓ 4 callersFunctioncreateStderrLogger
* Environment variables for different client types: * * Direct API: * - ANTHROPIC_API_KEY: Required for direct API access * * AWS Bedrock: * - A
source code/services/api/client.ts:75
↓ 4 callersFunctioncreateStore
( initialState: T, onChange?: OnChange<T>, )
source code/state/store.ts:12
↓ 4 callersFunctioncreateSubagentContext
( parentContext: ToolUseContext, overrides?: SubagentContextOverrides, )
source code/utils/forkedAgent.ts:347
↓ 4 callersFunctioncreateTmuxBackend
* Creates a TmuxBackend instance. * Throws if TmuxBackend hasn't been registered.
source code/utils/swarm/backends/registry.ts:108
↓ 4 callersFunctioncursorMove
(x: number, y: number)
source code/ink/termio/csi.ts:171
↓ 4 callersFunctiondefaultStyle
(theme: Theme)
source code/native-ts/color-diff/index.ts:366
↓ 4 callersMethoddel
()
source code/utils/Cursor.ts:868
↓ 4 callersFunctiondenySpeculation
( message: string, reason: string, )
source code/services/PromptSuggestion/speculation.ts:86
↓ 4 callersFunctiondequeue
( filter?: (cmd: QueuedCommand) => boolean, )
source code/utils/messageQueueManager.ts:169
↓ 4 callersFunctionderiveUUID
(parentUUID: UUID, index: number)
source code/utils/messages.ts:727
↓ 4 callersFunctiondetectCurrentRepository
()
source code/utils/detectRepository.ts:19
↓ 4 callersFunctiondetectIDEs
( includeInvalid: boolean, )
source code/utils/ide.ts:666
↓ 4 callersFunctiondetectImageFormatFromBuffer
(buffer: Buffer)
source code/utils/imageResizer.ts:771
↓ 4 callersFunctiondetectSessionFileType
( filePath: string, )
source code/utils/memoryFileDetection.ts:42
↓ 4 callersFunctiondisablePluginOp
( plugin: string, scope?: InstallableScope, )
source code/services/plugins/pluginOperations.ts:772
↓ 4 callersFunctiondjb2Hash
(str: string)
source code/utils/hash.ts:9
↓ 4 callersFunctiondrainSdkEvents
()
source code/utils/sdkEventQueue.ts:91
↓ 4 callersMethoddrainStdin
@see drainStdin
source code/ink/ink.tsx:955
↓ 4 callersFunctionemitLoadError
* Emits an error message in the correct format based on outputFormat. * When using stream-json, writes JSON to stdout; otherwise writes plain text to
source code/cli/print.ts:4843
↓ 4 callersFunctionemitTaskProgress
( tracker: ProgressTracker, taskId: string, toolUseId: string | undefined, description: string, star
source code/tools/AgentTool/agentToolUtils.ts:371
↓ 4 callersMethodendAuthentication
(success: boolean)
source code/utils/awsAuthStatusManager.ts:60
↓ 4 callersMethodendCLIActivity
* Stops tracking CLI activity
source code/utils/activityManager.ts:108
↓ 4 callersFunctionenhanceGitPullErrorMessages
* Enhance error messages for git pull failures
source code/utils/plugins/marketplaceManager.ts:651
↓ 4 callersFunctionenqueueShellNotification
(taskId: string, description: string, status: 'completed' | 'failed' | 'killed', exitCode: number | undefined,
source code/tasks/LocalShellTask/LocalShellTask.tsx:107
↓ 4 callersFunctionensureBackendsRegistered
()
source code/utils/swarm/backends/registry.ts:76
↓ 4 callersFunctionensureConfigScope
(scope?: string)
source code/services/mcp/utils.ts:303
↓ 4 callersFunctionensureConnectedClient
( client: ConnectedMCPServer, )
source code/services/mcp/client.ts:1690
↓ 4 callersFunctionensureToolResultsDir
()
source code/utils/toolResultStorage.ts:124
↓ 4 callersMethodenterAlternateScreen
* Pause Ink and hand the terminal over to an external TUI (e.g. git * commit editor). In non-fullscreen mode this enters the alt screen; * in fu
source code/ink/ink.tsx:359
↓ 4 callersFunctionescapeHtmlWithBold
(text: string)
source code/commands/insights.ts:1803
↓ 4 callersFunctionexceedsSizeLimit
(content: string, _path: string)
source code/services/settingsSync/index.ts:499
↓ 4 callersFunctionexcludeCommandsByServer
( commands: Command[], serverName: string, )
source code/services/mcp/utils.ts:131
↓ 4 callersFunctionexcludeResourcesByServer
( resources: Record<string, ServerResource[]>, serverName: string, )
source code/services/mcp/utils.ts:144
↓ 4 callersFunctionexec
( command: string, abortSignal: AbortSignal, shellType: ShellType, options?: ExecOptions, )
source code/utils/Shell.ts:183
↓ 4 callersFunctionexecCommandHook
* Execute a command-based hook using bash or PowerShell. * * Shell resolution: hook.shell → 'bash'. PowerShell hooks spawn pwsh * with -NoProfile -
source code/utils/hooks.ts:749
↓ 4 callersMethodexitAlternateScreen
* Resume Ink after an external TUI handoff with a full repaint. * In non-fullscreen mode this exits the alt screen back to main; * in fullscreen
source code/ink/ink.tsx:394
↓ 4 callersFunctionexpandTilde
* Expands tilde (~) at the start of a path to the user's home directory.
source code/tools/PowerShellTool/pathValidation.ts:822
↓ 4 callersFunctionextractDangerousSettings
( settings: SettingsJson | null | undefined, )
source code/components/ManagedSettingsSecurityDialog/utils.ts:26
↓ 4 callersFunctionextractDescriptionFromMarkdown
( content: string, defaultDescription: string = 'Custom item', )
source code/utils/markdownConfigLoader.ts:54
↓ 4 callersFunctionextractFlag
(flag: string, opts: { hasValue?: boolean; as?: string; } = {})
source code/main.tsx:741
↓ 4 callersFunctionfanOut
* Reset the settings cache, then notify all listeners. * * The cache reset MUST happen here (single producer), not in each listener * (N consumers)
source code/utils/settings/changeDetector.ts:439
↓ 4 callersFunctionfetchAuthServerMetadata
* Fetches authorization server metadata, using a configured metadata URL if available, * otherwise performing RFC 9728 → RFC 8414 discovery via the S
source code/services/mcp/auth.ts:258
↓ 4 callersFunctionfetchSession
( sessionId: string, )
source code/utils/teleport/api.ts:291
↓ 4 callersFunctionfileHistoryTrackEdit
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, filePa
source code/utils/fileHistory.ts:88
↓ 4 callersFunctionfilterErrors
(errors: ValidationError[], severity: 'fatal' | 'warning')
source code/components/mcp/McpParsingWarnings.tsx:212
← previousnext →1,201–1,300 of 11,462, ranked by callers