MCPcopy Create free account

hub / github.com/Noumena-Network/code / functions

Functions14,563 in github.com/Noumena-Network/code

↓ 2,703 callersFunctionlogForDebugging
( message: string, { level }: { level: DebugLogLevel } = { level: 'debug', }, )
src/utils/debug.ts:375
↓ 890 callersMethodhas
(key: string)
src/utils/fileStateCache.ts:50
↓ 725 callersMethodresolve
(authorizationCode: string)
src/services/oauth/auth-code-listener.ts:181
↓ 619 callersMethodset
(key: string, value: FileState)
src/utils/fileStateCache.ts:45
↓ 607 callersFunctionlogError
(error: unknown)
src/utils/log.ts:159
↓ 574 callersMethodget
()
src/ink/output.ts:322
↓ 561 callersMethodmax
()
src/utils/fileStateCache.ts:66
↓ 428 callersFunctionlazySchema
(factory: () => T)
src/utils/lazySchema.ts:5
↓ 395 callersMethodadd
* Add an item to the buffer. If the buffer is full, * the oldest item will be evicted.
src/utils/CircularBuffer.ts:18
↓ 379 callersFunctionjsonStringify
( value: unknown, replacer?: | ((this: unknown, key: string, value: unknown) => unknown) | (number
src/utils/slowOperations.ts:181
↓ 369 callersFunctionisEnvTruthy
(value)
src/utils/protectedNamespace.js:10
↓ 367 callersFunctionisInternalBuild
()
src/capabilities/static.ts:31
↓ 357 callersMethodkeys
()
src/utils/fileStateCache.ts:78
↓ 341 callersMethoddelete
(key: string)
src/utils/fileStateCache.ts:54
↓ 334 callersMethodentries
()
src/utils/fileStateCache.ts:82
↓ 334 callersFunctionlogEvent
()
src/components/TeleportResumeWrapper.renderSnapshot.test.tsx:38
↓ 328 callersFunctionadvance
Advance one JS char, updating byte offset for UTF-8.
src/utils/bash/bashParser.ts:146
↓ 316 callersFunctionerrorMessage
(e: unknown)
src/utils/errors.ts:119
↓ 299 callersFunctionlogEvent
(eventName, metadata)
src/utils/processUserInput/processTextPrompt.test.ts:63
↓ 291 callersFunctiononDone
(result, options)
src/utils/handlePromptSubmit.ts:275
↓ 275 callersFunctionlogEvent
( eventName: string, // intentionally no strings unless AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_F
src/services/analytics/index.ts:136
↓ 261 callersMethodtoString
()
src/utils/bash/ParsedCommand.ts:23
↓ 245 callersFunctionuseAppState
(selector)
src/state/AppState.tsx:142
↓ 244 callersFunctiongetFsImplementation
()
src/utils/fsOperations.ts:621
↓ 233 callersMethodget
(key: string)
src/utils/fileStateCache.ts:41
↓ 233 callersFunctionmk
Build a node. Slices text from source by byte range via char-index lookup.
src/utils/bash/bashParser.ts:660
↓ 228 callersFunctionpeek
(L: Lexer, off = 0)
src/utils/bash/bashParser.ts:162
↓ 219 callersFunctionlogMCPDebug
(serverName: string, message: string)
src/utils/log.ts:315
↓ 211 callersFunctiongetCwd
()
src/utils/cwd.ts:26
↓ 204 callersFunctionlogForDiagnosticsNoPII
( level: DiagnosticLogLevel, event: string, data?: Record<string, unknown>, )
src/utils/diagLogs.ts:27
↓ 202 callersFunctionresolve
(start: UUID)
src/utils/sessionStorage.ts:2172
↓ 195 callersFunctiongetAuthRuntime
()
src/auth/runtime/AuthRuntime.ts:678
↓ 194 callersFunctiongetSessionId
()
src/bootstrap/state.ts:437
↓ 191 callersFunctiongetGlobalConfig
()
src/utils/config.ts:1118
↓ 181 callersMethodwrite
(x: number, y: number, text: string, softWrap?: boolean[])
src/ink/output.ts:282
↓ 179 callersFunctioncreateUserMessage
({ content, isMeta, isVisibleInTranscriptOnly, isVirtual, isCompactSummary, summarizeMetadata, t
src/utils/messages.ts:461
↓ 167 callersFunctionrandomUUID
()
src/utils/crypto.ts:12
↓ 157 callersMethodsleep
(ms: number)
src/cli/transports/SerialBatchEventUploader.ts:261
↓ 151 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:268
↓ 142 callersFunctionjsonParse
(text, reviver)
src/utils/slowOperations.ts:205
↓ 138 callersFunctionexecFileNoThrow
( file: string, args: string[], options: ExecFileOptions = { timeout: 10 * SECONDS_IN_MINUTE * MS_IN
src/utils/execFileNoThrow.ts:26
↓ 135 callersFunctiongetFeatureValue_CACHED_MAY_BE_STALE
( feature: string, defaultValue: T, )
src/services/analytics/growthbook.ts:867
↓ 135 callersFunctionsaveGlobalConfig
( updater: (currentConfig: GlobalConfig) => GlobalConfig, )
src/utils/config.ts:846
↓ 129 callersFunctiongetPlatform
()
src/utils/nativeInstaller/installer.ts:87
↓ 128 callersFunctionsetAppState
(updater: (prev: typeof appState) => typeof appState)
src/tools/AgentToolRuntime.test.ts:616
↓ 127 callersFunctionmkdir
(dirPath, options)
src/utils/fsOperations.ts:414
↓ 123 callersFunctionreadFile
(fsPath, options)
src/utils/fsOperations.ts:427
↓ 122 callersMethodclear
()
src/utils/task/TaskOutput.ts:381
↓ 119 callersFunctiongetSettingsForSource
( source: SettingSource, )
src/utils/settings/settings.ts:394
↓ 114 callersFunctiongetSecureStorage
()
src/utils/secureStorage/index.ts:9
↓ 109 callersFunctionclearOAuthTokenCache
()
src/utils/auth.ts:1396
↓ 108 callersMethodpreventDefault
()
src/ink/events/terminal-event.ts:64
↓ 107 callersMethodgetCurrentSession
()
src/auth/runtime/types.ts:135
↓ 107 callersFunctiongetOriginalCwd
()
src/bootstrap/state.ts:506
↓ 107 callersFunctionuseKeybinding
( action: string, handler: () => void | false | Promise<void>, options: Options = {}, )
src/keybindings/useKeybinding.ts:33
↓ 105 callersFunctiontoError
(e: unknown)
src/utils/errors.ts:111
↓ 103 callersFunctionrm
(fsPath, options)
src/utils/fsOperations.ts:410
↓ 101 callersFunctionsetAppState
(updater)
src/commands/assistant/assistant.test.ts:112
↓ 96 callersFunctiongetErrnoCode
(e: unknown)
src/utils/errors.ts:128
↓ 95 callersFunctionexecFileNoThrowWithCwd
( file: string, args: string[], { abortSignal, timeout: finalTimeout = 10 * SECONDS_IN_MINUTE *
src/utils/execFileNoThrow.ts:89
↓ 95 callersFunctiongetAPIProvider
()
src/utils/model/providers.ts:54
↓ 94 callersFunctiongetGlobalConfig
()
src/components/LogoV2.renderSnapshot.test.tsx:74
↓ 92 callersFunctiongracefulShutdown
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
src/utils/gracefulShutdown.ts:391
↓ 92 callersFunctionstat
(fsPath)
src/utils/fsOperations.ts:394
↓ 92 callersFunctionwriteInput
( stdin: FakeInput, sequence: string, )
src/ink/replPerfHarness.tsx:165
↓ 91 callersFunctioncolor
( c: keyof Theme | Color | undefined, theme: ThemeName, type: ColorType = 'foreground', )
src/components/design-system/color.ts:9
↓ 91 callersFunctionplural
( n: number, word: string, pluralWord = word + 's', )
src/utils/stringUtils.ts:32
↓ 90 callersFunctionisENOENT
(e: unknown)
src/utils/errors.ts:139
↓ 90 callersMethodrecord
(durationMs: number)
src/utils/fpsTracker.ts:11
↓ 88 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
↓ 87 callersFunctionwriteToStdout
(data: string)
src/utils/process.ts:28
↓ 84 callersFunctionskipBlanks
(L: Lexer)
src/utils/bash/bashParser.ts:272
↓ 82 callersFunctioncreateUserMessage
(uuid: string)
src/components/PromptInput/promptInputMessageSignals.test.ts:5
↓ 81 callersFunctioncount
(arr: readonly T[], pred: (x: T) => unknown)
src/utils/array.ts:5
↓ 81 callersFunctionupdateSettingsForSource
( source: EditableSettingSource, settings: SettingsJson, )
src/utils/settings/settings.ts:501
↓ 80 callersFunctionsaveGlobalConfig
()
src/components/LogoV2.renderSnapshot.test.tsx:84
↓ 80 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:378
↓ 79 callersFunctionmakeFrame
({ lines, viewportWidth = 10, viewportHeight, screenHeight = lines.length, cursorY = screenHeight,
src/ink/logUpdateFlickerRegression.test.ts:71
↓ 77 callersFunctionlogForDebugging
()
src/tools/SkillTool/SkillTool.test.ts:97
↓ 76 callersFunctionuseTerminalSize
()
src/hooks/useTerminalSize.ts:7
↓ 75 callersFunctionprofileCheckpoint
(name: string)
src/utils/startupProfiler.ts:66
↓ 74 callersFunctiongetIsNonInteractiveSession
()
src/bootstrap/state.ts:1073
↓ 73 callersFunctionparseUserSpecifiedModel
( modelInput: ModelName | ModelAlias, )
src/utils/model/model.ts:558
↓ 73 callersFunctionsleep
( ms: number, signal?: AbortSignal, opts?: { throwOnAbort?: boolean; abortError?: () => Error; unref?: b
src/utils/sleep.ts:14
↓ 71 callersFunctionsseData
(payload: unknown)
src/services/api/openAICompatInferenceClient.test.ts:927
↓ 70 callersFunctionisSet
(value: any)
src/types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts:856
↓ 69 callersFunctionaddNotification
(notification: { key?: string; text?: string })
src/tools/PlanModeToolRuntime.test.ts:192
↓ 69 callersMethodrender
(node: ReactNode)
src/ink/ink.tsx:1595
↓ 68 callersFunctionrgb
(r: number, g: number, b: number)
src/native-ts/color-diff/index.ts:84
↓ 65 callersFunctionexpandPath
(path: string, baseDir?: string)
src/utils/path.ts:32
↓ 65 callersFunctionquote
(args: ReadonlyArray<unknown>)
src/utils/bash/shellQuote.ts:267
↓ 63 callersFunctionerrorMessage
(err: ImportTokenError, codeUrl: string)
src/commands/remote-setup/remote-setup.tsx:62
↓ 62 callersFunctionresolve
(requestId, behavior, fromServer)
src/services/mcp/channelPermissions.ts:228
↓ 61 callersFunction_setGlobalConfigCacheForTesting
( config: GlobalConfig | null, )
src/utils/config.ts:1910
↓ 61 callersFunctionreaddir
(fsPath)
src/utils/fsOperations.ts:398
↓ 60 callersFunctionparsePluginIdentifier
(plugin: string)
src/utils/plugins/pluginIdentifier.ts:51
↓ 59 callersFunctionuseKeybindings
( // Handler returning `false` means "not consumed" — the event propagates // to later useInput/useKeybind
src/keybindings/useKeybinding.ts:113
↓ 58 callersMethoderror
(error: unknown)
src/utils/stream.ts:60
↓ 58 callersFunctionexistsSync
(fsPath)
src/utils/fsOperations.ts:389
↓ 56 callersFunctioncreateAssistantMessage
({ content, usage, isVirtual, }: { content: string | BetaContentBlock[] usage?: Usage isVirtual?:
src/utils/messages.ts:412
next →1–100 of 14,563, ranked by callers