Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ functions
Functions
11,462 in github.com/AnukarOP/claude-code-leaked
⨍
Functions
11,462
◇
Types & classes
340
↓ 4 callers
Function
loadKnownMarketplacesConfigSafe
()
source code/utils/plugins/marketplaceManager.ts:311
↓ 4 callers
Function
loadPluginLspServers
( plugin: LoadedPlugin, errors: PluginError[] = [], )
source code/utils/plugins/lspPluginIntegration.ts:59
↓ 4 callers
Function
localInstallationExists
()
source code/utils/localInstaller.ts:146
↓ 4 callers
Function
lockPath
()
source code/services/autoDream/consolidationLock.ts:23
↓ 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
source code/tools/BashTool/bashPermissions.ts:119
↓ 4 callers
Function
logEntryToHistoryEntry
* Convert LogEntry to HistoryEntry by resolving paste store references.
source code/history.ts:267
↓ 4 callers
Function
logLockAcquisitionError
(versionPath: string, lockError: unknown)
source code/utils/nativeInstaller/installer.ts:1160
↓ 4 callers
Function
logSpeculation
( id: string, outcome: 'accepted' | 'aborted' | 'error', startTime: number, suggestionLength: number,
source code/services/PromptSuggestion/speculation.ts:126
↓ 4 callers
Function
makeResultMessage
(sessionId: string)
source code/bridge/bridgeMessaging.ts:401
↓ 4 callers
Function
mapElementType
( rawType: string, expressionType?: string, )
source code/utils/powershell/parser.ts:751
↓ 4 callers
Function
markITerm2SetupComplete
()
source code/utils/iTermBackup.ts:9
↓ 4 callers
Function
markPluginVersionOrphaned
( versionPath: string, )
source code/utils/plugins/cacheUtils.ts:58
↓ 4 callers
Function
markPostCompaction
()
source code/bootstrap/state.ts:773
↓ 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
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:191
↓ 4 callers
Function
markV2Dismissed
()
source code/components/EffortCallout.tsx:258
↓ 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
source code/tools/PowerShellTool/pathValidation.ts:774
↓ 4 callers
Function
maybeActivateBrief
(options: unknown)
source code/main.tsx:4624
↓ 4 callers
Function
maybeActivateProactive
(options: unknown)
source code/main.tsx:4613
↓ 4 callers
Function
mergeUserMessages
(a: UserMessage, b: UserMessage)
source code/utils/messages.ts:2413
↓ 4 callers
Function
microcompactMessages
( messages: Message[], toolUseContext?: ToolUseContext, querySource?: QuerySource, )
source code/services/compact/microCompact.ts:255
↓ 4 callers
Function
mkdirSync
(dirPath, options)
source code/utils/fsOperations.ts:530
↓ 4 callers
Function
modelSupportsAdvisor
(model: string)
source code/utils/advisor.ts:91
↓ 4 callers
Function
modelSupportsAutoMode
(model: string)
source code/utils/betas.ts:162
↓ 4 callers
Function
modelSupportsStructuredOutputs
(model: string)
source code/utils/betas.ts:144
↓ 4 callers
Function
moveSelection
(delta: -1 | 1)
source code/components/Settings/Config.tsx:1370
↓ 4 callers
Function
navigateFooter
(delta: 1 | -1, exitAtStart = false)
source code/components/PromptInput/PromptInput.tsx:496
↓ 4 callers
Function
nextGeneration
(sessionId: string)
source code/bridge/jwtUtils.ts:98
↓ 4 callers
Function
normalizeFullWidthDigits
(input: string)
source code/utils/stringUtils.ts:74
↓ 4 callers
Function
normalizeFullWidthSpace
(input: string)
source code/utils/stringUtils.ts:84
↓ 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
source code/services/mcp/xaa.ts:63
↓ 4 callers
Function
normalizeUserTextContent
( a: string | ContentBlockParam[], )
source code/utils/messages.ts:2487
↓ 4 callers
Function
notify
()
source code/ink/components/ScrollBox.tsx:102
↓ 4 callers
Function
notifyCompaction
( querySource: QuerySource, agentId?: AgentId, )
source code/services/api/promptCacheBreakDetection.ts:691
↓ 4 callers
Function
notifySessionStateChanged
( state: SessionState, details?: RequiresActionDetails, )
source code/utils/sessionState.ts:94
↓ 4 callers
Function
notifyVscodeFileUpdated
( filePath: string, oldContent: string | null, newContent: string | null, )
source code/services/mcp/vscodeSdkMcp.ts:41
↓ 4 callers
Function
offsetAt
(idx: number)
source code/vim/textObjects.ts:87
↓ 4 callers
Function
onImagePaste
(image: string, mediaType?: string, filename?: string, dimensions?: ImageDimensions, sourcePath?: string)
source code/components/PromptInput/PromptInput.tsx:1153
↓ 4 callers
Method
onResponse
* Dispatch a response parsed from stdin. Called by App.tsx's * processKeysInBatch for every `kind: 'response'` item. * * Matching strategy:
source code/ink/terminal-querier.ts:197
↓ 4 callers
Function
parseArithExpr
( P: ParseState, stop: string, mode: ArithMode = 'var', )
source code/utils/bash/bashParser.ts:4131
↓ 4 callers
Function
parseArithTernary
( P: ParseState, stop: string, mode: ArithMode, )
source code/utils/bash/bashParser.ts:4159
↓ 4 callers
Function
parseBooleanFrontmatter
(value: unknown)
source code/utils/frontmatterParser.ts:334
↓ 4 callers
Function
parseExpansionRest
( P: ParseState, nodeType: string, stopAtSlash: boolean, )
source code/utils/bash/bashParser.ts:2809
↓ 4 callers
Function
parseMcpConfig
(params: { configObject: unknown expandVars: boolean scope: ConfigScope filePath?: string })
source code/services/mcp/config.ts:1299
↓ 4 callers
Function
parseSedEditCommand
(command: string)
source code/tools/BashTool/sedEditParser.ts:51
↓ 4 callers
Function
performMCPOAuthFlow
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, onAuthorizationUrl: (url:
source code/services/mcp/auth.ts:849
↓ 4 callers
Function
permissionPromptToolResultToPermissionDecision
( result: Output, tool: Tool, input: { [key: string]: unknown }, toolUseContext: ToolUseContext, )
source code/utils/permissions/PermissionPromptToolResultSchema.ts:86
↓ 4 callers
Function
pluginDataDirPath
(pluginId: string)
source code/utils/plugins/pluginDirectories.ts:100
↓ 4 callers
Function
pointValue
(v: number)
source code/native-ts/yoga-layout/index.ts:92
↓ 4 callers
Function
posInt
(v: unknown, fallback: number, max?: number)
source code/commands/review/reviewRemote.ts:183
↓ 4 callers
Function
processConditionedMdRules
( targetPath: string, rulesDir: string, type: MemoryType, processedPaths: Set<string>, includeExtern
source code/utils/claudemd.ts:1356
↓ 4 callers
Function
processMailboxPermissionResponse
(params: { requestId: string decision: 'approved' | 'rejected' feedback?: string updatedInput?: Record
source code/hooks/useSwarmPermissionPoller.ts:126
↓ 4 callers
Function
processResumedConversation
( result: ResumeLoadResult, opts: { forkSession: boolean sessionIdOverride?: string transcript
source code/utils/sessionRestore.ts:411
↓ 4 callers
Function
processSessionFiles
* Process session files and extract stats. * Can filter by date range.
source code/utils/stats.ts:119
↓ 4 callers
Function
pushPart
(key: string, verb: string, body: React.ReactNode)
source code/components/messages/CollapsedReadSearchContent.tsx:301
↓ 4 callers
Function
pwd
()
source code/utils/cwd.ts:21
↓ 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
source code/utils/sessionStorage.ts:723
↓ 4 callers
Function
readFileAsyncOrNull
Async read that swallows all errors and returns null (best-effort).
source code/utils/fileHistory.ts:1103
↓ 4 callers
Function
readFromDisk
()
source code/utils/plugins/pluginFlagging.ts:77
↓ 4 callers
Function
readLine
(screen: Screen, y: number)
source code/ink/log-update.ts:497
↓ 4 callers
Function
readSubdirs
(dirPath: string)
source code/utils/plugins/cacheUtils.ts:191
↓ 4 callers
Function
readTokenFromWellKnownFile
( path: string, tokenName: string, )
source code/utils/authFileDescriptor.ts:59
↓ 4 callers
Function
reconnectEnvironmentWithSession
* Recover from onEnvironmentLost (poll returned 404 — env was reaped * server-side). Tries two strategies in order: * * 1. Reconnect-in-pla
source code/bridge/replBridge.ts:607
↓ 4 callers
Function
recordSuccess
(state: DenialTrackingState)
source code/utils/permissions/denialTracking.ts:34
↓ 4 callers
Function
recordWorktreeExit
()
source code/components/WorktreeExitDialog.tsx:19
↓ 4 callers
Function
refreshActivePlugins
( setAppState: SetAppState, )
source code/utils/plugins/refresh.ts:74
↓ 4 callers
Function
refreshMarketplace
( name: string, onProgress?: MarketplaceProgressCallback, options?: { disableCredentialHelper?: boolean
source code/utils/plugins/marketplaceManager.ts:2367
↓ 4 callers
Function
registerHookCallbacks
( hooks: Partial<Record<HookEvent, RegisteredHookMatcher[]>>, )
source code/bootstrap/state.ts:1421
↓ 4 callers
Function
releaseLock
* Releases the update lock if it's held by this process
source code/utils/autoUpdater.ts:256
↓ 4 callers
Function
releaseSchedulerLock
( opts?: SchedulerLockOptions, )
source code/utils/cronTasksLock.ts:180
↓ 4 callers
Function
removeChildNode
( node: DOMElement, removeNode: DOMNode, )
source code/ink/dom.ts:206
↓ 4 callers
Function
removeCronTasks
( ids: string[], dir?: string, )
source code/utils/cronTasks.ts:233
↓ 4 callers
Function
removeExtraFields
( transcript: TranscriptMessage[], )
source code/utils/sessionStorage.ts:1816
↓ 4 callers
Function
renderBorderLine
(type: 'top' | 'middle' | 'bottom')
source code/components/MarkdownTable.tsx:228
↓ 4 callers
Function
renderDefaultModelSetting
( setting: ModelName | ModelAlias, )
source code/utils/model/model.ts:300
↓ 4 callers
Method
resetBackoff
()
source code/services/analytics/firstPartyEventLoggingExporter.ts:521
↓ 4 callers
Function
resolveAppliedEffort
( model: string, appStateEffortValue: EffortValue | undefined, )
source code/utils/effort.ts:154
↓ 4 callers
Function
resolveOptions
(options?: XDGOptions)
source code/utils/xdg.ts:22
↓ 4 callers
Function
resolveSandboxFilesystemPath
( pattern: string, source: SettingSource, )
source code/utils/sandbox/sandbox-adapter.ts:140
↓ 4 callers
Function
resolveSimpleExpansion
* Resolve a `simple_expansion` ($VAR) node. Returns VAR_PLACEHOLDER if * resolvable, too-complex otherwise. * * @param insideString true when $VAR
source code/utils/bash/ast.ts:1939
↓ 4 callers
Function
resolveValue
(value: string)
source code/utils/plugins/lspPluginIntegration.ts:239
↓ 4 callers
Function
respondError
(error: string)
source code/cli/print.ts:4670
↓ 4 callers
Function
restoreAgentFromSession
( agentSetting: string | undefined, currentAgentDefinition: AgentDefinition | undefined, agentDefinition
source code/utils/sessionRestore.ts:202
↓ 4 callers
Function
roughTokenCountEstimationForMessages
( messages: readonly { type: string message?: { content?: unknown } attachment?: Attachment }[
source code/services/tokenEstimation.ts:329
↓ 4 callers
Function
runIt2
* Runs an it2 CLI command and returns the result.
source code/utils/swarm/backends/ITermBackend.ts:38
↓ 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
source code/utils/swarm/backends/TmuxBackend.ts:79
↓ 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. *
source code/components/mcp/ElicitationDialog.tsx:461
↓ 4 callers
Function
sameIf
(x: { if?: string }, y: { if?: string })
source code/utils/hooks/hooksSettings.ts:45
↓ 4 callers
Function
sanitizeAndLogError
(err: unknown)
source code/components/Feedback.tsx:504
↓ 4 callers
Function
saveCustomTitle
( sessionId: UUID, customTitle: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
source code/utils/sessionStorage.ts:2619
↓ 4 callers
Function
saveStatsCache
( cache: PersistedStatsCache, )
source code/utils/statsCache.ts:216
↓ 4 callers
Function
schedulePush
* Debounced push: waits for writes to settle, then pushes once.
source code/services/teamMemorySync/watcher.ts:134
↓ 4 callers
Function
scopeKey
(m: { session_id: string parent_tool_use_id: string | null })
source code/cli/transports/ccrClient.ts:122
↓ 4 callers
Function
sedCommandIsAllowedByAllowlist
( command: string, options?: { allowFileWrites?: boolean }, )
source code/tools/BashTool/sedValidation.ts:249
↓ 4 callers
Function
selectionBounds
(s: SelectionState)
source code/ink/selection.ts:686
↓ 4 callers
Function
setAgentColor
( agentType: string, color: AgentColorName | undefined, )
source code/tools/AgentTool/agentColorManager.ts:54
↓ 4 callers
Method
setAlignItems
(align: LayoutAlign)
source code/ink/layout/yoga.ts:211
↓ 4 callers
Method
setAlignSelf
(align: LayoutAlign)
source code/ink/layout/yoga.ts:222
↓ 4 callers
Method
setFlexDirection
(dir: LayoutFlexDirection)
source code/ink/layout/yoga.ts:179
↓ 4 callers
Function
setMcpServerEnabled
(name: string, enabled: boolean)
source code/services/mcp/config.ts:1555
↓ 4 callers
Method
setSandboxSettings
(options: { enabled?: boolean autoAllowBashIfSandboxed?: boolean allowUnsandboxedCommands?: boolea
source code/utils/sandbox/sandbox-adapter.ts:894
← previous
next →
1,501–1,600 of 11,462, ranked by callers