MCPcopy Create free account

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

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

↓ 2 callersFunctiongetTmuxColorName
* Gets the tmux color name for a given agent color. * These are tmux's built-in color names that work with pane-border-style.
source code/utils/swarm/backends/TmuxBackend.ts:61
↓ 2 callersFunctiongetToolBuckets
()
source code/components/agents/ToolSelector.tsx:51
↓ 2 callersMethodgetToolInterruptBehavior
(tool: TrackedTool)
source code/services/tools/StreamingToolExecutor.ts:235
↓ 2 callersFunctiongetToolNameForPermissionCheck
(tool: { name: string mcpInfo?: { serverName: string; toolName: string } })
source code/services/mcp/mcpStringUtils.ts:62
↓ 2 callersFunctiongetToolPermissionContext
()
source code/utils/hooks/execPromptHook.ts:77
↓ 2 callersFunctiongetToolSearchMode
()
source code/utils/toolSearch.ts:174
↓ 2 callersFunctiongetToolUseIDFromParentMessage
( parentMessage: AssistantMessage, toolName: string, )
source code/tools/utils.ts:32
↓ 2 callersFunctiongetToolsForDefaultPreset
()
source code/tools.ts:181
↓ 2 callersFunctiongetTotalCacheCreationInputTokens
()
source code/bootstrap/state.ts:718
↓ 2 callersFunctiongetTotalCacheReadInputTokens
()
source code/bootstrap/state.ts:714
↓ 2 callersMethodgetTreeSitterAnalysis
* Returns tree-sitter analysis data if available. * Returns null for the regex fallback implementation.
source code/utils/bash/ParsedCommand.ts:33
↓ 2 callersFunctiongetUnameSR
()
source code/constants/prompts.ts:747
↓ 2 callersFunctiongetUpdatedInputOrFallback
* Extract updatedInput from a permission result, falling back to the original input. * Handles the case where some PermissionResult variants don't ha
source code/utils/permissions/permissions.ts:1479
↓ 2 callersFunctiongetUseCoworkPlugins
()
source code/bootstrap/state.ts:1262
↓ 2 callersFunctiongetUserAttributes
* Get user attributes for GrowthBook from CoreUserData
source code/services/analytics/growthbook.ts:456
↓ 2 callersFunctiongetUserBinDir
(options?: XDGOptions)
source code/utils/xdg.ts:64
↓ 2 callersFunctiongetUserClaudeRulesDir
()
source code/utils/config.ts:1807
↓ 2 callersFunctiongetVSCodeIDECommand
(ideType: IdeType)
source code/utils/ide.ts:1019
↓ 2 callersFunctiongetValue
(source: 'global' | 'settings', path: string[])
source code/tools/ConfigTool/ConfigTool.ts:438
↓ 2 callersFunctiongetVertexRegionForModel
( model: string | undefined, )
source code/utils/envUtils.ts:173
↓ 2 callersFunctiongetVoiceKeyterms
( recentFiles?: ReadonlySet<string>, )
source code/services/voiceKeyterms.ts:65
↓ 2 callersMethodgetWrappedLines
()
source code/utils/Cursor.ts:1379
↓ 2 callersFunctiongetWrittenFilePath
* Extract file_path from a tool_use block's input, if present. * Returns undefined when the block is not an Edit/Write tool use or has no file_path.
source code/services/extractMemories/extractMemories.ts:234
↓ 2 callersFunctiongetXDGDataHome
(options?: XDGOptions)
source code/utils/xdg.ts:54
↓ 2 callersFunctiongetXDGStateHome
(options?: XDGOptions)
source code/utils/xdg.ts:34
↓ 2 callersFunctiongetYogaCounters
()
source code/native-ts/yoga-layout/index.ts:1046
↓ 2 callersFunctiongetZipCacheKnownMarketplacesPath
()
source code/utils/plugins/zipCache.ts:77
↓ 2 callersFunctiongitSubmoduleUpdate
* Sync submodule working dirs after a successful pull. gitClone() uses * --recurse-submodules, but gitPull() didn't — the parent repo's submodule *
source code/utils/plugins/marketplaceManager.ts:611
↓ 2 callersFunctiongroupByFile
* Groups items by their file URI. * Generic helper that works with both Location[] and SymbolInformation[]
source code/tools/LSPTool/formatters.ts:80
↓ 2 callersFunctiongroupBySource
Group items by source type for display, sorted by tokens descending within each group
source code/components/ContextVisualization.tsx:79
↓ 2 callersFunctionhandleAbort
()
source code/components/mcp/ElicitationDialog.tsx:190
↓ 2 callersFunctionhandleClose
()
source code/components/tasks/RemoteSessionDetailDialog.tsx:808
↓ 2 callersMethodhandleClose
* Handle WebSocket close
source code/remote/SessionsWebSocket.ts:236
↓ 2 callersFunctionhandleData
* Shared per-connection data handler. Phase 1 accumulates the CONNECT request; * phase 2 forwards client bytes over the WS tunnel.
source code/upstreamproxy/relay.ts:297
↓ 2 callersFunctionhandleDeepLinkUri
(uri: string)
source code/utils/deepLink/protocolHandler.ts:38
↓ 2 callersFunctionhandleEPIPE
( stream: NodeJS.WriteStream, )
source code/utils/process.ts:3
↓ 2 callersMethodhandleElicitation
* Sends an elicitation request to the SDK consumer and returns the response.
source code/cli/structuredIO.ts:696
↓ 2 callersFunctionhandleEnter
(key: Key)
source code/hooks/useTextInput.ts:249
↓ 2 callersMethodhandleEpochMismatch
* Handle epoch mismatch (409 Conflict). A newer CC instance has replaced * this one — exit immediately.
source code/cli/transports/ccrClient.ts:671
↓ 2 callersMethodhandleErrorRedirect
* Handles error case by sending a redirect to the appropriate success page with an error indicator, * ensuring the browser flow is completed proper
source code/services/oauth/auth-code-listener.ts:113
↓ 2 callersFunctionhandleFileSystemError
* Handles file system errors appropriately * @param error The error to handle * @param path The file path that caused the error
source code/utils/settings/settings.ts:159
↓ 2 callersFunctionhandleIngressMessage
( data: string, recentPostedUUIDs: BoundedUUIDSet, recentInboundUUIDs: BoundedUUIDSet, onInboundMessag
source code/bridge/bridgeMessaging.ts:134
↓ 2 callersMethodhandleMessage
* Handle incoming WebSocket message
source code/remote/SessionsWebSocket.ts:212
↓ 2 callersMethodhandleNodeRemoved
* Called by the reconciler when a node is removed from the tree. * Handles both the exact node and any focused descendant within * the removed s
source code/ink/focus.ts:59
↓ 2 callersFunctionhandleNormalInput
* Handle input that's valid in both idle and count states. * Returns null if input is not recognized.
source code/vim/transitions.ts:100
↓ 2 callersMethodhandleOpenEvent
()
source code/cli/transports/WebSocketTransport.ts:298
↓ 2 callersFunctionhandleOperatorInput
* Handle operator input (motion, find, text object scope). * Returns null if input is not recognized.
source code/vim/transitions.ts:208
↓ 2 callersFunctionhandlePromptSubmit
( params: HandlePromptSubmitParams, )
source code/utils/handlePromptSubmit.ts:122
↓ 2 callersFunctionhandleReconnectResult
(result: { client: MCPServerConnection; tools: Tool[]; commands: Command[]; resources?: ServerResource
source code/components/mcp/utils/reconnectHelpers.tsx:14
↓ 2 callersFunctionhandleResponse
(value: ResponseValue)
source code/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:276
↓ 2 callersFunctionhandleRewindFiles
( userMessageId: UUID, appState: AppState, setAppState: (updater: (prev: AppState) => AppState) => void,
source code/cli/print.ts:4522
↓ 2 callersFunctionhandleServerControlRequest
( request: SDKControlRequest, handlers: ServerControlRequestHandlers, )
source code/bridge/bridgeMessaging.ts:245
↓ 2 callersFunctionhandleSpawnInProcess
* Handle spawn operation for in-process teammates. * In-process teammates run in the same Node.js process using AsyncLocalStorage.
source code/tools/shared/spawnMultiAgent.ts:842
↓ 2 callersFunctionhasAccessToIDEExtensionDiffFeature
( mcpClients: MCPServerConnection[], )
source code/utils/ide.ts:840
↓ 2 callersFunctionhasActiveInProcessTeammates
(appState: AppState)
source code/utils/teammate.ts:207
↓ 2 callersFunctionhasAnyAutoEdge
(edges: Value[])
source code/native-ts/yoga-layout/index.ts:258
↓ 2 callersFunctionhasAnyToolInProgress
( message: CollapsedReadSearchGroup, inProgressToolUseIDs: Set<string>, )
source code/utils/collapseReadSearch.ts:488
↓ 2 callersFunctionhasApiKeyHelper
* Check if settings have apiKeyHelper configured
source code/components/TrustDialog/utils.ts:138
↓ 2 callersFunctionhasAutoMemPathOverride
()
source code/memdir/paths.ts:196
↓ 2 callersFunctionhasAutoModeOptInAnySource
()
source code/utils/permissions/permissionSetup.ts:1364
↓ 2 callersFunctionhasAwsCommands
* Check if settings have AWS commands configured
source code/components/TrustDialog/utils.ts:165
↓ 2 callersFunctionhasBashPermission
(rules: PermissionRule[])
source code/components/TrustDialog/utils.ts:47
↓ 2 callersFunctionhasBinaryExtension
(filePath: string)
source code/constants/files.ts:119
↓ 2 callersFunctionhasClaudeAiMcpEverConnected
(name: string)
source code/services/mcp/claudeai.ts:164
↓ 2 callersFunctionhasCommandNamed
( parsed: ParsedPowerShellCommand, name: string, )
source code/utils/powershell/parser.ts:1547
↓ 2 callersFunctionhasCommandWithArguments
(isAtEndWithWhitespace: boolean, value: string)
source code/hooks/useTypeahead.tsx:345
↓ 2 callersFunctionhasConsoleBillingAccess
()
source code/utils/billing.ts:12
↓ 2 callersFunctionhasDangerousEnvVars
* Check if settings have dangerous environment variables configured. * Any env var NOT in SAFE_ENV_VARS is considered dangerous.
source code/components/TrustDialog/utils.ts:220
↓ 2 callersFunctionhasExitedPlanModeInSession
()
source code/bootstrap/state.ts:1335
↓ 2 callersFunctionhasExternalClaudeMdIncludes
(files: MemoryFileInfo[])
source code/utils/claudemd.ts:1418
↓ 2 callersFunctionhasGcpCommands
* Check if settings have GCP commands configured
source code/components/TrustDialog/utils.ts:192
↓ 2 callersFunctionhasHooks
(settings: SettingsJson | null)
source code/components/TrustDialog/utils.ts:10
↓ 2 callersFunctionhasImageBlock
( content: NonNullable<ToolResultBlockParam['content']>, )
source code/utils/toolResultStorage.ts:509
↓ 2 callersFunctionhasInstructionsLoadedHook
()
source code/utils/hooks.ts:4316
↓ 2 callersFunctionhasMalformedTokens
( command: string, parsed: ParseEntry[], )
source code/utils/bash/shellQuote.ts:119
↓ 2 callersFunctionhasOtelHeadersHelper
* Check if settings have otelHeadersHelper configured
source code/components/TrustDialog/utils.ts:111
↓ 2 callersFunctionhasRequiredMcpServers
( agent: AgentDefinition, availableServers: string[], )
source code/tools/AgentTool/loadAgentsDir.ts:231
↓ 2 callersFunctionhasSlackMcpServer
(clients: MCPServerConnection[])
source code/utils/suggestions/slackChannelSuggestions.ts:104
↓ 2 callersFunctionhasSuspiciousWindowsPathPattern
* Detects suspicious Windows path patterns that could bypass security checks. * These patterns include: * - NTFS Alternate Data Streams (e.g., file.
source code/utils/permissions/filesystem.ts:539
↓ 2 callersFunctionhasTextBlocks
(message: Message)
source code/services/compact/sessionMemoryCompact.ts:137
↓ 2 callersFunctionhasThinkingBlocks
* Check if messages contain thinking blocks
source code/services/tokenEstimation.ts:40
↓ 2 callersFunctionhasThinkingContent
(m: { type: string; message?: { content: Array<{ type: string; }>; }; })
source code/components/Message.tsx:593
↓ 2 callersFunctionhasToolResultContent
* Check whether a user message's content contains tool_result blocks. * This is more reliable than checking `toolUseResult === undefined` because *
source code/utils/attachments.ts:2449
↓ 2 callersFunctionhashMcpConfig
(config: ScopedMcpServerConfig)
source code/services/mcp/utils.ts:159
↓ 2 callersFunctionhashMessage
* Generate a hash for a message based on its content.
source code/utils/telemetry/betaSessionTracing.ts:138
↓ 2 callersFunctionhashString
* Computes a simple numeric hash of a string for analytics grouping. * Uses djb2 algorithm, returning a 32-bit unsigned integer.
source code/utils/imageResizer.ts:132
↓ 2 callersFunctionhashString
(s: string)
source code/buddy/companion.ts:29
↓ 2 callersFunctionhashToId
(input: string)
source code/services/mcp/channelPermissions.ts:114
↓ 2 callersFunctionheadlessProfilerStartTurn
()
source code/utils/headlessProfiler.ts:64
↓ 2 callersFunctionhideTeammate
* Hide a teammate pane using the backend abstraction. * Only available for ant users (gated for dead code elimination in external builds)
source code/components/teams/TeamsDialog.tsx:635
↓ 2 callersFunctionhighlightLine
( state: { lang: string | null; stack: unknown }, line: string, theme: Theme, )
source code/native-ts/color-diff/index.ts:506
↓ 2 callersFunctionhitTest
( node: DOMElement, col: number, row: number, )
source code/ink/hit-test.ts:20
↓ 2 callersFunctionhookSourceHeaderDisplayString
(source: HookSource)
source code/utils/hooks/hooksSettings.ts:194
↓ 2 callersFunctionhueToRgb
(hue: number)
source code/components/Spinner/utils.ts:34
↓ 2 callersFunctionideOnboardingDialog
()
source code/utils/ide.ts:36
↓ 2 callersMethodimageRefStartingAt
(offset: number)
source code/utils/Cursor.ts:332
↓ 2 callersFunctionimmediateFlushHistory
()
source code/history.ts:294
↓ 2 callersFunctionincrement
(map: Map<string, number>, key: string, value: number)
source code/utils/contextAnalysis.ts:193
↓ 2 callersFunctionincrementGuestPassesSeenCount
()
source code/components/LogoV2/GuestPassesUpsell.tsx:45
↓ 2 callersFunctionincrementOverageCreditUpsellSeenCount
()
source code/components/LogoV2/OverageCreditUpsell.tsx:58
← previousnext →3,301–3,400 of 11,462, ranked by callers