MCPcopy Create free account

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

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

↓ 3 callersFunctioncheckInstall
( force: boolean = false, )
src/utils/nativeInstaller/installer.ts:788
↓ 3 callersFunctioncheckOriginFileChanged
( originalFile: string, backupFileName: string, originalStatsHint?: Stats, )
src/utils/fileHistory.ts:600
↓ 3 callersFunctioncheckPathConstraints
( input: z.infer<typeof BashTool.inputSchema>, cwd: string, toolPermissionContext: ToolPermissionContext
src/tools/BashTool/pathValidation.ts:1013
↓ 3 callersFunctioncheckPathExists
* Check if a file or directory exists on Windows using the dir command * @param path - The path to check * @returns true if the path exists, false o
src/utils/windowsPaths.ts:15
↓ 3 callersFunctioncheckPathSafetyForAutoEdit
( path: string, precomputedPathsToCheck?: readonly string[], )
src/utils/permissions/filesystem.ts:630
↓ 3 callersFunctioncheckReadableInternalPath
( absolutePath: string, input: { [key: string]: unknown }, )
src/utils/permissions/filesystem.ts:1627
↓ 3 callersFunctioncheckRemoteAgentEligibility
(options?: { skipBundle?: boolean requireGitRemote?: boolean })
src/commands/autofix-pr/autofix-pr.test.ts:73
↓ 3 callersFunctionchordToString
(chord: Chord)
src/keybindings/parser.ts:143
↓ 3 callersFunctionchunk
(type: string, data: Uint8Array)
src/utils/ansiToPng.ts:292
↓ 3 callersFunctionclassifyHandoffIfNeeded
({ agentMessages, tools, toolPermissionContext, abortSignal, subagentType, totalToolUseCount, }: {
src/tools/AgentTool/agentToolUtils.ts:389
↓ 3 callersFunctioncleanListOutput
(raw: string)
src/tools/TungstenTool/TungstenTool.ts:191
↓ 3 callersFunctioncleanup
()
src/services/mcp/client.ts:544
↓ 3 callersFunctioncleanupComputerUseAfterTurn
( ctx: Pick< ToolUseContext, 'getAppState' | 'setAppState' | 'sendOSNotification' >, )
src/utils/computerUse/cleanup.ts:30
↓ 3 callersFunctioncleanupOldVersions
()
src/utils/nativeInstaller/installer.ts:1172
↓ 3 callersFunctioncleanupTerminalModes
()
src/utils/gracefulShutdown.ts:59
↓ 3 callersFunctioncleanupWorktree
()
src/utils/worktree.ts:825
↓ 3 callersFunctionclearAllSessions
()
src/services/api/sessionIngress.ts:511
↓ 3 callersFunctionclearAuthRelatedCaches
()
src/commands/logout/logout.tsx:51
↓ 3 callersFunctionclearBetasCaches
()
src/utils/betas.ts:436
↓ 3 callersFunctionclearClaudeAIMcpConfigsCache
()
src/services/mcp/claudeai.ts:147
↓ 3 callersFunctionclearCommandMemoizationCaches
()
src/commands.ts:534
↓ 3 callersFunctionclearDumpState
()
src/tools/AgentToolRuntime.test.ts:252
↓ 3 callersFunctionclearHighlightedCodeRenderPlanCache
()
src/components/HighlightedCode/renderPlan.ts:90
↓ 3 callersFunctionclearIdleTimer
()
src/utils/sessionActivity.ts:53
↓ 3 callersFunctionclearIdpClientSecret
(idpIssuer: string)
src/services/mcp/xaaIdpLogin.ts:187
↓ 3 callersMethodclearLivenessTimer
()
src/cli/transports/SSETransport.ts:561
↓ 3 callersMethodclearManagedTokenCache
()
src/auth/runtime/types.ts:144
↓ 3 callersFunctionclearMockHeaders
()
src/services/mockRateLimits.ts:679
↓ 3 callersFunctionclearPendingRequest
()
src/hooks/toolPermission/handlers/swarmWorkerHandler.ts:61
↓ 3 callersFunctionclearPluginOptionsCache
()
src/utils/plugins/pluginOptionsStorage.ts:79
↓ 3 callersFunctionclearServerTokensFromLocalStorage
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:620
↓ 3 callersFunctionclearSessionCaches
( preservedAgentIds: ReadonlySet<string> = new Set(), )
src/commands/clear/caches.ts:47
↓ 3 callersFunctionclearSessionHooks
( setAppState: (updater: (prev: AppState) => AppState) => void, sessionId: string, )
src/utils/hooks/sessionHooks.ts:437
↓ 3 callersFunctionclearStallTimer
()
src/utils/nativeInstaller/download.ts:238
↓ 3 callersFunctionclearTimer
()
src/utils/bufferedWriter.ts:30
↓ 3 callersFunctionclearTimer
()
src/hooks/useAwaySummary.ts:57
↓ 3 callersFunctionclearWebFetchCache
()
src/tools/WebFetchTool/utils.ts:83
↓ 3 callersFunctionclearWorkflowCaches
()
src/commands/workflows/workflows.test.ts:24
↓ 3 callersFunctionclipMainScreenFrameToVisibleRows
( frame: Frame, stylePool: StylePool, )
src/ink/log-update.ts:1119
↓ 3 callersFunctioncloseTabInIDE
()
src/hooks/useDiffInIDE.ts:151
↓ 3 callersFunctioncloseTransportAndRejectPending
(reason: string)
src/services/mcp/client.ts:1241
↓ 3 callersFunctioncmdQuote
* cmd.exe argument quoting. cmd.exe does NOT use CommandLineToArgvW-style * backslash escaping — it toggles its quoting state on every raw " * chara
src/utils/deepLink/terminalLauncher.ts:553
↓ 3 callersFunctioncodesignRipgrepIfNecessary
()
src/utils/ripgrep.ts:587
↓ 3 callersFunctioncollectCommandSubstitution
* Recurse into a command_substitution node's inner command(s). If the inner * command(s) parse cleanly (simple), add them to the innerCommands * acc
src/utils/bash/ast.ts:1374
↓ 3 callersFunctioncollectCommands
* Recursively collect leaf `command` nodes from a structural wrapper node. * Returns an error result on any disallowed node type, or null on success.
src/utils/bash/ast.ts:482
↓ 3 callersFunctioncollectCompletionTree
( command: CommanderCommand, currentPath: string[], map: Map<string, CompletionNode>, )
src/cli/handlers/ant.ts:311
↓ 3 callersFunctioncollectToolJsonDeltas
( events: Array<Record<string, unknown>>, contentIndex: number, )
src/services/api/openAICompatInferenceReceiptReplay.test.ts:24
↓ 3 callersFunctioncolorsEqual
(a: Color, b: Color)
src/ink/termio/types.ts:104
↓ 3 callersFunctioncommandAsHint
* Format a bash command for the ⎿ hint. Drops blank lines, collapses runs of * inline whitespace, then caps total length. Newlines are preserved so t
src/utils/collapseReadSearch.ts:138
↓ 3 callersFunctioncommandHasAnyCd
(command: string)
src/tools/BashTool/bashPermissions.ts:2618
↓ 3 callersFunctioncommandListDisplayTruncated
(commands: string[])
src/components/permissions/shellPermissionHelpers.tsx:24
↓ 3 callersFunctioncommitCacheOutputs
(node: Node, performLayout: boolean)
src/native-ts/yoga-layout/index.ts:1022
↓ 3 callersFunctioncompactConversation
( messages: Message[], context: ToolUseContext, cacheSafeParams: CacheSafeParams, suppressFollowUpQues
src/services/compact/compact.ts:399
↓ 3 callersFunctioncomparePoints
-1 if a < b, 1 if a > b, 0 if equal (reading order: row then col).
src/ink/selection.ts:227
↓ 3 callersFunctioncompareRows
(expected: string[], actual: string[])
src/commands/repaint/repaint.ts:79
↓ 3 callersFunctioncomputeSliceStart
( collapsed: ReadonlyArray<{ uuid: string }>, anchorRef: { current: SliceAnchor }, cap: number, step:
src/components/messages/useTranscriptViewModel.ts:23
↓ 3 callersFunctioncomputeStandaloneAgentContext
( agentName: string | undefined, agentColor: string | undefined, )
src/utils/sessionRestore.ts:175
↓ 3 callersFunctioncomputeTargetDims
Logical → physical → API target dims. See `targetImageSize` + COORDINATES.md.
src/utils/computerUse/executor.ts:60
↓ 3 callersFunctionconsumeSpeculativeClassifierCheck
( command: string, )
src/tools/BashTool/bashPermissions.ts:1534
↓ 3 callersFunctioncontainsHeredoc
* Detects if a command contains a heredoc pattern * Matches patterns like: <<EOF, <<'EOF', <<"EOF", <<-EOF, <<-'EOF', <<\EOF, etc.
src/utils/bash/shellQuoting.ts:7
↓ 3 callersFunctioncontentHasToolReference
* Does the content array have a tool_result block whose inner content * contains tool_reference (ToolSearch loaded tools)?
src/utils/messages.ts:1778
↓ 3 callersFunctionconvertImagesToBlocks
(images: PastedContent[])
src/components/permissions/AskUserQuestionPermissionRequest/AskUserQuestionPermissionRequest.tsx:630
↓ 3 callersFunctionconvertToLogOption
( transcript: TranscriptMessage[], value: number = 0, summary?: string, customTitle?: string, fileHi
src/utils/sessionStorage.ts:2641
↓ 3 callersFunctionconvertToSandboxRuntimeConfig
( settings: SettingsJson, )
src/utils/sandbox/sandbox-adapter.ts:188
↓ 3 callersFunctioncopyFileHistoryForResume
(log: LogOption)
src/utils/fileHistory.ts:922
↓ 3 callersFunctioncopyOrWriteToFile
(text: string, filename: string)
src/commands/copy/copy.tsx:81
↓ 3 callersFunctioncopyPlanForResume
( log: LogOption, targetSessionId?: SessionId, )
src/utils/plans.ts:164
↓ 3 callersFunctioncopyPluginToVersionedCache
( sourcePath: string, pluginId: string, version: string, entry?: PluginMarketplaceEntry, marketplace
src/utils/plugins/pluginLoader.ts:365
↓ 3 callersMethodcopySelectionNoClear
* Copy the current selection to the clipboard without clearing the * highlight. Matches iTerm2's copy-on-select behavior where the selected * re
src/ink/ink.tsx:1169
↓ 3 callersFunctioncountAgents
(agents: WorkflowAgentState[])
src/tasks/LocalWorkflowTask/LocalWorkflowTask.tsx:80
↓ 3 callersFunctioncountLinesChanged
( patch: StructuredPatchHunk[], newFileContent?: string, )
src/utils/diff.ts:49
↓ 3 callersFunctioncountMessagesTokensWithAPI
( messages: Anthropic.Beta.Messages.BetaMessageParam[], tools: Anthropic.Beta.Messages.BetaToolUnion[], )
src/services/tokenEstimation.ts:140
↓ 3 callersFunctioncountNewlines
(buf: Buffer, start: number, end: number)
src/utils/readEditContext.ts:153
↓ 3 callersFunctioncountOccurrences
(text: string, query: string)
src/components/messages/transcriptSearchQueryCache.ts:123
↓ 3 callersMethodcountTokens
(...args: InferenceCountTokensArgs)
src/services/api/inferenceClient.ts:47
↓ 3 callersFunctioncountToolsInMessages
(messages: Message[])
src/services/PromptSuggestion/speculation.ts:156
↓ 3 callersFunctioncountUnescapedChar
* Counts unescaped occurrences of a character in a string. * A character is considered escaped if preceded by an odd number of backslashes.
src/utils/settings/permissionValidation.ts:29
↓ 3 callersFunctioncountVisibleMessages
* Counts visible messages that would appear as conversation turns in the UI. * Excludes: * - System, attachment, and progress messages * - User mes
src/utils/sessionStorage.ts:2615
↓ 3 callersFunctioncreateAgent
(agentType: string, overrides: Partial<MockAgentDefinition> = {})
src/tools/AgentToolRuntime.test.ts:565
↓ 3 callersFunctioncreateArgv0ShellFunction
* Creates a shell function that invokes `binaryPath` with a specific argv[0]. * This uses the bun-internal ARGV0 dispatch trick: the bun binary check
src/utils/bash/ShellSnapshot.ts:36
↓ 3 callersFunctioncreateArtifact
( repoRoot: string, bucket: string, mtimeMs: number, options?: { readonly isolationDir?: string
src/testing/wrapperPtyHarness.test.ts:33
↓ 3 callersFunctioncreateAssistantMessage
(uuid: string)
src/session/replTurnController.test.ts:65
↓ 3 callersFunctioncreateAssistantMessage
(uuid: string)
src/session/localQueryTurnCancelRestore.test.ts:20
↓ 3 callersFunctioncreateBashProgressMessage
({ parentToolUseID, toolUseID, elapsedTimeSeconds = 12, taskId = 'task-1', }: { parentToolUseID: str
src/utils/queryHelpers.test.ts:13
↓ 3 callersFunctioncreateBashToolResultTurn
( content: string, toolUseResult: unknown, options?: { isError?: boolean }, )
src/components/messages/messagesToolResultTranscriptContract.test.tsx:46
↓ 3 callersFunctioncreateBashToolResultTurn
( content: string, toolUseResult: unknown, options?: { isError?: boolean }, )
src/components/messages/transcriptProjection.test.ts:143
↓ 3 callersFunctioncreateBashToolUseTurn
(command: string)
src/components/messages/messagesToolResultTranscriptContract.test.tsx:33
↓ 3 callersFunctioncreateBashToolUseTurn
(command: string)
src/components/messages/transcriptProjection.test.ts:130
↓ 3 callersFunctioncreateBufferedWriter
({ writeFn, flushIntervalMs = 1000, maxBufferSize = 100, maxBufferBytes = Infinity, immediateMode =
src/utils/bufferedWriter.ts:9
↓ 3 callersFunctioncreateClaudeAiProxyFetch
(innerFetch: FetchLike)
src/services/mcp/client.ts:383
↓ 3 callersFunctioncreateCodeSession
( baseUrl: string, accessToken: string, title: string, timeoutMs: number, tags?: string[], )
src/bridge/codeSessionApi.ts:26
↓ 3 callersFunctioncreateCommand
( overrides: Partial<Command> = {}, )
src/session/replSubmitPreflight.test.ts:10
↓ 3 callersFunctioncreateCommandSuggestionItem
* Creates a suggestion item from a command. * Only shows the matched alias in parentheses if the user typed an alias.
src/utils/suggestions/commandSuggestions.ts:265
↓ 3 callersFunctioncreateCompactBoundaryMessage
( trigger: 'manual' | 'auto', preTokens: number, lastPreCompactMessageUuid?: UUID, userContext?: strin
src/utils/messages.ts:4630
↓ 3 callersFunctioncreateContext
(commands: Command[])
src/utils/processUserInput/processSlashCommand.test.ts:7
↓ 3 callersFunctioncreateContext
(commands: Command[])
src/utils/processUserInput/processUserInput.bridge.test.ts:16
↓ 3 callersFunctioncreateContext
()
src/utils/processUserInput/processBashCommand.test.ts:12
↓ 3 callersFunctioncreateDeps
(overrides: Partial<Parameters<typeof createReplLocalQueryTurnDispatch>[0]> = {})
src/session/replLocalQueryTurnDispatch.test.ts:10
↓ 3 callersFunctioncreateDisabledBypassPermissionsContext
( currentContext: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:1390
↓ 3 callersFunctioncreateFakeTerminal
(columns = 50, rows = 16)
src/ink/terminalReplayOracleMounted.test.tsx:89
← previousnext →2,701–2,800 of 14,563, ranked by callers