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
↓ 1 callers
Method
prevWORD
()
utils/Cursor.ts:821
↓ 1 callers
Function
prewarmModifiers
()
utils/modifiers.ts:9
↓ 1 callers
Function
primeKeychainCacheFromPrefetch
(stdout: string | null)
utils/secureStorage/macOsKeychainHelpers.ts:98
↓ 1 callers
Function
printBanner
(config: BridgeConfig, environmentId: string)
bridge/bridgeUI.ts:295
↓ 1 callers
Function
printHelp
()
bridge/bridgeMain.ts:1889
↓ 1 callers
Function
probeSeedCacheAnyVersion
( pluginId: string, )
utils/plugins/pluginLoader.ts:220
↓ 1 callers
Function
probeTmuxControlModeSync
* Sync one-shot probe: asks tmux directly whether this client is in control * mode via `#{client_control_mode}`. Runs on first isTmuxControlMode() ca
utils/fullscreen.ts:56
↓ 1 callers
Function
processAdjacentLines
(lineObjects: LineObject[])
components/StructuredDiff/Fallback.tsx:153
↓ 1 callers
Function
processAgentMentions
( input: string, agents: AgentDefinition[], )
utils/attachments.ts:1966
↓ 1 callers
Function
processAssistantMessage
( msg: AssistantMessage | NormalizedAssistantMessage, breakdown: MessageBreakdown, )
utils/analyzeContext.ts:782
↓ 1 callers
Function
processAtMentionedFiles
( input: string, toolUseContext: ToolUseContext, )
utils/attachments.ts:1894
↓ 1 callers
Function
processAttachment
( msg: AttachmentMessage, breakdown: MessageBreakdown, )
utils/analyzeContext.ts:839
↓ 1 callers
Function
processBashCommand
(inputString: string, precedingInputBlocks: ContentBlockParam[], attachmentMessages: AttachmentMessage[], cont
utils/processUserInput/processBashCommand.tsx:17
↓ 1 callers
Function
processBlock
( block: ContentBlockParam | ContentBlock | BetaContentBlock, message: UserMessage | AssistantMessage, s
utils/contextAnalysis.ts:99
↓ 1 callers
Function
processChunk
* Process a chunk of input data
utils/earlyInput.ts:72
↓ 1 callers
Function
processDispatchQueue
* Execute collected listeners with propagation control. * * Before each handler, calls event._prepareForTarget(node) so event * subclasses can do p
ink/events/dispatcher.ts:87
↓ 1 callers
Function
processElements
(elements: MarkdownToken[])
utils/claudemd.ts:494
↓ 1 callers
Function
processInitialMessage
(initialMsg: NonNullable<typeof pending>)
screens/REPL.tsx:3035
↓ 1 callers
Function
processMCPResult
( result: unknown, tool: string, // Tool name for validation (e.g., "search") name: string, // Server na
services/mcp/client.ts:2720
↓ 1 callers
Function
processMcpResourceAttachments
( input: string, toolUseContext: ToolUseContext, )
utils/attachments.ts:1995
↓ 1 callers
Function
processOrphanedPluginVersion
( versionPath: string, now: number, )
utils/plugins/cacheUtils.ts:149
↓ 1 callers
Function
processPreMappedToolResultBlock
( toolResultBlock: ToolResultBlockParam, toolName: string, maxResultSizeChars: number, )
utils/toolResultStorage.ts:232
↓ 1 callers
Function
processProgressMessages
* Process progress messages to group consecutive search/read operations into summaries. * For ants only - returns original messages for non-ants. *
tools/AgentTool/UI.tsx:100
↓ 1 callers
Function
processPromptSlashCommand
(commandName: string, args: string, commands: Command[], context: ToolUseContext, imageContentBlocks: ContentB
utils/processUserInput/processSlashCommand.tsx:817
↓ 1 callers
Function
processQueueIfReady
({ executeInput, }: ProcessQueueParams)
utils/queueProcessor.ts:52
↓ 1 callers
Function
processQueuedCommands
* Process queued commands to cap task notifications at MAX_VISIBLE_NOTIFICATIONS lines. * Other command types are always shown in full. * Idle notif
components/PromptInput/PromptInputQueuedCommands.tsx:47
↓ 1 callers
Function
processResponse
* Process a permission response by invoking the registered callback
hooks/useSwarmPermissionPoller.ts:231
↓ 1 callers
Function
processSandboxPermissionResponse
(params: { requestId: string host: string allow: boolean })
hooks/useSwarmPermissionPoller.ts:201
↓ 1 callers
Method
processSequence
(seq: string)
ink/termio/parser.ts:339
↓ 1 callers
Function
processStraddle
( s: LoadState, chunk: Buffer, bytesRead: number, )
utils/sessionStoragePortable.ts:572
↓ 1 callers
Method
processText
(text: string)
ink/termio/parser.ts:309
↓ 1 callers
Function
processTextPrompt
( input: string | Array<ContentBlockParam>, imageContentBlocks: ContentBlockParam[], imagePasteIds: numb
utils/processUserInput/processTextPrompt.ts:19
↓ 1 callers
Method
processToken
(token: Token)
ink/termio/parser.ts:299
↓ 1 callers
Function
processUserInputBase
( input: string | Array<ContentBlockParam>, mode: PromptInputMode, setToolJSX: SetToolJSXFn, context:
utils/processUserInput/processUserInput.ts:281
↓ 1 callers
Function
processUserMessage
( msg: UserMessage | NormalizedUserMessage, breakdown: MessageBreakdown, toolUseIdToName: Map<string, st
utils/analyzeContext.ts:805
↓ 1 callers
Function
processedStatsToClaudeCodeStats
* Convert ProcessedStats to ClaudeCodeStats. * Used for filtered date ranges that bypass the cache.
utils/stats.ts:749
↓ 1 callers
Function
productionDeps
()
query/deps.ts:33
↓ 1 callers
Function
projectIsInGitRepo
(cwd: string)
utils/memory/versions.ts:6
↓ 1 callers
Function
propsEqual
* Check if two SpanProps are equal for merging.
ink/Ansi.tsx:212
↓ 1 callers
Function
provisionContentReplacementState
( initialMessages?: Message[], initialContentReplacements?: ContentReplacementRecord[], )
utils/toolResultStorage.ts:447
↓ 1 callers
Function
pruneRemovedPluginHooks
()
utils/plugins/loadPluginHooks.ts:179
↓ 1 callers
Function
queryLoop
( params: QueryParams, consumedCommandUuids: string[], )
query.ts:241
↓ 1 callers
Method
queueFailedEvents
( events: FirstPartyEventLoggingEvent[], )
services/analytics/firstPartyEventLoggingExporter.ts:430
↓ 1 callers
Function
quoteProblematicValues
* Pre-processes frontmatter text to quote values that contain special YAML characters. * This allows glob patterns like **\/*.{ts,tsx} to be parsed c
utils/frontmatterParser.ts:85
↓ 1 callers
Function
quoteShellCommand
( command: string, addStdinRedirect: boolean = true, )
utils/bash/shellQuoting.ts:46
↓ 1 callers
Function
randomInt
* Generate a cryptographically random integer in the range [0, max)
utils/words.ts:767
↓ 1 callers
Function
rawSettingsContainsKey
(key: string)
utils/settings/settings.ts:984
↓ 1 callers
Function
readAgentMetadata
( agentId: AgentId, )
utils/sessionStorage.ts:292
↓ 1 callers
Function
readAllAndSort
* Read-all path for when no limit/offset is set. Skips the stat pass * entirely — reads every candidate, then sorts/dedups on real mtimes * from rea
utils/listSessionsImpl.ts:278
↓ 1 callers
Function
readAutoModeEnabledState
()
services/mcp/vscodeSdkMcp.ts:14
↓ 1 callers
Function
readBridgePointerAcrossWorktrees
( dir: string, )
bridge/bridgePointer.ts:129
↓ 1 callers
Function
readClaudeDesktopMcpServers
()
utils/claudeDesktop.ts:98
↓ 1 callers
Function
readEditContext
( path: string, needle: string, contextLines = 3, )
utils/readEditContext.ts:31
↓ 1 callers
Function
readFileForEdit
(absoluteFilePath: string)
tools/FileEditTool/FileEditTool.ts:599
↓ 1 callers
Function
readFileInRangeFast
( raw: string, mtimeMs: number, offset: number, maxLines: number | undefined, truncateAtBytes: numbe
utils/readFileInRange.ts:128
↓ 1 callers
Function
readFileInRangeStreaming
( filePath: string, offset: number, maxLines: number | undefined, maxBytes: number | undefined, trun
utils/readFileInRange.ts:344
↓ 1 callers
Function
readFileSafe
(filepath: string)
utils/file.ts:50
↓ 1 callers
Function
readFileTailSync
* Sync tail read for reAppendSessionMetadata's external-writer check. * fstat on the already-open fd (no extra path lookup); reads the same * LITE_R
utils/sessionStorage.ts:2592
↓ 1 callers
Function
readHeadAndTail
( filePath: string, fileSize: number, buf: Buffer, )
utils/sessionStoragePortable.ts:215
↓ 1 callers
Function
readIdeLockfile
(path: string)
utils/ide.ts:346
↓ 1 callers
Method
readInternalEvents
* Read foreground agent internal events from * GET /sessions/{id}/worker/internal-events. * Returns transcript entries from the last compaction
cli/transports/ccrClient.ts:842
↓ 1 callers
Function
readLastFetchTime
( cwd: string, )
utils/deepLink/banner.ts:88
↓ 1 callers
Function
readLinesReverse
( path: string, )
utils/fsOperations.ts:722
↓ 1 callers
Function
readLiteMetadata
* Reads the first and last ~64KB of a JSONL file and extracts lite metadata. * * Head (first 64KB): isSidechain, projectPath, teamName, firstPrompt.
utils/sessionStorage.ts:4739
↓ 1 callers
Function
readLocalTeamMemory
* Read all team memory files from the local directory into a flat key-value map. * Keys are relative paths from the team memory directory. * Empty f
services/teamMemorySync/index.ts:567
↓ 1 callers
Function
readMarketplaceJsonContent
* Read marketplace.json content from a cloned marketplace directory or file. * For directory sources: checks .claude-plugin/marketplace.json, marketp
utils/plugins/zipCacheAdapters.ts:120
↓ 1 callers
Function
readMemoriesForSurfacing
( selected: ReadonlyArray<{ path: string; mtimeMs: number }>, signal?: AbortSignal, )
utils/attachments.ts:2279
↓ 1 callers
Function
readNotebook
( notebookPath: string, cellId?: string, )
utils/notebook.ts:164
↓ 1 callers
Function
readPDF
(filePath: string)
utils/pdf.ts:34
↓ 1 callers
Function
readRawSymref
( gitDir: string, refPath: string, branchPrefix: string, )
utils/git/gitFilesystem.ts:287
↓ 1 callers
Function
readResolvedPermission
( requestId: string, teamName?: string, )
utils/swarm/permissionSync.ts:320
↓ 1 callers
Function
readScrollSpeedBase
()
components/ScrollKeybindingHandler.tsx:305
↓ 1 callers
Function
readSeedKnownMarketplaces
( seedDir: string, )
utils/plugins/marketplaceManager.ts:436
↓ 1 callers
Function
readSessionLite
( filePath: string, )
utils/sessionStoragePortable.ts:256
↓ 1 callers
Function
readSessionStartDate
( filePath: string, )
utils/stats.ts:994
↓ 1 callers
Method
readStream
(body: ReadableStream<Uint8Array>)
cli/transports/SSETransport.ts:339
↓ 1 callers
Method
readSubagentInternalEvents
* Read all subagent internal events from * GET /sessions/{id}/worker/internal-events?subagents=true. * Returns a merged stream across all non-fo
cli/transports/ccrClient.ts:852
↓ 1 callers
Function
readTeamMembers
* Reads team members from the team file
utils/tasks.ts:724
↓ 1 callers
Function
readToken
(path: string)
upstreamproxy/upstreamproxy.ts:206
↓ 1 callers
Function
readTruncatedFile
()
utils/attachments.ts:3128
↓ 1 callers
Function
readWorktreeHeadSha
( worktreePath: string, )
utils/git/gitFilesystem.ts:619
↓ 1 callers
Function
readZipCacheKnownMarketplaces
()
utils/plugins/zipCacheAdapters.ts:38
↓ 1 callers
Function
readdirSync
(dirPath)
utils/fsOperations.ts:548
↓ 1 callers
Function
rearrangePipeCommand
(command: string)
utils/bash/bashPipeCommand.ts:14
↓ 1 callers
Function
recollapsePastedContent
* Re-collapse expanded pasted text by finding content that matches * pastedContents and replacing it with references.
utils/promptEditor.ts:107
↓ 1 callers
Function
reconcileMcpServers
( desiredConfigs: Record<string, McpServerConfigForProcessTransport>, currentState: DynamicMcpState, set
cli/print.ts:5450
↓ 1 callers
Function
reconcileSparseCheckout
( cwd: string, sparsePaths: string[] | undefined, )
utils/plugins/marketplaceManager.ts:1034
↓ 1 callers
Method
reconnect
* Force reconnect the WebSocket. * Useful when the subscription becomes stale after container shutdown.
remote/RemoteSessionManager.ts:320
↓ 1 callers
Function
reconnectWithBackoff
()
services/mcp/useManageMCPConnections.ts:371
↓ 1 callers
Function
reconstructCommand
(kept: ParseEntry[], originalCmd: string)
utils/bash/commands.ts:1195
↓ 1 callers
Function
reconstructForSubagentResume
( parentState: ContentReplacementState | undefined, resumedMessages: Message[], sidechainRecords: Conten
utils/toolResultStorage.ts:1001
↓ 1 callers
Function
recordAutoModeDenial
(denial: AutoModeDenial)
utils/autoModeDenials.ts:19
↓ 1 callers
Function
recordDenial
(state: DenialTrackingState)
utils/permissions/denialTracking.ts:24
↓ 1 callers
Function
recordFirstStartTime
()
utils/config.ts:1768
↓ 1 callers
Function
recordPromptState
(snapshot: PromptStateSnapshot)
services/api/promptCacheBreakDetection.ts:247
↓ 1 callers
Function
recordQueueOperation
(queueOp: QueueOperationMessage)
utils/sessionStorage.ts:1464
↓ 1 callers
Function
recordShownTip
(tip: Tip)
services/tips/tipScheduler.ts:48
↓ 1 callers
Function
recordTipShown
(tipId: string)
services/tips/tipHistory.ts:3
↓ 1 callers
Method
recordUserActivity
* Called when user interacts with the CLI (typing, commands, etc.)
utils/activityManager.ts:60
↓ 1 callers
Function
recordYogaMs
(ms: number)
ink/reconciler.ts:205
← previous
next →
7,101–7,200 of 11,462, ranked by callers