Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ functions
Functions
14,563 in github.com/Noumena-Network/code
⨍
Functions
14,563
◇
Types & classes
433
↓ 1 callers
Function
detectTurnInterruption
* Determines whether the conversation was interrupted mid-turn based on the * last message after filtering. An assistant as last message (after filte
src/utils/conversationRecovery.ts:272
↓ 1 callers
Function
detectVcs
(dir?: string)
src/utils/platform.ts:129
↓ 1 callers
Function
detectWindowsTerminal
* Detect the user's preferred terminal on Windows.
src/utils/deepLink/terminalLauncher.ts:157
↓ 1 callers
Function
detectWorktreeMainRepoPath
* Detect if cwd is a git worktree and resolve the main repo path. * Called once during initialize() and cached for the session. * In a worktree, .gi
src/utils/sandbox/sandbox-adapter.ts:437
↓ 1 callers
Function
determineErrorType
* Determines the type of error based on the error message
src/components/ResumeTask.tsx:227
↓ 1 callers
Function
diffDifferentWidth
* Fallback: diff two screens with different widths (resize). * Separate indices for prev and next cells arrays.
src/ink/screen.ts:1746
↓ 1 callers
Function
diffRenderTrace
( before: ReadonlyMap<string, number>, after: ReadonlyMap<string, number>, )
src/utils/renderTrace.ts:35
↓ 1 callers
Function
diffRowAdded
* Emit additions for a row that only exists in next (height grew). * Skips empty/unwritten cells.
src/ink/screen.ts:1651
↓ 1 callers
Function
diffRowBoth
* Diff one row where both screens are in bounds. * Scans for differences with findNextDiff, unpacks and calls cb for each.
src/ink/screen.ts:1598
↓ 1 callers
Function
diffRowRemoved
* Emit removals for a row that only exists in prev (height shrank). * Cannot skip empty cells — the terminal still has content from the * previous f
src/ink/screen.ts:1631
↓ 1 callers
Function
diffSameWidth
* Diff two screens with identical width. * Dispatches each row to a small, JIT-friendly function.
src/ink/screen.ts:1673
↓ 1 callers
Function
dimContent
(h: Highlight)
src/native-ts/color-diff/index.ts:758
↓ 1 callers
Function
dirIsInGitRepo
(cwd: string)
src/utils/git.ts:268
↓ 1 callers
Function
disableAllPlugins
()
src/services/plugins/pluginCliCommands.ts:271
↓ 1 callers
Function
disableAllPluginsOp
()
src/services/plugins/pluginOperations.ts:785
↓ 1 callers
Function
disableHintRecommendations
()
src/utils/plugins/hintRecommendation.ts:156
↓ 1 callers
Function
disableKeepAlive
()
src/utils/proxy.ts:29
↓ 1 callers
Function
disablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:233
↓ 1 callers
Method
disconnect
()
src/server/directConnectManager.ts:203
↓ 1 callers
Function
discoverAuthorizationServer
( asUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:178
↓ 1 callers
Function
discoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:135
↓ 1 callers
Method
discoveryState
()
src/services/mcp/auth.ts:2037
↓ 1 callers
Function
dispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
src/ink/hit-test.ts:49
↓ 1 callers
Function
dispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
src/ink/hit-test.ts:102
↓ 1 callers
Method
dispatchKeyboardEvent
(parsedKey: ParsedKey)
src/ink/ink.tsx:1422
↓ 1 callers
Function
dispatchRemoteSubmit
( options: BuildRemoteSubmitPayloadOptions, deps: DispatchRemoteSubmitDeps, )
src/session/remoteSubmitDispatch.ts:101
↓ 1 callers
Function
displayServerName
(name: string)
src/components/messages/UserChannelMessage.tsx:21
↓ 1 callers
Method
displayWidthToStringIndex
(text: string, targetWidth: number)
src/utils/Cursor.ts:1240
↓ 1 callers
Function
dispose
()
src/utils/skills/skillChangeDetector.ts:149
↓ 1 callers
Function
disposeKeybindingWatcher
()
src/keybindings/loadUserBindings.ts:409
↓ 1 callers
Method
doExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
src/utils/telemetry/bigqueryExporter.ts:102
↓ 1 callers
Method
doExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
src/services/analytics/firstPartyEventLoggingExporter.ts:390
↓ 1 callers
Function
doFetch
()
src/utils/fastMode.ts:457
↓ 1 callers
Function
doInitialize
()
src/utils/tmuxSocket.ts:271
↓ 1 callers
Function
doParse
(command: string)
src/utils/bash/ParsedCommand.ts:270
↓ 1 callers
Function
doReadAsync
()
src/utils/secureStorage/macOsKeychainStorage.ts:178
↓ 1 callers
Function
doReconnect
()
src/bridge/replBridge.ts:626
↓ 1 callers
Function
doRefresh
(sessionId: string, gen: number)
src/bridge/jwtUtils.ts:166
↓ 1 callers
Function
doctorHandler
(root: Root)
src/cli/handlers/util.tsx:92
↓ 1 callers
Function
doesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
src/utils/sessionStorage.ts:4082
↓ 1 callers
Function
doesSourceMatchHostPattern
* Check if a source matches a hostPattern entry. * Extracts the host from the source and tests it against the regex pattern. * * @param source - Th
src/utils/plugins/marketplaceHelpers.ts:278
↓ 1 callers
Function
doesSourceMatchPathPattern
* Check if a source matches a pathPattern entry. * Tests the source's .path (file and directory sources only) against the regex pattern. * * @param
src/utils/plugins/marketplaceHelpers.ts:305
↓ 1 callers
Function
downOrHistoryDown
()
src/hooks/useTextInput.ts:293
↓ 1 callers
Function
downloadAndVerifyBinary
* Common logic for downloading and verifying a binary. * Includes stall detection (aborts if no bytes for 60s) and retry logic.
src/utils/nativeInstaller/download.ts:226
↓ 1 callers
Function
downloadCaBundle
( baseUrl: string, systemCaPath: string, outPath: string, )
src/upstreamproxy/upstreamproxy.ts:259
↓ 1 callers
Function
downloadFile
( fileId: string, config: FilesApiConfig, )
src/services/api/filesApi.ts:133
↓ 1 callers
Function
downloadMcpb
* Download MCPB file from URL
src/utils/plugins/mcpbHandler.ts:482
↓ 1 callers
Function
downloadSessionFiles
( files: File[], config: FilesApiConfig, concurrency: number = DEFAULT_CONCURRENCY, )
src/services/api/filesApi.ts:318
↓ 1 callers
Function
downloadVersion
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:480
↓ 1 callers
Function
dragScrollDirection
(sel: SelectionState | null, top: number, bottom: number, alreadyScrollingDir: -1 | 0 | 1 = 0)
src/components/ScrollKeybindingHandler.tsx:810
↓ 1 callers
Method
drain
()
src/cli/transports/WorkerStateUploader.ts:54
↓ 1 callers
Function
drainAdaptive
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:127
↓ 1 callers
Function
drainCommandQueue
()
src/cli/print.ts:1965
↓ 1 callers
Function
drainPendingMessages
(taskId: string, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:181
↓ 1 callers
Function
drainProportional
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:164
↓ 1 callers
Function
drainStdin
(stdin: NodeJS.ReadStream = process.stdin)
src/ink/ink.tsx:1824
↓ 1 callers
Function
drainer
()
src/services/extractMemories/extractMemories.ts:289
↓ 1 callers
Method
dump
()
src/utils/fileStateCache.ts:86
↓ 1 callers
Method
dumpSync
()
src/ink/renderTrace.ts:233
↓ 1 callers
Function
eagerLoadSettings
* Parse and load settings flags early, before init() * This ensures settings are filtered from the start of initialization
src/main.tsx:564
↓ 1 callers
Function
embeddedSearchToolsBinaryPath
()
src/utils/embeddedTools.ts:27
↓ 1 callers
Function
emitHookProgress
(data: { hookId: string hookName: string hookEvent: string stdout: string stderr: string output: s
src/utils/hooks/hookEvents.ts:108
↓ 1 callers
Function
emitTaskProgress
()
src/tools/AgentToolRuntime.test.ts:478
↓ 1 callers
Function
emptySet
()
src/capabilities/matrix.ts:81
↓ 1 callers
Function
enableDebugLogging
()
src/utils/debug.ts:180
↓ 1 callers
Function
enableOptionAsMetaForTerminal
(theme: ThemeName)
src/commands/terminalSetup/terminalSetup.tsx:311
↓ 1 callers
Function
enablePaneBorderStatus
( windowTarget?: string, useSwarmSocket = false, )
src/utils/swarm/teammateLayoutManager.ts:88
↓ 1 callers
Function
enablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:193
↓ 1 callers
Function
encodePng
* Encode an RGBA pixel buffer as PNG. Minimal encoder: 8-bit depth, * color type 6 (RGBA), filter 0 (none) on every scanline, single IDAT.
src/utils/ansiToPng.ts:307
↓ 1 callers
Function
encodePowerShellCommand
* Base64-encode a string as UTF-16LE for PowerShell's -EncodedCommand. * Same encoding the parser uses (parser.ts toUtf16LeBase64). The output * is
src/utils/shell/powershellProvider.ts:23
↓ 1 callers
Function
endHookSpan
( span: Span, metadata?: { numSuccess?: number numBlocking?: number numNonBlockingError?: numb
src/utils/telemetry/sessionTracing.ts:888
↓ 1 callers
Function
endInteractionPerfettoSpan
(spanId: string)
src/utils/telemetry/perfettoTracing.ts:922
↓ 1 callers
Function
endLLMRequestPerfettoSpan
( spanId: string, metadata: { ttftMs?: number ttltMs?: number promptTokens?: number output
src/utils/telemetry/perfettoTracing.ts:472
↓ 1 callers
Function
endQueryProfile
()
src/utils/queryProfiler.ts:89
↓ 1 callers
Function
endToolPerfettoSpan
( spanId: string, metadata?: { success?: boolean error?: string resultTokens?: number }, )
src/utils/telemetry/perfettoTracing.ts:731
↓ 1 callers
Function
endUserInputPerfettoSpan
( spanId: string, metadata?: { decision?: string source?: string }, )
src/utils/telemetry/perfettoTracing.ts:805
↓ 1 callers
Function
enqueueForLead
(prompt: string)
src/hooks/useScheduledTasks.ts:71
↓ 1 callers
Function
enqueueMainSessionNotification
* Enqueue a notification about the backgrounded session completing.
src/tasks/LocalMainSessionTask.ts:224
↓ 1 callers
Function
enqueueRemoteReviewNotification
* Enqueue a remote-review completion notification. Injects the review text * directly into the message queue so the local model receives it on the ne
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:330
↓ 1 callers
Function
enqueueSdkEvent
()
src/tools/AgentToolRuntime.test.ts:375
↓ 1 callers
Function
enqueueTaskNotification
* Enqueue a task notification to the message queue.
src/utils/task/framework.ts:274
↓ 1 callers
Function
enrichLog
* Enriches a lite log with metadata from its JSONL file. * Returns the enriched log, or null if the log has no meaningful content * (no firstPrompt,
src/utils/sessionStorage.ts:5293
↓ 1 callers
Function
ensureAgentDirectoryExists
* Ensures the directory for an agent location exists
src/components/agents/agentFileUtils.ts:219
↓ 1 callers
Function
ensureCachedMCState
()
src/services/compact/microCompact.ts:72
↓ 1 callers
Function
ensureCleanupInterval
* Lazily start a background interval that evicts orphaned spans from activeSpans. * * Normal teardown calls endInteractionSpan / endToolSpan, which
src/utils/telemetry/sessionTracing.ts:101
↓ 1 callers
Method
ensureCurrentSessionFile
* Loads the sessionFile variable. * Do not need to create session files until they are written to.
src/utils/sessionStorage.ts:1353
↓ 1 callers
Function
ensureDirSync
(dir: string)
src/utils/plugins/legacyOfficialMarketplaceMigration.ts:107
↓ 1 callers
Method
ensureExtensionSelection
()
src/shims/claudeForChromeMcp.ts:1259
↓ 1 callers
Function
ensureFullLog
(log: LogOption)
src/cli/handlers/ant.ts:205
↓ 1 callers
Function
ensureImageStoreDir
* Ensure the image store directory exists.
src/utils/imageStore.ts:25
↓ 1 callers
Function
ensureInboxDir
* Ensure the inbox directory exists for a team
src/utils/teammateMailbox.ts:71
↓ 1 callers
Function
ensureKeychainPrefetchCompleted
()
src/utils/secureStorage/keychainPrefetch.ts:96
↓ 1 callers
Function
ensureLocalPackageEnvironment
()
src/utils/localInstaller.ts:72
↓ 1 callers
Function
ensureMdmSettingsLoaded
()
src/utils/settings/mdm/settings.ts:104
↓ 1 callers
Function
ensureMessageStart
()
src/services/api/openAICompatInferenceClient.ts:1174
↓ 1 callers
Function
ensureNonEmptyAssistantContent
* Ensure all non-final assistant messages have non-empty content. * * The API requires "all messages must have non-empty content except for the * o
src/utils/messages.ts:5033
↓ 1 callers
Function
ensureRecord
(input: unknown)
src/tools/REPLTool/toolWrappers.ts:84
↓ 1 callers
Function
ensureRecord
(value: unknown)
src/tools/REPLTool/pyReplFactory.tsx:121
↓ 1 callers
Function
ensureRuntimeHelpers
( replContext: JavascriptReplStoreContext, )
src/tools/REPLTool/javascriptReplFactory.tsx:252
↓ 1 callers
Function
ensureScratchpadDir
()
src/utils/permissions/filesystem.ts:404
← previous
next →
6,901–7,000 of 14,563, ranked by callers