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
↓ 5 callers
Function
decisionReasonToString
( decisionReason: PermissionDecisionReason | undefined, )
components/permissions/hooks.ts:61
↓ 5 callers
Method
deleteFile
(filePath: string)
services/analytics/firstPartyEventLoggingExporter.ts:210
↓ 5 callers
Function
detectAndGetBackend
()
utils/swarm/backends/registry.ts:136
↓ 5 callers
Method
didStopImmediatePropagation
()
ink/events/event.ts:4
↓ 5 callers
Function
diffToolInputsOnly
(filePath: string, edits: FileEdit[])
components/FileEditToolDiff.tsx:161
↓ 5 callers
Method
disconnect
* Disconnect from the remote session
remote/RemoteSessionManager.ts:309
↓ 5 callers
Function
enablePluginOp
( plugin: string, scope?: InstallableScope, )
services/plugins/pluginOperations.ts:756
↓ 5 callers
Method
endOfLine
()
utils/Cursor.ts:455
↓ 5 callers
Function
enqueueSdkEvent
(event: SdkEvent)
utils/sdkEventQueue.ts:77
↓ 5 callers
Function
enrichLogs
( allLogs: LogOption[], startIndex: number, count: number, )
utils/sessionStorage.ts:5077
↓ 5 callers
Function
escapeForDiff
(s: string)
utils/diff.ts:35
↓ 5 callers
Function
estimateMessageTokens
(messages: Message[])
services/compact/microCompact.ts:164
↓ 5 callers
Function
execSync_DEPRECATED
( command: string, options?: ExecSyncOptions, )
utils/execSyncWrapper.ts:32
↓ 5 callers
Function
executeOperatorMotion
( op: Operator, motion: string, count: number, ctx: OperatorContext, )
vim/operators.ts:42
↓ 5 callers
Function
executeShellCommandsInPrompt
( text: string, context: ToolUseContext, slashCommandName: string, shell?: FrontmatterShell, )
utils/promptShellExecution.ts:69
↓ 5 callers
Function
extractConnectionErrorDetails
( error: unknown, )
services/api/errorUtils.ts:42
↓ 5 callers
Function
extractDiscoveredToolNames
(messages: Message[])
utils/toolSearch.ts:545
↓ 5 callers
Function
filterMcpServersByPolicy
(configs: Record<string, T>)
services/mcp/config.ts:536
↓ 5 callers
Function
filterModelOptionsByAllowlist
* Filter model options by the availableModels allowlist. * Always preserves the "Default" option (value: null).
utils/model/modelOptions.ts:531
↓ 5 callers
Function
filterToolsByDenyRules
(tools: readonly T[], permissionContext: ToolPermissionContext)
tools.ts:262
↓ 5 callers
Function
findProjectDir
( projectPath: string, )
utils/sessionStoragePortable.ts:354
↓ 5 callers
Function
finishSelection
(s: SelectionState)
ink/selection.ts:116
↓ 5 callers
Function
firstLineOf
(s: string)
utils/stringUtils.ts:44
↓ 5 callers
Function
flushContent
()
utils/bash/bashParser.ts:2347
↓ 5 callers
Function
fmtCoord
(c: [number, number] | undefined)
utils/computerUse/toolRendering.tsx:18
↓ 5 callers
Function
formatCell
(tokens: Token[] | undefined)
components/MarkdownTable.tsx:84
↓ 5 callers
Function
formatCommandInput
(command: CommandBase, args: string)
utils/processUserInput/processSlashCommand.tsx:778
↓ 5 callers
Function
formatDelay
(ms: number)
bridge/bridgeMain.ts:1619
↓ 5 callers
Function
formatPathList
(paths: string[])
components/permissions/shellPermissionHelpers.tsx:32
↓ 5 callers
Function
formatResetTime
( timestampInSeconds: number | undefined, showTimezone: boolean = false, showTime: boolean = true, )
utils/format.ts:238
↓ 5 callers
Function
formatSourceForDisplay
(source: MarketplaceSource)
utils/plugins/marketplaceHelpers.ts:510
↓ 5 callers
Function
formatUri
* Formats a URI by converting it to a relative path if possible. * Handles URI decoding and gracefully falls back to un-decoded path if malformed. *
tools/LSPTool/formatters.ts:24
↓ 5 callers
Function
fullResetSequence_CAUSES_FLICKER
( frame: Frame, reason: FlickerReason, stylePool: StylePool, debug?: { triggerY: number; prevLine: str
ink/log-update.ts:503
↓ 5 callers
Method
get
Recover styles from an encoded ID. Strips the bit-0 flag via >>> 1.
ink/screen.ts:144
↓ 5 callers
Function
getAPIMetadata
()
services/api/claude.ts:503
↓ 5 callers
Function
getAgentColor
(agentType: string)
tools/AgentTool/agentColorManager.ts:36
↓ 5 callers
Function
getAllBaseTools
()
tools.ts:193
↓ 5 callers
Function
getAllInProcessTeammateTasks
(tasks: Record<string, TaskStateBase>)
tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:113
↓ 5 callers
Function
getAppState
()
utils/hooks/execAgentHook.ts:137
↓ 5 callers
Function
getAssistantMessageText
(message: Message)
utils/messages.ts:2843
↓ 5 callers
Function
getBaseRenderOptions
( exitOnCtrlC: boolean = false, )
utils/renderOptions.ts:68
↓ 5 callers
Function
getCachedIdpIdToken
(idpIssuer: string)
services/mcp/xaaIdpLogin.ts:99
↓ 5 callers
Function
getCachedOverageCreditGrant
()
services/api/overageCreditGrant.ts:48
↓ 5 callers
Function
getCachedPowerShellPath
()
utils/shell/powershellDetection.ts:65
↓ 5 callers
Function
getClaudeCodeMcpConfigs
( dynamicServers: Record<string, ScopedMcpServerConfig> = {}, extraDedupTargets: Promise< Record<strin
services/mcp/config.ts:1071
↓ 5 callers
Function
getCliHighlightPromise
()
utils/cliHighlight.ts:38
↓ 5 callers
Function
getCurrentInstallationType
()
utils/doctorDiagnostic.ts:86
↓ 5 callers
Function
getDefaultOptionForUser
(fastMode = false)
utils/model/modelOptions.ts:45
↓ 5 callers
Function
getEffortEnvOverride
()
utils/effort.ts:136
↓ 5 callers
Function
getEmptyCache
()
utils/statsCache.ts:81
↓ 5 callers
Function
getEnumValues
(schema: EnumSchema)
utils/mcp/elicitationValidation.ts:104
↓ 5 callers
Function
getFastIconString
(applyColor = true, cooldown = false)
components/FastIcon.tsx:36
↓ 5 callers
Function
getInlinePlugins
()
bootstrap/state.ts:1243
↓ 5 callers
Function
getInstalledPluginsFilePath
()
utils/plugins/installedPluginsManager.ts:78
↓ 5 callers
Function
getKeybindingsPath
()
keybindings/loadUserBindings.ts:115
↓ 5 callers
Function
getLastInteractionTime
()
bootstrap/state.ts:783
↓ 5 callers
Function
getLatestVersion
( channel: ReleaseChannel, )
utils/autoUpdater.ts:319
↓ 5 callers
Function
getLockFilePathFromVersionPath
( dirs: ReturnType<typeof getBaseDirectories>, versionPath: string, )
utils/nativeInstaller/installer.ts:1033
↓ 5 callers
Function
getLockPath
(dir?: string)
utils/cronTasksLock.ts:49
↓ 5 callers
Function
getLspServerManager
()
services/lsp/manager.ts:63
↓ 5 callers
Function
getMainLoopModelOverride
()
bootstrap/state.ts:838
↓ 5 callers
Function
getMainThreadAgentType
()
bootstrap/state.ts:1623
↓ 5 callers
Function
getModeConfig
(mode: PermissionMode)
utils/permissions/PermissionMode.ts:107
↓ 5 callers
Function
getModelMaxOutputTokens
(model: string)
utils/context.ts:149
↓ 5 callers
Function
getNextPermissionMode
( toolPermissionContext: ToolPermissionContext, _teamContext?: { leadAgentId: string }, )
utils/permissions/getNextPermissionMode.ts:34
↓ 5 callers
Function
getPendingDir
* Get the pending directory for a team
utils/swarm/permissionSync.ts:119
↓ 5 callers
Function
getPlanSlugCache
()
bootstrap/state.ts:1468
↓ 5 callers
Function
getPluginDataDir
(pluginId: string)
utils/plugins/pluginDirectories.ts:119
↓ 5 callers
Function
getPluginEditableScopes
()
utils/plugins/pluginStartupCheck.ts:96
↓ 5 callers
Function
getPluginSeedDirs
()
utils/plugins/pluginDirectories.ts:85
↓ 5 callers
Function
getProxyFetchOptions
(opts?: { forAnthropicAPI?: boolean })
utils/proxy.ts:288
↓ 5 callers
Function
getRateLimitTier
()
utils/auth.ts:1702
↓ 5 callers
Function
getRelativeSettingsFilePathForSource
( source: 'projectSettings' | 'localSettings', )
utils/settings/settings.ts:298
↓ 5 callers
Function
getRemoteControlAtStartup
()
utils/config.ts:1094
↓ 5 callers
Function
getRuleByContentsForToolName
( context: ToolPermissionContext, toolName: string, behavior: PermissionBehavior, )
utils/permissions/permissions.ts:362
↓ 5 callers
Function
getRunningTeammatesSorted
(tasks: Record<string, TaskStateBase>)
tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:123
↓ 5 callers
Function
getRuntimeMainLoopModel
(params: { permissionMode: PermissionMode mainLoopModel: string exceeds200kTokens?: boolean })
utils/model/model.ts:145
↓ 5 callers
Function
getSSLErrorHint
(error: unknown)
services/api/errorUtils.ts:94
↓ 5 callers
Function
getScratchpadDir
()
utils/permissions/filesystem.ts:384
↓ 5 callers
Function
getSessionFilesLite
( projectDir: string, limit?: number, projectPath?: string, )
utils/sessionStorage.ts:4975
↓ 5 callers
Function
getSessionProjectDir
()
bootstrap/state.ts:496
↓ 5 callers
Function
getSettingsRootPathForSource
(source: SettingSource)
utils/settings/settings.ts:239
↓ 5 callers
Function
getSettingsWithAllErrors
()
utils/settings/allErrors.ts:23
↓ 5 callers
Function
getShellConfigPaths
( options?: ShellConfigOptions, )
utils/shellConfig.ts:26
↓ 5 callers
Function
getStorageDir
()
services/analytics/firstPartyEventLoggingExporter.ts:44
↓ 5 callers
Function
getTeamDir
(teamName: string)
utils/swarm/teamHelpers.ts:115
↓ 5 callers
Function
getTerminalPlistPath
()
utils/appleTerminalBackup.ts:33
↓ 5 callers
Function
getToolResultsDir
()
utils/toolResultStorage.ts:104
↓ 5 callers
Function
getToolSearchOrReadInfo
( toolName: string, toolInput: unknown, tools: Tools, )
utils/collapseReadSearch.ts:143
↓ 5 callers
Function
getTracerProvider
()
bootstrap/state.ts:1050
↓ 5 callers
Function
getUsername
()
utils/secureStorage/macOsKeychainHelpers.ts:43
↓ 5 callers
Method
getViewportStartLine
(maxVisibleLines?: number)
utils/Cursor.ts:172
↓ 5 callers
Function
getWorktreePaths
(cwd: string)
utils/getWorktreePaths.ts:18
↓ 5 callers
Method
getWrappedText
()
utils/Cursor.ts:1371
↓ 5 callers
Function
h
(text: string)
components/Stats.tsx:1098
↓ 5 callers
Method
handleConnectionError
* Handle connection errors with exponential backoff and time budget.
cli/transports/SSETransport.ts:470
↓ 5 callers
Method
handleError
(error: unknown)
utils/mcpWebSocketTransport.ts:117
↓ 5 callers
Function
hasAutoModeOptIn
()
utils/settings/settings.ts:896
↓ 5 callers
Function
hasClaudeAiBillingAccess
()
utils/billing.ts:53
↓ 5 callers
Function
hasExactErrorMessage
(error: unknown, message: string)
utils/errors.ts:103
← previous
next →
1,001–1,100 of 11,462, ranked by callers