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
↓ 6 callers
Function
enqueueAgentNotification
({ taskId, description, status, error, setAppState, finalMessage, usage, toolUseId, worktree
tasks/LocalAgentTask/LocalAgentTask.tsx:197
↓ 6 callers
Function
executeNotificationHooks
( notificationData: { message: string title?: string notificationType: string }, timeoutMs:
utils/hooks.ts:3570
↓ 6 callers
Function
extractGitHubRepo
(plugin: InstallablePlugin)
commands/plugin/pluginDetailsHelpers.tsx:35
↓ 6 callers
Function
extractHeredocs
( command: string, options?: { quotedOnly?: boolean }, )
utils/bash/heredoc.ts:113
↓ 6 callers
Function
fetchEnvironments
()
utils/teleport/environments.ts:32
↓ 6 callers
Function
filterSettingsEnv
* Compose the strip filters applied to every settings-sourced env object.
utils/managedEnv.ts:85
↓ 6 callers
Function
filterToolsByServer
(tools: Tool[], serverName: string)
services/mcp/utils.ts:39
↓ 6 callers
Function
findTeammateTaskByAgentId
(agentId: string, tasks: Record<string, TaskStateBase>)
tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:92
↓ 6 callers
Function
formatDirectoryList
(directories: string[])
tools/PowerShellTool/pathValidation.ts:805
↓ 6 callers
Function
formatErrorMessage
(error: PluginError)
commands/plugin/PluginErrors.tsx:2
↓ 6 callers
Function
formatLimitReachedText
( limit: string, resetMessage: string, _model: string, )
services/rateLimitMessages.ts:333
↓ 6 callers
Function
formatSecondsShort
(ms: number)
utils/format.ts:30
↓ 6 callers
Function
getAPIProviderForStatsig
()
utils/model/providers.ts:16
↓ 6 callers
Function
getBridgeAccessToken
()
bridge/bridgeConfig.ts:38
↓ 6 callers
Function
getConfig
( file: string, createDefault: () => A, throwOnInvalid?: boolean, )
utils/config.ts:1421
↓ 6 callers
Function
getConfigOverrides
* Local config overrides set via /config Gates tab (ant-only). Checked after * env-var overrides — env wins so eval harnesses remain deterministic. U
services/analytics/growthbook.ts:211
↓ 6 callers
Function
getContentText
( content: string | DeepImmutable<Array<ContentBlockParam>>, )
utils/messages.ts:2903
↓ 6 callers
Function
getCronFilePath
(dir?: string)
utils/cronTasks.ts:81
↓ 6 callers
Function
getCwdState
()
bootstrap/state.ts:527
↓ 6 callers
Function
getDenyRules
(context: ToolPermissionContext)
utils/permissions/permissions.ts:213
↓ 6 callers
Function
getEnabledSettingSources
()
utils/settings/constants.ts:159
↓ 6 callers
Function
getEnvOverrides
()
services/analytics/growthbook.ts:170
↓ 6 callers
Function
getFileExtensionForAnalytics
( filePath: string, )
services/analytics/metadata.ts:323
↓ 6 callers
Function
getInMemoryInstalledPlugins
()
utils/plugins/installedPluginsManager.ts:488
↓ 6 callers
Function
getInboxPath
(agentName: string, teamName?: string)
utils/teammateMailbox.ts:56
↓ 6 callers
Function
getLockPath
()
utils/computerUse/computerUseLock.ts:44
↓ 6 callers
Function
getLogDisplayTitle
( log: LogOption, defaultTitle?: string, )
utils/log.ts:30
↓ 6 callers
Function
getMarketingNameForModel
(modelId: string)
utils/model/model.ts:570
↓ 6 callers
Function
getMcpServerSignature
(config: McpServerConfig)
services/mcp/config.ts:202
↓ 6 callers
Function
getMemoryBaseDir
()
memdir/paths.ts:85
↓ 6 callers
Function
getNpmSemver
()
utils/semver.ts:11
↓ 6 callers
Function
getOauthProfileFromOauthToken
( accessToken: string, )
services/oauth/getOauthProfile.ts:37
↓ 6 callers
Function
getOrCreateUserID
()
utils/config.ts:1757
↓ 6 callers
Function
getPlanSlug
(sessionId?: SessionId)
utils/plans.ts:32
↓ 6 callers
Function
getPluginCachePath
()
utils/plugins/pluginLoader.ts:126
↓ 6 callers
Function
getPluginZipCachePath
()
utils/plugins/zipCache.ts:64
↓ 6 callers
Function
getProgressUpdate
(tracker: ProgressTracker)
tasks/LocalAgentTask/LocalAgentTask.tsx:97
↓ 6 callers
Function
getSdkAgentProgressSummariesEnabled
()
bootstrap/state.ts:1077
↓ 6 callers
Function
getSkillsPath
( source: SettingSource | 'plugin', dir: 'skills' | 'commands', )
skills/loadSkillsDir.ts:78
↓ 6 callers
Method
getStatus
()
utils/awsAuthStatusManager.ts:33
↓ 6 callers
Method
getStderr
Sync getter for ExecResult.stderr
utils/task/TaskOutput.ts:329
↓ 6 callers
Method
getStdout
* Get stdout. In file mode, reads from the output file. * In pipe mode, returns the in-memory buffer or tail from CircularBuffer.
utils/task/TaskOutput.ts:282
↓ 6 callers
Function
getStrictKnownMarketplaces
()
utils/plugins/marketplaceHelpers.ts:159
↓ 6 callers
Function
getTaskPath
(taskListId: string, taskId: string)
utils/tasks.ts:229
↓ 6 callers
Function
getTotalOutputTokens
()
bootstrap/state.ts:708
↓ 6 callers
Function
getUserAgent
()
utils/http.ts:18
↓ 6 callers
Function
getViewedTeammateTask
( appState: Pick<AppState, 'viewingAgentTaskId' | 'tasks'>, )
state/selectors.ts:18
↓ 6 callers
Function
getWebSocketProxyAgent
(url: string)
utils/proxy.ts:243
↓ 6 callers
Function
getWebSocketProxyUrl
(url: string)
utils/proxy.ts:263
↓ 6 callers
Function
gitCmdRe
* Build a regex that matches `git <subcmd>` while tolerating git's global * options between `git` and the subcommand (e.g. `-c key=val`, `-C path`,
tools/shared/gitOperationTracking.ts:23
↓ 6 callers
Function
goToNextStep
()
components/Onboarding.tsx:42
↓ 6 callers
Method
handleConnectionError
(closeCode?: number)
cli/transports/WebSocketTransport.ts:397
↓ 6 callers
Function
handlePluginCommandError
* Generic error handler for plugin CLI commands. Emits * tengu_plugin_command_failed before exit so dashboards can compute a * success rate against
services/plugins/pluginCliCommands.ts:53
↓ 6 callers
Function
hasHookForEvent
* Lightweight existence check for hooks on a given event. Mirrors the sources * assembled by getHooksConfig() but stops at the first hit without buil
utils/hooks.ts:1582
↓ 6 callers
Function
hasWorktreeCreateHook
()
utils/hooks.ts:4910
↓ 6 callers
Function
heartbeatActiveWorkItems
* Heartbeat all active work items. * Returns 'ok' if at least one heartbeat succeeded, 'auth_failed' if any * got a 401/403 (JWT expired — re-qu
bridge/bridgeMain.ts:202
↓ 6 callers
Function
hexComponent
Normalize a 1–4 digit hex component to [0, 1].
utils/systemTheme.ts:97
↓ 6 callers
Function
interpolateColor
( color1: RGBColorType, color2: RGBColorType, t: number, // 0 to 1 )
components/Spinner/utils.ts:14
↓ 6 callers
Function
is529Error
(error: unknown)
services/api/withRetry.ts:610
↓ 6 callers
Function
isAutoUpdaterDisabled
()
utils/config.ts:1700
↓ 6 callers
Function
isChromeExtensionInstalled
()
utils/claudeInChrome/setup.ts:391
↓ 6 callers
Function
isCommandAvailable
(command: string)
utils/env.ts:40
↓ 6 callers
Function
isDuplicatePath
( fs: FsOperations, filePath: string, loadedPaths: Set<string>, )
utils/fsOperations.ts:187
↓ 6 callers
Function
isFastModeCooldown
()
utils/fastMode.ts:315
↓ 6 callers
Function
isFileReadDenied
( filePath: string, toolPermissionContext: ToolPermissionContext, )
utils/attachments.ts:3986
↓ 6 callers
Function
isHookAttachmentMessage
( message: Message, )
utils/messages.ts:1028
↓ 6 callers
Function
isInITerm2
()
utils/swarm/backends/detection.ts:90
↓ 6 callers
Function
isInProcessEnabled
()
utils/swarm/backends/registry.ts:351
↓ 6 callers
Function
isInsideTmux
()
utils/swarm/backends/detection.ts:50
↓ 6 callers
Function
isKairosCronEnabled
()
tools/ScheduleCronTool/prompt.ts:36
↓ 6 callers
Function
isMaxSubscriber
()
utils/auth.ts:1679
↓ 6 callers
Function
isMcpServerAllowedByPolicy
* Check if an MCP server is allowed by enterprise policy * Checks name-based, command-based, and URL-based restrictions * @param serverName The name
services/mcp/config.ts:417
↓ 6 callers
Function
isMultiSelectEnumSchema
( schema: PrimitiveSchemaDefinition, )
utils/mcp/elicitationValidation.ts:52
↓ 6 callers
Function
isOAuthTokenExpired
(expiresAt: number | null)
services/oauth/client.ts:344
↓ 6 callers
Function
isOfficialMarketplaceName
( marketplace: string | undefined, )
utils/plugins/pluginIdentifier.ts:75
↓ 6 callers
Function
isPanelAgentTask
(t: unknown)
tasks/LocalAgentTask/LocalAgentTask.tsx:159
↓ 6 callers
Function
isPerfettoTracingEnabled
()
utils/telemetry/perfettoTracing.ts:384
↓ 6 callers
Function
isPidBasedLockingEnabled
()
utils/nativeInstaller/pidLock.ts:35
↓ 6 callers
Function
isPluginInstalled
(pluginId: string)
utils/plugins/installedPluginsManager.ts:818
↓ 6 callers
Function
isPowerShellParameter
( arg: string, elementType?: CommandElementType, )
utils/powershell/parser.ts:1647
↓ 6 callers
Method
isRawModeSupported
()
ink/components/App.tsx:151
↓ 6 callers
Function
isScratchpadEnabled
()
utils/permissions/filesystem.ts:298
↓ 6 callers
Function
isSessionPersistenceDisabled
()
bootstrap/state.ts:1329
↓ 6 callers
Function
isXaaEnabled
()
services/mcp/xaaIdpLogin.ts:32
↓ 6 callers
Function
killAsyncAgent
(taskId: string, setAppState: SetAppState)
tasks/LocalAgentTask/LocalAgentTask.tsx:281
↓ 6 callers
Method
killPane
* Kills/closes a specific pane.
utils/swarm/backends/TmuxBackend.ts:271
↓ 6 callers
Function
lastGrapheme
(text: string)
utils/intl.ts:37
↓ 6 callers
Function
listCandidates
( projectDir: string, doStat: boolean, projectPath?: string, )
utils/listSessionsImpl.ts:169
↓ 6 callers
Function
listener
(newLimits: ClaudeAILimits)
services/claudeAiLimitsHook.ts:12
↓ 6 callers
Function
loadFullLog
(log: LogOption)
utils/sessionStorage.ts:2949
↓ 6 callers
Function
loadMarketplacesWithGracefulDegradation
( config: Record<string, KnownMarketplace>, )
utils/plugins/marketplaceHelpers.ts:71
↓ 6 callers
Function
loadPluginMcpServers
( plugin: LoadedPlugin, errors: PluginError[] = [], )
utils/plugins/mcpPluginIntegration.ts:131
↓ 6 callers
Function
loadSkillsFromSkillsDir
* Loads skills from a /skills/ directory path. * Only supports directory format: skill-name/SKILL.md
skills/loadSkillsDir.ts:407
↓ 6 callers
Function
logError
(message: string)
bridge/bridgeUI.ts:356
↓ 6 callers
Function
logModeDecision
( enabled: boolean, mode: ToolSearchMode, reason: string, extraProps?: Record<string, number>,
utils/toolSearch.ts:395
↓ 6 callers
Function
logPull
( startTime: number, outcome: { success: boolean filesWritten?: number notModified?: boolean
services/teamMemorySync/index.ts:1195
↓ 6 callers
Function
matchingRulesForInput
* Get matching rules for input across all rule types (deny, ask, allow)
tools/PowerShellTool/powershellPermissions.ts:338
↓ 6 callers
Function
matchingRulesForInput
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, matchMode:
tools/BashTool/bashPermissions.ts:937
↓ 6 callers
Function
moveAndSettle
( input: Input, x: number, y: number, )
utils/computerUse/executor.ts:113
↓ 6 callers
Function
normalize
(name: string)
tools/MCPTool/classifyForCollapse.ts:588
← previous
next →
801–900 of 11,462, ranked by callers