MCPcopy Create free account

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

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

↓ 1 callersFunctiondetectTurnInterruption
* 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 callersFunctiondetectVcs
(dir?: string)
src/utils/platform.ts:129
↓ 1 callersFunctiondetectWindowsTerminal
* Detect the user's preferred terminal on Windows.
src/utils/deepLink/terminalLauncher.ts:157
↓ 1 callersFunctiondetectWorktreeMainRepoPath
* 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 callersFunctiondetermineErrorType
* Determines the type of error based on the error message
src/components/ResumeTask.tsx:227
↓ 1 callersFunctiondiffDifferentWidth
* Fallback: diff two screens with different widths (resize). * Separate indices for prev and next cells arrays.
src/ink/screen.ts:1746
↓ 1 callersFunctiondiffRenderTrace
( before: ReadonlyMap<string, number>, after: ReadonlyMap<string, number>, )
src/utils/renderTrace.ts:35
↓ 1 callersFunctiondiffRowAdded
* Emit additions for a row that only exists in next (height grew). * Skips empty/unwritten cells.
src/ink/screen.ts:1651
↓ 1 callersFunctiondiffRowBoth
* 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 callersFunctiondiffRowRemoved
* 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 callersFunctiondiffSameWidth
* Diff two screens with identical width. * Dispatches each row to a small, JIT-friendly function.
src/ink/screen.ts:1673
↓ 1 callersFunctiondimContent
(h: Highlight)
src/native-ts/color-diff/index.ts:758
↓ 1 callersFunctiondirIsInGitRepo
(cwd: string)
src/utils/git.ts:268
↓ 1 callersFunctiondisableAllPlugins
()
src/services/plugins/pluginCliCommands.ts:271
↓ 1 callersFunctiondisableAllPluginsOp
()
src/services/plugins/pluginOperations.ts:785
↓ 1 callersFunctiondisableHintRecommendations
()
src/utils/plugins/hintRecommendation.ts:156
↓ 1 callersFunctiondisableKeepAlive
()
src/utils/proxy.ts:29
↓ 1 callersFunctiondisablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:233
↓ 1 callersMethoddisconnect
()
src/server/directConnectManager.ts:203
↓ 1 callersFunctiondiscoverAuthorizationServer
( asUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:178
↓ 1 callersFunctiondiscoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:135
↓ 1 callersMethoddiscoveryState
()
src/services/mcp/auth.ts:2037
↓ 1 callersFunctiondispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
src/ink/hit-test.ts:49
↓ 1 callersFunctiondispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
src/ink/hit-test.ts:102
↓ 1 callersMethoddispatchKeyboardEvent
(parsedKey: ParsedKey)
src/ink/ink.tsx:1422
↓ 1 callersFunctiondispatchRemoteSubmit
( options: BuildRemoteSubmitPayloadOptions, deps: DispatchRemoteSubmitDeps, )
src/session/remoteSubmitDispatch.ts:101
↓ 1 callersFunctiondisplayServerName
(name: string)
src/components/messages/UserChannelMessage.tsx:21
↓ 1 callersMethoddisplayWidthToStringIndex
(text: string, targetWidth: number)
src/utils/Cursor.ts:1240
↓ 1 callersFunctiondispose
()
src/utils/skills/skillChangeDetector.ts:149
↓ 1 callersFunctiondisposeKeybindingWatcher
()
src/keybindings/loadUserBindings.ts:409
↓ 1 callersMethoddoExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
src/utils/telemetry/bigqueryExporter.ts:102
↓ 1 callersMethoddoExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
src/services/analytics/firstPartyEventLoggingExporter.ts:390
↓ 1 callersFunctiondoFetch
()
src/utils/fastMode.ts:457
↓ 1 callersFunctiondoInitialize
()
src/utils/tmuxSocket.ts:271
↓ 1 callersFunctiondoParse
(command: string)
src/utils/bash/ParsedCommand.ts:270
↓ 1 callersFunctiondoReadAsync
()
src/utils/secureStorage/macOsKeychainStorage.ts:178
↓ 1 callersFunctiondoReconnect
()
src/bridge/replBridge.ts:626
↓ 1 callersFunctiondoRefresh
(sessionId: string, gen: number)
src/bridge/jwtUtils.ts:166
↓ 1 callersFunctiondoctorHandler
(root: Root)
src/cli/handlers/util.tsx:92
↓ 1 callersFunctiondoesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
src/utils/sessionStorage.ts:4082
↓ 1 callersFunctiondoesSourceMatchHostPattern
* 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 callersFunctiondoesSourceMatchPathPattern
* 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 callersFunctiondownOrHistoryDown
()
src/hooks/useTextInput.ts:293
↓ 1 callersFunctiondownloadAndVerifyBinary
* 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 callersFunctiondownloadCaBundle
( baseUrl: string, systemCaPath: string, outPath: string, )
src/upstreamproxy/upstreamproxy.ts:259
↓ 1 callersFunctiondownloadFile
( fileId: string, config: FilesApiConfig, )
src/services/api/filesApi.ts:133
↓ 1 callersFunctiondownloadMcpb
* Download MCPB file from URL
src/utils/plugins/mcpbHandler.ts:482
↓ 1 callersFunctiondownloadSessionFiles
( files: File[], config: FilesApiConfig, concurrency: number = DEFAULT_CONCURRENCY, )
src/services/api/filesApi.ts:318
↓ 1 callersFunctiondownloadVersion
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:480
↓ 1 callersFunctiondragScrollDirection
(sel: SelectionState | null, top: number, bottom: number, alreadyScrollingDir: -1 | 0 | 1 = 0)
src/components/ScrollKeybindingHandler.tsx:810
↓ 1 callersMethoddrain
()
src/cli/transports/WorkerStateUploader.ts:54
↓ 1 callersFunctiondrainAdaptive
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:127
↓ 1 callersFunctiondrainCommandQueue
()
src/cli/print.ts:1965
↓ 1 callersFunctiondrainPendingMessages
(taskId: string, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:181
↓ 1 callersFunctiondrainProportional
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:164
↓ 1 callersFunctiondrainStdin
(stdin: NodeJS.ReadStream = process.stdin)
src/ink/ink.tsx:1824
↓ 1 callersFunctiondrainer
()
src/services/extractMemories/extractMemories.ts:289
↓ 1 callersMethoddump
()
src/utils/fileStateCache.ts:86
↓ 1 callersMethoddumpSync
()
src/ink/renderTrace.ts:233
↓ 1 callersFunctioneagerLoadSettings
* Parse and load settings flags early, before init() * This ensures settings are filtered from the start of initialization
src/main.tsx:564
↓ 1 callersFunctionembeddedSearchToolsBinaryPath
()
src/utils/embeddedTools.ts:27
↓ 1 callersFunctionemitHookProgress
(data: { hookId: string hookName: string hookEvent: string stdout: string stderr: string output: s
src/utils/hooks/hookEvents.ts:108
↓ 1 callersFunctionemitTaskProgress
()
src/tools/AgentToolRuntime.test.ts:478
↓ 1 callersFunctionemptySet
()
src/capabilities/matrix.ts:81
↓ 1 callersFunctionenableDebugLogging
()
src/utils/debug.ts:180
↓ 1 callersFunctionenableOptionAsMetaForTerminal
(theme: ThemeName)
src/commands/terminalSetup/terminalSetup.tsx:311
↓ 1 callersFunctionenablePaneBorderStatus
( windowTarget?: string, useSwarmSocket = false, )
src/utils/swarm/teammateLayoutManager.ts:88
↓ 1 callersFunctionenablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:193
↓ 1 callersFunctionencodePng
* 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 callersFunctionencodePowerShellCommand
* 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 callersFunctionendHookSpan
( span: Span, metadata?: { numSuccess?: number numBlocking?: number numNonBlockingError?: numb
src/utils/telemetry/sessionTracing.ts:888
↓ 1 callersFunctionendInteractionPerfettoSpan
(spanId: string)
src/utils/telemetry/perfettoTracing.ts:922
↓ 1 callersFunctionendLLMRequestPerfettoSpan
( spanId: string, metadata: { ttftMs?: number ttltMs?: number promptTokens?: number output
src/utils/telemetry/perfettoTracing.ts:472
↓ 1 callersFunctionendQueryProfile
()
src/utils/queryProfiler.ts:89
↓ 1 callersFunctionendToolPerfettoSpan
( spanId: string, metadata?: { success?: boolean error?: string resultTokens?: number }, )
src/utils/telemetry/perfettoTracing.ts:731
↓ 1 callersFunctionendUserInputPerfettoSpan
( spanId: string, metadata?: { decision?: string source?: string }, )
src/utils/telemetry/perfettoTracing.ts:805
↓ 1 callersFunctionenqueueForLead
(prompt: string)
src/hooks/useScheduledTasks.ts:71
↓ 1 callersFunctionenqueueMainSessionNotification
* Enqueue a notification about the backgrounded session completing.
src/tasks/LocalMainSessionTask.ts:224
↓ 1 callersFunctionenqueueRemoteReviewNotification
* 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 callersFunctionenqueueSdkEvent
()
src/tools/AgentToolRuntime.test.ts:375
↓ 1 callersFunctionenqueueTaskNotification
* Enqueue a task notification to the message queue.
src/utils/task/framework.ts:274
↓ 1 callersFunctionenrichLog
* 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 callersFunctionensureAgentDirectoryExists
* Ensures the directory for an agent location exists
src/components/agents/agentFileUtils.ts:219
↓ 1 callersFunctionensureCachedMCState
()
src/services/compact/microCompact.ts:72
↓ 1 callersFunctionensureCleanupInterval
* Lazily start a background interval that evicts orphaned spans from activeSpans. * * Normal teardown calls endInteractionSpan / endToolSpan, which
src/utils/telemetry/sessionTracing.ts:101
↓ 1 callersMethodensureCurrentSessionFile
* Loads the sessionFile variable. * Do not need to create session files until they are written to.
src/utils/sessionStorage.ts:1353
↓ 1 callersFunctionensureDirSync
(dir: string)
src/utils/plugins/legacyOfficialMarketplaceMigration.ts:107
↓ 1 callersMethodensureExtensionSelection
()
src/shims/claudeForChromeMcp.ts:1259
↓ 1 callersFunctionensureFullLog
(log: LogOption)
src/cli/handlers/ant.ts:205
↓ 1 callersFunctionensureImageStoreDir
* Ensure the image store directory exists.
src/utils/imageStore.ts:25
↓ 1 callersFunctionensureInboxDir
* Ensure the inbox directory exists for a team
src/utils/teammateMailbox.ts:71
↓ 1 callersFunctionensureKeychainPrefetchCompleted
()
src/utils/secureStorage/keychainPrefetch.ts:96
↓ 1 callersFunctionensureLocalPackageEnvironment
()
src/utils/localInstaller.ts:72
↓ 1 callersFunctionensureMdmSettingsLoaded
()
src/utils/settings/mdm/settings.ts:104
↓ 1 callersFunctionensureMessageStart
()
src/services/api/openAICompatInferenceClient.ts:1174
↓ 1 callersFunctionensureNonEmptyAssistantContent
* 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 callersFunctionensureRecord
(input: unknown)
src/tools/REPLTool/toolWrappers.ts:84
↓ 1 callersFunctionensureRecord
(value: unknown)
src/tools/REPLTool/pyReplFactory.tsx:121
↓ 1 callersFunctionensureRuntimeHelpers
( replContext: JavascriptReplStoreContext, )
src/tools/REPLTool/javascriptReplFactory.tsx:252
↓ 1 callersFunctionensureScratchpadDir
()
src/utils/permissions/filesystem.ts:404
← previousnext →6,901–7,000 of 14,563, ranked by callers