MCPcopy Create free account

hub / github.com/freecodexyz/free-code / functions

Functions11,548 in github.com/freecodexyz/free-code

↓ 2,704 callersFunctionlogForDebugging
( message: string, { level }: { level: DebugLogLevel } = { level: 'debug', }, )
src/utils/debug.ts:203
↓ 1,096 callersFunctionlogEvent
( _eventName: string, _metadata: LogEventMetadata, )
src/services/analytics/index.ts:30
↓ 700 callersMethodhas
(key: string)
src/utils/fileStateCache.ts:50
↓ 623 callersFunctionlogError
(error: unknown)
src/utils/log.ts:158
↓ 493 callersMethodset
(key: string, value: FileState)
src/utils/fileStateCache.ts:45
↓ 438 callersMethodmax
()
src/utils/fileStateCache.ts:66
↓ 414 callersFunctionlazySchema
(factory: () => T)
src/utils/lazySchema.ts:5
↓ 358 callersFunctionjsonStringify
( value: unknown, replacer?: | ((this: unknown, key: string, value: unknown) => unknown) | (number
src/utils/slowOperations.ts:180
↓ 343 callersFunctionisEnvTruthy
(envVar: string | boolean | undefined)
src/utils/envUtils.ts:32
↓ 328 callersFunctionadvance
Advance one JS char, updating byte offset for UTF-8.
src/utils/bash/bashParser.ts:146
↓ 321 callersMethodget
()
src/ink/output.ts:268
↓ 318 callersMethodadd
* Add an item to the buffer. If the buffer is full, * the oldest item will be evicted.
src/utils/CircularBuffer.ts:18
↓ 313 callersMethodkeys
()
src/utils/fileStateCache.ts:78
↓ 311 callersFunctionerrorMessage
(e: unknown)
src/utils/errors.ts:119
↓ 291 callersMethodentries
()
src/utils/fileStateCache.ts:82
↓ 262 callersFunctiononDone
(result?: string, doneOptions?: { display?: CommandResultDisplay; metaMessages?: strin
src/screens/REPL.tsx:3213
↓ 243 callersFunctiongetGlobalConfig
()
src/utils/config.ts:1064
↓ 235 callersFunctionuseAppState
(selector)
src/state/AppState.tsx:142
↓ 233 callersFunctionmk
Build a node. Slices text from source by byte range via char-index lookup.
src/utils/bash/bashParser.ts:660
↓ 229 callersFunctiongetFsImplementation
()
src/utils/fsOperations.ts:621
↓ 227 callersFunctionpeek
(L: Lexer, off = 0)
src/utils/bash/bashParser.ts:162
↓ 219 callersFunctionlogMCPDebug
(serverName: string, message: string)
src/utils/log.ts:314
↓ 216 callersMethoddelete
(key: string)
src/utils/fileStateCache.ts:54
↓ 209 callersMethodget
(key: string)
src/utils/fileStateCache.ts:41
↓ 207 callersMethodtoString
()
src/utils/bash/ParsedCommand.ts:23
↓ 201 callersFunctionlogForDiagnosticsNoPII
( level: DiagnosticLogLevel, event: string, data?: Record<string, unknown>, )
src/utils/diagLogs.ts:27
↓ 196 callersFunctiongetCwd
()
src/utils/cwd.ts:26
↓ 186 callersFunctiongetSessionId
()
src/bootstrap/state.ts:431
↓ 181 callersFunctioncreateUserMessage
({ content, isMeta, isVisibleInTranscriptOnly, isVirtual, isCompactSummary, summarizeMetadata, t
src/utils/messages.ts:460
↓ 181 callersFunctionresolve
(start: UUID)
src/utils/sessionStorage.ts:2014
↓ 166 callersFunctionexecFileNoThrow
( file: string, args: string[], options: ExecFileOptions = { timeout: 10 * SECONDS_IN_MINUTE * MS_IN
src/utils/execFileNoThrow.ts:26
↓ 154 callersFunctionsaveGlobalConfig
( updater: (currentConfig: GlobalConfig) => GlobalConfig, )
src/utils/config.ts:817
↓ 151 callersMethodwrite
(x: number, y: number, text: string, softWrap?: boolean[])
src/ink/output.ts:241
↓ 147 callersFunctiongetFeatureValue_CACHED_MAY_BE_STALE
( feature: string, defaultValue: T, )
src/services/analytics/growthbook.ts:734
↓ 134 callersFunctionjsonParse
(text, reviver)
src/utils/slowOperations.ts:204
↓ 131 callersMethodresolve
(authorizationCode: string)
src/services/oauth/auth-code-listener.ts:183
↓ 124 callersMethodclear
* Clear a region by writing empty cells. Used when a node shrinks to * ensure stale content from the previous frame is removed.
src/ink/output.ts:227
↓ 120 callersFunctiongetPlatform
()
src/utils/nativeInstaller/installer.ts:87
↓ 116 callersFunctiongetSettingsForSource
( source: SettingSource, )
src/utils/settings/settings.ts:309
↓ 107 callersFunctionuseKeybinding
( action: string, handler: () => void | false | Promise<void>, options: Options = {}, )
src/keybindings/useKeybinding.ts:33
↓ 105 callersMethodpreventDefault
()
src/ink/events/terminal-event.ts:64
↓ 105 callersFunctionreadFile
(fsPath, options)
src/utils/fsOperations.ts:427
↓ 99 callersFunctiontoError
(e: unknown)
src/utils/errors.ts:111
↓ 96 callersMethodclear
()
src/utils/task/TaskOutput.ts:381
↓ 93 callersFunctionexecFileNoThrowWithCwd
( file: string, args: string[], { abortSignal, timeout: finalTimeout = 10 * SECONDS_IN_MINUTE *
src/utils/execFileNoThrow.ts:89
↓ 92 callersFunctiongetErrnoCode
(e: unknown)
src/utils/errors.ts:128
↓ 91 callersFunctioncolor
( c: keyof Theme | Color | undefined, theme: ThemeName, type: ColorType = 'foreground', )
src/components/design-system/color.ts:9
↓ 89 callersFunctiongetOriginalCwd
()
src/bootstrap/state.ts:500
↓ 89 callersFunctionplural
( n: number, word: string, pluralWord = word + 's', )
src/utils/stringUtils.ts:32
↓ 88 callersMethodrecord
(durationMs: number)
src/utils/fpsTracker.ts:11
↓ 87 callersFunctionmkdir
(dirPath, options)
src/utils/fsOperations.ts:414
↓ 87 callersFunctionstat
(fsPath)
src/utils/fsOperations.ts:394
↓ 86 callersFunctionisENOENT
(e: unknown)
src/utils/errors.ts:139
↓ 84 callersFunctionskipBlanks
(L: Lexer)
src/utils/bash/bashParser.ts:272
↓ 82 callersFunctioncount
(arr: readonly T[], pred: (x: T) => unknown)
src/utils/array.ts:5
↓ 82 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
src/utils/git/gitFilesystem.ts:463
↓ 81 callersFunctionupdateSettingsForSource
( source: EditableSettingSource, settings: SettingsJson, )
src/utils/settings/settings.ts:416
↓ 79 callersFunctiongetAPIProvider
()
src/utils/model/providers.ts:6
↓ 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
src/cli/remoteIO.ts:231
↓ 77 callersFunctiongetOauthConfig
()
src/constants/oauth.ts:218
↓ 77 callersFunctionsleep
( ms: number, signal?: AbortSignal, opts?: { throwOnAbort?: boolean; abortError?: () => Error; unref?: b
src/utils/sleep.ts:14
↓ 71 callersFunctionprofileCheckpoint
(name: string)
src/utils/startupProfiler.ts:65
↓ 71 callersFunctionuseTerminalSize
()
src/hooks/useTerminalSize.ts:7
↓ 70 callersFunctionisSet
(value: any)
src/types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts:856
↓ 68 callersFunctionrgb
(r: number, g: number, b: number)
src/native-ts/color-diff/index.ts:84
↓ 66 callersFunctiongetIsNonInteractiveSession
()
src/bootstrap/state.ts:1057
↓ 64 callersFunctiongetInitialSettings
()
src/utils/settings/settings.ts:812
↓ 64 callersFunctionwriteToStdout
(data: string)
src/utils/process.ts:28
↓ 61 callersFunctionquote
(args: ReadonlyArray<unknown>)
src/utils/bash/shellQuote.ts:267
↓ 61 callersFunctionreaddir
(fsPath)
src/utils/fsOperations.ts:398
↓ 60 callersFunctioncreateAttachmentMessage
( attachment: Attachment, )
src/utils/attachments.ts:3201
↓ 60 callersFunctionisClaudeAISubscriber
()
src/utils/auth.ts:1621
↓ 60 callersFunctionparsePluginIdentifier
(plugin: string)
src/utils/plugins/pluginIdentifier.ts:51
↓ 58 callersFunctionuseKeybindings
( // Handler returning `false` means "not consumed" — the event propagates // to later useInput/useKeybind
src/keybindings/useKeybinding.ts:113
↓ 56 callersFunctionexpandPath
(path: string, baseDir?: string)
src/utils/path.ts:32
↓ 55 callersFunctionisFullscreenEnvEnabled
()
src/utils/fullscreen.ts:112
↓ 53 callersFunctionunlink
(fsPath)
src/utils/fsOperations.ts:402
↓ 53 callersFunctionuseSetAppState
()
src/state/AppState.tsx:170
↓ 52 callersMethoderror
(error: unknown)
src/utils/stream.ts:59
↓ 52 callersFunctiongracefulShutdown
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
src/utils/gracefulShutdown.ts:391
↓ 52 callersFunctionisAgentSwarmsEnabled
()
src/utils/agentSwarmsEnabled.ts:24
↓ 51 callersFunctionleaf
(P: ParseState, type: string, tok: Token)
src/utils/bash/bashParser.ts:702
↓ 51 callersFunctionrestoreLex
(L: Lexer, s: LexSave)
src/utils/bash/bashParser.ts:759
↓ 49 callersFunctionextractTag
(html: string, tagName: string)
src/utils/messages.ts:633
↓ 49 callersFunctionformatTokens
(count: number)
src/utils/format.ts:133
↓ 48 callersFunctionerrorMessage
(err: ImportTokenError, codeUrl: string)
src/commands/remote-setup/remote-setup.tsx:62
↓ 48 callersFunctiontruncateToWidth
(text: string, maxWidth: number)
src/utils/truncate.ts:63
↓ 47 callersFunctionuseTheme
()
src/components/design-system/ThemeProvider.tsx:122
↓ 46 callersFunctionformatFileSize
(sizeInBytes: number)
src/utils/format.ts:9
↓ 46 callersFunctionformatNumber
(number: number)
src/utils/format.ts:124
↓ 46 callersMethodmarkDirty
()
src/native-ts/yoga-layout/index.ts:577
↓ 46 callersFunctionwrapMessagesInSystemReminder
( messages: UserMessage[], )
src/utils/messages.ts:3101
↓ 45 callersMethodenqueue
* Enqueue a patch to PUT /worker. Coalesces with any existing pending * patch. Fire-and-forget — callers don't need to await.
src/cli/transports/WorkerStateUploader.ts:43
↓ 45 callersFunctionisDefined
(n: number)
src/native-ts/yoga-layout/index.ts:108
↓ 44 callersFunctionisFastModeEnabled
()
src/utils/fastMode.ts:38
↓ 44 callersFunctionpathExists
(path: string)
src/utils/file.ts:39
↓ 44 callersFunctionqueryCheckpoint
(name: string)
src/utils/queryProfiler.ts:69
↓ 44 callersFunctionregisterCleanup
(cleanupFn: () => Promise<void>)
src/utils/cleanupRegistry.ts:14
↓ 44 callersFunctionsanitizeToolNameForAnalytics
( toolName: string, )
src/services/analytics/metadata.ts:70
↓ 43 callersFunctionnextToken
* Scan next token. Context-sensitive: `cmd` mode treats [ as operator (test * command start), `arg` mode treats [ as word char (glob/subscript).
src/utils/bash/bashParser.ts:302
next →1–100 of 11,548, ranked by callers