MCPcopy Create free account

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

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

↓ 1 callersMethodprevWORD
()
utils/Cursor.ts:821
↓ 1 callersFunctionprewarmModifiers
()
utils/modifiers.ts:9
↓ 1 callersFunctionprimeKeychainCacheFromPrefetch
(stdout: string | null)
utils/secureStorage/macOsKeychainHelpers.ts:98
↓ 1 callersFunctionprintBanner
(config: BridgeConfig, environmentId: string)
bridge/bridgeUI.ts:295
↓ 1 callersFunctionprintHelp
()
bridge/bridgeMain.ts:1889
↓ 1 callersFunctionprobeSeedCacheAnyVersion
( pluginId: string, )
utils/plugins/pluginLoader.ts:220
↓ 1 callersFunctionprobeTmuxControlModeSync
* 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 callersFunctionprocessAdjacentLines
(lineObjects: LineObject[])
components/StructuredDiff/Fallback.tsx:153
↓ 1 callersFunctionprocessAgentMentions
( input: string, agents: AgentDefinition[], )
utils/attachments.ts:1966
↓ 1 callersFunctionprocessAssistantMessage
( msg: AssistantMessage | NormalizedAssistantMessage, breakdown: MessageBreakdown, )
utils/analyzeContext.ts:782
↓ 1 callersFunctionprocessAtMentionedFiles
( input: string, toolUseContext: ToolUseContext, )
utils/attachments.ts:1894
↓ 1 callersFunctionprocessAttachment
( msg: AttachmentMessage, breakdown: MessageBreakdown, )
utils/analyzeContext.ts:839
↓ 1 callersFunctionprocessBashCommand
(inputString: string, precedingInputBlocks: ContentBlockParam[], attachmentMessages: AttachmentMessage[], cont
utils/processUserInput/processBashCommand.tsx:17
↓ 1 callersFunctionprocessBlock
( block: ContentBlockParam | ContentBlock | BetaContentBlock, message: UserMessage | AssistantMessage, s
utils/contextAnalysis.ts:99
↓ 1 callersFunctionprocessChunk
* Process a chunk of input data
utils/earlyInput.ts:72
↓ 1 callersFunctionprocessDispatchQueue
* 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 callersFunctionprocessElements
(elements: MarkdownToken[])
utils/claudemd.ts:494
↓ 1 callersFunctionprocessInitialMessage
(initialMsg: NonNullable<typeof pending>)
screens/REPL.tsx:3035
↓ 1 callersFunctionprocessMCPResult
( result: unknown, tool: string, // Tool name for validation (e.g., "search") name: string, // Server na
services/mcp/client.ts:2720
↓ 1 callersFunctionprocessMcpResourceAttachments
( input: string, toolUseContext: ToolUseContext, )
utils/attachments.ts:1995
↓ 1 callersFunctionprocessOrphanedPluginVersion
( versionPath: string, now: number, )
utils/plugins/cacheUtils.ts:149
↓ 1 callersFunctionprocessPreMappedToolResultBlock
( toolResultBlock: ToolResultBlockParam, toolName: string, maxResultSizeChars: number, )
utils/toolResultStorage.ts:232
↓ 1 callersFunctionprocessProgressMessages
* 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 callersFunctionprocessPromptSlashCommand
(commandName: string, args: string, commands: Command[], context: ToolUseContext, imageContentBlocks: ContentB
utils/processUserInput/processSlashCommand.tsx:817
↓ 1 callersFunctionprocessQueueIfReady
({ executeInput, }: ProcessQueueParams)
utils/queueProcessor.ts:52
↓ 1 callersFunctionprocessQueuedCommands
* 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 callersFunctionprocessResponse
* Process a permission response by invoking the registered callback
hooks/useSwarmPermissionPoller.ts:231
↓ 1 callersFunctionprocessSandboxPermissionResponse
(params: { requestId: string host: string allow: boolean })
hooks/useSwarmPermissionPoller.ts:201
↓ 1 callersMethodprocessSequence
(seq: string)
ink/termio/parser.ts:339
↓ 1 callersFunctionprocessStraddle
( s: LoadState, chunk: Buffer, bytesRead: number, )
utils/sessionStoragePortable.ts:572
↓ 1 callersMethodprocessText
(text: string)
ink/termio/parser.ts:309
↓ 1 callersFunctionprocessTextPrompt
( input: string | Array<ContentBlockParam>, imageContentBlocks: ContentBlockParam[], imagePasteIds: numb
utils/processUserInput/processTextPrompt.ts:19
↓ 1 callersMethodprocessToken
(token: Token)
ink/termio/parser.ts:299
↓ 1 callersFunctionprocessUserInputBase
( input: string | Array<ContentBlockParam>, mode: PromptInputMode, setToolJSX: SetToolJSXFn, context:
utils/processUserInput/processUserInput.ts:281
↓ 1 callersFunctionprocessUserMessage
( msg: UserMessage | NormalizedUserMessage, breakdown: MessageBreakdown, toolUseIdToName: Map<string, st
utils/analyzeContext.ts:805
↓ 1 callersFunctionprocessedStatsToClaudeCodeStats
* Convert ProcessedStats to ClaudeCodeStats. * Used for filtered date ranges that bypass the cache.
utils/stats.ts:749
↓ 1 callersFunctionproductionDeps
()
query/deps.ts:33
↓ 1 callersFunctionprojectIsInGitRepo
(cwd: string)
utils/memory/versions.ts:6
↓ 1 callersFunctionpropsEqual
* Check if two SpanProps are equal for merging.
ink/Ansi.tsx:212
↓ 1 callersFunctionprovisionContentReplacementState
( initialMessages?: Message[], initialContentReplacements?: ContentReplacementRecord[], )
utils/toolResultStorage.ts:447
↓ 1 callersFunctionpruneRemovedPluginHooks
()
utils/plugins/loadPluginHooks.ts:179
↓ 1 callersFunctionqueryLoop
( params: QueryParams, consumedCommandUuids: string[], )
query.ts:241
↓ 1 callersMethodqueueFailedEvents
( events: FirstPartyEventLoggingEvent[], )
services/analytics/firstPartyEventLoggingExporter.ts:430
↓ 1 callersFunctionquoteProblematicValues
* 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 callersFunctionquoteShellCommand
( command: string, addStdinRedirect: boolean = true, )
utils/bash/shellQuoting.ts:46
↓ 1 callersFunctionrandomInt
* Generate a cryptographically random integer in the range [0, max)
utils/words.ts:767
↓ 1 callersFunctionrawSettingsContainsKey
(key: string)
utils/settings/settings.ts:984
↓ 1 callersFunctionreadAgentMetadata
( agentId: AgentId, )
utils/sessionStorage.ts:292
↓ 1 callersFunctionreadAllAndSort
* 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 callersFunctionreadAutoModeEnabledState
()
services/mcp/vscodeSdkMcp.ts:14
↓ 1 callersFunctionreadBridgePointerAcrossWorktrees
( dir: string, )
bridge/bridgePointer.ts:129
↓ 1 callersFunctionreadClaudeDesktopMcpServers
()
utils/claudeDesktop.ts:98
↓ 1 callersFunctionreadEditContext
( path: string, needle: string, contextLines = 3, )
utils/readEditContext.ts:31
↓ 1 callersFunctionreadFileForEdit
(absoluteFilePath: string)
tools/FileEditTool/FileEditTool.ts:599
↓ 1 callersFunctionreadFileInRangeFast
( raw: string, mtimeMs: number, offset: number, maxLines: number | undefined, truncateAtBytes: numbe
utils/readFileInRange.ts:128
↓ 1 callersFunctionreadFileInRangeStreaming
( filePath: string, offset: number, maxLines: number | undefined, maxBytes: number | undefined, trun
utils/readFileInRange.ts:344
↓ 1 callersFunctionreadFileSafe
(filepath: string)
utils/file.ts:50
↓ 1 callersFunctionreadFileTailSync
* 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 callersFunctionreadHeadAndTail
( filePath: string, fileSize: number, buf: Buffer, )
utils/sessionStoragePortable.ts:215
↓ 1 callersFunctionreadIdeLockfile
(path: string)
utils/ide.ts:346
↓ 1 callersMethodreadInternalEvents
* 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 callersFunctionreadLastFetchTime
( cwd: string, )
utils/deepLink/banner.ts:88
↓ 1 callersFunctionreadLinesReverse
( path: string, )
utils/fsOperations.ts:722
↓ 1 callersFunctionreadLiteMetadata
* 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 callersFunctionreadLocalTeamMemory
* 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 callersFunctionreadMarketplaceJsonContent
* 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 callersFunctionreadMemoriesForSurfacing
( selected: ReadonlyArray<{ path: string; mtimeMs: number }>, signal?: AbortSignal, )
utils/attachments.ts:2279
↓ 1 callersFunctionreadNotebook
( notebookPath: string, cellId?: string, )
utils/notebook.ts:164
↓ 1 callersFunctionreadPDF
(filePath: string)
utils/pdf.ts:34
↓ 1 callersFunctionreadRawSymref
( gitDir: string, refPath: string, branchPrefix: string, )
utils/git/gitFilesystem.ts:287
↓ 1 callersFunctionreadResolvedPermission
( requestId: string, teamName?: string, )
utils/swarm/permissionSync.ts:320
↓ 1 callersFunctionreadScrollSpeedBase
()
components/ScrollKeybindingHandler.tsx:305
↓ 1 callersFunctionreadSeedKnownMarketplaces
( seedDir: string, )
utils/plugins/marketplaceManager.ts:436
↓ 1 callersFunctionreadSessionLite
( filePath: string, )
utils/sessionStoragePortable.ts:256
↓ 1 callersFunctionreadSessionStartDate
( filePath: string, )
utils/stats.ts:994
↓ 1 callersMethodreadStream
(body: ReadableStream<Uint8Array>)
cli/transports/SSETransport.ts:339
↓ 1 callersMethodreadSubagentInternalEvents
* 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 callersFunctionreadTeamMembers
* Reads team members from the team file
utils/tasks.ts:724
↓ 1 callersFunctionreadToken
(path: string)
upstreamproxy/upstreamproxy.ts:206
↓ 1 callersFunctionreadTruncatedFile
()
utils/attachments.ts:3128
↓ 1 callersFunctionreadWorktreeHeadSha
( worktreePath: string, )
utils/git/gitFilesystem.ts:619
↓ 1 callersFunctionreadZipCacheKnownMarketplaces
()
utils/plugins/zipCacheAdapters.ts:38
↓ 1 callersFunctionreaddirSync
(dirPath)
utils/fsOperations.ts:548
↓ 1 callersFunctionrearrangePipeCommand
(command: string)
utils/bash/bashPipeCommand.ts:14
↓ 1 callersFunctionrecollapsePastedContent
* Re-collapse expanded pasted text by finding content that matches * pastedContents and replacing it with references.
utils/promptEditor.ts:107
↓ 1 callersFunctionreconcileMcpServers
( desiredConfigs: Record<string, McpServerConfigForProcessTransport>, currentState: DynamicMcpState, set
cli/print.ts:5450
↓ 1 callersFunctionreconcileSparseCheckout
( cwd: string, sparsePaths: string[] | undefined, )
utils/plugins/marketplaceManager.ts:1034
↓ 1 callersMethodreconnect
* Force reconnect the WebSocket. * Useful when the subscription becomes stale after container shutdown.
remote/RemoteSessionManager.ts:320
↓ 1 callersFunctionreconnectWithBackoff
()
services/mcp/useManageMCPConnections.ts:371
↓ 1 callersFunctionreconstructCommand
(kept: ParseEntry[], originalCmd: string)
utils/bash/commands.ts:1195
↓ 1 callersFunctionreconstructForSubagentResume
( parentState: ContentReplacementState | undefined, resumedMessages: Message[], sidechainRecords: Conten
utils/toolResultStorage.ts:1001
↓ 1 callersFunctionrecordAutoModeDenial
(denial: AutoModeDenial)
utils/autoModeDenials.ts:19
↓ 1 callersFunctionrecordDenial
(state: DenialTrackingState)
utils/permissions/denialTracking.ts:24
↓ 1 callersFunctionrecordFirstStartTime
()
utils/config.ts:1768
↓ 1 callersFunctionrecordPromptState
(snapshot: PromptStateSnapshot)
services/api/promptCacheBreakDetection.ts:247
↓ 1 callersFunctionrecordQueueOperation
(queueOp: QueueOperationMessage)
utils/sessionStorage.ts:1464
↓ 1 callersFunctionrecordShownTip
(tip: Tip)
services/tips/tipScheduler.ts:48
↓ 1 callersFunctionrecordTipShown
(tipId: string)
services/tips/tipHistory.ts:3
↓ 1 callersMethodrecordUserActivity
* Called when user interacts with the CLI (typing, commands, etc.)
utils/activityManager.ts:60
↓ 1 callersFunctionrecordYogaMs
(ms: number)
ink/reconciler.ts:205
← previousnext →7,101–7,200 of 11,462, ranked by callers