MCPcopy Create free account

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

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

↓ 2 callersFunctionfromSDKCompactMetadata
( meta: SDKCompactMetadata, )
utils/messages/mappers.ts:98
↓ 2 callersFunctiongenerateAndPatch
(input: string, bridgeSessionId: string)
bridge/initReplBridge.ts:333
↓ 2 callersFunctiongenerateCommandSuggestions
( input: string, commands: Command[], )
utils/suggestions/commandSuggestions.ts:292
↓ 2 callersFunctiongenerateFileAttachment
( filename: string, toolUseContext: ToolUseContext, successEventName: string, errorEventName: string,
utils/attachments.ts:3020
↓ 2 callersFunctiongenerateFileSuggestions
( partialPath: string, showOnEmpty = false, )
hooks/fileSuggestions.ts:715
↓ 2 callersFunctiongenerateFixSuggestion
* Generate a fix suggestion based on the shadow type.
utils/permissions/shadowedRuleDetection.ts:79
↓ 2 callersFunctiongenerateFunFactoid
(stats: ClaudeCodeStats, totalTokens: number)
components/Stats.tsx:688
↓ 2 callersFunctiongenerateHeatmap
( dailyActivity: DailyActivity[], options: HeatmapOptions = {}, )
utils/heatmap.ts:39
↓ 2 callersFunctiongenerateKittyId
()
services/notifier.ts:106
↓ 2 callersFunctiongenerateLoremIpsum
(targetTokens: number)
skills/bundled/loremIpsum.ts:202
↓ 2 callersFunctiongeneratePlaceholders
* Generates placeholder strings with random salt to prevent injection attacks. * The salt prevents malicious commands from containing literal placeho
utils/bash/commands.ts:20
↓ 2 callersFunctiongenerateSectionInsight
( section: InsightSection, dataContext: string, )
commands/insights.ts:1572
↓ 2 callersFunctiongenerateSessionName
( messages: Message[], signal: AbortSignal, )
commands/rename/generateSessionName.ts:10
↓ 2 callersFunctiongenerateSettingsJSONSchema
()
utils/settings/schemaOutput.ts:5
↓ 2 callersFunctiongenerateShellSuggestionsLabel
(suggestions: PermissionUpdate[], shellToolName: string, commandTransform?: (command: string) => string)
components/permissions/shellPermissionHelpers.tsx:65
↓ 2 callersFunctiongenerateSuggestion
( abortController: AbortController, promptId: PromptVariant, cacheSafeParams: CacheSafeParams, )
services/PromptSuggestion/promptSuggestion.ts:294
↓ 2 callersFunctiongenerateTaskAttachments
(state: AppState)
utils/task/framework.ts:158
↓ 2 callersFunctiongenerateTmuxSessionName
( repoPath: string, branch: string, )
utils/worktree.ts:171
↓ 2 callersFunctiongenerateTokenChart
(dailyTokens: DailyModelTokens[], models: string[], terminalWidth: number)
components/Stats.tsx:940
↓ 2 callersFunctiongenerateUnifiedSuggestions
( query: string, mcpResources: Record<string, ServerResource[]>, agents: AgentDefinition[], showOnEmpt
hooks/unifiedSuggestions.ts:111
↓ 2 callersFunctiongenerateWordSlug
()
utils/words.ts:785
↓ 2 callersFunctionget3PModelFallbackSuggestion
* For 3P users, suggest a fallback model when the selected model is unavailable. * Returns a model name suggestion, or undefined if no suggestion is
services/api/errors.ts:940
↓ 2 callersFunctiongetAWSClientProxyConfig
()
utils/proxy.ts:394
↓ 2 callersMethodgetAbortReason
* Determine why a tool should be cancelled.
services/tools/StreamingToolExecutor.ts:210
↓ 2 callersFunctiongetActiveAgentForInput
( appState: AppState, )
state/selectors.ts:59
↓ 2 callersFunctiongetAgentColorMap
()
bootstrap/state.ts:1128
↓ 2 callersFunctiongetAgentMetadataPath
(agentId: AgentId)
utils/sessionStorage.ts:260
↓ 2 callersFunctiongetAgentModelDisplay
(model: string | undefined)
utils/model/agent.ts:124
↓ 2 callersFunctiongetAllCommands
( parsed: ParsedPowerShellCommand, )
utils/powershell/parser.ts:1486
↓ 2 callersFunctiongetAllHooks
(appState: AppState)
utils/hooks/hooksSettings.ts:92
↓ 2 callersFunctiongetAllReleaseNotes
( changelogContent: string = getStoredChangelogFromMemory(), )
utils/releaseNotes.ts:249
↓ 2 callersFunctiongetAllSessionFiles
* Get all session files from all project directories. * Includes both main session files and subagent transcript files.
utils/stats.ts:374
↓ 2 callersMethodgetAllowUnixSockets
()
utils/sandbox/sandbox-adapter.ts:900
↓ 2 callersFunctiongetAnalysisModel
()
commands/insights.ts:41
↓ 2 callersFunctiongetAntModels
()
utils/model/antModels.ts:44
↓ 2 callersFunctiongetApiKeyFromApiKeyHelperCached
()
utils/auth.ts:581
↓ 2 callersFunctiongetApiKeyFromFileDescriptor
()
utils/authFileDescriptor.ts:188
↓ 2 callersFunctiongetAskRuleForTool
( context: ToolPermissionContext, tool: Pick<Tool, 'name' | 'mcpInfo'>, )
utils/permissions/permissions.ts:297
↓ 2 callersFunctiongetAssistantMessageContentLength
( message: AssistantMessage, )
utils/tokens.ts:183
↓ 2 callersFunctiongetAssistantMessageId
* Get the API response id for an assistant message with real (non-synthetic) usage. * Used to identify split assistant records that came from the sam
utils/tokens.ts:28
↓ 2 callersFunctiongetAttributionHeader
(fingerprint: string)
constants/system.ts:73
↓ 2 callersFunctiongetAutoMemEntrypoint
()
memdir/paths.ts:257
↓ 2 callersFunctiongetAutoMemPathOverride
* Direct override for the full auto-memory directory path via env var. * When set, getAutoMemPath()/getAutoMemEntrypoint() return this path directly
memdir/paths.ts:161
↓ 2 callersFunctiongetAutoModeDenials
()
utils/autoModeDenials.ts:24
↓ 2 callersFunctiongetAutoModeEnabledState
()
utils/permissions/permissionSetup.ts:1328
↓ 2 callersFunctiongetAutoModeEnabledStateIfCached
()
utils/permissions/permissionSetup.ts:1344
↓ 2 callersFunctiongetAutoToolSearchTokenThreshold
* Get the token threshold for auto-enabling tool search for a given model.
utils/toolSearch.ts:104
↓ 2 callersFunctiongetBaseFileNames
* Get list of base file names (without .md extension) from a directory * @param dirPath The directory path to list files from * @returns Array of ba
commands/plugin/ManagePlugins.tsx:129
↓ 2 callersFunctiongetBashPromptDenyDescriptions
(_context: unknown)
utils/permissions/bashClassifier.ts:28
↓ 2 callersFunctiongetBatchConfig
()
services/analytics/firstPartyEventLogger.ts:97
↓ 2 callersFunctiongetBestCommandMatch
( partialCommand: string, commands: Command[], )
utils/suggestions/commandSuggestions.ts:164
↓ 2 callersFunctiongetBinaryBlobSavedMessage
( filepath: string, mimeType: string | undefined, size: number, sourceDescription: string, )
utils/mcpOutputStorage.ts:181
↓ 2 callersFunctiongetBindingDisplayText
( action: string, context: KeybindingContextName, bindings: ParsedBinding[], )
keybindings/resolver.ts:67
↓ 2 callersFunctiongetBlockedMarketplaces
()
utils/plugins/marketplaceHelpers.ts:171
↓ 2 callersFunctiongetBorderColor
()
components/PromptInput/PromptInput.tsx:2214
↓ 2 callersFunctiongetBranchFromSession
( session: SessionResource, )
utils/teleport/api.ts:334
↓ 2 callersFunctiongetBridgeSession
( sessionId: string, opts?: { baseUrl?: string; getAccessToken?: () => string | undefined }, )
bridge/createSession.ts:190
↓ 2 callersFunctiongetBridgeStatus
({ error, connected, sessionActive, reconnecting, }: { error: string | undefined connected: boolea
bridge/bridgeStatusUtil.ts:124
↓ 2 callersFunctiongetBuildAgeMinutes
()
services/api/logging.ts:164
↓ 2 callersFunctiongetBuiltinPlugins
()
plugins/builtinPlugins.ts:57
↓ 2 callersFunctiongetBundledSkillExtractDir
(skillName: string)
skills/bundledSkills.ts:120
↓ 2 callersFunctiongetCLISyspromptPrefix
(options?: { isNonInteractive: boolean hasAppendSystemPrompt: boolean })
constants/system.ts:30
↓ 2 callersFunctiongetCacheDir
()
utils/model/modelCapabilities.ts:38
↓ 2 callersFunctiongetCachePath
()
utils/model/modelCapabilities.ts:42
↓ 2 callersFunctiongetCacheSharingParams
( context: ToolUseContext, forkContextMessages: Message[], )
commands/compact/compact.ts:250
↓ 2 callersFunctiongetCachedMCModule
()
services/compact/microCompact.ts:62
↓ 2 callersFunctiongetCachedOrFetchPassesEligibility
()
services/api/referral.ts:231
↓ 2 callersFunctiongetCachedRemainingPasses
()
services/api/referral.ts:162
↓ 2 callersFunctiongetChannelAllowlist
()
services/mcp/channelAllowlist.ts:37
↓ 2 callersFunctiongetCharBudget
(contextWindowTokens?: number)
tools/SkillTool/prompt.ts:31
↓ 2 callersFunctiongetChicagoEnabled
()
utils/computerUse/gates.ts:45
↓ 2 callersFunctiongetChicagoSubGates
()
utils/computerUse/gates.ts:60
↓ 2 callersMethodgetChildCount
()
ink/layout/yoga.ts:71
↓ 2 callersFunctiongetChromeFlagOverride
()
bootstrap/state.ts:1251
↓ 2 callersFunctiongetChromeSystemPrompt
()
utils/claudeInChrome/prompt.ts:68
↓ 2 callersFunctiongetClassifierModel
* Get the model for the classifier. * Ant-only env var takes precedence, then GrowthBook JSON config override, * then the main loop model.
utils/permissions/yoloClassifier.ts:1334
↓ 2 callersFunctiongetClassifierThinkingConfig
* Thinking config for classifier calls. The classifier wants short text-only * responses — API thinking blocks are ignored by extractTextContent() an
utils/permissions/yoloClassifier.ts:683
↓ 2 callersFunctiongetClaudeAiBaseUrl
( sessionId?: string, ingressUrl?: string, )
constants/product.ts:39
↓ 2 callersFunctiongetClaudeCodeVersion
()
utils/ide.ts:927
↓ 2 callersFunctiongetClaudeSocketName
()
utils/tmuxSocket.ts:91
↓ 2 callersFunctiongetClaudeTempDirName
()
utils/permissions/filesystem.ts:307
↓ 2 callersFunctiongetClearTerminalSequence
()
ink/clearTerminal.ts:59
↓ 2 callersFunctiongetClipboardCommands
()
utils/imagePaste.ts:31
↓ 2 callersFunctiongetCodeEditToolDecisionCounter
()
bootstrap/state.ts:1017
↓ 2 callersFunctiongetCommandQueueLength
()
utils/messageQueueManager.ts:97
↓ 2 callersFunctiongetCommandsByMaxPriority
( maxPriority: QueuePriority, )
utils/messageQueueManager.ts:525
↓ 2 callersFunctiongetCommitAndPRInstructions
()
tools/BashTool/prompt.ts:42
↓ 2 callersFunctiongetCompletionTypeFromPrefix
* Determine completion type based solely on prefix characteristics
utils/bash/shellCompletion.ts:38
↓ 2 callersFunctiongetCompoundCommandPrefixesStatic
( command: string, excludeSubcommand?: (subcommand: string) => boolean, )
utils/bash/prefix.ts:135
↓ 2 callersFunctiongetConfiguredOtelHeadersHelper
* Get the configured otelHeadersHelper from settings
utils/auth.ts:1743
↓ 2 callersFunctiongetConnectedIdeName
( mcpClients: MCPServerConnection[], )
utils/ide.ts:1179
↓ 2 callersFunctiongetCoordinatorUserContext
( mcpClients: ReadonlyArray<{ name: string }>, scratchpadDir?: string, )
coordinator/coordinatorMode.ts:80
↓ 2 callersFunctiongetCredentialFromFd
* Shared FD-or-well-known-file credential reader. * * Priority order: * 1. File descriptor (legacy path) — env var points at a pipe FD passed by
utils/authFileDescriptor.ts:97
↓ 2 callersFunctiongetCurrentTimestamp
()
utils/plugins/pluginInstallationHelpers.ts:73
↓ 2 callersFunctiongetCurrentUsage
(messages: Message[])
utils/tokens.ts:138
↓ 2 callersMethodgetCurrentWindowPaneCount
* Gets the number of panes in a window.
utils/swarm/backends/TmuxBackend.ts:430
↓ 2 callersFunctiongetCustomApiKeyStatus
( truncatedApiKey: string, )
utils/config.ts:1103
↓ 2 callersFunctiongetDefaultCharacters
()
components/Spinner/utils.ts:4
↓ 2 callersFunctiongetDefaultSubagentModel
()
utils/model/agent.ts:25
↓ 2 callersFunctiongetDefaultTeammateModel
(leaderModel: string | null)
tools/shared/spawnMultiAgent.ts:72
← previousnext →3,001–3,100 of 11,462, ranked by callers