Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tanbiralam/claude-code
/ functions
Functions
11,484 in github.com/tanbiralam/claude-code
⨍
Functions
11,484
◇
Types & classes
506
↓ 1 callers
Function
getInitialPasteId
* Compute the initial paste ID by finding the max ID used in existing messages. * This handles --continue/--resume scenarios where we need to avoid I
src/components/PromptInput/PromptInput.tsx:2303
↓ 1 callers
Function
getInitialTab
(viewState: ViewState)
src/commands/plugin/PluginSettings.tsx:723
↓ 1 callers
Function
getInitialViewState
(parsedCommand: ParsedCommand)
src/commands/plugin/PluginSettings.tsx:636
↓ 1 callers
Function
getInkModifiers
* Extract modifiers from an Ink Key object. * This function ensures we're explicitly extracting the modifiers we care about.
src/keybindings/match.ts:15
↓ 1 callers
Function
getInputPrompt
(prompt: string, inputFormat: 'text' | 'stream-json')
src/main.tsx:857
↓ 1 callers
Function
getInsightsModel
()
src/commands/insights.ts:46
↓ 1 callers
Function
getInstallationPath
()
src/utils/doctorDiagnostic.ts:150
↓ 1 callers
Function
getInstallationPath
()
src/commands/install.tsx:42
↓ 1 callers
Function
getInstallationPrefix
()
src/utils/autoUpdater.ts:270
↓ 1 callers
Function
getInstalledPlugins
()
src/utils/plugins/pluginStartupCheck.ts:197
↓ 1 callers
Function
getInstalledPluginsV2FilePath
()
src/utils/plugins/installedPluginsManager.ts:86
↓ 1 callers
Function
getInstalledVSCodeExtensionVersion
( command: string, )
src/utils/ide.ts:931
↓ 1 callers
Function
getInstalledVersionPaths
()
src/utils/plugins/cacheUtils.ts:133
↓ 1 callers
Function
getInstance
( stdout: NodeJS.WriteStream, createInstance: () => Ink, )
src/ink/root.ts:172
↓ 1 callers
Method
getInstance
()
src/services/diagnosticTracking.ts:44
↓ 1 callers
Function
getIntensity
( messageCount: number, percentiles: Percentiles | null, )
src/utils/heatmap.ts:168
↓ 1 callers
Method
getInternalEventReader
()
src/utils/sessionStorage.ts:1377
↓ 1 callers
Method
getInternalSubagentEventReader
()
src/utils/sessionStorage.ts:1381
↓ 1 callers
Function
getInvokedBinary
()
src/utils/doctorDiagnostic.ts:191
↓ 1 callers
Function
getIsHeadOnRemote
()
src/utils/git.ts:340
↓ 1 callers
Function
getIterm2RecoveryInfo
()
src/utils/iTermBackup.ts:14
↓ 1 callers
Function
getJsonInput
()
src/utils/hooks.ts:2128
↓ 1 callers
Function
getKnownModelOption
* Returns a ModelOption for a known Anthropic model with a human-readable * label, and an upgrade hint if a newer version is available via the alias.
src/utils/model/modelOptions.ts:431
↓ 1 callers
Function
getLSPDiagnosticAttachments
* Get LSP diagnostic attachments from passive LSP servers. * Follows the AsyncHookRegistry pattern for consistent async attachment delivery.
src/utils/attachments.ts:2883
↓ 1 callers
Function
getLanguageFromPath
(filePath: string)
src/commands/insights.ts:462
↓ 1 callers
Function
getLargeOutputInstructions
( rawOutputPath: string, contentLength: number, formatDescription: string, maxReadLength?: number, )
src/utils/mcpOutputStorage.ts:39
↓ 1 callers
Function
getLargeToolSuggestion
( toolName: string, tokens: number, percent: number, )
src/utils/contextSuggestions.ts:98
↓ 1 callers
Function
getLastAPIRequest
()
src/bootstrap/state.ts:1180
↓ 1 callers
Function
getLastClassifierRequests
()
src/bootstrap/state.ts:1203
↓ 1 callers
Function
getLastCommitMs
()
src/ink/reconciler.ts:214
↓ 1 callers
Function
getLastEmittedDate
()
src/bootstrap/state.ts:1658
↓ 1 callers
Function
getLastSummarizedMessageId
()
src/services/SessionMemory/sessionMemoryUtils.ts:58
↓ 1 callers
Function
getLastYogaMs
()
src/ink/reconciler.ts:208
↓ 1 callers
Function
getLatestVersion
( channelOrVersion: string, )
src/utils/nativeInstaller/download.ts:112
↓ 1 callers
Function
getLatestVersionFromArtifactory
( tag: string = 'latest', )
src/utils/nativeInstaller/download.ts:30
↓ 1 callers
Function
getLatestVersionFromBinaryRepo
( channel: ReleaseChannel = 'latest', baseUrl: string, authConfig?: { auth: { username: string; password
src/utils/nativeInstaller/download.ts:74
↓ 1 callers
Function
getLayoutMode
(columns: number)
src/utils/logoV2Utils.ts:35
↓ 1 callers
Function
getLeaderSessionId
* Gets the leader's session ID from ITERM_SESSION_ID env var. * Format: "wXtYpZ:UUID" - we extract the UUID part after the colon. * Returns null if
src/utils/swarm/backends/ITermBackend.ts:63
↓ 1 callers
Function
getLeaderSetToolPermissionContext
()
src/utils/swarm/leaderPermissionBridge.ts:48
↓ 1 callers
Function
getLegacyApiKeyPrefetchResult
()
src/utils/secureStorage/keychainPrefetch.ts:104
↓ 1 callers
Function
getLegacyCachePath
(pluginName: string)
src/utils/plugins/pluginLoader.ts:249
↓ 1 callers
Function
getLegacyToolNames
(canonicalName: string)
src/utils/permissions/permissionRuleParser.ts:35
↓ 1 callers
Function
getLimitReachedText
(limits: ClaudeAILimits, model: string)
src/services/rateLimitMessages.ts:143
↓ 1 callers
Function
getLimitedSkillToolCommands
(cwd: string)
src/tools/SkillTool/prompt.ts:213
↓ 1 callers
Method
getLineLength
(line: number)
src/utils/Cursor.ts:1424
↓ 1 callers
Function
getListNumber
(listDepth: number, orderedListNumber: number)
src/utils/markdown.ts:347
↓ 1 callers
Function
getLocalClaudePath
()
src/utils/localInstaller.ts:22
↓ 1 callers
Function
getLocalMonthYear
()
src/constants/common.ts:28
↓ 1 callers
Function
getLocalOauthConfig
()
src/constants/oauth.ts:148
↓ 1 callers
Function
getLocale
* Derive a BCP 47 locale tag from POSIX env vars. * LC_ALL > LC_TIME > LANG, falls back to undefined (system default). * Converts POSIX format (en_G
src/utils/formatBriefTimestamp.ts:58
↓ 1 callers
Function
getLogsWithoutIndex
* Gets logs by loading all session files fully, bypassing the session index. * Use this when you need full message data (e.g., for /insights analysis
src/utils/sessionStorage.ts:4701
↓ 1 callers
Function
getLspPluginsFromMarketplaces
* Get all LSP plugins from all installed marketplaces * * @returns Map of pluginId to plugin info with LSP metadata
src/utils/plugins/lspRecommendation.ts:160
↓ 1 callers
Function
getMacOSPlistPaths
()
src/utils/settings/mdm/constants.ts:45
↓ 1 callers
Function
getMagicDocsAgent
* Create Magic Docs agent definition
src/services/MagicDocs/magicDocs.ts:99
↓ 1 callers
Function
getManagedAndUserConditionalRules
( targetPath: string, processedPaths: Set<string>, )
src/utils/claudemd.ts:1205
↓ 1 callers
Function
getManagedFileSettingsPresence
()
src/utils/settings/settings.ts:127
↓ 1 callers
Function
getManagedSettingsKeysForLogging
( settings: SettingsJson, )
src/utils/settings/settings.ts:558
↓ 1 callers
Function
getMarketplaceDeclaringSource
( name: string, )
src/utils/plugins/marketplaceManager.ts:200
↓ 1 callers
Function
getMarketplaceRepo
()
src/commands/thinkback/thinkback.tsx:34
↓ 1 callers
Function
getMatchingLspPlugins
( filePath: string, )
src/utils/plugins/lspRecommendation.ts:222
↓ 1 callers
Function
getMaxBudgetUsdAttachment
(maxBudgetUsd?: number)
src/utils/attachments.ts:3846
↓ 1 callers
Function
getMaxIndex
()
src/components/teams/TeamsDialog.tsx:221
↓ 1 callers
Function
getMaxMcpOutputChars
()
src/utils/mcpValidation.ts:77
↓ 1 callers
Function
getMaxRetries
(options: RetryOptions)
src/services/api/withRetry.ts:795
↓ 1 callers
Function
getMaxTaskOutputLength
()
src/utils/task/outputFormatting.ts:7
↓ 1 callers
Function
getMaxThinkingTokensForModel
(model: string)
src/utils/context.ts:219
↓ 1 callers
Function
getMaxToolUseConcurrency
()
src/services/tools/toolOrchestration.ts:8
↓ 1 callers
Function
getMaxVersionMessage
()
src/utils/autoUpdater.ts:120
↓ 1 callers
Function
getMaxWidth
(yogaNode: LayoutNode)
src/ink/get-max-width.ts:17
↓ 1 callers
Function
getMcpAllowlistSettings
* Get the settings to use for MCP server allowlist policy. * When allowManagedMcpServersOnly is set in policySettings, only managed settings * contr
src/services/mcp/config.ts:341
↓ 1 callers
Function
getMcpDenylistSettings
* Get the settings to use for MCP server denylist policy. * Denylists always merge from all sources — users can always deny servers * for themselves
src/services/mcp/config.ts:353
↓ 1 callers
Function
getMcpHeadersFromHelper
( serverName: string, config: McpSSEServerConfig | McpHTTPServerConfig | McpWebSocketServerConfig, )
src/services/mcp/headersHelper.ts:32
↓ 1 callers
Function
getMcpInstructions
(mcpClients: MCPServerConnection[])
src/constants/prompts.ts:579
↓ 1 callers
Function
getMcpInstructionsDelta
( mcpClients: MCPServerConnection[], messages: Message[], clientSideInstructions: ClientSideInstruction[
src/utils/mcpInstructionsDelta.ts:55
↓ 1 callers
Function
getMcpOAuthCallbackPort
()
src/services/mcp/oauthPort.ts:27
↓ 1 callers
Function
getMcpServerBaseUrlFromToolName
* Extracts the MCP server base URL for a tool by looking up its server connection. * Returns undefined for stdio servers, built-in tools, or if the s
src/services/tools/toolExecution.ts:326
↓ 1 callers
Function
getMcpServerBuckets
(tools: Tools)
src/components/agents/ToolSelector.tsx:77
↓ 1 callers
Function
getMcpServerType
* Extracts the MCP server transport type from a tool name. * Returns the server type (stdio, sse, http, ws, sdk, etc.) for MCP tools, * or undefined
src/services/tools/toolExecution.ts:308
↓ 1 callers
Function
getMcpSkillCommands
( mcpCommands: readonly Command[], )
src/commands.ts:547
↓ 1 callers
Function
getMcpToolTimeoutMs
* Gets the timeout for MCP tool calls in milliseconds. * Uses MCP_TOOL_TIMEOUT environment variable if set, otherwise defaults to ~27.8 hours.
src/services/mcp/client.ts:224
↓ 1 callers
Function
getMdmRawReadPromise
()
src/utils/settings/mdm/rawRead.ts:128
↓ 1 callers
Function
getMemoryFilesForNestedDirectory
( dir: string, targetPath: string, processedPaths: Set<string>, )
src/utils/claudemd.ts:1249
↓ 1 callers
Function
getMessagePreview
* Extract the last 3 lines of content from a teammate's conversation. * Shows recent activity from any message type (user or assistant).
src/components/Spinner/TeammateSpinnerLine.tsx:29
↓ 1 callers
Function
getMessagesForSlashCommand
(commandName: string, args: string, setToolJSX: SetToolJSXFn, context: ProcessUserInputContext, precedingInput
src/utils/processUserInput/processSlashCommand.tsx:525
↓ 1 callers
Function
getMeterProvider
()
src/bootstrap/state.ts:1043
↓ 1 callers
Function
getMethodAndParams
* Maps LSPTool operation to LSP method and params
src/tools/LSPTool/LSPTool.ts:427
↓ 1 callers
Method
getMetrics
()
src/utils/fpsTracker.ts:20
↓ 1 callers
Function
getMockHeaderless429Message
()
src/services/mockRateLimits.ts:602
↓ 1 callers
Function
getMockSubscriptionType
()
src/services/mockRateLimits.ts:816
↓ 1 callers
Function
getModelCosts
(model: string, usage: Usage)
src/utils/modelCost.ts:144
↓ 1 callers
Function
getModelDisplayLabel
(mainLoopModel: string | null)
src/utils/status.tsx:354
↓ 1 callers
Function
getModelFamilyInfo
* Map a full model name to its family alias and the marketing name of the * version the alias currently resolves to. Used to detect when a user has
src/utils/model/modelOptions.ts:385
↓ 1 callers
Function
getModelOptionsBase
(fastMode = false)
src/utils/model/modelOptions.ts:271
↓ 1 callers
Function
getMultiSelectLabels
(schema: MultiSelectEnumSchema)
src/utils/mcp/elicitationValidation.ts:80
↓ 1 callers
Function
getMyAdminRequests
( requestType: AdminRequestType, statuses: AdminRequestStatus[], )
src/services/api/adminRequests.ts:71
↓ 1 callers
Function
getNativeCSIuTerminalDisplayName
()
src/commands/terminalSetup/terminalSetup.tsx:47
↓ 1 callers
Function
getNativeMessagingHostsDirs
* Get native messaging hosts directories for all supported browsers * Returns an array of directories where the native host manifest should be instal
src/utils/claudeInChrome/setup.ts:177
↓ 1 callers
Function
getNestedMemoryAttachments
* Processes paths that need nested memory attachments and checks for nested CLAUDE.md files * Uses nestedMemoryAttachmentTriggers field from ToolUseC
src/utils/attachments.ts:2167
↓ 1 callers
Method
getNewDiagnostics
* Get new diagnostics from file://, _claude_fs_right, and _claude_fs_ URIs that aren't in the baseline. * Only processes diagnostics for files that
src/services/diagnosticTracking.ts:188
↓ 1 callers
Function
getNewRelativeAgentFilePath
(agent: { source: SettingSource | 'built-in' agentType: string })
src/components/agents/agentFileUtils.ts:121
← previous
next →
5,701–5,800 of 11,484, ranked by callers