MCPcopy Create free account

hub / github.com/tanbiralam/claude-code / functions

Functions11,484 in github.com/tanbiralam/claude-code

↓ 1 callersFunctiongetInitialPasteId
* 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 callersFunctiongetInitialTab
(viewState: ViewState)
src/commands/plugin/PluginSettings.tsx:723
↓ 1 callersFunctiongetInitialViewState
(parsedCommand: ParsedCommand)
src/commands/plugin/PluginSettings.tsx:636
↓ 1 callersFunctiongetInkModifiers
* 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 callersFunctiongetInputPrompt
(prompt: string, inputFormat: 'text' | 'stream-json')
src/main.tsx:857
↓ 1 callersFunctiongetInsightsModel
()
src/commands/insights.ts:46
↓ 1 callersFunctiongetInstallationPath
()
src/utils/doctorDiagnostic.ts:150
↓ 1 callersFunctiongetInstallationPath
()
src/commands/install.tsx:42
↓ 1 callersFunctiongetInstallationPrefix
()
src/utils/autoUpdater.ts:270
↓ 1 callersFunctiongetInstalledPlugins
()
src/utils/plugins/pluginStartupCheck.ts:197
↓ 1 callersFunctiongetInstalledPluginsV2FilePath
()
src/utils/plugins/installedPluginsManager.ts:86
↓ 1 callersFunctiongetInstalledVSCodeExtensionVersion
( command: string, )
src/utils/ide.ts:931
↓ 1 callersFunctiongetInstalledVersionPaths
()
src/utils/plugins/cacheUtils.ts:133
↓ 1 callersFunctiongetInstance
( stdout: NodeJS.WriteStream, createInstance: () => Ink, )
src/ink/root.ts:172
↓ 1 callersMethodgetInstance
()
src/services/diagnosticTracking.ts:44
↓ 1 callersFunctiongetIntensity
( messageCount: number, percentiles: Percentiles | null, )
src/utils/heatmap.ts:168
↓ 1 callersMethodgetInternalEventReader
()
src/utils/sessionStorage.ts:1377
↓ 1 callersMethodgetInternalSubagentEventReader
()
src/utils/sessionStorage.ts:1381
↓ 1 callersFunctiongetInvokedBinary
()
src/utils/doctorDiagnostic.ts:191
↓ 1 callersFunctiongetIsHeadOnRemote
()
src/utils/git.ts:340
↓ 1 callersFunctiongetIterm2RecoveryInfo
()
src/utils/iTermBackup.ts:14
↓ 1 callersFunctiongetJsonInput
()
src/utils/hooks.ts:2128
↓ 1 callersFunctiongetKnownModelOption
* 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 callersFunctiongetLSPDiagnosticAttachments
* Get LSP diagnostic attachments from passive LSP servers. * Follows the AsyncHookRegistry pattern for consistent async attachment delivery.
src/utils/attachments.ts:2883
↓ 1 callersFunctiongetLanguageFromPath
(filePath: string)
src/commands/insights.ts:462
↓ 1 callersFunctiongetLargeOutputInstructions
( rawOutputPath: string, contentLength: number, formatDescription: string, maxReadLength?: number, )
src/utils/mcpOutputStorage.ts:39
↓ 1 callersFunctiongetLargeToolSuggestion
( toolName: string, tokens: number, percent: number, )
src/utils/contextSuggestions.ts:98
↓ 1 callersFunctiongetLastAPIRequest
()
src/bootstrap/state.ts:1180
↓ 1 callersFunctiongetLastClassifierRequests
()
src/bootstrap/state.ts:1203
↓ 1 callersFunctiongetLastCommitMs
()
src/ink/reconciler.ts:214
↓ 1 callersFunctiongetLastEmittedDate
()
src/bootstrap/state.ts:1658
↓ 1 callersFunctiongetLastSummarizedMessageId
()
src/services/SessionMemory/sessionMemoryUtils.ts:58
↓ 1 callersFunctiongetLastYogaMs
()
src/ink/reconciler.ts:208
↓ 1 callersFunctiongetLatestVersion
( channelOrVersion: string, )
src/utils/nativeInstaller/download.ts:112
↓ 1 callersFunctiongetLatestVersionFromArtifactory
( tag: string = 'latest', )
src/utils/nativeInstaller/download.ts:30
↓ 1 callersFunctiongetLatestVersionFromBinaryRepo
( channel: ReleaseChannel = 'latest', baseUrl: string, authConfig?: { auth: { username: string; password
src/utils/nativeInstaller/download.ts:74
↓ 1 callersFunctiongetLayoutMode
(columns: number)
src/utils/logoV2Utils.ts:35
↓ 1 callersFunctiongetLeaderSessionId
* 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 callersFunctiongetLeaderSetToolPermissionContext
()
src/utils/swarm/leaderPermissionBridge.ts:48
↓ 1 callersFunctiongetLegacyApiKeyPrefetchResult
()
src/utils/secureStorage/keychainPrefetch.ts:104
↓ 1 callersFunctiongetLegacyCachePath
(pluginName: string)
src/utils/plugins/pluginLoader.ts:249
↓ 1 callersFunctiongetLegacyToolNames
(canonicalName: string)
src/utils/permissions/permissionRuleParser.ts:35
↓ 1 callersFunctiongetLimitReachedText
(limits: ClaudeAILimits, model: string)
src/services/rateLimitMessages.ts:143
↓ 1 callersFunctiongetLimitedSkillToolCommands
(cwd: string)
src/tools/SkillTool/prompt.ts:213
↓ 1 callersMethodgetLineLength
(line: number)
src/utils/Cursor.ts:1424
↓ 1 callersFunctiongetListNumber
(listDepth: number, orderedListNumber: number)
src/utils/markdown.ts:347
↓ 1 callersFunctiongetLocalClaudePath
()
src/utils/localInstaller.ts:22
↓ 1 callersFunctiongetLocalMonthYear
()
src/constants/common.ts:28
↓ 1 callersFunctiongetLocalOauthConfig
()
src/constants/oauth.ts:148
↓ 1 callersFunctiongetLocale
* 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 callersFunctiongetLogsWithoutIndex
* 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 callersFunctiongetLspPluginsFromMarketplaces
* 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 callersFunctiongetMacOSPlistPaths
()
src/utils/settings/mdm/constants.ts:45
↓ 1 callersFunctiongetMagicDocsAgent
* Create Magic Docs agent definition
src/services/MagicDocs/magicDocs.ts:99
↓ 1 callersFunctiongetManagedAndUserConditionalRules
( targetPath: string, processedPaths: Set<string>, )
src/utils/claudemd.ts:1205
↓ 1 callersFunctiongetManagedFileSettingsPresence
()
src/utils/settings/settings.ts:127
↓ 1 callersFunctiongetManagedSettingsKeysForLogging
( settings: SettingsJson, )
src/utils/settings/settings.ts:558
↓ 1 callersFunctiongetMarketplaceDeclaringSource
( name: string, )
src/utils/plugins/marketplaceManager.ts:200
↓ 1 callersFunctiongetMarketplaceRepo
()
src/commands/thinkback/thinkback.tsx:34
↓ 1 callersFunctiongetMatchingLspPlugins
( filePath: string, )
src/utils/plugins/lspRecommendation.ts:222
↓ 1 callersFunctiongetMaxBudgetUsdAttachment
(maxBudgetUsd?: number)
src/utils/attachments.ts:3846
↓ 1 callersFunctiongetMaxIndex
()
src/components/teams/TeamsDialog.tsx:221
↓ 1 callersFunctiongetMaxMcpOutputChars
()
src/utils/mcpValidation.ts:77
↓ 1 callersFunctiongetMaxRetries
(options: RetryOptions)
src/services/api/withRetry.ts:795
↓ 1 callersFunctiongetMaxTaskOutputLength
()
src/utils/task/outputFormatting.ts:7
↓ 1 callersFunctiongetMaxThinkingTokensForModel
(model: string)
src/utils/context.ts:219
↓ 1 callersFunctiongetMaxToolUseConcurrency
()
src/services/tools/toolOrchestration.ts:8
↓ 1 callersFunctiongetMaxVersionMessage
()
src/utils/autoUpdater.ts:120
↓ 1 callersFunctiongetMaxWidth
(yogaNode: LayoutNode)
src/ink/get-max-width.ts:17
↓ 1 callersFunctiongetMcpAllowlistSettings
* 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 callersFunctiongetMcpDenylistSettings
* 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 callersFunctiongetMcpHeadersFromHelper
( serverName: string, config: McpSSEServerConfig | McpHTTPServerConfig | McpWebSocketServerConfig, )
src/services/mcp/headersHelper.ts:32
↓ 1 callersFunctiongetMcpInstructions
(mcpClients: MCPServerConnection[])
src/constants/prompts.ts:579
↓ 1 callersFunctiongetMcpInstructionsDelta
( mcpClients: MCPServerConnection[], messages: Message[], clientSideInstructions: ClientSideInstruction[
src/utils/mcpInstructionsDelta.ts:55
↓ 1 callersFunctiongetMcpOAuthCallbackPort
()
src/services/mcp/oauthPort.ts:27
↓ 1 callersFunctiongetMcpServerBaseUrlFromToolName
* 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 callersFunctiongetMcpServerBuckets
(tools: Tools)
src/components/agents/ToolSelector.tsx:77
↓ 1 callersFunctiongetMcpServerType
* 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 callersFunctiongetMcpSkillCommands
( mcpCommands: readonly Command[], )
src/commands.ts:547
↓ 1 callersFunctiongetMcpToolTimeoutMs
* 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 callersFunctiongetMdmRawReadPromise
()
src/utils/settings/mdm/rawRead.ts:128
↓ 1 callersFunctiongetMemoryFilesForNestedDirectory
( dir: string, targetPath: string, processedPaths: Set<string>, )
src/utils/claudemd.ts:1249
↓ 1 callersFunctiongetMessagePreview
* 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 callersFunctiongetMessagesForSlashCommand
(commandName: string, args: string, setToolJSX: SetToolJSXFn, context: ProcessUserInputContext, precedingInput
src/utils/processUserInput/processSlashCommand.tsx:525
↓ 1 callersFunctiongetMeterProvider
()
src/bootstrap/state.ts:1043
↓ 1 callersFunctiongetMethodAndParams
* Maps LSPTool operation to LSP method and params
src/tools/LSPTool/LSPTool.ts:427
↓ 1 callersMethodgetMetrics
()
src/utils/fpsTracker.ts:20
↓ 1 callersFunctiongetMockHeaderless429Message
()
src/services/mockRateLimits.ts:602
↓ 1 callersFunctiongetMockSubscriptionType
()
src/services/mockRateLimits.ts:816
↓ 1 callersFunctiongetModelCosts
(model: string, usage: Usage)
src/utils/modelCost.ts:144
↓ 1 callersFunctiongetModelDisplayLabel
(mainLoopModel: string | null)
src/utils/status.tsx:354
↓ 1 callersFunctiongetModelFamilyInfo
* 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 callersFunctiongetModelOptionsBase
(fastMode = false)
src/utils/model/modelOptions.ts:271
↓ 1 callersFunctiongetMultiSelectLabels
(schema: MultiSelectEnumSchema)
src/utils/mcp/elicitationValidation.ts:80
↓ 1 callersFunctiongetMyAdminRequests
( requestType: AdminRequestType, statuses: AdminRequestStatus[], )
src/services/api/adminRequests.ts:71
↓ 1 callersFunctiongetNativeCSIuTerminalDisplayName
()
src/commands/terminalSetup/terminalSetup.tsx:47
↓ 1 callersFunctiongetNativeMessagingHostsDirs
* 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 callersFunctiongetNestedMemoryAttachments
* 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 callersMethodgetNewDiagnostics
* 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 callersFunctiongetNewRelativeAgentFilePath
(agent: { source: SettingSource | 'built-in' agentType: string })
src/components/agents/agentFileUtils.ts:121
← previousnext →5,701–5,800 of 11,484, ranked by callers