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
findTeammateColor
( appState: { teamContext?: { teammates: { [id: string]: { color?: string } } } }, name: string, )
tools/SendMessageTool/SendMessageTool.ts:133
↓ 1 callers
Function
findTextObject
( text: string, offset: number, objectType: string, isInner: boolean, )
vim/textObjects.ts:38
↓ 1 callers
Function
findTokenBudgetPositions
( text: string, )
utils/tokenBudget.ts:31
↓ 1 callers
Function
findUnmatched
(entries: readonly ChannelEntry[], allowlist: ReturnType<typeof getEffectiveChannelAllowlist>)
components/LogoV2/ChannelsNotice.tsx:206
↓ 1 callers
Function
findUnresolvedToolUse
( toolUseId: string, )
utils/sessionStorage.ts:4478
↓ 1 callers
Function
findValidClaudeAlias
( options?: ShellConfigOptions, )
utils/shellConfig.ts:142
↓ 1 callers
Function
firstCommandToken
(command: string)
utils/claudeCodeHints.ts:130
↓ 1 callers
Function
firstWord
(s: string)
components/design-system/FuzzyPicker.tsx:308
↓ 1 callers
Function
flattenHljs
( node: HljsNode | string, theme: Theme, parentScope: string | undefined, out: Block[], )
native-ts/color-diff/index.ts:469
↓ 1 callers
Function
flush
()
utils/bufferedWriter.ts:37
↓ 1 callers
Method
flush
* Flush pending client events (writeEvent queue). Call before close() * when the caller needs delivery confirmation — close() abandons the * que
cli/transports/ccrClient.ts:831
↓ 1 callers
Function
flushDeferred
()
utils/bufferedWriter.ts:60
↓ 1 callers
Function
flushHistory
(msgs: Message[])
bridge/remoteBridgeCore.ts:624
↓ 1 callers
Function
flushInteractionTime
()
bootstrap/state.ts:680
↓ 1 callers
Method
flushInternalEvents
()
cli/remoteIO.ts:217
↓ 1 callers
Function
flushPromptHistory
(retries: number)
history.ts:329
↓ 1 callers
Method
flushStreamEvents
Delay timer fired — enqueue accumulated stream_events.
cli/transports/HybridTransport.ts:166
↓ 1 callers
Function
flushTelemetry
()
utils/telemetry/instrumentation.ts:707
↓ 1 callers
Method
focusNext
(root: DOMElement)
ink/focus.ts:102
↓ 1 callers
Method
focusPrevious
(root: DOMElement)
ink/focus.ts:106
↓ 1 callers
Method
forceEnd
* Force-end the current query regardless of generation. * Used by onCancel where any running query should be terminated. * Increments generation
utils/QueryGuard.ts:88
↓ 1 callers
Method
forceRedraw
* Clear the physical terminal and force a full redraw. * * The traditional readline ctrl+l — clears the visible screen and * redraws the curr
ink/ink.tsx:825
↓ 1 callers
Function
forceRemoveLock
* Force-remove a lock file for a given version path. * Used when --force is specified to bypass stale locks.
utils/nativeInstaller/installer.ts:1171
↓ 1 callers
Function
forceStopPreventSleep
()
services/preventSleep.ts:64
↓ 1 callers
Function
formatActionForClassifier
( toolName: string, toolInput: unknown, )
utils/permissions/yoloClassifier.ts:1487
↓ 1 callers
Function
formatAgentLine
(agent: AgentDefinition)
tools/AgentTool/prompt.ts:43
↓ 1 callers
Function
formatBashError
(e: unknown, pattern: string, inline = false)
utils/promptShellExecution.ts:167
↓ 1 callers
Function
formatCommand
(command: string)
utils/suggestions/commandSuggestions.ts:221
↓ 1 callers
Function
formatCommandDescription
(cmd: Command)
tools/SkillTool/prompt.ts:52
↓ 1 callers
Function
formatCommandsWithinBudget
( commands: Command[], contextWindowTokens?: number, )
tools/SkillTool/prompt.ts:70
↓ 1 callers
Function
formatCompactSummary
(summary: string)
services/compact/prompt.ts:311
↓ 1 callers
Function
formatConnectorsInfo
(connectors: ConnectorInfo[])
skills/bundled/scheduleRemoteAgents.ts:97
↓ 1 callers
Function
formatContextAsMarkdownTable
(data: ContextData)
commands/context/context-noninteractive.ts:90
↓ 1 callers
Function
formatCronFireTime
(d: Date)
hooks/useScheduledTasks.ts:129
↓ 1 callers
Function
formatDangerousSettingsList
( dangerous: DangerousSettings, )
components/ManagedSettingsSecurityDialog/utils.ts:123
↓ 1 callers
Function
formatDateDisplay
Format an ISO date/datetime for display, keeping the ISO value for submission.
components/mcp/ElicitationDialog.tsx:80
↓ 1 callers
Function
formatDependencyCountSuffix
(installedDeps: string[])
utils/plugins/dependencyResolver.ts:289
↓ 1 callers
Function
formatDiagnosticsForAttachment
( params: PublishDiagnosticsParams, )
services/lsp/passiveFeedback.ts:43
↓ 1 callers
Method
formatDiagnosticsSummary
* Format diagnostics into a human-readable summary string. * This is useful for displaying diagnostics in messages or logs. * * @param files
services/diagnosticTracking.ts:352
↓ 1 callers
Function
formatDiff
(lines: string[], startingLineNumber: number, width: number, dim: boolean, overrideTheme?: ThemeName)
components/StructuredDiff/Fallback.tsx:349
↓ 1 callers
Function
formatDocumentSymbolNode
* Formats a single DocumentSymbol with indentation
tools/LSPTool/formatters.ts:307
↓ 1 callers
Function
formatDocumentSymbolResult
( result: DocumentSymbol[] | SymbolInformation[] | null, cwd?: string, )
tools/LSPTool/formatters.ts:340
↓ 1 callers
Function
formatFailureErrors
( failures: Array<{ name: string; error: string }>, )
utils/plugins/marketplaceHelpers.ts:149
↓ 1 callers
Function
formatFailureNames
( failures: Array<{ name: string; error: string }>, )
utils/plugins/marketplaceHelpers.ts:143
↓ 1 callers
Function
formatFileLines
Format file content with line numbers.
tools/FileReadTool/FileReadTool.ts:725
↓ 1 callers
Function
formatFindReferencesResult
( result: Location[] | null, cwd?: string, )
tools/LSPTool/formatters.ts:174
↓ 1 callers
Function
formatHoverResult
(result: Hover | null, _cwd?: string)
tools/LSPTool/formatters.ts:253
↓ 1 callers
Function
formatIdleDuration
(minutes: number)
components/IdleReturnDialog.tsx:104
↓ 1 callers
Function
formatImageRef
(id: number)
history.ts:58
↓ 1 callers
Function
formatIncomingCallsResult
( result: CallHierarchyIncomingCall[] | null, cwd?: string, )
tools/LSPTool/formatters.ts:478
↓ 1 callers
Function
formatLockHeld
(holder: string)
utils/computerUse/wrapper.tsx:56
↓ 1 callers
Function
formatMessagesForContext
* Format user messages for new_context display, separating system reminders. * Only handles user messages (assistant messages are filtered out before
utils/telemetry/betaSessionTracing.ts:166
↓ 1 callers
Function
formatModelAndBilling
( modelName: string, billingType: string, availableWidth: number, )
utils/logoV2Utils.ts:272
↓ 1 callers
Function
formatModelUsage
()
cost-tracker.ts:181
↓ 1 callers
Function
formatOutgoingCallsResult
( result: CallHierarchyOutgoingCall[] | null, cwd?: string, )
tools/LSPTool/formatters.ts:538
↓ 1 callers
Function
formatOutput
(content: string)
tools/BashTool/utils.ts:133
↓ 1 callers
Function
formatPeakDay
(dateStr: string)
components/Stats.tsx:27
↓ 1 callers
Function
formatPrepareCallHierarchyResult
( result: CallHierarchyItem[] | null, cwd?: string, )
tools/LSPTool/formatters.ts:455
↓ 1 callers
Function
formatRecentMessages
(messages: Message[])
utils/hooks/skillImprovement.ts:39
↓ 1 callers
Function
formatResetText
( resetsAt: string, showTimezone: boolean = false, showTime: boolean = true, )
utils/format.ts:291
↓ 1 callers
Function
formatResult
* Formats LSP result based on operation type and extracts summary counts
tools/LSPTool/LSPTool.ts:636
↓ 1 callers
Function
formatTaskAsPrompt
* Format a task as a prompt for the teammate to work on.
utils/swarm/inProcessRunner.ts:610
↓ 1 callers
Function
formatTaskAsPrompt
* Format a task as a prompt for Claude to work on.
hooks/useTaskListWatcher.ts:213
↓ 1 callers
Function
formatTaskOutput
( output: string, taskId: string, )
utils/task/outputFormatting.ts:22
↓ 1 callers
Function
formatTeammateMessageContent
(content: string)
components/messages/PlanApprovalMessage.tsx:190
↓ 1 callers
Function
formatTime
* Format a timestamp as "h:mm:ssa" (e.g., "1:30:45pm"). * Replaces date-fns format() to avoid pulling in a 39MB dependency for one call.
components/SandboxViolationExpandedView.tsx:12
↓ 1 callers
Function
formatTimestamp
(date: Date)
commands/export/export.tsx:10
↓ 1 callers
Method
formatTokens
( response: OAuthTokenExchangeResponse, subscriptionType: SubscriptionType | null, rateLimitTier:
services/oauth/index.ts:169
↓ 1 callers
Function
formatToolInput
(input: unknown)
utils/permissions/permissionExplainer.ts:86
↓ 1 callers
Function
formatToolUseSummary
(name: string, input: unknown)
components/tasks/RemoteSessionDetailDialog.tsx:44
↓ 1 callers
Function
formatTranscriptForFacets
(log: LogOption)
commands/insights.ts:831
↓ 1 callers
Function
formatTranscriptWithSummarization
( log: LogOption, )
commands/insights.ts:906
↓ 1 callers
Function
formatTruncatedTextRef
(id: number, numLines: number)
components/PromptInput/inputPaste.ts:57
↓ 1 callers
Function
formatUri
(uri: string)
components/messages/UserResourceUpdateMessage.tsx:48
↓ 1 callers
Function
formatZodValidationError
( toolName: string, error: ZodError, )
utils/toolErrors.ts:66
↓ 1 callers
Method
free
()
ink/layout/yoga.ts:291
↓ 1 callers
Method
free
()
native-ts/yoga-layout/index.ts:545
↓ 1 callers
Method
freeRecursive
()
ink/layout/yoga.ts:294
↓ 1 callers
Function
fromCount
( state: { type: 'count'; digits: string }, input: string, ctx: TransitionContext, )
vim/transitions.ts:265
↓ 1 callers
Function
fromFind
( state: { type: 'find'; find: FindType; count: number }, input: string, ctx: TransitionContext, )
vim/transitions.ts:369
↓ 1 callers
Function
fromG
( state: { type: 'g'; count: number }, input: string, ctx: TransitionContext, )
vim/transitions.ts:385
↓ 1 callers
Function
fromIdle
(input: string, ctx: TransitionContext)
vim/transitions.ts:248
↓ 1 callers
Function
fromIndent
( state: { type: 'indent'; dir: '>' | '<'; count: number }, input: string, ctx: TransitionContext, )
vim/transitions.ts:450
↓ 1 callers
Function
fromJsonTimestamp
(o: any)
types/generated/events_mono/growthbook/v1/growthbook_experiment_event.ts:204
↓ 1 callers
Function
fromOperator
( state: { type: 'operator'; op: Operator; count: number }, input: string, ctx: TransitionContext, )
vim/transitions.ts:283
↓ 1 callers
Function
fromOperatorCount
( state: { type: 'operatorCount' op: Operator count: number digits: string }, input: str
vim/transitions.ts:310
↓ 1 callers
Function
fromOperatorFind
( state: { type: 'operatorFind' op: Operator count: number find: FindType }, input: stri
vim/transitions.ts:334
↓ 1 callers
Function
fromOperatorG
( state: { type: 'operatorG'; op: Operator; count: number }, input: string, ctx: TransitionContext, )
vim/transitions.ts:420
↓ 1 callers
Function
fromOperatorTextObj
( state: { type: 'operatorTextObj' op: Operator count: number scope: TextObjScope }, inp
vim/transitions.ts:350
↓ 1 callers
Function
fromReplace
( state: { type: 'replace'; count: number }, input: string, ctx: TransitionContext, )
vim/transitions.ts:438
↓ 1 callers
Function
fromTimestamp
(t: Timestamp)
types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts:840
↓ 1 callers
Function
fromTimestamp
(t: Timestamp)
types/generated/events_mono/growthbook/v1/growthbook_experiment_event.ts:198
↓ 1 callers
Function
gatherAllCandidates
* Gathers candidate session files across all project directories.
utils/listSessionsImpl.ts:406
↓ 1 callers
Function
gatherProjectCandidates
* Gathers candidate session files for a specific project directory * (and optionally its git worktrees).
utils/listSessionsImpl.ts:309
↓ 1 callers
Function
generate
()
hooks/useAwaySummary.ts:69
↓ 1 callers
Function
generateActionsTable
* Build a markdown table of all actions with their default bindings and context.
skills/bundled/keybindings.ts:33
↓ 1 callers
Function
generateAgent
( userPrompt: string, model: ModelName, existingIdentifiers: string[], abortSignal: AbortSignal, )
components/agents/generateAgent.ts:122
↓ 1 callers
Function
generateAgentSuggestions
( agents: AgentDefinition[], query: string, showOnEmpty = false, )
hooks/unifiedSuggestions.ts:77
↓ 1 callers
Function
generateAwaySummary
( messages: readonly Message[], signal: AbortSignal, )
services/awaySummary.ts:29
↓ 1 callers
Function
generateBashSuggestions
* Generate bash shell completion suggestions
hooks/useTypeahead.tsx:211
← previous
next →
5,301–5,400 of 11,462, ranked by callers