Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Austin1serb/Anthropic-Leaked-Source-Code
/ functions
Functions
11,462 in github.com/Austin1serb/Anthropic-Leaked-Source-Code
⨍
Functions
11,462
◇
Types & classes
340
↓ 3 callers
Function
formatTotalCost
()
cost-tracker.ts:228
↓ 3 callers
Function
formatWelcomeMessage
(username: string | null)
utils/logoV2Utils.ts:97
↓ 3 callers
Function
formatZodErrors
* Format Zod validation errors into a readable format
utils/plugins/validatePlugin.ts:75
↓ 3 callers
Function
gateChannelServer
( serverName: string, capabilities: ServerCapabilities | undefined, pluginSource: string | undefined, )
services/mcp/channelNotification.ts:191
↓ 3 callers
Function
generatePreview
( content: string, maxBytes: number, )
utils/toolResultStorage.ts:339
↓ 3 callers
Function
generateRequestId
( requestType: string, agentId: string, )
utils/agentId.ts:62
↓ 3 callers
Function
generateTempFilePath
( prefix: string = 'claude-prompt', extension: string = '.md', options?: { contentHash?: string }, )
utils/tempfile.ts:19
↓ 3 callers
Function
generateUniqueTeammateName
( baseName: string, teamName: string | undefined, )
tools/shared/spawnMultiAgent.ts:267
↓ 3 callers
Function
getAccountInformation
()
utils/auth.ts:1863
↓ 3 callers
Function
getActualAgentFilePath
(agent: AgentDefinition)
components/agents/agentFileUtils.ts:104
↓ 3 callers
Function
getAdvisorConfig
()
utils/advisor.ts:53
↓ 3 callers
Function
getAgentDescriptionsTotalTokens
( agentDefinitions?: AgentDefinitionsResult, )
utils/statusNoticeHelpers.ts:9
↓ 3 callers
Function
getAgentListingDeltaAttachment
( toolUseContext: ToolUseContext, messages: Message[] | undefined, )
utils/attachments.ts:1490
↓ 3 callers
Function
getAgentModel
( agentModel: string | undefined, parentModel: string, toolSpecifiedModel?: ModelAlias, permissionMode
utils/model/agent.ts:37
↓ 3 callers
Function
getAgentSourceDisplayName
( source: SettingSource | 'all' | 'built-in' | 'plugin', )
components/agents/utils.ts:5
↓ 3 callers
Function
getAllCommandNames
(parsed: ParsedPowerShellCommand)
utils/powershell/parser.ts:1467
↓ 3 callers
Function
getAnthropicEnvMetadata
()
services/api/logging.ts:141
↓ 3 callers
Function
getApiKeyFromApiKeyHelper
( isNonInteractiveSession: boolean, )
utils/auth.ts:469
↓ 3 callers
Function
getAssistantMessageFromError
( error: unknown, model: string, options?: { messages?: Message[] messagesForAPI?: (UserMessage
services/api/errors.ts:425
↓ 3 callers
Function
getAttachmentMessages
( input: string | null, toolUseContext: ToolUseContext, ideSelection: IDESelection | null, queuedComma
utils/attachments.ts:2937
↓ 3 callers
Function
getAttributionTexts
()
utils/attribution.ts:52
↓ 3 callers
Function
getAuthHeaders
()
utils/http.ts:69
↓ 3 callers
Function
getAuthHeaders
()
services/teamMemorySync/index.ts:169
↓ 3 callers
Function
getAutoModeConfig
()
utils/settings/settings.ts:936
↓ 3 callers
Function
getAutoToolSearchPercentage
* Get the auto-enable percentage from env var or default.
utils/toolSearch.ts:83
↓ 3 callers
Function
getBackend
* Gets the appropriate backend for the current environment. * detectAndGetBackend() caches internally — no need for a second cache here.
utils/swarm/teammateLayoutManager.ts:14
↓ 3 callers
Function
getBackupFileNameFirstVersion
* Gets the first (earliest) backup version for a file, used when rewinding * to a target backup point where the file has not been tracked yet. * *
utils/fileHistory.ts:847
↓ 3 callers
Function
getBedrockRegionPrefix
( modelId: string, )
utils/model/bedrock.ts:222
↓ 3 callers
Function
getBinaryName
(platform: string)
utils/nativeInstaller/installer.ts:111
↓ 3 callers
Function
getBridgeDisabledReason
()
bridge/bridgeEnabled.ts:70
↓ 3 callers
Function
getBridgePointerPath
(dir: string)
bridge/bridgePointer.ts:52
↓ 3 callers
Function
getBridgeTokenOverride
()
bridge/bridgeConfig.ts:18
↓ 3 callers
Function
getBuiltInAgents
()
tools/AgentTool/builtInAgents.ts:22
↓ 3 callers
Function
getChangelogCachePath
* Get the path for the cached changelog file. * The changelog is stored at ~/.claude/cache/changelog.md
utils/releaseNotes.ts:37
↓ 3 callers
Function
getChicagoCoordinateMode
()
utils/computerUse/gates.ts:69
↓ 3 callers
Function
getClaudeAiUserDefaultModelDescription
( fastMode = false, )
utils/model/model.ts:286
↓ 3 callers
Function
getClientType
()
bootstrap/state.ts:1069
↓ 3 callers
Function
getCodeWebUrl
()
commands/remote-setup/api.ts:180
↓ 3 callers
Function
getCommand
(commandName: string, commands: Command[])
commands.ts:704
↓ 3 callers
Function
getCommandDescription
(cmd: Command)
tools/SkillTool/prompt.ts:43
↓ 3 callers
Function
getCommandTypeForLogging
(command: string)
tools/BashTool/BashTool.tsx:266
↓ 3 callers
Function
getCompactUserSummaryMessage
( summary: string, suppressFollowUpQuestions?: boolean, transcriptPath?: string, recentMessagesPreserv
services/compact/prompt.ts:337
↓ 3 callers
Method
getCompletedResults
* Get any completed results that haven't been yielded yet (non-blocking) * Maintains order where necessary * Also yields any pending progress me
services/tools/StreamingToolExecutor.ts:412
↓ 3 callers
Function
getComputerUseHostAdapter
()
utils/computerUse/hostAdapter.ts:38
↓ 3 callers
Function
getConfigBackupDir
* Returns the directory where config backup files are stored. * Uses ~/.claude/backups/ to keep the home directory clean.
utils/config.ts:1362
↓ 3 callers
Function
getConfigFile
(shellPath: string)
utils/bash/ShellSnapshot.ts:181
↓ 3 callers
Function
getConfiguredAwsAuthRefresh
* Get the configured awsAuthRefresh from settings
utils/auth.ts:383
↓ 3 callers
Function
getConfiguredAwsCredentialExport
* Get the configured awsCredentialExport from settings
utils/auth.ts:408
↓ 3 callers
Function
getConfiguredGcpAuthRefresh
* Get the configured gcpAuthRefresh from settings
utils/auth.ts:816
↓ 3 callers
Function
getContentSizeEstimate
(content: MCPToolResult)
utils/mcpValidation.ts:59
↓ 3 callers
Method
getCurrentBatchFilePath
()
services/analytics/firstPartyEventLoggingExporter.ts:148
↓ 3 callers
Method
getCurrentWindowTarget
* Gets the leader's window target (session:window format). * Uses the leader's pane ID to query for its window, ensuring we get the * correct wi
utils/swarm/backends/TmuxBackend.ts:400
↓ 3 callers
Function
getDefaultApiBaseUrl
()
services/api/filesApi.ts:32
↓ 3 callers
Function
getDefaultAppState
()
state/AppStateStore.ts:456
↓ 3 callers
Function
getDefaultEffortForModel
( model: string, )
utils/effort.ts:279
↓ 3 callers
Function
getDefaultEffortLevelForOption
(value?: string)
components/ModelPicker.tsx:443
↓ 3 callers
Function
getDefaultExternalAutoModeRules
()
utils/permissions/yoloClassifier.ts:100
↓ 3 callers
Function
getDefaultParsedBindings
* Parse default bindings (cached for performance).
keybindings/loadUserBindings.ts:122
↓ 3 callers
Function
getDefaultTimeoutMs
()
tools/PowerShellTool/prompt.ts:18
↓ 3 callers
Function
getDefaultTimeoutMs
()
tools/BashTool/prompt.ts:27
↓ 3 callers
Function
getDefaultVertexRegion
()
utils/envUtils.ts:103
↓ 3 callers
Function
getDeferredToolsDeltaAttachment
( tools: Tools, model: string, messages: Message[] | undefined, scanContext?: DeferredToolsDeltaScanCo
utils/attachments.ts:1455
↓ 3 callers
Function
getDenyRuleForTool
( context: ToolPermissionContext, tool: Pick<Tool, 'name' | 'mcpInfo'>, )
utils/permissions/permissions.ts:287
↓ 3 callers
Function
getEffectiveWidth
(start: number, end: number)
utils/horizontalScroll.ts:71
↓ 3 callers
Function
getEffortSuffix
( model: string, effortValue: EffortValue | undefined, )
utils/effort.ts:188
↓ 3 callers
Function
getEnterpriseMcpFilePath
()
services/mcp/config.ts:62
↓ 3 callers
Function
getEnvLessBridgeConfig
()
bridge/envLessBridgeConfig.ts:130
↓ 3 callers
Function
getExternalClaudeMdIncludes
( files: MemoryFileInfo[], )
utils/claudemd.ts:1404
↓ 3 callers
Function
getExtraMarketplaceSourceInfo
* Determine which settings sources define an extraKnownMarketplace entry. * Returns the editable sources (user/project/local) and whether policy also
commands/plugin/PluginSettings.tsx:113
↓ 3 callers
Function
getFastModeModel
()
utils/fastMode.ts:145
↓ 3 callers
Function
getFeedTitle
(amount: string)
components/LogoV2/OverageCreditUpsell.tsx:78
↓ 3 callers
Function
getFileIndex
()
hooks/fileSuggestions.ts:36
↓ 3 callers
Function
getFileModificationTimeAsync
( filePath: string, )
utils/file.ts:77
↓ 3 callers
Function
getFileReadIgnorePatterns
( toolPermissionContext: ToolPermissionContext, )
utils/permissions/filesystem.ts:837
↓ 3 callers
Function
getFileRedirections
( parsed: ParsedPowerShellCommand, )
utils/powershell/parser.ts:1713
↓ 3 callers
Function
getFirstMeaningfulUserMessageTextContent
( transcript: T[], )
utils/sessionStorage.ts:1746
↓ 3 callers
Function
getFlagSettingsInline
()
bootstrap/state.ts:1140
↓ 3 callers
Function
getFlaggedPlugins
()
utils/plugins/pluginFlagging.ts:142
↓ 3 callers
Method
getFsWriteConfig
()
utils/sandbox/sandbox-adapter.ts:898
↓ 3 callers
Function
getHaiku45Option
()
utils/model/modelOptions.ts:181
↓ 3 callers
Function
getHardcodedTeammateModelFallback
()
utils/swarm/teammateModel.ts:8
↓ 3 callers
Function
getHostPlatformForAnalytics
()
utils/env.ts:341
↓ 3 callers
Function
getImageFromClipboard
()
utils/imagePaste.ts:124
↓ 3 callers
Function
getImageTooLargeErrorMessage
()
services/api/errors.ts:186
↓ 3 callers
Function
getInitialMainLoopModel
()
bootstrap/state.ts:842
↓ 3 callers
Function
getInitializationStatus
()
services/lsp/manager.ts:76
↓ 3 callers
Function
getInstallCounts
()
utils/plugins/installCounts.ts:225
↓ 3 callers
Function
getIsClean
(options?: { ignoreUntracked?: boolean })
utils/git.ts:356
↓ 3 callers
Function
getIsScrollDraining
()
bootstrap/state.ts:811
↓ 3 callers
Function
getLastApiCompletionTimestamp
()
bootstrap/state.ts:761
↓ 3 callers
Function
getLastCacheSafeParams
()
utils/forkedAgent.ts:79
↓ 3 callers
Function
getLastToolUseName
(message: MessageType)
tools/AgentTool/agentToolUtils.ts:363
↓ 3 callers
Function
getLatestVersionFromGcs
( channel: ReleaseChannel, )
utils/autoUpdater.ts:384
↓ 3 callers
Function
getLeaderToolUseConfirmQueue
()
utils/swarm/leaderPermissionBridge.ts:34
↓ 3 callers
Function
getLogWriter
(path: string)
utils/errorLogSink.ts:85
↓ 3 callers
Function
getLoggerProvider
()
bootstrap/state.ts:1025
↓ 3 callers
Method
getLogicalLineBounds
()
utils/Cursor.ts:474
↓ 3 callers
Function
getManagedSettingsFilePath
* Get the path to the managed settings file based on the current platform
utils/settings/settings.ts:58
↓ 3 callers
Function
getMarketplaceCacheOnly
( name: string, )
utils/plugins/marketplaceManager.ts:2081
↓ 3 callers
Function
getMarketplaceSourceDisplay
(source: MarketplaceSource)
utils/plugins/marketplaceHelpers.ts:38
← previous
next →
1,901–2,000 of 11,462, ranked by callers