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
Function
renderFrame
( screen: VirtualScreen, frame: Frame, stylePool: StylePool, )
ink/log-update.ts:515
↓ 1 callers
Method
renderFullFrame
(frame: Frame)
ink/log-update.ts:65
↓ 1 callers
Function
renderInitialPrompt
()
utils/swarm/It2SetupPrompt.tsx:170
↓ 1 callers
Function
renderInstallFailed
()
utils/swarm/It2SetupPrompt.tsx:210
↓ 1 callers
Function
renderInstalling
()
utils/swarm/It2SetupPrompt.tsx:207
↓ 1 callers
Function
renderMenu
()
components/agents/AgentEditor.tsx:135
↓ 1 callers
Function
renderModelsToAnsi
(stats: ClaudeCodeStats)
components/Stats.tsx:1191
↓ 1 callers
Function
renderOverviewToAnsi
(stats: ClaudeCodeStats)
components/Stats.tsx:1095
↓ 1 callers
Function
renderPlaceholder
({ placeholder, value, showCursor, focus, terminalFocus = true, invert = chalk.inverse, hidePlac
hooks/renderPlaceholder.ts:13
↓ 1 callers
Method
renderPreviousOutput_DEPRECATED
(prevFrame: Frame)
ink/log-update.ts:52
↓ 1 callers
Function
renderPromptTemplate
( lineFormat: string, maxSizeInstruction: string, offsetInstruction: string, )
tools/FileReadTool/prompt.ts:27
↓ 1 callers
Function
renderSprite
(bones: CompanionBones, frame = 0)
buddy/sprites.ts:454
↓ 1 callers
Function
renderStatsToAnsi
(stats: ClaudeCodeStats, activeTab: 'Overview' | 'Models')
components/Stats.tsx:1068
↓ 1 callers
Function
renderStatus
()
components/Spinner/TeammateSpinnerLine.tsx:172
↓ 1 callers
Function
renderStatusMessage
()
commands/install-github-app/OAuthFlowStep.tsx:198
↓ 1 callers
Function
renderSuccess
()
utils/swarm/It2SetupPrompt.tsx:254
↓ 1 callers
Function
renderSync
( node: ReactNode, options?: NodeJS.WriteStream | RenderOptions, )
ink/root.ts:76
↓ 1 callers
Function
renderTicket
(pass: PassStatus)
components/Passes/Passes.tsx:135
↓ 1 callers
Function
renderToString
(node: React.ReactNode, columns?: number)
utils/staticRender.tsx:112
↓ 1 callers
Function
renderToolUseMessage
(tool: Tool, input: unknown, { theme, verbose, commands }: { theme: ThemeName; verbose: boolean; c
components/messages/AssistantToolUseMessage.tsx:304
↓ 1 callers
Function
renderToolUseProgressMessage
(progressMessagesForMessage: ProgressMessage<MCPProgress>[])
tools/MCPTool/UI.tsx:57
↓ 1 callers
Function
renderToolUseQueuedMessage
(tool: Tool)
components/messages/AssistantToolUseMessage.tsx:360
↓ 1 callers
Function
renderToolsList
()
components/agents/AgentDetail.tsx:71
↓ 1 callers
Function
renderTruncatedContent
( content: string, terminalWidth: number, suppressExpandHint = false, )
utils/terminal.ts:71
↓ 1 callers
Function
renderVerifying
()
utils/swarm/It2SetupPrompt.tsx:251
↓ 1 callers
Function
reorderAttachmentsForAPI
(messages: Message[])
utils/messages.ts:1481
↓ 1 callers
Function
reorderBidi
(characters: ClusteredChar[])
ink/bidi.ts:53
↓ 1 callers
Function
reorderMessagesInUI
( messages: ( | NormalizedUserMessage | NormalizedAssistantMessage | AttachmentMessage | Sys
utils/messages.ts:855
↓ 1 callers
Function
replaceOutputFormatWithXml
* Replace the tool_use output format instruction with XML format. * Finds the last line of the prompt ("Use the classify_result tool...") * and repl
utils/permissions/yoloClassifier.ts:648
↓ 1 callers
Function
replaceSpansKeepQuotes
* Replaces spans with just the quote delimiters (preserving ' and " characters).
utils/bash/treeSitterAnalysis.ts:194
↓ 1 callers
Function
replaceToolResultContents
* Return a new Message[] where each tool_result block whose id appears in * replacementMap has its content replaced. Messages and blocks with no * r
utils/toolResultStorage.ts:699
↓ 1 callers
Function
replaceUltraplanKeyword
(text: string)
utils/ultraplan/keyword.ts:120
↓ 1 callers
Function
reportConfigCacheStats
()
utils/config.ts:889
↓ 1 callers
Function
requestJwtAuthorizationGrant
(opts: { tokenEndpoint: string audience: string resource: string idToken: string clientId: string
services/mcp/xaa.ts:233
↓ 1 callers
Function
requestTeammateShutdown
(taskId: string, setAppState: SetAppState)
tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:35
↓ 1 callers
Method
reserve
* Reserve the guard for queue processing. Transitions idle → dispatching. * Returns false if not idle (another query or dispatch in progress).
utils/QueryGuard.ts:38
↓ 1 callers
Method
reset
* Reset tracking state while keeping the service initialized. * This clears all tracked files and diagnostics.
services/diagnosticTracking.ts:72
↓ 1 callers
Function
resetAllLSPDiagnosticState
()
services/lsp/LSPDiagnosticRegistry.ts:357
↓ 1 callers
Function
resetAutoModeOptInForDefaultOffer
()
migrations/resetAutoModeOptInForDefaultOffer.ts:25
↓ 1 callers
Function
resetBackendDetection
()
utils/swarm/backends/registry.ts:457
↓ 1 callers
Function
resetBypassPermissionsCheck
()
utils/permissions/bypassPermissionsKillswitch.ts:53
↓ 1 callers
Function
resetCursor
()
main.tsx:4653
↓ 1 callers
Function
resetIfPassesRefreshed
()
components/LogoV2/GuestPassesUpsell.tsx:8
↓ 1 callers
Method
resetPools
* Replace char/hyperlink pools with fresh instances to prevent unbounded * growth during long sessions. Migrates the front frame's screen IDs into
ink/ink.tsx:1561
↓ 1 callers
Function
resetProToOpusDefault
()
migrations/resetProToOpusDefault.ts:7
↓ 1 callers
Function
resetProfileCounters
()
ink/reconciler.ts:217
↓ 1 callers
Function
resetPromptCacheBreakDetection
()
services/api/promptCacheBreakDetection.ts:704
↓ 1 callers
Function
resetScrollDrainNode
()
ink/render-node-to-output.ts:77
↓ 1 callers
Function
resetScrollHint
()
ink/render-node-to-output.ts:60
↓ 1 callers
Function
resetSdkInitState
()
bootstrap/state.ts:1463
↓ 1 callers
Method
resetSessionFile
()
utils/sessionStorage.ts:688
↓ 1 callers
Function
resetSyncCache
()
services/remoteManagedSettings/syncCache.ts:27
↓ 1 callers
Function
resetTurnClassifierDuration
()
bootstrap/state.ts:632
↓ 1 callers
Function
resetTurnHookDuration
()
bootstrap/state.ts:601
↓ 1 callers
Function
resetTurnToolDuration
()
bootstrap/state.ts:614
↓ 1 callers
Function
resolveAttachments
( rawPaths: string[], uploadCtx: { replBridgeEnabled: boolean; signal?: AbortSignal }, )
tools/BriefTool/attachments.ts:63
↓ 1 callers
Function
resolveCwd
* Resolve the working directory for the launched Claude instance. * Precedence: explicit cwd > repo lookup (MRU clone) > home. * A repo that isn't c
utils/deepLink/protocolHandler.ts:117
↓ 1 callers
Function
resolveDeepestExistingAncestorSync
( fs: FsOperations, absolutePath: string, )
utils/fsOperations.ts:215
↓ 1 callers
Function
resolveDefaultShell
()
utils/shell/resolveDefaultShell.ts:12
↓ 1 callers
Function
resolveDelistedPluginId
* Resolve a plugin ID from V2 installed plugins data for a plugin that may * have been delisted from its marketplace. Returns null if the plugin is n
services/plugins/pluginOperations.ts:230
↓ 1 callers
Function
resolveDependencyClosure
( rootId: PluginId, lookup: (id: PluginId) => Promise<DependencyLookupResult | null>, alreadyEnabled: Re
utils/plugins/dependencyResolver.ts:95
↓ 1 callers
Method
resolveEventPriority
* Infer event priority from the currently-dispatching event. * Called by the reconciler host config's resolveUpdatePriority * when no explicit p
ink/events/dispatcher.ts:171
↓ 1 callers
Function
resolveExcludePatterns
* Expands exclude patterns by resolving symlinks in absolute path prefixes. * For each absolute pattern (starting with /), tries to resolve the longe
utils/claudemd.ts:581
↓ 1 callers
Function
resolveFieldAsync
(fieldName_4: string, schema_2: PrimitiveSchemaDefinition, rawValue: string)
components/mcp/ElicitationDialog.tsx:384
↓ 1 callers
Function
resolveFlexibleLengths
( children: Node[], availableInnerMain: number, totalFlexBasis: number, isMainRow: boolean, ownerW:
native-ts/yoga-layout/index.ts:2182
↓ 1 callers
Function
resolveGitSubdirUrl
* Resolve a git-subdir `url` field to a clonable git URL. * Accepts GitHub owner/repo shorthand (converted to ssh or https depending on * CLAUDE_COD
utils/plugins/pluginLoader.ts:686
↓ 1 callers
Function
resolveHookPermissionDecision
( hookPermissionResult: PermissionResult | undefined, tool: Tool, input: Record<string, unknown>, tool
services/tools/toolHooks.ts:332
↓ 1 callers
Function
resolveInboundAttachments
( attachments: InboundAttachment[], )
bridge/inboundAttachments.ts:123
↓ 1 callers
Function
resolveMetadataBuf
( carry: Buffer | null, chunkBuf: Buffer, )
utils/sessionStorage.ts:3130
↓ 1 callers
Function
resolveOnce
(v: string)
services/mcp/xaaIdpLogin.ts:298
↓ 1 callers
Function
resolvePickerEffortPersistence
( picked: EffortLevel | undefined, modelDefault: EffortLevel, priorPersisted: EffortLevel | undefined,
utils/effort.ts:126
↓ 1 callers
Function
resolvePluginHint
( hint: ClaudeCodeHint, )
utils/plugins/hintRecommendation.ts:103
↓ 1 callers
Function
resolvePluginLspEnvironment
( config: LspServerConfig, plugin: { path: string; source: string }, userConfig?: PluginOptionValues,
utils/plugins/lspPluginIntegration.ts:229
↓ 1 callers
Function
resolveSkillFilePath
Normalize and validate a skill-relative path; throws on traversal.
skills/bundledSkills.ts:196
↓ 1 callers
Function
resolveSkillName
* Resolve a skill name from agent frontmatter to a registered command name. * * Plugin skills are registered with namespaced names (e.g., "my-plugin
tools/AgentTool/runAgent.ts:945
↓ 1 callers
Function
resolveStopBoundary
* Compute the stop boundary for getProjectDirsUpToHome's upward walk. * * Normally the walk stops at the nearest `.git` above `cwd`. But if the Bash
utils/markdownConfigLoader.ts:191
↓ 1 callers
Function
resolveStoredPastedContent
* Resolve stored paste content to full PastedContent by fetching from paste store if needed.
history.ts:230
↓ 1 callers
Function
resolveSystemPromptSections
( sections: SystemPromptSection[], )
constants/systemPromptSections.ts:43
↓ 1 callers
Function
resolveTeamName
(input: { team_name?: string; }, appState: { teamContext?: { teamName: string; }; })
tools/AgentTool/AgentTool.tsx:1388
↓ 1 callers
Function
restoreBackup
* Restores a file from its backup path with proper directory creation and permissions. * Lazy mkdir: tries copyFile first, creates the directory on E
utils/fileHistory.ts:804
↓ 1 callers
Function
restoreConversationDirectly
(message: UserMessage)
components/MessageSelector.tsx:142
↓ 1 callers
Function
restoreHeredocsInString
* Restores heredoc placeholders back to their original content in a single string. * Internal helper used by restoreHeredocs.
utils/bash/heredoc.ts:693
↓ 1 callers
Function
restoreLexToByte
(P: ParseState, targetByte: number)
utils/bash/bashParser.ts:1989
↓ 1 callers
Function
restoreRemoteAgentTasksImpl
(context: TaskContext)
tasks/RemoteAgentTask/RemoteAgentTask.tsx:484
↓ 1 callers
Function
restoreSkillStateFromMessages
(messages: Message[])
utils/conversationRecovery.ts:382
↓ 1 callers
Function
retain
()
utils/computerUse/drainRunLoop.ts:24
↓ 1 callers
Function
retrievePastedText
(hash: string)
utils/pasteStore.ts:59
↓ 1 callers
Method
retryDelay
(failures: number)
cli/transports/WorkerStateUploader.ts:88
↓ 1 callers
Method
retryDelay
(failures: number, retryAfterMs?: number)
cli/transports/SerialBatchEventUploader.ts:235
↓ 1 callers
Method
retryFileInBackground
(filePath: string)
services/analytics/firstPartyEventLoggingExporter.ts:242
↓ 1 callers
Method
retryPreviousBatches
()
services/analytics/firstPartyEventLoggingExporter.ts:220
↓ 1 callers
Function
returnValue
( as: AsyncGenerator<unknown, A>, )
utils/generators.ts:14
↓ 1 callers
Method
reveal
()
commands/remote-setup/api.ts:21
↓ 1 callers
Function
reverseRange
(arr: T[], start: number, end: number)
ink/bidi.ts:107
↓ 1 callers
Function
reverseRangeNumbers
(arr: number[], start: number, end: number)
ink/bidi.ts:117
↓ 1 callers
Function
reviewCountsLine
(session: DeepImmutable<RemoteAgentTaskState>)
components/tasks/RemoteSessionDetailDialog.tsx:493
↓ 1 callers
Function
rewriteWindowsNullRedirect
(command: string)
utils/bash/shellQuoting.ts:126
↓ 1 callers
Function
ripGrepFileCount
* Stream-count lines from `rg --files` without buffering stdout. * * On large repos (e.g. 247k files, 16MB of paths), calling `ripGrep()` just * to
utils/ripgrep.ts:246
↓ 1 callers
Function
ripGrepStream
( args: string[], target: string, abortSignal: AbortSignal, onLines: (lines: string[]) => void, )
utils/ripgrep.ts:295
↓ 1 callers
Function
rmSync
(path, options)
utils/fsOperations.ts:569
← previous
next →
7,301–7,400 of 11,462, ranked by callers