MCPcopy Create free account

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

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

↓ 1 callersFunctiongetDisplayName
(teammateId: string)
components/messages/UserTeammateMessage.tsx:49
↓ 1 callersFunctiongetDownloadUrl
()
components/DesktopHandoff.tsx:13
↓ 1 callersFunctiongetDynamicSkillAttachments
* Processes skill directories that were discovered during file operations. * Uses dynamicSkillDirTriggers field from ToolUseContext
utils/attachments.ts:2547
↓ 1 callersFunctiongetDynamicSkills
()
skills/loadSkillsDir.ts:981
↓ 1 callersFunctiongetEarlyWarningFromHeaders
* Get early warning limits using header-based detection with time-relative fallback. * 1. First checks for surpassed-threshold header (new server-sid
services/claudeAiLimits.ts:347
↓ 1 callersFunctiongetEarlyWarningText
(limits: ClaudeAILimits)
services/rateLimitMessages.ts:199
↓ 1 callersFunctiongetEditToolDescription
()
tools/FileEditTool/prompt.ts:8
↓ 1 callersFunctiongetEditionSection
* Version-specific syntax guidance. The model's training data covers both * editions but it can't tell which one it's targeting, so it either emits
tools/PowerShellTool/prompt.ts:51
↓ 1 callersFunctiongetEditsForPatch
(patch: StructuredPatchHunk[])
tools/FileEditTool/utils.ts:495
↓ 1 callersFunctiongetEffortLevelDescription
(level: EffortLevel)
utils/effort.ts:224
↓ 1 callersFunctiongetEffortNotificationText
( effortValue: EffortValue | undefined, model: string, )
components/EffortIndicator.ts:18
↓ 1 callersFunctiongetElicitationMode
(params: ElicitRequestParams)
services/mcp/elicitationHandler.ts:49
↓ 1 callersFunctiongetEmail
()
utils/user.ts:137
↓ 1 callersFunctiongetEmailAsync
()
utils/user.ts:162
↓ 1 callersFunctiongetEmojiWidth
(grapheme: string)
ink/stringWidth.ts:106
↓ 1 callersFunctiongetEmptyPermissionSettingsJson
()
utils/permissions/permissionsLoader.ts:218
↓ 1 callersFunctiongetEnabledPluginIdsForScope
( settingSource: EditableSettingSource, )
utils/plugins/dependencyResolver.ts:275
↓ 1 callersFunctiongetEnabledVia
( plugin: LoadedPlugin, managedNames: Set<string> | null, seedDirs: string[], )
utils/telemetry/pluginTelemetry.ts:110
↓ 1 callersFunctiongetEnhancedPRAttribution
( getAppState: () => AppState, )
utils/attribution.ts:297
↓ 1 callersFunctiongetEnterPlanModeToolPrompt
()
tools/EnterPlanModeTool/prompt.ts:166
↓ 1 callersFunctiongetEnterPlanModeToolPromptAnt
()
tools/EnterPlanModeTool/prompt.ts:101
↓ 1 callersFunctiongetEnterPlanModeToolPromptExternal
()
tools/EnterPlanModeTool/prompt.ts:16
↓ 1 callersFunctiongetEnterWorktreeToolPrompt
()
tools/EnterWorktreeTool/prompt.ts:1
↓ 1 callersFunctiongetEntryParentPath
(entry: object, fallback: string)
utils/filePersistence/outputsScanner.ts:43
↓ 1 callersFunctiongetEntrypoint
()
utils/sessionStorage.ts:423
↓ 1 callersFunctiongetEnumLabels
(schema: EnumSchema)
utils/mcp/elicitationValidation.ts:117
↓ 1 callersFunctiongetEnvMaxTokens
* Env var override for max output tokens. Returns undefined when unset/invalid * so the caller can fall through to the next precedence tier.
tools/FileReadTool/limits.ts:24
↓ 1 callersFunctiongetEnvironmentForGrowthBook
()
services/analytics/firstPartyEventLogger.ts:245
↓ 1 callersFunctiongetEnvironmentSelectionInfo
()
utils/teleport/environmentSelection.ts:24
↓ 1 callersFunctiongetErrnoPath
(e: unknown)
utils/errors.ts:148
↓ 1 callersFunctiongetErrorMessage
* Extracts a human-readable error message from an execa result. * * Priority order: * 1. shortMessage - execa's human-readable error (e.g., "Comman
utils/execFileNoThrow.ts:73
↓ 1 callersFunctiongetErrorMessageIfRefusal
( stopReason: BetaStopReason | null, model: string, )
services/api/errors.ts:1184
↓ 1 callersFunctiongetErrorType
* Categorize error messages for analytics
components/NativeAutoUpdater.tsx:19
↓ 1 callersFunctiongetErrorsPath
()
utils/errorLogSink.ts:29
↓ 1 callersFunctiongetEssentialTrafficOnlyReason
()
utils/privacyLevel.ts:50
↓ 1 callersFunctiongetEventLogger
()
bootstrap/state.ts:1033
↓ 1 callersFunctiongetEventPriority
* Map terminal event types to React scheduling priorities. * Mirrors react-dom's getEventPriority() switch.
ink/events/dispatcher.ts:122
↓ 1 callersFunctiongetEventSamplingConfig
()
services/analytics/firstPartyEventLogger.ts:43
↓ 1 callersMethodgetExcludedCommands
()
utils/sandbox/sandbox-adapter.ts:904
↓ 1 callersFunctiongetExistingClaudeSubscription
()
hooks/notifs/useCanSwitchToExistingSubscription.tsx:43
↓ 1 callersMethodgetExistingSessionFile
( sessionId: UUID, )
utils/sessionStorage.ts:1285
↓ 1 callersFunctiongetExitWorktreeToolPrompt
()
tools/ExitWorktreeTool/prompt.ts:1
↓ 1 callersFunctiongetExperimentAdvisorModels
()
utils/advisor.ts:75
↓ 1 callersFunctiongetExploreSystemPrompt
()
tools/AgentTool/built-in/exploreAgent.ts:13
↓ 1 callersFunctiongetExtensionIds
()
utils/claudeInChrome/setupPortable.ts:14
↓ 1 callersFunctiongetExtraCertsPathFromConfig
* Read NODE_EXTRA_CA_CERTS from settings/config as a fallback. * * NODE_EXTRA_CA_CERTS is categorized as a non-safe env var (it allows * trusting a
utils/caCertsConfig.ts:59
↓ 1 callersFunctiongetFastModeHeaderLatched
()
bootstrap/state.ts:1716
↓ 1 callersFunctiongetFeatureValue_DEPRECATED
( feature: string, defaultValue: T, )
services/analytics/growthbook.ts:719
↓ 1 callersFunctiongetFeedbackGuideline
()
tools/AgentTool/built-in/claudeCodeGuideAgent.ts:89
↓ 1 callersFunctiongetFileExtensionsFromBashCommand
( command: string, simulatedSedEditFilePath?: string, )
services/analytics/metadata.ts:372
↓ 1 callersFunctiongetFileIdentity
* Gets a unique identifier for a file based on its device ID and inode. * This allows detection of duplicate files accessed through different paths
utils/markdownConfigLoader.ts:159
↓ 1 callersFunctiongetFileIdentity
* Gets a unique identifier for a file by resolving symlinks to a canonical path. * This allows detection of duplicate files accessed through differen
skills/loadSkillsDir.ts:118
↓ 1 callersFunctiongetFilePathFromToolInput
* Extract the primary file/directory path from a tool_use input. * Handles both `file_path` (Read/Write/Edit) and `path` (Grep/Glob).
utils/collapseReadSearch.ts:71
↓ 1 callersFunctiongetFilePathsFromReadMessage
* Extract file paths from read tool inputs in a message. * Returns an array of file paths (may have duplicates if same file is read multiple times in
utils/collapseReadSearch.ts:524
↓ 1 callersFunctiongetFilePermissionOptions
({ filePath, toolPermissionContext, operationType = 'write', onRejectFeedbackChange, onAcceptFeedbac
components/permissions/FilePermissionDialog/permissionOptions.tsx:53
↓ 1 callersFunctiongetFileSystemErrorMessage
* Get a human-readable error message from a filesystem error
utils/toolResultStorage.ts:1017
↓ 1 callersFunctiongetFilesForLanguage
( lang: DetectedLanguage, content: SkillContent, )
skills/bundled/claudeApi.ts:55
↓ 1 callersFunctiongetFilesUsingGit
* Get files using git ls-files (much faster than ripgrep for git repos) * Returns tracked files immediately, fetches untracked in background * @para
hooks/fileSuggestions.ts:248
↓ 1 callersFunctiongetFirstWordPrefix
(command: string)
tools/BashTool/bashPermissions.ts:243
↓ 1 callersFunctiongetFlushIntervalMs
()
services/analytics/datadog.ts:301
↓ 1 callersFunctiongetFocusedInputDialog
()
screens/REPL.tsx:2017
↓ 1 callersFunctiongetFormatDescription
( type: MCPResultType, schema?: unknown, )
utils/mcpOutputStorage.ts:16
↓ 1 callersFunctiongetFrequentlyModifiedFiles
()
utils/exampleCommands.ts:86
↓ 1 callersFunctiongetGcpCommandsSources
()
components/TrustDialog/utils.ts:198
↓ 1 callersFunctiongetGitIndexMtime
* Stat .git/index to detect git state changes without spawning git ls-files. * Returns null for worktrees (.git is a file → ENOTDIR), fresh repos wit
hooks/fileSuggestions.ts:138
↓ 1 callersFunctiongetGitState
()
utils/git.ts:472
↓ 1 callersFunctiongetGlobBaseDirectory
(filePath: string)
tools/PowerShellTool/pathValidation.ts:1266
↓ 1 callersFunctiongetGlobBaseDirectory
(path: string)
utils/permissions/pathValidation.ts:57
↓ 1 callersFunctiongetGlobalConfigWriteCount
()
utils/config.ts:883
↓ 1 callersFunctiongetGlobalGitignorePath
()
utils/git/gitignore.ts:43
↓ 1 callersFunctiongetGrowthBookClientKey
()
constants/keys.ts:5
↓ 1 callersFunctiongetHaiku35Option
()
utils/model/modelOptions.ts:192
↓ 1 callersFunctiongetHaikuOption
()
utils/model/modelOptions.ts:203
↓ 1 callersFunctiongetHasFormattedOutput
()
utils/debug.ts:131
↓ 1 callersFunctiongetHead
()
utils/git.ts:257
↓ 1 callersFunctiongetHeaderBasedEarlyWarning
* Check if early warning should be triggered based on surpassed-threshold header. * Returns ClaudeAILimits if a threshold was surpassed, null otherwi
services/claudeAiLimits.ts:255
↓ 1 callersFunctiongetHeatmapChar
(intensity: number)
utils/heatmap.ts:183
↓ 1 callersFunctiongetHookEnvFilePath
( hookEvent: 'Setup' | 'SessionStart' | 'CwdChanged' | 'FileChanged', hookIndex: number, )
utils/sessionEnvironment.ts:25
↓ 1 callersFunctiongetHooksConfig
( appState: AppState | undefined, sessionId: string, hookEvent: HookEvent, )
utils/hooks.ts:1492
↓ 1 callersFunctiongetHooksForMatcher
( hooksByEventAndMatcher: Record< HookEvent, Record<string, IndividualHookConfig[]> >, event: Ho
utils/hooks/hooksConfigManager.ts:380
↓ 1 callersFunctiongetHooksSection
()
constants/prompts.ts:127
↓ 1 callersFunctiongetHooksSources
()
components/TrustDialog/utils.ts:29
↓ 1 callersFunctiongetHostPatternsFromAllowlist
()
utils/plugins/marketplaceHelpers.ts:327
↓ 1 callersFunctiongetHourCountsJson
(messageHours: number[])
commands/insights.ts:1939
↓ 1 callersFunctiongetHttpHookPolicy
* Read HTTP hook allowlist restrictions from merged settings (all sources). * Follows the allowedMcpServers precedent: arrays concatenate across sour
utils/hooks/execHttpHook.ts:49
↓ 1 callersMethodgetHyperlinkAt
* Look up the URL at (col, row) in the current front frame. Checks for * an OSC 8 hyperlink first, then falls back to scanning the row for a * p
ink/ink.tsx:1293
↓ 1 callersFunctiongetITerm2PlistPath
()
utils/iTermBackup.ts:25
↓ 1 callersFunctiongetIcon
* Get the icon for a suggestion based on its type * Icons: + for files, ◇ for MCP resources, * for agents
components/PromptInput/PromptInputFooterSuggestions.tsx:24
↓ 1 callersFunctiongetIdeLockfilesPaths
()
utils/ide.ts:462
↓ 1 callersFunctiongetIdleNotificationSummary
* Get a brief summary text for an idle notification.
components/messages/PlanApprovalMessage.tsx:173
↓ 1 callersMethodgetIgnoreViolations
()
utils/sandbox/sandbox-adapter.ts:902
↓ 1 callersFunctiongetImagePasteIds
( pastedContents: Record<number, PastedContent> | undefined, )
types/textInputTypes.ts:372
↓ 1 callersFunctiongetImagePathFromClipboard
()
utils/imagePaste.ts:244
↓ 1 callersFunctiongetInProcessBackend
()
utils/swarm/backends/registry.ts:404
↓ 1 callersFunctiongetInProgressHookCount
( messages: NormalizedMessage[], toolUseID: string, hookEvent: HookEvent, )
utils/messages.ts:1044
↓ 1 callersFunctiongetInitialAdvisorSetting
()
utils/advisor.ts:108
↓ 1 callersFunctiongetInitialPasteId
* Compute the initial paste ID by finding the max ID used in existing messages. * This handles --continue/--resume scenarios where we need to avoid I
components/PromptInput/PromptInput.tsx:2303
↓ 1 callersFunctiongetInitialTab
(viewState: ViewState)
commands/plugin/PluginSettings.tsx:723
↓ 1 callersFunctiongetInitialViewState
(parsedCommand: ParsedCommand)
commands/plugin/PluginSettings.tsx:636
↓ 1 callersFunctiongetInkModifiers
* Extract modifiers from an Ink Key object. * This function ensures we're explicitly extracting the modifiers we care about.
keybindings/match.ts:15
← previousnext →5,601–5,700 of 11,462, ranked by callers