MCPcopy Create free account

hub / github.com/Austin1serb/Anthropic-Leaked-Source-Code / functions

Functions11,462 in github.com/Austin1serb/Anthropic-Leaked-Source-Code

↓ 5 callersFunctiondecisionReasonToString
( decisionReason: PermissionDecisionReason | undefined, )
components/permissions/hooks.ts:61
↓ 5 callersMethoddeleteFile
(filePath: string)
services/analytics/firstPartyEventLoggingExporter.ts:210
↓ 5 callersFunctiondetectAndGetBackend
()
utils/swarm/backends/registry.ts:136
↓ 5 callersMethoddidStopImmediatePropagation
()
ink/events/event.ts:4
↓ 5 callersFunctiondiffToolInputsOnly
(filePath: string, edits: FileEdit[])
components/FileEditToolDiff.tsx:161
↓ 5 callersMethoddisconnect
* Disconnect from the remote session
remote/RemoteSessionManager.ts:309
↓ 5 callersFunctionenablePluginOp
( plugin: string, scope?: InstallableScope, )
services/plugins/pluginOperations.ts:756
↓ 5 callersMethodendOfLine
()
utils/Cursor.ts:455
↓ 5 callersFunctionenqueueSdkEvent
(event: SdkEvent)
utils/sdkEventQueue.ts:77
↓ 5 callersFunctionenrichLogs
( allLogs: LogOption[], startIndex: number, count: number, )
utils/sessionStorage.ts:5077
↓ 5 callersFunctionescapeForDiff
(s: string)
utils/diff.ts:35
↓ 5 callersFunctionestimateMessageTokens
(messages: Message[])
services/compact/microCompact.ts:164
↓ 5 callersFunctionexecSync_DEPRECATED
( command: string, options?: ExecSyncOptions, )
utils/execSyncWrapper.ts:32
↓ 5 callersFunctionexecuteOperatorMotion
( op: Operator, motion: string, count: number, ctx: OperatorContext, )
vim/operators.ts:42
↓ 5 callersFunctionexecuteShellCommandsInPrompt
( text: string, context: ToolUseContext, slashCommandName: string, shell?: FrontmatterShell, )
utils/promptShellExecution.ts:69
↓ 5 callersFunctionextractConnectionErrorDetails
( error: unknown, )
services/api/errorUtils.ts:42
↓ 5 callersFunctionextractDiscoveredToolNames
(messages: Message[])
utils/toolSearch.ts:545
↓ 5 callersFunctionfilterMcpServersByPolicy
(configs: Record<string, T>)
services/mcp/config.ts:536
↓ 5 callersFunctionfilterModelOptionsByAllowlist
* Filter model options by the availableModels allowlist. * Always preserves the "Default" option (value: null).
utils/model/modelOptions.ts:531
↓ 5 callersFunctionfilterToolsByDenyRules
(tools: readonly T[], permissionContext: ToolPermissionContext)
tools.ts:262
↓ 5 callersFunctionfindProjectDir
( projectPath: string, )
utils/sessionStoragePortable.ts:354
↓ 5 callersFunctionfinishSelection
(s: SelectionState)
ink/selection.ts:116
↓ 5 callersFunctionfirstLineOf
(s: string)
utils/stringUtils.ts:44
↓ 5 callersFunctionflushContent
()
utils/bash/bashParser.ts:2347
↓ 5 callersFunctionfmtCoord
(c: [number, number] | undefined)
utils/computerUse/toolRendering.tsx:18
↓ 5 callersFunctionformatCell
(tokens: Token[] | undefined)
components/MarkdownTable.tsx:84
↓ 5 callersFunctionformatCommandInput
(command: CommandBase, args: string)
utils/processUserInput/processSlashCommand.tsx:778
↓ 5 callersFunctionformatDelay
(ms: number)
bridge/bridgeMain.ts:1619
↓ 5 callersFunctionformatPathList
(paths: string[])
components/permissions/shellPermissionHelpers.tsx:32
↓ 5 callersFunctionformatResetTime
( timestampInSeconds: number | undefined, showTimezone: boolean = false, showTime: boolean = true, )
utils/format.ts:238
↓ 5 callersFunctionformatSourceForDisplay
(source: MarketplaceSource)
utils/plugins/marketplaceHelpers.ts:510
↓ 5 callersFunctionformatUri
* 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 callersFunctionfullResetSequence_CAUSES_FLICKER
( frame: Frame, reason: FlickerReason, stylePool: StylePool, debug?: { triggerY: number; prevLine: str
ink/log-update.ts:503
↓ 5 callersMethodget
Recover styles from an encoded ID. Strips the bit-0 flag via >>> 1.
ink/screen.ts:144
↓ 5 callersFunctiongetAPIMetadata
()
services/api/claude.ts:503
↓ 5 callersFunctiongetAgentColor
(agentType: string)
tools/AgentTool/agentColorManager.ts:36
↓ 5 callersFunctiongetAllBaseTools
()
tools.ts:193
↓ 5 callersFunctiongetAllInProcessTeammateTasks
(tasks: Record<string, TaskStateBase>)
tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:113
↓ 5 callersFunctiongetAppState
()
utils/hooks/execAgentHook.ts:137
↓ 5 callersFunctiongetAssistantMessageText
(message: Message)
utils/messages.ts:2843
↓ 5 callersFunctiongetBaseRenderOptions
( exitOnCtrlC: boolean = false, )
utils/renderOptions.ts:68
↓ 5 callersFunctiongetCachedIdpIdToken
(idpIssuer: string)
services/mcp/xaaIdpLogin.ts:99
↓ 5 callersFunctiongetCachedOverageCreditGrant
()
services/api/overageCreditGrant.ts:48
↓ 5 callersFunctiongetCachedPowerShellPath
()
utils/shell/powershellDetection.ts:65
↓ 5 callersFunctiongetClaudeCodeMcpConfigs
( dynamicServers: Record<string, ScopedMcpServerConfig> = {}, extraDedupTargets: Promise< Record<strin
services/mcp/config.ts:1071
↓ 5 callersFunctiongetCliHighlightPromise
()
utils/cliHighlight.ts:38
↓ 5 callersFunctiongetCurrentInstallationType
()
utils/doctorDiagnostic.ts:86
↓ 5 callersFunctiongetDefaultOptionForUser
(fastMode = false)
utils/model/modelOptions.ts:45
↓ 5 callersFunctiongetEffortEnvOverride
()
utils/effort.ts:136
↓ 5 callersFunctiongetEmptyCache
()
utils/statsCache.ts:81
↓ 5 callersFunctiongetEnumValues
(schema: EnumSchema)
utils/mcp/elicitationValidation.ts:104
↓ 5 callersFunctiongetFastIconString
(applyColor = true, cooldown = false)
components/FastIcon.tsx:36
↓ 5 callersFunctiongetInlinePlugins
()
bootstrap/state.ts:1243
↓ 5 callersFunctiongetInstalledPluginsFilePath
()
utils/plugins/installedPluginsManager.ts:78
↓ 5 callersFunctiongetKeybindingsPath
()
keybindings/loadUserBindings.ts:115
↓ 5 callersFunctiongetLastInteractionTime
()
bootstrap/state.ts:783
↓ 5 callersFunctiongetLatestVersion
( channel: ReleaseChannel, )
utils/autoUpdater.ts:319
↓ 5 callersFunctiongetLockFilePathFromVersionPath
( dirs: ReturnType<typeof getBaseDirectories>, versionPath: string, )
utils/nativeInstaller/installer.ts:1033
↓ 5 callersFunctiongetLockPath
(dir?: string)
utils/cronTasksLock.ts:49
↓ 5 callersFunctiongetLspServerManager
()
services/lsp/manager.ts:63
↓ 5 callersFunctiongetMainLoopModelOverride
()
bootstrap/state.ts:838
↓ 5 callersFunctiongetMainThreadAgentType
()
bootstrap/state.ts:1623
↓ 5 callersFunctiongetModeConfig
(mode: PermissionMode)
utils/permissions/PermissionMode.ts:107
↓ 5 callersFunctiongetModelMaxOutputTokens
(model: string)
utils/context.ts:149
↓ 5 callersFunctiongetNextPermissionMode
( toolPermissionContext: ToolPermissionContext, _teamContext?: { leadAgentId: string }, )
utils/permissions/getNextPermissionMode.ts:34
↓ 5 callersFunctiongetPendingDir
* Get the pending directory for a team
utils/swarm/permissionSync.ts:119
↓ 5 callersFunctiongetPlanSlugCache
()
bootstrap/state.ts:1468
↓ 5 callersFunctiongetPluginDataDir
(pluginId: string)
utils/plugins/pluginDirectories.ts:119
↓ 5 callersFunctiongetPluginEditableScopes
()
utils/plugins/pluginStartupCheck.ts:96
↓ 5 callersFunctiongetPluginSeedDirs
()
utils/plugins/pluginDirectories.ts:85
↓ 5 callersFunctiongetProxyFetchOptions
(opts?: { forAnthropicAPI?: boolean })
utils/proxy.ts:288
↓ 5 callersFunctiongetRateLimitTier
()
utils/auth.ts:1702
↓ 5 callersFunctiongetRelativeSettingsFilePathForSource
( source: 'projectSettings' | 'localSettings', )
utils/settings/settings.ts:298
↓ 5 callersFunctiongetRemoteControlAtStartup
()
utils/config.ts:1094
↓ 5 callersFunctiongetRuleByContentsForToolName
( context: ToolPermissionContext, toolName: string, behavior: PermissionBehavior, )
utils/permissions/permissions.ts:362
↓ 5 callersFunctiongetRunningTeammatesSorted
(tasks: Record<string, TaskStateBase>)
tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:123
↓ 5 callersFunctiongetRuntimeMainLoopModel
(params: { permissionMode: PermissionMode mainLoopModel: string exceeds200kTokens?: boolean })
utils/model/model.ts:145
↓ 5 callersFunctiongetSSLErrorHint
(error: unknown)
services/api/errorUtils.ts:94
↓ 5 callersFunctiongetScratchpadDir
()
utils/permissions/filesystem.ts:384
↓ 5 callersFunctiongetSessionFilesLite
( projectDir: string, limit?: number, projectPath?: string, )
utils/sessionStorage.ts:4975
↓ 5 callersFunctiongetSessionProjectDir
()
bootstrap/state.ts:496
↓ 5 callersFunctiongetSettingsRootPathForSource
(source: SettingSource)
utils/settings/settings.ts:239
↓ 5 callersFunctiongetSettingsWithAllErrors
()
utils/settings/allErrors.ts:23
↓ 5 callersFunctiongetShellConfigPaths
( options?: ShellConfigOptions, )
utils/shellConfig.ts:26
↓ 5 callersFunctiongetStorageDir
()
services/analytics/firstPartyEventLoggingExporter.ts:44
↓ 5 callersFunctiongetTeamDir
(teamName: string)
utils/swarm/teamHelpers.ts:115
↓ 5 callersFunctiongetTerminalPlistPath
()
utils/appleTerminalBackup.ts:33
↓ 5 callersFunctiongetToolResultsDir
()
utils/toolResultStorage.ts:104
↓ 5 callersFunctiongetToolSearchOrReadInfo
( toolName: string, toolInput: unknown, tools: Tools, )
utils/collapseReadSearch.ts:143
↓ 5 callersFunctiongetTracerProvider
()
bootstrap/state.ts:1050
↓ 5 callersFunctiongetUsername
()
utils/secureStorage/macOsKeychainHelpers.ts:43
↓ 5 callersMethodgetViewportStartLine
(maxVisibleLines?: number)
utils/Cursor.ts:172
↓ 5 callersFunctiongetWorktreePaths
(cwd: string)
utils/getWorktreePaths.ts:18
↓ 5 callersMethodgetWrappedText
()
utils/Cursor.ts:1371
↓ 5 callersFunctionh
(text: string)
components/Stats.tsx:1098
↓ 5 callersMethodhandleConnectionError
* Handle connection errors with exponential backoff and time budget.
cli/transports/SSETransport.ts:470
↓ 5 callersMethodhandleError
(error: unknown)
utils/mcpWebSocketTransport.ts:117
↓ 5 callersFunctionhasAutoModeOptIn
()
utils/settings/settings.ts:896
↓ 5 callersFunctionhasClaudeAiBillingAccess
()
utils/billing.ts:53
↓ 5 callersFunctionhasExactErrorMessage
(error: unknown, message: string)
utils/errors.ts:103
← previousnext →1,001–1,100 of 11,462, ranked by callers