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
↓ 4 callers
Function
loadAudioNapi
()
services/voice.ts:24
↓ 4 callers
Function
loadKnownMarketplacesConfigSafe
()
utils/plugins/marketplaceManager.ts:309
↓ 4 callers
Function
loadPluginLspServers
( plugin: LoadedPlugin, errors: PluginError[] = [], )
utils/plugins/lspPluginIntegration.ts:57
↓ 4 callers
Function
localInstallationExists
()
utils/localInstaller.ts:144
↓ 4 callers
Function
lockPath
()
services/autoDream/consolidationLock.ts:21
↓ 4 callers
Function
logClassifierResultForAnts
* [ANT-ONLY] Log classifier evaluation results for analysis. * This helps us understand which classifier rules are being evaluated * and how the cla
tools/BashTool/bashPermissions.ts:117
↓ 4 callers
Function
logEntryToHistoryEntry
* Convert LogEntry to HistoryEntry by resolving paste store references.
history.ts:265
↓ 4 callers
Function
logLockAcquisitionError
(versionPath: string, lockError: unknown)
utils/nativeInstaller/installer.ts:1158
↓ 4 callers
Function
logSpeculation
( id: string, outcome: 'accepted' | 'aborted' | 'error', startTime: number, suggestionLength: number,
services/PromptSuggestion/speculation.ts:124
↓ 4 callers
Function
makeResultMessage
(sessionId: string)
bridge/bridgeMessaging.ts:399
↓ 4 callers
Function
mapElementType
( rawType: string, expressionType?: string, )
utils/powershell/parser.ts:749
↓ 4 callers
Function
markITerm2SetupComplete
()
utils/iTermBackup.ts:7
↓ 4 callers
Function
markPluginVersionOrphaned
( versionPath: string, )
utils/plugins/cacheUtils.ts:56
↓ 4 callers
Function
markPostCompaction
()
bootstrap/state.ts:771
↓ 4 callers
Function
markTaskNotified
* Atomically mark a task as notified. Returns true if this call flipped the * flag (caller should enqueue), false if already notified (caller should
tasks/RemoteAgentTask/RemoteAgentTask.tsx:189
↓ 4 callers
Function
markV2Dismissed
()
components/EffortCallout.tsx:256
↓ 4 callers
Function
matchesParam
* Checks if a lowercase parameter name (with leading dash) matches any entry * in the given param list, accounting for PowerShell's prefix-matching b
tools/PowerShellTool/pathValidation.ts:772
↓ 4 callers
Function
maybeActivateBrief
(options: unknown)
main.tsx:4622
↓ 4 callers
Function
maybeActivateProactive
(options: unknown)
main.tsx:4611
↓ 4 callers
Function
mergeUserMessages
(a: UserMessage, b: UserMessage)
utils/messages.ts:2411
↓ 4 callers
Function
microcompactMessages
( messages: Message[], toolUseContext?: ToolUseContext, querySource?: QuerySource, )
services/compact/microCompact.ts:253
↓ 4 callers
Function
mkdirSync
(dirPath, options)
utils/fsOperations.ts:528
↓ 4 callers
Function
modelSupportsAdvisor
(model: string)
utils/advisor.ts:89
↓ 4 callers
Function
modelSupportsAutoMode
(model: string)
utils/betas.ts:160
↓ 4 callers
Function
modelSupportsStructuredOutputs
(model: string)
utils/betas.ts:142
↓ 4 callers
Function
moveSelection
(delta: -1 | 1)
components/Settings/Config.tsx:1368
↓ 4 callers
Function
navigateFooter
(delta: 1 | -1, exitAtStart = false)
components/PromptInput/PromptInput.tsx:494
↓ 4 callers
Function
nextGeneration
(sessionId: string)
bridge/jwtUtils.ts:96
↓ 4 callers
Function
normalizeFullWidthDigits
(input: string)
utils/stringUtils.ts:72
↓ 4 callers
Function
normalizeFullWidthSpace
(input: string)
utils/stringUtils.ts:82
↓ 4 callers
Function
normalizeUrl
* RFC 8414 §3.3 / RFC 9728 §3.3 identifier comparison. Roundtrip through URL * to apply RFC 3986 §6.2.2 syntax-based normalization (lowercases scheme
services/mcp/xaa.ts:61
↓ 4 callers
Function
normalizeUserTextContent
( a: string | ContentBlockParam[], )
utils/messages.ts:2485
↓ 4 callers
Function
notify
()
ink/components/ScrollBox.tsx:100
↓ 4 callers
Function
notifyCompaction
( querySource: QuerySource, agentId?: AgentId, )
services/api/promptCacheBreakDetection.ts:689
↓ 4 callers
Function
notifySessionStateChanged
( state: SessionState, details?: RequiresActionDetails, )
utils/sessionState.ts:92
↓ 4 callers
Function
notifyVscodeFileUpdated
( filePath: string, oldContent: string | null, newContent: string | null, )
services/mcp/vscodeSdkMcp.ts:39
↓ 4 callers
Function
offsetAt
(idx: number)
vim/textObjects.ts:85
↓ 4 callers
Function
onImagePaste
(image: string, mediaType?: string, filename?: string, dimensions?: ImageDimensions, sourcePath?: string)
components/PromptInput/PromptInput.tsx:1151
↓ 4 callers
Method
onResponse
* Dispatch a response parsed from stdin. Called by App.tsx's * processKeysInBatch for every `kind: 'response'` item. * * Matching strategy:
ink/terminal-querier.ts:195
↓ 4 callers
Function
parseArithExpr
( P: ParseState, stop: string, mode: ArithMode = 'var', )
utils/bash/bashParser.ts:4129
↓ 4 callers
Function
parseArithTernary
( P: ParseState, stop: string, mode: ArithMode, )
utils/bash/bashParser.ts:4157
↓ 4 callers
Function
parseBooleanFrontmatter
(value: unknown)
utils/frontmatterParser.ts:332
↓ 4 callers
Function
parseExpansionRest
( P: ParseState, nodeType: string, stopAtSlash: boolean, )
utils/bash/bashParser.ts:2807
↓ 4 callers
Function
parseMcpConfig
(params: { configObject: unknown expandVars: boolean scope: ConfigScope filePath?: string })
services/mcp/config.ts:1297
↓ 4 callers
Function
parseSedEditCommand
(command: string)
tools/BashTool/sedEditParser.ts:49
↓ 4 callers
Function
performMCPOAuthFlow
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, onAuthorizationUrl: (url:
services/mcp/auth.ts:847
↓ 4 callers
Function
permissionPromptToolResultToPermissionDecision
( result: Output, tool: Tool, input: { [key: string]: unknown }, toolUseContext: ToolUseContext, )
utils/permissions/PermissionPromptToolResultSchema.ts:84
↓ 4 callers
Function
pluginDataDirPath
(pluginId: string)
utils/plugins/pluginDirectories.ts:98
↓ 4 callers
Function
pointValue
(v: number)
native-ts/yoga-layout/index.ts:90
↓ 4 callers
Function
posInt
(v: unknown, fallback: number, max?: number)
commands/review/reviewRemote.ts:181
↓ 4 callers
Function
processConditionedMdRules
( targetPath: string, rulesDir: string, type: MemoryType, processedPaths: Set<string>, includeExtern
utils/claudemd.ts:1354
↓ 4 callers
Function
processMailboxPermissionResponse
(params: { requestId: string decision: 'approved' | 'rejected' feedback?: string updatedInput?: Record
hooks/useSwarmPermissionPoller.ts:124
↓ 4 callers
Function
processResumedConversation
( result: ResumeLoadResult, opts: { forkSession: boolean sessionIdOverride?: string transcript
utils/sessionRestore.ts:409
↓ 4 callers
Function
processSessionFiles
* Process session files and extract stats. * Can filter by date range.
utils/stats.ts:117
↓ 4 callers
Function
pushPart
(key: string, verb: string, body: React.ReactNode)
components/messages/CollapsedReadSearchContent.tsx:299
↓ 4 callers
Function
pwd
()
utils/cwd.ts:19
↓ 4 callers
Method
reAppendSessionMetadata
* Re-append cached session metadata to the end of the transcript file. * This ensures metadata stays within the tail window that readLiteMetadata
utils/sessionStorage.ts:721
↓ 4 callers
Function
readFileAsyncOrNull
Async read that swallows all errors and returns null (best-effort).
utils/fileHistory.ts:1101
↓ 4 callers
Function
readFromDisk
()
utils/plugins/pluginFlagging.ts:75
↓ 4 callers
Function
readLine
(screen: Screen, y: number)
ink/log-update.ts:495
↓ 4 callers
Function
readSubdirs
(dirPath: string)
utils/plugins/cacheUtils.ts:189
↓ 4 callers
Function
readTokenFromWellKnownFile
( path: string, tokenName: string, )
utils/authFileDescriptor.ts:57
↓ 4 callers
Function
reconnectEnvironmentWithSession
* Recover from onEnvironmentLost (poll returned 404 — env was reaped * server-side). Tries two strategies in order: * * 1. Reconnect-in-pla
bridge/replBridge.ts:605
↓ 4 callers
Function
recordSuccess
(state: DenialTrackingState)
utils/permissions/denialTracking.ts:32
↓ 4 callers
Function
recordWorktreeExit
()
components/WorktreeExitDialog.tsx:17
↓ 4 callers
Function
refreshActivePlugins
( setAppState: SetAppState, )
utils/plugins/refresh.ts:72
↓ 4 callers
Function
refreshMarketplace
( name: string, onProgress?: MarketplaceProgressCallback, options?: { disableCredentialHelper?: boolean
utils/plugins/marketplaceManager.ts:2365
↓ 4 callers
Function
registerHookCallbacks
( hooks: Partial<Record<HookEvent, RegisteredHookMatcher[]>>, )
bootstrap/state.ts:1419
↓ 4 callers
Function
releaseLock
* Releases the update lock if it's held by this process
utils/autoUpdater.ts:254
↓ 4 callers
Function
releaseSchedulerLock
( opts?: SchedulerLockOptions, )
utils/cronTasksLock.ts:178
↓ 4 callers
Function
removeChildNode
( node: DOMElement, removeNode: DOMNode, )
ink/dom.ts:204
↓ 4 callers
Function
removeCronTasks
( ids: string[], dir?: string, )
utils/cronTasks.ts:231
↓ 4 callers
Function
removeExtraFields
( transcript: TranscriptMessage[], )
utils/sessionStorage.ts:1814
↓ 4 callers
Function
renderBorderLine
(type: 'top' | 'middle' | 'bottom')
components/MarkdownTable.tsx:226
↓ 4 callers
Function
renderDefaultModelSetting
( setting: ModelName | ModelAlias, )
utils/model/model.ts:298
↓ 4 callers
Method
resetBackoff
()
services/analytics/firstPartyEventLoggingExporter.ts:519
↓ 4 callers
Function
resolveAppliedEffort
( model: string, appStateEffortValue: EffortValue | undefined, )
utils/effort.ts:152
↓ 4 callers
Function
resolveOptions
(options?: XDGOptions)
utils/xdg.ts:20
↓ 4 callers
Function
resolveSandboxFilesystemPath
( pattern: string, source: SettingSource, )
utils/sandbox/sandbox-adapter.ts:138
↓ 4 callers
Function
resolveSimpleExpansion
* Resolve a `simple_expansion` ($VAR) node. Returns VAR_PLACEHOLDER if * resolvable, too-complex otherwise. * * @param insideString true when $VAR
utils/bash/ast.ts:1937
↓ 4 callers
Function
resolveValue
(value: string)
utils/plugins/lspPluginIntegration.ts:237
↓ 4 callers
Function
respondError
(error: string)
cli/print.ts:4668
↓ 4 callers
Function
restoreAgentFromSession
( agentSetting: string | undefined, currentAgentDefinition: AgentDefinition | undefined, agentDefinition
utils/sessionRestore.ts:200
↓ 4 callers
Function
roughTokenCountEstimationForMessages
( messages: readonly { type: string message?: { content?: unknown } attachment?: Attachment }[
services/tokenEstimation.ts:327
↓ 4 callers
Function
runIt2
* Runs an it2 CLI command and returns the result.
utils/swarm/backends/ITermBackend.ts:36
↓ 4 callers
Function
runTmuxInUserSession
* Runs a tmux command in the user's original tmux session (no socket override). * Use this for operations that interact with the user's tmux panes (s
utils/swarm/backends/TmuxBackend.ts:77
↓ 4 callers
Function
runTypeahead
* Append a keystroke to the typeahead buffer (reset after 2s idle) and * call `onMatch` with the index of the first label that prefix-matches. *
components/mcp/ElicitationDialog.tsx:459
↓ 4 callers
Function
sameIf
(x: { if?: string }, y: { if?: string })
utils/hooks/hooksSettings.ts:43
↓ 4 callers
Function
sanitizeAndLogError
(err: unknown)
components/Feedback.tsx:502
↓ 4 callers
Function
saveCustomTitle
( sessionId: UUID, customTitle: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
utils/sessionStorage.ts:2617
↓ 4 callers
Function
saveStatsCache
( cache: PersistedStatsCache, )
utils/statsCache.ts:214
↓ 4 callers
Function
schedulePush
* Debounced push: waits for writes to settle, then pushes once.
services/teamMemorySync/watcher.ts:132
↓ 4 callers
Function
scopeKey
(m: { session_id: string parent_tool_use_id: string | null })
cli/transports/ccrClient.ts:120
↓ 4 callers
Function
sedCommandIsAllowedByAllowlist
( command: string, options?: { allowFileWrites?: boolean }, )
tools/BashTool/sedValidation.ts:247
↓ 4 callers
Function
selectionBounds
(s: SelectionState)
ink/selection.ts:684
↓ 4 callers
Function
setAgentColor
( agentType: string, color: AgentColorName | undefined, )
tools/AgentTool/agentColorManager.ts:52
↓ 4 callers
Method
setAlignItems
(align: LayoutAlign)
ink/layout/yoga.ts:209
↓ 4 callers
Method
setAlignSelf
(align: LayoutAlign)
ink/layout/yoga.ts:220
↓ 4 callers
Method
setFlexDirection
(dir: LayoutFlexDirection)
ink/layout/yoga.ts:177
↓ 4 callers
Function
setMcpServerEnabled
(name: string, enabled: boolean)
services/mcp/config.ts:1553
← previous
next →
1,501–1,600 of 11,462, ranked by callers