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
↓ 11 callers
Function
pathInWorkingPath
(path: string, workingPath: string)
source code/utils/permissions/filesystem.ts:711
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
source code/utils/permissions/permissionRuleParser.ts:95
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
source code/utils/sandbox/sandbox-adapter.ts:65
↓ 11 callers
Function
prepareUserContent
({ inputString, precedingInputBlocks, }: { inputString: string precedingInputBlocks: ContentBlockParam
source code/utils/messages.ts:527
↓ 11 callers
Function
processMemoryFile
( filePath: string, type: MemoryType, processedPaths: Set<string>, includeExternal: boolean, depth:
source code/utils/claudemd.ts:620
↓ 11 callers
Function
processSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', { sessionId, agentType, model, force
source code/utils/sessionStart.ts:37
↓ 11 callers
Function
recordTranscript
( messages: Message[], teamInfo?: TeamInfo, startingParentUuidHint?: UUID, allMessages?: readonly Mess
source code/utils/sessionStorage.ts:1410
↓ 11 callers
Method
render
(node: ReactNode)
source code/ink/ink.tsx:1444
↓ 11 callers
Method
reportState
Report worker state to CCR via PUT /sessions/{id}/worker.
source code/cli/transports/ccrClient.ts:647
↓ 11 callers
Method
request
* Send an authenticated HTTP request to CCR. Handles auth headers, * 409 epoch mismatch, and error logging. Returns { ok: true } on 2xx. * On 42
source code/cli/transports/ccrClient.ts:558
↓ 11 callers
Function
requireComputerUseInput
()
source code/utils/computerUse/inputLoader.ts:24
↓ 11 callers
Function
resetSettingsCache
()
source code/utils/settings/settingsCache.ts:57
↓ 11 callers
Function
resolveEdgeRaw
(edges: Value[], physicalEdge: number)
source code/native-ts/yoga-layout/index.ts:235
↓ 11 callers
Function
setNeedsAutoModeExitAttachment
(value: boolean)
source code/bootstrap/state.ts:1371
↓ 11 callers
Function
setOriginalCwd
(cwd: string)
source code/bootstrap/state.ts:517
↓ 11 callers
Function
setUseCoworkPlugins
(value: boolean)
source code/bootstrap/state.ts:1257
↓ 11 callers
Method
stop
()
source code/utils/claudeInChrome/chromeNativeHost.ts:195
↓ 11 callers
Function
str
(k: string)
source code/components/messageActions.tsx:71
↓ 11 callers
Function
tokenCountWithEstimation
(messages: readonly Message[])
source code/utils/tokens.ts:228
↓ 11 callers
Function
updateTaskState
* Updates task state in AppState.
source code/utils/swarm/inProcessRunner.ts:521
↓ 11 callers
Function
useAnimationFrame
( intervalMs: number | null = 16, )
source code/ink/hooks/use-animation-frame.ts:32
↓ 11 callers
Function
useInterval
( callback: () => void, intervalMs: number | null, )
source code/ink/hooks/use-interval.ts:45
↓ 10 callers
Function
buildPluginTelemetryFields
( name: string, marketplace: string | undefined, managedNames: Set<string> | null = null, )
source code/utils/telemetry/pluginTelemetry.ts:135
↓ 10 callers
Function
cleanup
()
source code/hooks/useDiffInIDE.ts:236
↓ 10 callers
Function
clearBridgePointer
(dir: string)
source code/bridge/bridgePointer.ts:192
↓ 10 callers
Function
clearKeychainCache
()
source code/utils/secureStorage/macOsKeychainHelpers.ts:89
↓ 10 callers
Method
close
()
source code/services/oauth/auth-code-listener.ts:201
↓ 10 callers
Function
createSyntheticUserCaveatMessage
()
source code/utils/messages.ts:568
↓ 10 callers
Function
createTaskStateBase
( id: string, type: TaskType, description: string, toolUseId?: string, )
source code/Task.ts:110
↓ 10 callers
Function
deriveSecurityFlags
( parsed: ParsedPowerShellCommand, )
source code/utils/powershell/parser.ts:1730
↓ 10 callers
Function
describeMcpConfigFilePath
(scope: ConfigScope)
source code/services/mcp/utils.ts:265
↓ 10 callers
Function
done
(timedOut: boolean)
source code/utils/process.ts:57
↓ 10 callers
Function
drainRunLoop
(fn: () => Promise<T>)
source code/utils/computerUse/drainRunLoop.ts:63
↓ 10 callers
Function
emitSequence
(seq: string)
source code/ink/termio/tokenize.ts:129
↓ 10 callers
Method
equals
(other: Cursor)
source code/utils/Cursor.ts:993
↓ 10 callers
Function
formatModelPricing
(costs: ModelCosts)
source code/utils/modelCost.ts:219
↓ 10 callers
Function
formatShortcut
Format a shortcut for display in the help menu (e.g., "ctrl+o" → "ctrl + o")
source code/components/PromptInput/PromptInputHelpMenu.tsx:15
↓ 10 callers
Function
getAccessToken
()
source code/main.tsx:3324
↓ 10 callers
Function
getBaseDirectories
()
source code/utils/nativeInstaller/installer.ts:117
↓ 10 callers
Method
getComputedBorder
(edge: LayoutEdge)
source code/ink/layout/yoga.ts:126
↓ 10 callers
Function
getContextWindowForModel
( model: string, betas?: string[], )
source code/utils/context.ts:53
↓ 10 callers
Function
getCurrentSessionTitle
( sessionId: SessionId, )
source code/utils/sessionStorage.ts:2741
↓ 10 callers
Function
getLastAssistantMessage
( messages: Message[], )
source code/utils/messages.ts:333
↓ 10 callers
Function
getMcpPrefix
(serverName: string)
source code/services/mcp/mcpStringUtils.ts:41
↓ 10 callers
Function
getModeColor
(mode: PermissionMode)
source code/utils/permissions/PermissionMode.ts:141
↓ 10 callers
Function
getModeFromInput
(input: string)
source code/components/PromptInput/inputModes.ts:18
↓ 10 callers
Function
getPathsForPermissionCheck
(inputPath: string)
source code/utils/fsOperations.ts:290
↓ 10 callers
Function
getPerformance
()
source code/utils/profilerBase.ts:16
↓ 10 callers
Function
getPluginById
(pluginId: string)
source code/utils/plugins/marketplaceManager.ts:2240
↓ 10 callers
Function
getPollIntervalConfig
()
source code/bridge/pollConfig.ts:104
↓ 10 callers
Function
getProjectsDir
()
source code/utils/sessionStorage.ts:200
↓ 10 callers
Function
getSystemPrompt
( tools: Tools, model: string, additionalWorkingDirectories?: string[], mcpClients?: MCPServerConnecti
source code/constants/prompts.ts:446
↓ 10 callers
Function
getTasksDir
(taskListId: string)
source code/utils/tasks.ts:223
↓ 10 callers
Function
getTheme
(themeName: ThemeName)
source code/utils/theme.ts:600
↓ 10 callers
Function
getVersionedCachePath
( pluginId: string, version: string, )
source code/utils/plugins/pluginLoader.ts:174
↓ 10 callers
Function
hasSelection
(s: SelectionState)
source code/ink/selection.ts:678
↓ 10 callers
Function
isFirstPartyAnthropicBaseUrl
()
source code/utils/model/providers.ts:27
↓ 10 callers
Function
isIdentChar
(c: string)
source code/utils/bash/bashParser.ts:232
↓ 10 callers
Function
isMarginAuto
(edges: Value[], physicalEdge: number)
source code/native-ts/yoga-layout/index.ts:252
↓ 10 callers
Function
isMcpTool
(tool: Tool)
source code/services/mcp/utils.ts:247
↓ 10 callers
Function
isMcpbSource
(source: string)
source code/utils/plugins/mcpbHandler.ts:81
↓ 10 callers
Method
isOverWhitespace
()
source code/utils/Cursor.ts:988
↓ 10 callers
Function
isRestrictedToPluginOnly
( surface: CustomizationSurface, )
source code/utils/settings/pluginOnlyPolicy.ts:21
↓ 10 callers
Function
isTeamLead
( teamContext: | { leadAgentId: string } | undefined, )
source code/utils/teammate.ts:173
↓ 10 callers
Function
makeError
(error: string)
source code/bridge/bridgeMain.ts:1872
↓ 10 callers
Function
matchWildcardPattern
( pattern: string, command: string, )
source code/tools/BashTool/bashPermissions.ts:355
↓ 10 callers
Function
normalizeApiKeyForConfig
(apiKey: string)
source code/utils/authPortable.ts:19
↓ 10 callers
Function
normalizeMessagesForAPI
( messages: Message[], tools: Tools = [], )
source code/utils/messages.ts:1991
↓ 10 callers
Function
notifySubscribers
()
source code/utils/messageQueueManager.ts:60
↓ 10 callers
Method
onError
(event: Event)
source code/utils/mcpWebSocketTransport.ts:40
↓ 10 callers
Function
packWord1
( styleId: number, hyperlinkId: number, width: number, )
source code/ink/screen.ts:344
↓ 10 callers
Function
parse
* Parse a command string and return a ParsedCommand instance. * Returns null if parsing fails completely.
source code/utils/bash/ParsedCommand.ts:312
↓ 10 callers
Function
prependBullets
(items: Array<string | string[]>)
source code/constants/prompts.ts:169
↓ 10 callers
Function
readFileSync
(filePath: string)
source code/utils/fileRead.ts:102
↓ 10 callers
Function
registerTask
(task: TaskState, setAppState: SetAppState)
source code/utils/task/framework.ts:79
↓ 10 callers
Function
runTmuxInSwarm
* Runs a tmux command in the external swarm socket. * Use this for operations in the standalone swarm session (when user is not in tmux).
source code/utils/swarm/backends/TmuxBackend.ts:89
↓ 10 callers
Function
selectFooterItem
(item: FooterItem | null)
source code/components/PromptInput/PromptInput.tsx:483
↓ 10 callers
Function
semanticNumber
( inner: T = z.number() as unknown as T, )
source code/utils/semanticNumber.ts:28
↓ 10 callers
Function
setClipboard
(text: string)
source code/ink/termio/osc.ts:140
↓ 10 callers
Function
setField
(fieldName_0: string, value: number | string | boolean | string[] | undefined)
source code/components/mcp/ElicitationDialog.tsx:330
↓ 10 callers
Function
shouldAllowManagedHooksOnly
()
source code/utils/hooks/hooksConfigSnapshot.ts:64
↓ 10 callers
Function
sliceAnsi
( str: string, start: number, end?: number, )
source code/utils/sliceAnsi.ts:28
↓ 10 callers
Function
truncateContent
( content: string, maxSize: number = MAX_CONTENT_SIZE, )
source code/utils/telemetry/betaSessionTracing.ts:105
↓ 10 callers
Function
validateUuid
(maybeUuid: unknown)
source code/utils/uuid.ts:14
↓ 10 callers
Function
write
(msg)
source code/bridge/replBridgeTransport.ts:273
↓ 9 callers
Function
cacheMarketplaceFromGit
* Cache a marketplace from a git repository * * Clones or updates a git repository containing marketplace data. * If the repository already exists
source code/utils/plugins/marketplaceManager.ts:1086
↓ 9 callers
Function
clamp
(value: number, min?: number, max?: number)
source code/ink/layout/geometry.ts:95
↓ 9 callers
Function
clearMemoryFileCaches
()
source code/utils/claudemd.ts:1121
↓ 9 callers
Function
clearPluginCache
(reason?: string)
source code/utils/plugins/pluginLoader.ts:3227
↓ 9 callers
Function
commandBelongsToServer
( command: Command, serverName: string, )
source code/services/mcp/utils.ts:54
↓ 9 callers
Function
createCombinedAbortSignal
( signal: AbortSignal | undefined, opts?: { signalB?: AbortSignal; timeoutMs?: number }, )
source code/utils/combinedAbortSignal.ts:17
↓ 9 callers
Function
createCommandInputMessage
( content: string, )
source code/utils/messages.ts:4518
↓ 9 callers
Function
decreset
(mode: number)
source code/ink/termio/dec.ts:34
↓ 9 callers
Function
decset
(mode: number)
source code/ink/termio/dec.ts:29
↓ 9 callers
Function
extractCompletionToken
(text: string, cursorPos: number, includeAtSymbol = false)
source code/hooks/useTypeahead.tsx:263
↓ 9 callers
Function
extractRules
( updates: PermissionUpdate[] | undefined, )
source code/utils/permissions/PermissionUpdate.ts:32
↓ 9 callers
Method
flush
()
source code/utils/sessionStorage.ts:843
↓ 9 callers
Function
formatMs
(ms: number)
source code/utils/profilerBase.ts:24
↓ 9 callers
Function
generateBarChart
( data: Record<string, number>, color: string, maxItems = 6, fixedOrder?: string[], )
source code/commands/insights.ts:1826
↓ 9 callers
Function
getAgentContext
()
source code/utils/agentContext.ts:102
← previous
next →
401–500 of 11,462, ranked by callers