MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

↓ 2,724 callersFunctionlogForDebugging
( message: string, { level }: { level: DebugLogLevel } = { level: 'debug', }, )
source code/utils/debug.ts:205
↓ 1,088 callersFunctionlogEvent
( eventName: string, // intentionally no strings unless AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_F
source code/services/analytics/index.ts:135
↓ 699 callersMethodhas
(key: string)
source code/utils/fileStateCache.ts:52
↓ 623 callersFunctionlogError
(error: unknown)
source code/utils/log.ts:160
↓ 501 callersMethodset
(key: string, value: FileState)
source code/utils/fileStateCache.ts:47
↓ 437 callersMethodmax
()
source code/utils/fileStateCache.ts:68
↓ 410 callersFunctionlazySchema
(factory: () => T)
source code/utils/lazySchema.ts:7
↓ 367 callersFunctionjsonStringify
( value: unknown, replacer?: | ((this: unknown, key: string, value: unknown) => unknown) | (number
source code/utils/slowOperations.ts:182
↓ 347 callersFunctionisEnvTruthy
(envVar: string | boolean | undefined)
source code/utils/envUtils.ts:34
↓ 328 callersFunctionadvance
Advance one JS char, updating byte offset for UTF-8.
source code/utils/bash/bashParser.ts:148
↓ 316 callersMethodadd
* Add an item to the buffer. If the buffer is full, * the oldest item will be evicted.
source code/utils/CircularBuffer.ts:20
↓ 316 callersMethodget
()
source code/ink/output.ts:270
↓ 315 callersFunctionerrorMessage
(e: unknown)
source code/utils/errors.ts:121
↓ 315 callersMethodkeys
()
source code/utils/fileStateCache.ts:80
↓ 293 callersMethodentries
()
source code/utils/fileStateCache.ts:84
↓ 262 callersFunctiononDone
(result?: string, doneOptions?: { display?: CommandResultDisplay; metaMessages?: strin
source code/screens/REPL.tsx:3212
↓ 241 callersFunctiongetGlobalConfig
()
source code/utils/config.ts:1046
↓ 240 callersMethoddelete
(key: string)
source code/utils/fileStateCache.ts:56
↓ 235 callersFunctionuseAppState
(selector)
source code/state/AppState.tsx:144
↓ 233 callersFunctionmk
Build a node. Slices text from source by byte range via char-index lookup.
source code/utils/bash/bashParser.ts:662
↓ 229 callersFunctiongetFsImplementation
()
source code/utils/fsOperations.ts:623
↓ 227 callersFunctionpeek
(L: Lexer, off = 0)
source code/utils/bash/bashParser.ts:164
↓ 219 callersFunctionlogMCPDebug
(serverName: string, message: string)
source code/utils/log.ts:316
↓ 209 callersMethodget
(key: string)
source code/utils/fileStateCache.ts:43
↓ 207 callersMethodtoString
()
source code/utils/bash/ParsedCommand.ts:25
↓ 201 callersFunctionlogForDiagnosticsNoPII
( level: DiagnosticLogLevel, event: string, data?: Record<string, unknown>, )
source code/utils/diagLogs.ts:29
↓ 196 callersFunctiongetCwd
()
source code/utils/cwd.ts:28
↓ 186 callersFunctiongetSessionId
()
source code/bootstrap/state.ts:433
↓ 181 callersFunctionresolve
(start: UUID)
source code/utils/sessionStorage.ts:2016
↓ 180 callersFunctioncreateUserMessage
({ content, isMeta, isVisibleInTranscriptOnly, isVirtual, isCompactSummary, summarizeMetadata, t
source code/utils/messages.ts:462
↓ 166 callersFunctionexecFileNoThrow
( file: string, args: string[], options: ExecFileOptions = { timeout: 10 * SECONDS_IN_MINUTE * MS_IN
source code/utils/execFileNoThrow.ts:28
↓ 152 callersFunctionsaveGlobalConfig
( updater: (currentConfig: GlobalConfig) => GlobalConfig, )
source code/utils/config.ts:799
↓ 151 callersMethodwrite
(x: number, y: number, text: string, softWrap?: boolean[])
source code/ink/output.ts:243
↓ 149 callersFunctiongetFeatureValue_CACHED_MAY_BE_STALE
( feature: string, defaultValue: T, )
source code/services/analytics/growthbook.ts:736
↓ 135 callersFunctionjsonParse
(text, reviver)
source code/utils/slowOperations.ts:206
↓ 131 callersMethodresolve
(authorizationCode: string)
source code/services/oauth/auth-code-listener.ts:185
↓ 122 callersMethodclear
* Clear a region by writing empty cells. Used when a node shrinks to * ensure stale content from the previous frame is removed.
source code/ink/output.ts:229
↓ 122 callersFunctiongetPlatform
()
source code/utils/nativeInstaller/installer.ts:89
↓ 116 callersFunctiongetSettingsForSource
( source: SettingSource, )
source code/utils/settings/settings.ts:311
↓ 107 callersFunctionuseKeybinding
( action: string, handler: () => void | false | Promise<void>, options: Options = {}, )
source code/keybindings/useKeybinding.ts:35
↓ 105 callersMethodpreventDefault
()
source code/ink/events/terminal-event.ts:66
↓ 105 callersFunctionreadFile
(fsPath, options)
source code/utils/fsOperations.ts:429
↓ 98 callersMethodclear
()
source code/utils/task/TaskOutput.ts:383
↓ 98 callersFunctiontoError
(e: unknown)
source code/utils/errors.ts:113
↓ 93 callersFunctionexecFileNoThrowWithCwd
( file: string, args: string[], { abortSignal, timeout: finalTimeout = 10 * SECONDS_IN_MINUTE *
source code/utils/execFileNoThrow.ts:91
↓ 92 callersFunctiongetErrnoCode
(e: unknown)
source code/utils/errors.ts:130
↓ 91 callersFunctioncolor
( c: keyof Theme | Color | undefined, theme: ThemeName, type: ColorType = 'foreground', )
source code/components/design-system/color.ts:11
↓ 89 callersFunctiongetOriginalCwd
()
source code/bootstrap/state.ts:502
↓ 89 callersFunctionplural
( n: number, word: string, pluralWord = word + 's', )
source code/utils/stringUtils.ts:34
↓ 88 callersMethodrecord
(durationMs: number)
source code/utils/fpsTracker.ts:13
↓ 87 callersFunctionmkdir
(dirPath, options)
source code/utils/fsOperations.ts:416
↓ 87 callersFunctionstat
(fsPath)
source code/utils/fsOperations.ts:396
↓ 86 callersFunctionisENOENT
(e: unknown)
source code/utils/errors.ts:141
↓ 85 callersMethodget
* Get a cached value by key. On first call for a key, computes and caches it. * Subsequent calls return the cached value until a watched file chang
source code/utils/git/gitFilesystem.ts:465
↓ 84 callersFunctionskipBlanks
(L: Lexer)
source code/utils/bash/bashParser.ts:274
↓ 82 callersFunctioncount
(arr: readonly T[], pred: (x: T) => unknown)
source code/utils/array.ts:7
↓ 81 callersFunctionupdateSettingsForSource
( source: EditableSettingSource, settings: SettingsJson, )
source code/utils/settings/settings.ts:418
↓ 79 callersFunctiongetAPIProvider
()
source code/utils/model/providers.ts:8
↓ 79 callersMethodwrite
* Send output to the transport. * In bridge mode, control_request messages are always echoed to stdout so the * bridge parent can detect permiss
source code/cli/remoteIO.ts:233
↓ 77 callersFunctionsleep
( ms: number, signal?: AbortSignal, opts?: { throwOnAbort?: boolean; abortError?: () => Error; unref?: b
source code/utils/sleep.ts:16
↓ 75 callersFunctionprofileCheckpoint
(name: string)
source code/utils/startupProfiler.ts:67
↓ 74 callersFunctiongetOauthConfig
()
source code/constants/oauth.ts:188
↓ 71 callersFunctionuseTerminalSize
()
source code/hooks/useTerminalSize.ts:9
↓ 70 callersFunctionisSet
(value: any)
source code/types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts:858
↓ 68 callersFunctiongetIsNonInteractiveSession
()
source code/bootstrap/state.ts:1059
↓ 68 callersFunctionrgb
(r: number, g: number, b: number)
source code/native-ts/color-diff/index.ts:86
↓ 64 callersFunctiongetInitialSettings
()
source code/utils/settings/settings.ts:814
↓ 64 callersFunctionwriteToStdout
(data: string)
source code/utils/process.ts:30
↓ 61 callersFunctionisClaudeAISubscriber
()
source code/utils/auth.ts:1566
↓ 61 callersFunctionquote
(args: ReadonlyArray<unknown>)
source code/utils/bash/shellQuote.ts:269
↓ 61 callersFunctionreaddir
(fsPath)
source code/utils/fsOperations.ts:400
↓ 60 callersFunctioncreateAttachmentMessage
( attachment: Attachment, )
source code/utils/attachments.ts:3203
↓ 60 callersFunctionparsePluginIdentifier
(plugin: string)
source code/utils/plugins/pluginIdentifier.ts:53
↓ 58 callersFunctionuseKeybindings
( // Handler returning `false` means "not consumed" — the event propagates // to later useInput/useKeybind
source code/keybindings/useKeybinding.ts:115
↓ 56 callersFunctionexpandPath
(path: string, baseDir?: string)
source code/utils/path.ts:34
↓ 55 callersFunctionisFullscreenEnvEnabled
()
source code/utils/fullscreen.ts:114
↓ 53 callersFunctionunlink
(fsPath)
source code/utils/fsOperations.ts:404
↓ 52 callersMethoderror
(error: unknown)
source code/utils/stream.ts:61
↓ 52 callersFunctiongracefulShutdown
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
source code/utils/gracefulShutdown.ts:393
↓ 52 callersFunctionisAgentSwarmsEnabled
()
source code/utils/agentSwarmsEnabled.ts:26
↓ 52 callersFunctionuseSetAppState
()
source code/state/AppState.tsx:172
↓ 51 callersFunctionleaf
(P: ParseState, type: string, tok: Token)
source code/utils/bash/bashParser.ts:704
↓ 51 callersFunctionrestoreLex
(L: Lexer, s: LexSave)
source code/utils/bash/bashParser.ts:761
↓ 49 callersFunctionextractTag
(html: string, tagName: string)
source code/utils/messages.ts:635
↓ 49 callersFunctionformatTokens
(count: number)
source code/utils/format.ts:135
↓ 48 callersFunctionerrorMessage
(err: ImportTokenError, codeUrl: string)
source code/commands/remote-setup/remote-setup.tsx:64
↓ 48 callersFunctiontruncateToWidth
(text: string, maxWidth: number)
source code/utils/truncate.ts:65
↓ 47 callersFunctionuseTheme
()
source code/components/design-system/ThemeProvider.tsx:124
↓ 46 callersFunctionformatFileSize
(sizeInBytes: number)
source code/utils/format.ts:11
↓ 46 callersFunctionformatNumber
(number: number)
source code/utils/format.ts:126
↓ 46 callersMethodmarkDirty
()
source code/native-ts/yoga-layout/index.ts:579
↓ 46 callersFunctionregisterCleanup
(cleanupFn: () => Promise<void>)
source code/utils/cleanupRegistry.ts:16
↓ 46 callersFunctionwrapMessagesInSystemReminder
( messages: UserMessage[], )
source code/utils/messages.ts:3103
↓ 45 callersMethodenqueue
* Enqueue a patch to PUT /worker. Coalesces with any existing pending * patch. Fire-and-forget — callers don't need to await.
source code/cli/transports/WorkerStateUploader.ts:45
↓ 45 callersFunctionisDefined
(n: number)
source code/native-ts/yoga-layout/index.ts:110
↓ 45 callersFunctionsanitizeToolNameForAnalytics
( toolName: string, )
source code/services/analytics/metadata.ts:72
↓ 44 callersFunctionisFastModeEnabled
()
source code/utils/fastMode.ts:40
↓ 44 callersFunctionpathExists
(path: string)
source code/utils/file.ts:41
↓ 44 callersFunctionqueryCheckpoint
(name: string)
source code/utils/queryProfiler.ts:71
↓ 43 callersFunctionnextToken
* Scan next token. Context-sensitive: `cmd` mode treats [ as operator (test * command start), `arg` mode treats [ as word char (glob/subscript).
source code/utils/bash/bashParser.ts:304
next →1–100 of 11,462, ranked by callers