MCPcopy Create free account

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

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

↓ 3 callersFunctionwouldLoseAuthState
* Detect whether writing `fresh` would lose auth/onboarding state that the * in-memory cache still has. This happens when `getConfig` hits a corrupte
src/utils/config.ts:832
↓ 3 callersFunctionwrapChannelMessage
( serverName: string, content: string, meta?: Record<string, string>, )
src/services/mcp/channelNotification.ts:105
↓ 3 callersFunctionwrapFetchWithTimeout
(baseFetch: FetchLike)
src/services/mcp/client.ts:504
↓ 3 callersFunctionwrapText
( text: string, maxWidth: number, wrapType: Styles['textWrap'], )
src/ink/wrap-text.ts:53
↓ 3 callersFunctionwrap_with_width
(code: &str, width: usize)
native/markdown-renderer-napi/src/lib.rs:16
↓ 3 callersFunctionwriteSharedHeight
(columns: number, key: string, height: number)
src/hooks/useVirtualScroll.ts:95
↓ 3 callersFunctionwriteTokenFile
(name: string, token: string)
src/utils/sessionIngressAuth.test.ts:56
↓ 3 callersFunctionwrite_json_line
(writer: &mut W, value: &T)
rust/py_repl_host/src/main.rs:242
↓ 3 callersFunctionyieldToEventLoop
()
src/native-ts/file-index/index.ts:325
↓ 2 callersMethod#clearHideTimer
()
src/hooks/useTasksV2.ts:174
↓ 2 callersMethod#clearSizeWatchdog
()
src/utils/ShellCommand.ts:232
↓ 2 callersMethod#drainAllChunks
()
src/utils/task/diskOutput.ts:141
↓ 2 callersMethod#notify
()
src/hooks/useTasksV2.ts:81
↓ 2 callersMethod#spillToDisk
(stderrChunk: string | null, stdoutChunk: string | null)
src/utils/task/TaskOutput.ts:256
↓ 2 callersMethod#writeBuffered
(data: string, isStderr: boolean)
src/utils/task/TaskOutput.ts:176
↓ 2 callersFunction__setWorkflowRuntimeForTests
(runtime?: WorkflowRuntime)
src/tools/WorkflowTool/WorkflowTool.ts:145
↓ 2 callersFunction_clearMetricsEnabledCacheForTesting
()
src/services/api/metricsOptOut.ts:177
↓ 2 callersFunction_runAndCache
( isNonInteractiveSession: boolean, isCold: boolean, epoch: number, )
src/utils/auth.ts:575
↓ 2 callersMethod_setCurrentTarget
@internal
src/ink/events/terminal-event.ts:78
↓ 2 callersMethod_setEventPhase
@internal
src/ink/events/terminal-event.ts:83
↓ 2 callersMethod_setPeer
@internal
src/services/mcp/InProcessTransport.ts:20
↓ 2 callersFunctionabort
()
src/services/mcp/auth.ts:212
↓ 2 callersFunctionacceptSuggestionText
(text: string)
src/hooks/useTypeahead.tsx:1280
↓ 2 callersFunctionaccumulateUsage
( totalUsage: Readonly<NonNullableUsage>, messageUsage: Readonly<NonNullableUsage>, )
src/services/api/claude.ts:3020
↓ 2 callersFunctionacquireIdpIdToken
( opts: IdpLoginOptions, )
src/services/mcp/xaaIdpLogin.ts:401
↓ 2 callersFunctionaddArgumentsToPrompt
( prompt: string, jsonInput: string, )
src/utils/hooks/hookHelpers.ts:30
↓ 2 callersFunctionaddErrorNotificationIfNeeded
( error: unknown, context: Pick<ToolUseContext, 'addNotification'>, )
src/services/compact/compact.ts:1120
↓ 2 callersFunctionaddErrorsToAppState
* Add errors to AppState, deduplicating to avoid showing the same error multiple times
src/services/mcp/useManageMCPConnections.ts:104
↓ 2 callersFunctionaddHookToSession
* Internal helper to add a hook to session state
src/utils/hooks/sessionHooks.ts:167
↓ 2 callersFunctionaddInstalledPlugin
( pluginId: string, metadata: InstalledPlugin, scope: PersistableScope = 'user', projectPath?: string,
src/utils/plugins/installedPluginsManager.ts:884
↓ 2 callersFunctionaddInvokedSkill
( skillName: string, skillPath: string, content: string, agentId: string | null = null, )
src/bootstrap/state.ts:1526
↓ 2 callersFunctionaddLayoutTransitionDamage
( current: LayoutDamageRows | null, previousRect: Pick<Rectangle, 'y' | 'height'> | undefined, nextRect:
src/ink/layoutDamageRows.ts:44
↓ 2 callersFunctionaddLineNumber
( h: Highlight, theme: Theme, maxDigits: number, fullDim: boolean, )
src/native-ts/color-diff/index.ts:726
↓ 2 callersFunctionaddLineNumbers
({ content, // 1-indexed startLine, }: { content: string startLine: number })
src/utils/file.ts:290
↓ 2 callersMethodaddOutput
(line: string)
src/utils/awsAuthStatusManager.ts:48
↓ 2 callersFunctionaddPluginScopeToLspServers
( servers: Record<string, LspServerConfig>, pluginName: string, )
src/utils/plugins/lspPluginIntegration.ts:298
↓ 2 callersFunctionaddPluginScopeToServers
( servers: Record<string, McpServerConfig>, pluginName: string, pluginSource: string, )
src/utils/plugins/mcpPluginIntegration.ts:341
↓ 2 callersFunctionaddSessionHook
( setAppState: (updater: (prev: AppState) => AppState) => void, sessionId: string, event: HookEvent, m
src/utils/hooks/sessionHooks.ts:68
↓ 2 callersFunctionaddToToolDuration
(duration: number)
src/bootstrap/state.ts:602
↓ 2 callersFunctionaddToTurnHookDuration
(duration: number)
src/bootstrap/state.ts:612
↓ 2 callersMethodaddTool
* Add a tool to the execution queue. Will start executing immediately if conditions allow.
src/services/tools/StreamingToolExecutor.ts:78
↓ 2 callersFunctionaddToolResult
( toolUseResult: unknown, preMappedBlock?: ToolResultBlockParam, )
src/services/tools/toolExecution.ts:1404
↓ 2 callersFunctionadjustHunkLineNumbers
( hunks: StructuredPatchHunk[], offset: number, )
src/utils/diff.ts:17
↓ 2 callersFunctionaggregateClaudeCodeStatsForRange
( range: StatsDateRange, )
src/utils/stats.ts:718
↓ 2 callersFunctionaliasMatchesParentTier
* Check if a bare family alias (opus/sonnet/haiku) matches the parent model's * tier. When it does, the subagent inherits the parent's exact model st
src/utils/model/agent.ts:110
↓ 2 callersFunctionalignAbsolute
( align: Align, leadEdge: number, trailEdge: number, childSize: number, wrapReverse: boolean, )
src/native-ts/yoga-layout/index.ts:2039
↓ 2 callersFunctionall
( generators: AsyncGenerator<A, void>[], concurrencyCap = Infinity, )
src/utils/generators.ts:32
↓ 2 callersMethodallRows
()
src/ink/terminalReplayOracle.ts:60
↓ 2 callersFunctionanalyzeContextUsage
( messages: Message[], model: string, getToolPermissionContext: () => Promise<ToolPermissionContext>,
src/utils/analyzeContext.ts:919
↓ 2 callersFunctionannotateBoundaryWithPreservedSegment
( boundary: SystemCompactBoundaryMessage, anchorUuid: UUID, messagesToKeep: readonly Message[] | undefin
src/services/compact/compact.ts:361
↓ 2 callersFunctionappServerEventFromNotification
( notification: ServerNotification, )
src/remote/appServer/client.ts:147
↓ 2 callersFunctionappendMessageToLocalAgent
(taskId: string, message: Message, setAppState: (f: (prev: AppState) => AppState) => void)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:175
↓ 2 callersFunctionappendStdout
(msg: string)
src/screens/REPL.tsx:4483
↓ 2 callersFunctionappendTeammateMessage
(taskId: string, message: Message, setAppState: SetAppState)
src/tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:51
↓ 2 callersMethodappendToFile
(filePath: string, data: string)
src/utils/sessionStorage.ts:695
↓ 2 callersFunctionappleScriptQuote
* AppleScript string literal escaping (backslash then double-quote).
src/utils/deepLink/terminalLauncher.ts:526
↓ 2 callersFunctionapplyAppendedLastAssistantToolUses
( previous: ReadonlyArray<AssistantToolUseSignal>, appended: Message[], )
src/screens/replMessageSignals.ts:256
↓ 2 callersFunctionapplyAppendedPromptSignals
( previous: PromptInputMessageSignals, appended: Message[], )
src/screens/replMessageSignals.ts:199
↓ 2 callersFunctionapplyBriefFiltering
( messages: readonly FilteredMessage[], isTranscriptMode: boolean, isBriefOnly: boolean, briefToolName
src/components/messages/transcriptProjection.ts:71
↓ 2 callersFunctionapplyCommandSuggestion
( suggestion: string | SuggestionItem, shouldExecute: boolean, commands: Command[], onInputChange: (va
src/utils/suggestions/commandSuggestions.ts:503
↓ 2 callersFunctionapplyCoordinatorToolFilter
(tools: Tools)
src/utils/toolPool.ts:35
↓ 2 callersFunctionapplyDebugLogBudget
( path: string, content: string, existingBytes: number, )
src/utils/debug.ts:64
↓ 2 callersFunctionapplyDirectorySuggestion
(input: string, suggestionId: string, tokenStartPos: number, tokenLength: number, isDirectory: boolean)
src/hooks/useTypeahead.tsx:237
↓ 2 callersFunctionapplyEditToFile
( originalContent: string, oldString: string, newString: string, replaceAll: boolean = false, )
src/tools/FileEditTool/utils.ts:206
↓ 2 callersFunctionapplyGrouping
( messages: MessageWithoutProgress[], tools: Tools, verbose: boolean = false, )
src/utils/groupToolUses.ts:54
↓ 2 callersFunctionapplyMcpServerChanges
( servers: Record<string, McpServerConfigForProcessTransport>, )
src/cli/print.ts:1565
↓ 2 callersFunctionapplyModelOverrides
* Layer user-configured modelOverrides (from settings.json) on top of the * provider-derived model strings. Overrides are keyed by canonical first-pa
src/utils/model/modelStrings.ts:63
↓ 2 callersFunctionapplyParentRegionPrefix
( resolvedModel: string, originalSpec: string, )
src/utils/model/agent.ts:58
↓ 2 callersFunctionapplyPluginMcpDiff
()
src/cli/print.ts:1823
↓ 2 callersFunctionapplySettingsChange
( source: SettingSource, setAppState: (f: (prev: AppState) => AppState) => void, )
src/utils/settings/applySettingsChange.ts:34
↓ 2 callersFunctionapplyStopHookMessage
( previous: StopHookExecutionState, message: Message, )
src/screens/replMessageSignals.ts:317
↓ 2 callersFunctionapplyTaskOffsetsAndEvictions
( setAppState: SetAppState, updatedTaskOffsets: Record<string, number>, evictedTaskIds: string[], )
src/utils/task/framework.ts:213
↓ 2 callersFunctionapplyTeleportedMessages
( result: TeleportRemoteResponse, context: TeleportCommandContext, )
src/commands/teleport/teleport.tsx:31
↓ 2 callersFunctionapplyVarToScope
* Apply a variable assignment to the scope, handling `+=` append semantics. * SECURITY: If EITHER side (existing value or appended value) contains a
src/utils/bash/ast.ts:2017
↓ 2 callersFunctionapproveApiKey
(apiKey: string)
src/services/api/bootstrap.test.ts:122
↓ 2 callersFunctionarchiveBridgeSession
( sessionId: string, opts?: { baseUrl?: string getAccessToken?: () => string | undefined timeo
src/bridge/createSession.ts:263
↓ 2 callersFunctionassemblePluginLoadResult
* Shared body of loadAllPlugins and loadAllPluginsCacheOnly. * * The only difference between the two is which marketplace loader runs — * session p
src/utils/plugins/pluginLoader.ts:3155
↓ 2 callersFunctionassertAssistantContentPresent
( context: 'unary' | 'stream', stopReason: BetaMessage['stop_reason'], contentBlockCount: number, )
src/services/api/openAICompatInferenceClient.ts:972
↓ 2 callersMethodassertMatchesScreen
(screen: Screen)
src/ink/terminalReplayOracle.ts:64
↓ 2 callersFunctionasyncModels
(models: Array<Record<string, unknown>>)
src/services/api/claude.verifyApiKey.test.ts:39
↓ 2 callersFunctionatomicMoveToInstallPath
( stagedBinaryPath: string, installPath: string, )
src/utils/nativeInstaller/installer.ts:300
↓ 2 callersFunctionattachTmuxClient
( session: IsolatedTmuxSession, opts?: { timeoutMs?: number }, )
src/testing/tmuxHarness.ts:255
↓ 2 callersFunctionattemptNpmUninstall
( packageName: string, )
src/utils/nativeInstaller/installer.ts:1626
↓ 2 callersFunctionauthLogin
({ email, sso, console: useConsole, managed, }: { email?: string sso?: boolean console?: boolean
src/cli/handlers/auth.ts:293
↓ 2 callersFunctionawaitClassifierAutoApproval
( pendingCheck: PendingClassifierCheck, signal: AbortSignal, isNonInteractiveSession: boolean, )
src/tools/BashTool/bashPermissions.ts:1556
↓ 2 callersFunctionbackgroundAll
(getAppState: () => AppState, setAppState: SetAppState)
src/tasks/LocalShellTask/LocalShellTask.tsx:390
↓ 2 callersFunctionbackgroundExistingForegroundTask
(taskId: string, shellCommand: ShellCommand, description: string, setAppState: SetAppState, toolUseId?: string
src/tasks/LocalShellTask/LocalShellTask.tsx:420
↓ 2 callersFunctionbaseCreateAssistantMessage
({ content, isApiErrorMessage = false, apiError, error, errorDetails, isVirtual, usage = { i
src/utils/messages.ts:356
↓ 2 callersMethodbeforeFileEdited
* Capture baseline diagnostics for a specific file before editing. * This is called before editing a file to ensure we have a baseline to compare a
src/services/diagnosticTracking.ts:135
↓ 2 callersFunctionbeginFocusRecording
()
src/hooks/useVoice.ts:594
↓ 2 callersMethodbinarySearchBoundary
* Binary search for boundaries. * @param boundaries: Sorted array of boundaries * @param target: Target offset * @param findNext: If true, fi
src/utils/Cursor.ts:1198
↓ 2 callersFunctionblitRegion
( dst: Screen, src: Screen, regionX: number, regionY: number, maxX: number, maxY: number, )
src/ink/screen.ts:1178
↓ 2 callersFunctionblockTask
( taskListId: string, fromTaskId: string, toTaskId: string, )
src/utils/tasks.ts:459
↓ 2 callersFunctionbridgeMain
(args: string[])
src/bridge/bridgeMain.ts:1997
↓ 2 callersFunctionbuildAPIProviderProperties
()
src/utils/status.tsx:365
↓ 2 callersFunctionbuildActiveFooterText
(url: string)
src/bridge/bridgeStatusUtil.ts:149
↓ 2 callersFunctionbuildAlreadyActiveMessage
(url: string | undefined)
src/commands/ultraplan.tsx:193
↓ 2 callersFunctionbuildAuthStatusView
( session: ResolvedAuthSession, )
src/auth/runtime/status.ts:94
↓ 2 callersFunctionbuildAuthUrl
({ codeChallenge, state, port, isManual, manualRelayId, loginWithClaudeAi, inferenceOnly, orgU
src/services/oauth/client.ts:88
↓ 2 callersFunctionbuildAutofixPrPrompt
( target: AutofixPrTarget, userPrompt?: string, )
src/commands/autofix-pr/autofix-pr.ts:119
← previousnext →3,801–3,900 of 14,563, ranked by callers