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
↓ 4 callers
Function
getPatchForEdits
({ filePath, fileContents, edits, }: { filePath: string fileContents: string edits: FileEdit[] })
tools/FileEditTool/utils.ts:262
↓ 4 callers
Function
getPermissionRulesForSource
( source: SettingSource, )
utils/permissions/permissionsLoader.ts:140
↓ 4 callers
Function
getQuerySourceForREPL
()
utils/promptCategory.ts:36
↓ 4 callers
Function
getScheduledTasksEnabled
()
bootstrap/state.ts:1276
↓ 4 callers
Function
getScopeLabel
(scope_8: string)
commands/plugin/ManagePlugins.tsx:2158
↓ 4 callers
Function
getSearchOrReadFromContent
( content: { type: string; name?: string; input?: unknown } | undefined, tools: Tools, )
utils/collapseReadSearch.ts:244
↓ 4 callers
Function
getServerForFile
* Get the LSP server instance for a given file path. * If multiple servers handle the same extension, returns the first registered server. * Ret
services/lsp/LSPServerManager.ts:192
↓ 4 callers
Function
getSettingSourceName
(source: SettingSource)
utils/settings/constants.ts:26
↓ 4 callers
Function
getSettingsPath
()
services/remoteManagedSettings/syncCacheState.ts:51
↓ 4 callers
Function
getSettingsWithErrors
()
utils/settings/settings.ts:856
↓ 4 callers
Function
getSocketDir
()
utils/claudeInChrome/common.ts:474
↓ 4 callers
Function
getSpinnerVerbs
()
constants/spinnerVerbs.ts:3
↓ 4 callers
Method
getStateLabel
()
cli/transports/WebSocketTransport.ts:656
↓ 4 callers
Function
getStatsStore
()
bootstrap/state.ts:641
↓ 4 callers
Function
getStoragePath
()
utils/secureStorage/plainTextStorage.ts:13
↓ 4 callers
Function
getSystemThemeName
()
utils/systemTheme.ts:24
↓ 4 callers
Function
getTaskOutputData
(task: TaskState)
tools/TaskOutputTool/TaskOutputTool.tsx:60
↓ 4 callers
Function
getTaskOutputDir
()
utils/task/diskOutput.ts:50
↓ 4 callers
Function
getTeamsDir
()
utils/envUtils.ts:16
↓ 4 callers
Function
getTerminalIdeType
()
utils/ide.ts:287
↓ 4 callers
Function
getTokenCountFromUsage
(usage: Usage)
utils/tokens.ts:46
↓ 4 callers
Function
getTokenCounter
()
bootstrap/state.ts:1013
↓ 4 callers
Function
getToolUseIdsFromCollapsedGroup
( message: CollapsedReadSearchGroup, )
utils/collapseReadSearch.ts:473
↓ 4 callers
Function
getTotalLinesAdded
()
bootstrap/state.ts:696
↓ 4 callers
Function
getTotalLinesRemoved
()
bootstrap/state.ts:700
↓ 4 callers
Function
getTrackingKey
* Returns the tracking key for a querySource, or null if untracked. * Compact shares the same server-side cache as repl_main_thread * (same cacheSaf
services/api/promptCacheBreakDetection.ts:149
↓ 4 callers
Function
getTurnOutputTokens
()
bootstrap/state.ts:726
↓ 4 callers
Function
getUserMessageText
( message: Message | NormalizedMessage, )
utils/messages.ts:2861
↓ 4 callers
Function
getUsername
()
utils/claudeInChrome/common.ts:534
↓ 4 callers
Function
getVersionedZipCachePath
( pluginId: string, version: string, )
utils/plugins/pluginLoader.ts:183
↓ 4 callers
Function
getVisibleAgentTasks
(tasks: AppState['tasks'])
components/CoordinatorAgentStatus.tsx:31
↓ 4 callers
Function
goBackToList
()
components/teams/TeamsDialog.tsx:87
↓ 4 callers
Function
handleFileDescriptorRedirection
( fd: string, operator: '>' | '>>', target: ParseEntry | undefined, redirections: Array<{ target: stri
utils/bash/commands.ts:1093
↓ 4 callers
Function
handleMarketplaceError
(error: unknown, action: string)
cli/handlers/plugins.ts:68
↓ 4 callers
Function
handleOAuth401Error
( failedAccessToken: string, )
utils/auth.ts:1360
↓ 4 callers
Function
handlePlanModeTransition
( fromMode: string, toMode: string, )
bootstrap/state.ts:1349
↓ 4 callers
Function
handleReject
( params: PermissionHandlerParams, options?: PermissionHandlerOptions, )
components/permissions/FilePermissionDialog/usePermissionHandler.ts:141
↓ 4 callers
Function
handleSelect
(message_0: UserMessage)
components/MessageSelector.tsx:155
↓ 4 callers
Function
handleTabChange
components/design-system/Tabs.tsx:125
↓ 4 callers
Function
hasAnyDefinedEdge
(edges: Value[])
native-ts/yoga-layout/index.ts:260
↓ 4 callers
Function
hasCommand
(commandName: string, commands: Command[])
commands.ts:700
↓ 4 callers
Function
hasComplexColonValue
* Returns true if a colon-syntax value contains expression constructs that * mask the real runtime path (arrays, subexpressions, variables, backtick
tools/PowerShellTool/pathValidation.ts:793
↓ 4 callers
Function
hasNodeOption
(flag: string)
utils/envUtils.ts:24
↓ 4 callers
Function
hasPrefix
( src: Buffer, prefix: Buffer, at: number, end: number, )
utils/sessionStoragePortable.ts:539
↓ 4 callers
Function
hookDedupKey
* Build a dedup key for a matched hook, namespaced by source context. * * Settings-file hooks (no pluginRoot/skillRoot) share the '' prefix so the
utils/hooks.ts:1453
↓ 4 callers
Function
initTaskOutputAsSymlink
( taskId: string, targetPath: string, )
utils/task/diskOutput.ts:427
↓ 4 callers
Function
installOAuthTokens
(tokens: OAuthTokens)
cli/handlers/auth.ts:50
↓ 4 callers
Method
intern
* Intern a style and return its ID. Bit 0 of the ID encodes whether the * style has a visible effect on space characters (background, inverse, *
ink/screen.ts:129
↓ 4 callers
Function
intersperse
(as: A[], separator: (index: number) => A)
utils/array.ts:1
↓ 4 callers
Function
is1PApiCustomer
()
utils/auth.ts:1586
↓ 4 callers
Function
isAnalyticsDisabled
()
services/analytics/config.ts:19
↓ 4 callers
Function
isArithStop
(P: ParseState, stop: string)
utils/bash/bashParser.ts:4426
↓ 4 callers
Function
isBilledAsExtraUsage
( model: string | null, isFastMode: boolean, isOpus1mMerged: boolean, )
utils/extraUsage.ts:4
↓ 4 callers
Function
isBridgeEnabled
()
bridge/bridgeEnabled.ts:28
↓ 4 callers
Function
isBypassPermissionsModeDisabled
()
utils/permissions/permissionSetup.ts:1371
↓ 4 callers
Function
isChannelsEnabled
()
services/mcp/channelAllowlist.ts:51
↓ 4 callers
Method
isConnectedStatus
()
cli/transports/SSETransport.ts:659
↓ 4 callers
Function
isCustomTitleEnabled
()
utils/sessionStorage.ts:427
↓ 4 callers
Function
isDangerousRemovalPath
(resolvedPath: string)
utils/permissions/pathValidation.ts:331
↓ 4 callers
Function
isDateTimeSchema
( schema: PrimitiveSchemaDefinition, )
utils/mcp/elicitationValidation.ts:293
↓ 4 callers
Function
isDistroFamily
( osRelease: { id: string; idLike: string[] }, families: string[], )
utils/nativeInstaller/packageManagers.ts:45
↓ 4 callers
Function
isExpiredErrorType
(errorType: string | undefined)
bridge/bridgeApi.ts:503
↓ 4 callers
Function
isGitInternalPathPS
(arg: string)
tools/PowerShellTool/gitSafety.ts:139
↓ 4 callers
Function
isInsideTmuxSync
()
utils/swarm/backends/detection.ts:36
↓ 4 callers
Function
isLocalAgent
(task: unknown)
state/teammateViewHelpers.ts:14
↓ 4 callers
Function
isLockActive
(lockFilePath: string)
utils/nativeInstaller/pidLock.ts:164
↓ 4 callers
Function
isManagedOAuthContext
* CCR and Claude Desktop spawn the CLI with OAuth and should never fall back * to the user's ~/.claude/settings.json API-key config (apiKeyHelper, *
utils/auth.ts:91
↓ 4 callers
Function
isMcpInstructionsDeltaEnabled
()
utils/mcpInstructionsDelta.ts:37
↓ 4 callers
Function
isMedia
( block: BetaContentBlockParam, )
services/api/claude.ts:940
↓ 4 callers
Function
isModelAllowed
(model: string)
utils/model/modelAllowlist.ts:100
↓ 4 callers
Function
isNullRedirectionTarget
(target: string)
utils/powershell/parser.ts:1703
↓ 4 callers
Function
isPDFExtension
(ext: string)
utils/pdfUtils.ts:67
↓ 4 callers
Function
isPaneBackend
(type: BackendType)
utils/swarm/backends/types.ts:309
↓ 4 callers
Function
isPathMetadata
(metadata: unknown)
hooks/useTypeahead.tsx:45
↓ 4 callers
Function
isPermissionResponse
( messageText: string, )
utils/teammateMailbox.ts:558
↓ 4 callers
Function
isPersistentRetryEnabled
()
services/api/withRetry.ts:100
↓ 4 callers
Function
isPlanApprovalRequest
( messageText: string, )
utils/teammateMailbox.ts:885
↓ 4 callers
Function
isPluginGloballyInstalled
(pluginId: string)
utils/plugins/installedPluginsManager.ts:849
↓ 4 callers
Function
isProcessRunning
(pid: number)
utils/nativeInstaller/pidLock.ts:82
↓ 4 callers
Function
isReplModeEnabled
()
tools/REPLTool/constants.ts:23
↓ 4 callers
Function
isSafeRefName
(name: string)
utils/git/gitFilesystem.ts:98
↓ 4 callers
Function
isShutdownRequest
( messageText: string, )
utils/teammateMailbox.ts:868
↓ 4 callers
Function
isSinkKilled
(sink: SinkName)
services/analytics/sinkKillswitch.ts:18
↓ 4 callers
Function
isSourceAllowedByPolicy
(source: MarketplaceSource)
utils/plugins/marketplaceHelpers.ts:480
↓ 4 callers
Method
isSupportedPlatform
()
utils/sandbox/sandbox-adapter.ts:882
↓ 4 callers
Function
isSyntheticMessage
(message: Message)
utils/messages.ts:310
↓ 4 callers
Function
isTeamPremiumSubscriber
()
utils/auth.ts:1687
↓ 4 callers
Function
isToolSearchEnabled
( model: string, tools: Tools, getToolPermissionContext: () => Promise<ToolPermissionContext>, agents:
utils/toolSearch.ts:385
↓ 4 callers
Function
isToolSearchOrRead
* Checks if a tool is a search/read operation (for backwards compatibility).
utils/collapseReadSearch.ts:278
↓ 4 callers
Function
isToolSearchToolAvailable
( tools: readonly { name: string }[], )
utils/toolSearch.ts:330
↓ 4 callers
Function
isUsing3PServices
()
utils/auth.ts:1732
↓ 4 callers
Function
isVSCodeIde
(ide: IdeType | null)
utils/ide.ts:259
↓ 4 callers
Function
isVoiceModeEnabled
()
voice/voiceModeEnabled.ts:52
↓ 4 callers
Function
isWorktreeModeEnabled
()
utils/worktreeModeEnabled.ts:9
↓ 4 callers
Method
kill
* Force kills an in-process teammate immediately. * * Uses the teammate's AbortController to cancel all async operations * and updates the ta
utils/swarm/backends/InProcessBackend.ts:261
↓ 4 callers
Function
killTask
(taskId: string, setAppState: SetAppStateFn)
tasks/LocalShellTask/killShellTasks.ts:16
↓ 4 callers
Function
lineBackground
(marker: Marker, theme: Theme)
native-ts/color-diff/index.ts:368
↓ 4 callers
Function
link
(url: string, params?: Record<string, string>)
ink/termio/osc.ts:403
↓ 4 callers
Function
linuxDesktopPath
()
utils/deepLink/registerProtocol.ts:48
↓ 4 callers
Function
loadAgentMemoryPrompt
( agentType: string, scope: AgentMemoryScope, )
tools/AgentTool/agentMemory.ts:138
← previous
next →
1,401–1,500 of 11,462, ranked by callers