MCPcopy Create free account

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

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

↓ 2 callersFunctionensureTrailingNewline
(value: string)
src/utils/ccshareResume.ts:269
↓ 2 callersFunctionenvSessionKind
* Kind override from env. Set by the spawner (`ncode --bg`, daemon * supervisor) so the child can register without the parent having to * write the
src/utils/concurrentSessions.ts:31
↓ 2 callersMethoderror
(message: string, ...args: unknown[])
src/utils/computerUse/hostAdapter.ts:25
↓ 2 callersFunctionescapeXmlAttr
(s: string)
src/utils/xml.ts:14
↓ 2 callersFunctionestimateSkillFrontmatterTokens
(skill: Command)
src/skills/loadSkillsDir.ts:106
↓ 2 callersFunctionestimatedMeasureEntryBytes
(text: string)
src/ink/measure-text.ts:20
↓ 2 callersFunctionevictOldestEvents
* Drop the oldest half of events[] when over MAX_EVENTS. Called from the * stale-span cleanup interval (60s). The half-batch splice keeps this * amo
src/utils/telemetry/perfettoTracing.ts:232
↓ 2 callersFunctionevictOldestFromMap
(map: Map<K, V>, maxSize: number)
src/utils/toolResultStorage.ts:401
↓ 2 callersFunctionevictOldestIfAtCap
()
src/utils/imageStore.ts:115
↓ 2 callersFunctionevictStaleSpans
* Evict pending spans older than STALE_SPAN_TTL_MS. * Mirrors the TTL cleanup pattern in sessionTracing.ts.
src/utils/telemetry/perfettoTracing.ts:187
↓ 2 callersFunctionexecHttpHook
( hook: HttpHook, _hookEvent: HookEvent, jsonInput: string, signal?: AbortSignal, )
src/utils/hooks/execHttpHook.ts:123
↓ 2 callersMethodexecute
( input: { code: string; timeoutMs: number }, runtime: ReplWrapperRuntime, )
src/tools/REPLTool/pyReplFactory.tsx:309
↓ 2 callersFunctionexecuteEnvHooks
( hookInput: HookInput, timeoutMs: number, )
src/utils/hooks.ts:4245
↓ 2 callersFunctionexecuteInBackground
({ processId, hookId, shellCommand, asyncResponse, hookEvent, hookName, command, asyncRewake,
src/utils/hooks.ts:184
↓ 2 callersFunctionexecuteIndent
( dir: '>' | '<', count: number, ctx: OperatorContext, )
src/vim/operators.ts:348
↓ 2 callersFunctionexecuteInstructionsLoadedHooks
( filePath: string, memoryType: InstructionsMemoryType, loadReason: InstructionsLoadReason, options?:
src/utils/hooks.ts:4339
↓ 2 callersFunctionexecuteJoin
(count: number, ctx: OperatorContext)
src/vim/operators.ts:258
↓ 2 callersFunctionexecuteLineOp
( op: Operator, count: number, ctx: OperatorContext, )
src/vim/operators.ts:102
↓ 2 callersFunctionexecuteNonStreamingRequest
( clientOptions: { model: string fetchOverride?: Options['fetchOverride'] source: string },
src/services/api/claude.ts:845
↓ 2 callersFunctionexecuteOperatorFind
( op: Operator, findType: FindType, char: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:59
↓ 2 callersFunctionexecuteOperatorTextObj
( op: Operator, scope: TextObjScope, objType: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:80
↓ 2 callersFunctionexecutePostCompactHooks
( compactData: { trigger: 'manual' | 'auto' compactSummary: string }, signal?: AbortSignal, ti
src/utils/hooks.ts:4038
↓ 2 callersFunctionexecuteReplace
( char: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:199
↓ 2 callersFunctionexecuteTaskCompletedHooks
( taskId: string, taskSubject: string, taskDescription?: string, teammateName?: string, teamName?: s
src/utils/hooks.ts:3793
↓ 2 callersFunctionexecuteToggleCase
(count: number, ctx: OperatorContext)
src/vim/operators.ts:222
↓ 2 callersFunctionexecuteUserInput
* Core logic for executing user input without UI side effects. * * All commands arrive as `queuedCommands`. First command gets full treatment * (at
src/utils/handlePromptSubmit.ts:400
↓ 2 callersFunctionexecuteWorktreeRemoveHook
( worktreePath: string, )
src/utils/hooks.ts:4971
↓ 2 callersFunctionexecuteX
(count: number, ctx: OperatorContext)
src/vim/operators.ts:171
↓ 2 callersFunctionexitWithMessage
(root: Root, message: string, options?: { color?: TextProps['color']; exitCode?: number; beforeExit?: ()
src/interactiveHelpers.tsx:69
↓ 2 callersFunctionexpandKey
Key for click-to-expand: tool_use_id where available (so tool_use + its * tool_result expand together), else uuid for groups/thinking.
src/components/Messages.tsx:399
↓ 2 callersFunctionexpandString
(str: string)
src/services/mcp/config.ts:563
↓ 2 callersFunctionexpectSummaryMessage
( events: unknown[], expected: Record<string, unknown>, )
src/query/stopHooks.test.ts:57
↓ 2 callersFunctionextendQueryState
( state: TranscriptSearchQueryState, fromIndex: number, toIndex: number, getSearchText: (index: number
src/components/messages/transcriptSearchQueryCache.ts:153
↓ 2 callersFunctionextendTranscriptSearchQueryCache
({ cache, fromIndex, toIndex, getSearchText, }: ExtendTranscriptSearchQueryCacheArgs)
src/components/messages/transcriptSearchQueryCache.ts:103
↓ 2 callersFunctionextractAfterMarker
( output: string, marker: string, command?: string, )
src/tools/TungstenTool/TungstenTool.ts:391
↓ 2 callersFunctionextractAgentMentions
(content: string)
src/utils/attachments.ts:2809
↓ 2 callersFunctionextractAssistantToolUses
( message: Extract<Message, { type: 'assistant' }>, )
src/screens/replMessageSignals.ts:276
↓ 2 callersFunctionextractBashCommentLabel
(command: string)
src/tools/BashTool/commentLabel.ts:8
↓ 2 callersFunctionextractBashToolsFromMessages
(messages: Message[])
src/utils/queryHelpers.ts:502
↓ 2 callersFunctionextractCommandName
* Extract the command name from a PowerShell command string. * Uses the parser to get the first command name from the AST.
src/tools/PowerShellTool/powershellPermissions.ts:118
↓ 2 callersFunctionextractConversationText
(messages: Message[])
src/utils/sessionTitle.ts:35
↓ 2 callersFunctionextractFromServerConfigRecord
( serverConfigs: Record<string, unknown>, )
src/utils/plugins/lspRecommendation.ts:112
↓ 2 callersFunctionextractFunctionHooks
( sessionMatchers: SessionHookMatcher[], )
src/utils/hooks/sessionHooks.ts:357
↓ 2 callersFunctionextractGitHubRepoFromGitUrl
* Extract GitHub owner/repo from a git URL if it's a GitHub URL. * Returns null if not a GitHub URL. * * Handles: * - git@github.com:owner/repo.gi
src/utils/plugins/marketplaceHelpers.ts:348
↓ 2 callersFunctionextractHostFromSource
( source: MarketplaceSource, )
src/utils/plugins/marketplaceHelpers.ts:235
↓ 2 callersFunctionextractJsonStringFieldPrefix
* Like extractJsonStringField but returns the first `maxLen` characters of the * value even when the closing quote is missing (truncated buffer). New
src/utils/sessionStorage.ts:5191
↓ 2 callersFunctionextractMcpToolDetails
(toolName: string)
src/services/analytics/metadata.ts:175
↓ 2 callersFunctionextractMcpToolDisplayName
(userFacingName: string)
src/services/mcp/mcpStringUtils.ts:88
↓ 2 callersFunctionextractOpenAICompatReplayReceiptsFromDumpPrompts
( raw: string, sourceReceiptPath: string = '<inline>', )
src/services/api/openAICompatInferenceReceiptReplay.ts:107
↓ 2 callersFunctionextractPDFPages
( filePath: string, options?: { firstPage?: number; lastPage?: number }, )
src/utils/pdf.ts:179
↓ 2 callersFunctionextractPathsFromCommand
* Extract file paths from a parsed PowerShell command element. * Uses the AST args to find positional and named path parameters. * * If any path ar
src/tools/PowerShellTool/pathValidation.ts:1304
↓ 2 callersFunctionextractPathsFromText
(textContent: string)
src/utils/claudemd.ts:562
↓ 2 callersFunctionextractPromptPreview
(trigger: RoutineRecord)
src/commands/agents-platform/agents-platform.tsx:165
↓ 2 callersFunctionextractQuotaStatusFromHeaders
( headers: globalThis.Headers, )
src/services/claudeAiLimits.ts:471
↓ 2 callersFunctionextractQuotedContent
(command: string, isJq = false)
src/tools/BashTool/bashSecurity.ts:128
↓ 2 callersFunctionextractRawUtilization
(headers: globalThis.Headers)
src/services/claudeAiLimits.ts:177
↓ 2 callersFunctionextractReceivedFromMessage
(msg: string)
src/utils/settings/validation.ts:92
↓ 2 callersFunctionextractRowText
Extract text from one screen row. When the next row is a soft-wrap * continuation (screen.softWrap[row+1]>0), clamp to that content-end * column a
src/ink/selection.ts:716
↓ 2 callersFunctionextractSearchText
(message: (typeof nextMessages)[number])
src/components/messages/virtualMessageListSearchController.test.ts:23
↓ 2 callersFunctionextractSearchToken
(completionToken: { token: string; isQuoted?: boolean; })
src/hooks/useTypeahead.tsx:123
↓ 2 callersFunctionextractSshHost
* Extract the SSH host from a git URL for error messaging. * Matches the SSH format user@host:path (e.g., git@github.com:owner/repo.git).
src/utils/plugins/marketplaceManager.ts:781
↓ 2 callersFunctionextractTaggedContent
(content: string, tag: string)
src/tools/WebFetchTool/WebFetchTool.test.ts:10
↓ 2 callersFunctionextractTextFromToolResult
(result: unknown)
src/shims/claudeForChromeMcp.ts:499
↓ 2 callersFunctionextractTitleText
(m: Message)
src/bridge/bridgeMessaging.ts:103
↓ 2 callersFunctionextractTranscript
* Extracts a truncated transcript from session messages.
src/utils/agenticSessionSearch.ts:86
↓ 2 callersFunctionextractUsage
* Extract usage stats from an API response.
src/utils/permissions/yoloClassifier.ts:611
↓ 2 callersFunctionextractWebFetchSourcesFromText
( text: string, )
src/tools/WebFetchTool/sourceProvenance.ts:55
↓ 2 callersFunctionextractZipToDirectory
( zipPath: string, targetDir: string, )
src/utils/plugins/zipCache.ts:331
↓ 2 callersFunctionextract_type_from_value
(value: &JsonValue)
rust/py_repl_host/src/main.rs:219
↓ 2 callersFunctionfailWorkflowAgent
( taskId: string, agentId: string, setAppState: SetAppState, result: { error: string summary?:
src/tasks/LocalWorkflowTask/LocalWorkflowTask.tsx:356
↓ 2 callersFunctionfamilyHasSpecificEntries
* Check if a family alias is narrowed by more specific entries in the allowlist. * When the allowlist contains both "opus" and "opus-4-5", the specif
src/utils/model/modelAllowlist.ts:65
↓ 2 callersMethodfeed
(bytes: string)
src/ink/terminalReplayOracle.ts:42
↓ 2 callersFunctionfetchAndStoreChangelog
()
src/utils/releaseNotes.ts:83
↓ 2 callersFunctionfetchAndStoreGroveConfig
* Fetch Grove config from API and store in cache
src/services/api/grove.ts:219
↓ 2 callersFunctionfetchAndStoreUserRoles
( accessToken: string, )
src/services/oauth/client.ts:413
↓ 2 callersFunctionfetchFastModeStatus
( auth: { accessToken: string } | { apiKey: string }, )
src/utils/fastMode.ts:368
↓ 2 callersFunctionfetchHistoricalSessionEvents
( eventsUrl: string, headers: Record<string, string>, )
src/cli/remoteIO.ts:81
↓ 2 callersFunctionfetchPage
( ctx: HistoryAuthCtx, params: Record<string, string | number | boolean>, label: string, )
src/assistant/sessionHistory.ts:45
↓ 2 callersFunctionfetchSingleFileGitDiff
( absoluteFilePath: string, )
src/utils/gitDiff.ts:405
↓ 2 callersFunctionfetchSystemPromptParts
({ tools, mainLoopModel, additionalWorkingDirectories, mcpClients, customSystemPrompt, }: { tools:
src/utils/queryContext.ts:44
↓ 2 callersFunctionfetchUltrareviewQuota
()
src/services/api/ultrareviewQuota.ts:32
↓ 2 callersFunctionfetchUserSettings
( maxRetries = DEFAULT_MAX_RETRIES, )
src/services/settingsSync/index.ts:312
↓ 2 callersFunctionfileExtension
(lang: string | undefined)
src/commands/copy/copy.tsx:62
↓ 2 callersFunctionfileHistoryCanRestore
( state: FileHistoryState, messageId: UUID, )
src/utils/fileHistory.ts:399
↓ 2 callersFunctionfileHistoryRestoreStateFromLog
( fileHistorySnapshots: FileHistorySnapshot[], onUpdateState: (newState: FileHistoryState) => void, )
src/utils/fileHistory.ts:888
↓ 2 callersFunctionfileHistoryRewind
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, messag
src/utils/fileHistory.ts:347
↓ 2 callersFunctionfilterBaseMessages
( messages: readonly NormalizedMessage[], isTranscriptMode: boolean, )
src/components/messages/transcriptProjection.ts:59
↓ 2 callersFunctionfilterCommandsForRemoteMode
(commands: Command[])
src/commands.ts:695
↓ 2 callersFunctionfilterDeniedAgents
( agents: T[], context: ReturnType<typeof getDefaultAppState>['toolPermissionContext'], tool
src/tools/AgentToolRuntime.test.ts:344
↓ 2 callersFunctionfilterExistingPaths
(paths: string[])
src/utils/githubRepoPathMapping.ts:94
↓ 2 callersFunctionfilterForBriefTool
(messages: T[], briefToolNames: string[])
src/components/messages/briefFiltering.ts:7
↓ 2 callersFunctionfilterGitIgnoredLocations
* Filters out locations whose file paths are gitignored. * Uses `git check-ignore` with batched path arguments for efficiency.
src/tools/LSPTool/LSPTool.ts:556
↓ 2 callersFunctionfilterIncompleteToolCalls
(messages: Message[])
src/tools/AgentTool/runAgent.ts:868
↓ 2 callersFunctionfilterInvalidPermissionRules
( data: unknown, filePath: string, )
src/utils/settings/validation.ts:224
↓ 2 callersFunctionfilterMcpPromptsByServer
( commands: Command[], serverName: string, )
src/services/mcp/utils.ts:85
↓ 2 callersFunctionfilterNcodeAliases
(lines: string[])
src/utils/shellConfig.ts:45
↓ 2 callersFunctionfilterStartCodes
(codes: AnsiCode[])
src/utils/sliceAnsi.ts:16
↓ 2 callersFunctionfilterToolsForAgent
({ tools, isBuiltIn, isAsync = false, permissionMode, }: { tools: Tools isBuiltIn: boolean isAsy
src/tools/AgentTool/agentToolUtils.ts:70
↓ 2 callersFunctionfinalContextTokensFromLastResponse
( messages: Message[], )
src/utils/tokens.ts:79
↓ 2 callersFunctionfinalizeLocalQueryTurn
( options: FinalizeLocalQueryTurnOptions, deps: FinalizeLocalQueryTurnDeps, )
src/session/localQueryTurnFinalization.ts:37
← previousnext →4,301–4,400 of 14,563, ranked by callers