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
↓ 2 callers
Function
cleanupLegacyCache
* Clean up legacy non-versioned cache directories. * * Legacy cache structure: ~/.claude/plugins/cache/{plugin-name}/ * Versioned cache structure:
src/utils/plugins/installedPluginsManager.ts:194
↓ 2 callers
Function
cleanupNpmCacheForAnthropicPackages
()
src/utils/cleanup.ts:439
↓ 2 callers
Function
cleanupOldFilesInDirectory
( dirPath: string, cutoffDate: Date, isMessagePath: boolean, )
src/utils/cleanup.ts:56
↓ 2 callers
Function
cleanupPath
(path: string | undefined)
src/ink/components/ErrorOverview.tsx:12
↓ 2 callers
Function
cleanupSecureStorage
()
src/cli/handlers/mcp.tsx:79
↓ 2 callers
Function
cleanupStaleLocks
(locksDir: string)
src/utils/nativeInstaller/pidLock.ts:394
↓ 2 callers
Function
cleanupTeamDirectories
(teamName: string)
src/utils/swarm/teamHelpers.ts:641
↓ 2 callers
Function
cleanupYogaNode
(node: DOMElement | TextNode)
src/ink/reconciler.ts:95
↓ 2 callers
Function
clearAgentDefinitionsCache
()
src/tools/AgentTool/loadAgentsDir.ts:396
↓ 2 callers
Function
clearAnsiSpanCache
()
src/ink/Ansi.tsx:34
↓ 2 callers
Function
clearBetaCaches
()
src/utils/betas.test.ts:89
↓ 2 callers
Function
clearCurrentApiKeyHelperCache
()
src/utils/apiKeyHelperSession.ts:38
↓ 2 callers
Function
clearCurrentAwsCredentialsCache
()
src/utils/cloudCredentialSession.ts:40
↓ 2 callers
Function
clearCurrentGcpCredentialsCache
()
src/utils/cloudCredentialSession.ts:44
↓ 2 callers
Function
clearDeliveredDiagnosticsForFile
(fileUri: string)
src/services/lsp/LSPDiagnosticRegistry.ts:372
↓ 2 callers
Method
clearDisplay
()
src/ink/terminalReplayOracle.ts:269
↓ 2 callers
Function
clearDynamicTeamContext
()
src/utils/teammate.ts:72
↓ 2 callers
Function
clearLegacyApiKeyPrefetch
()
src/utils/secureStorage/keychainPrefetch.ts:114
↓ 2 callers
Function
clearMemoryFileCaches
()
src/tools/WorktreeToolRuntime.test.ts:115
↓ 2 callers
Function
clearMockEarlyWarning
()
src/services/mockRateLimits.ts:313
↓ 2 callers
Function
clearPluginAgentCache
()
src/utils/plugins/loadPluginAgents.ts:346
↓ 2 callers
Function
clearPluginCacheExclusions
()
src/utils/plugins/orphanedPluginFilter.ts:96
↓ 2 callers
Function
clearPluginCommandCache
()
src/utils/plugins/loadPluginCommands.ts:679
↓ 2 callers
Function
clearPluginHookCache
()
src/utils/plugins/loadPluginHooks.ts:159
↓ 2 callers
Function
clearPluginOutputStyleCache
()
src/utils/plugins/loadPluginOutputStyles.ts:184
↓ 2 callers
Function
clearPolicyLimitsCache
()
src/services/policyLimits/index.ts:585
↓ 2 callers
Function
clearPromptCache
()
src/tools/SkillTool/prompt.ts:218
↓ 2 callers
Function
clearRegisteredPluginHooks
()
src/bootstrap/state.ts:1462
↓ 2 callers
Function
clearRemoteManagedSettingsCache
()
src/services/remoteManagedSettings/index.ts:408
↓ 2 callers
Function
clearSessionMetadata
()
src/utils/sessionStorage.ts:2972
↓ 2 callers
Function
clearSpeculativeChecks
()
src/tools/BashTool/bashPermissions.ts:1544
↓ 2 callers
Function
clearSuppressionTimer
()
src/screens/promptDraftController.ts:35
↓ 2 callers
Method
clearTextSelection
Clear the current text selection without copying.
src/ink/ink.tsx:1195
↓ 2 callers
Function
clearToolSchemaCache
()
src/utils/toolSchemaCache.ts:24
↓ 2 callers
Function
clearTrustedDeviceToken
()
src/bridge/trustedDevice.ts:72
↓ 2 callers
Function
clearWorkflowCaches
()
src/tools/WorkflowTool/createWorkflowCommand.test.ts:18
↓ 2 callers
Function
cloneContentReplacementState
( source: ContentReplacementState, )
src/utils/toolResultStorage.ts:424
↓ 2 callers
Function
closeAfterTerminalFrame
()
src/services/api/openAICompatWsV2Native.ts:194
↓ 2 callers
Method
closeBridgeSocket
()
src/shims/claudeForChromeMcp.ts:1747
↓ 2 callers
Function
closeOpenSpans
* Force-close any remaining open spans at session end.
src/utils/telemetry/perfettoTracing.ts:969
↓ 2 callers
Function
coalescePatches
* Coalesce two patches for PUT /worker. * * Top-level keys: overlay replaces base (last value wins). * Metadata keys (external_metadata, internal_m
src/cli/transports/WorkerStateUploader.ts:106
↓ 2 callers
Function
collapseBackgroundBashNotifications
( messages: RenderableMessage[], verbose: boolean, )
src/utils/collapseBackgroundBashNotifications.ts:41
↓ 2 callers
Function
collapseReadSearchGroups
( messages: RenderableMessage[], tools: Tools, behavior?: CollapseBehavior, )
src/utils/collapseReadSearch.ts:791
↓ 2 callers
Function
collapseRenderableMessages
( messages: readonly FilteredMessage[], tools: Tools, verbose: boolean, isTranscriptMode: boolean, )
src/components/messages/transcriptProjection.ts:90
↓ 2 callers
Function
collapseTeammateShutdowns
( messages: RenderableMessage[], )
src/utils/collapseTeammateShutdowns.ts:18
↓ 2 callers
Function
collapseWhitespace
(output: string)
src/ink/replPerfHarness.tsx:268
↓ 2 callers
Function
collectCandidatesByMessage
* Extract candidate tool_result blocks grouped by API-level user message. * * normalizeMessagesForAPI merges consecutive user messages into one * (
src/utils/toolResultStorage.ts:619
↓ 2 callers
Function
collectCompactableToolIds
* Walk messages and collect tool_use IDs whose tool name is in * COMPACTABLE_TOOLS, in encounter order. Shared by both microcompact paths.
src/services/compact/microCompact.ts:236
↓ 2 callers
Function
collectContextData
( context: CollectContextDataInput, )
src/commands/context/context-noninteractive.ts:35
↓ 2 callers
Function
collectDirectoryNames
( files: string[], start: number, end: number, out: Set<string>, )
src/hooks/fileSuggestions.ts:481
↓ 2 callers
Function
collectRecentToolResults
(messages: readonly Message[])
src/buddy/observer.ts:251
↓ 2 callers
Function
collectStream
( stream: AsyncGenerator<unknown, T>, )
src/query/stopHooks.test.ts:104
↓ 2 callers
Function
collectToolResultIds
(messages: Message[])
src/query.ts:160
↓ 2 callers
Function
colorToEscape
(c: Color, fg: boolean, mode: ColorMode)
src/native-ts/color-diff/index.ts:129
↓ 2 callers
Function
colorToString
* Convert termio's Color to the string format used by Ink.
src/ink/Ansi.tsx:235
↓ 2 callers
Function
commandArraysMatch
* Check if two command arrays match exactly
src/services/mcp/config.ts:150
↓ 2 callers
Function
commandHasArgAbbreviation
( command: ParsedCommandElement, fullParam: string, minPrefix: string, )
src/utils/powershell/parser.ts:1663
↓ 2 callers
Function
commitTextField
(fieldName_3: string, schema_1: PrimitiveSchemaDefinition, value_0: string)
src/components/mcp/ElicitationDialog.tsx:365
↓ 2 callers
Function
companionUserId
()
src/buddy/companion.ts:119
↓ 2 callers
Function
completeMainSessionTask
( taskId: string, success: boolean, setAppState: SetAppState, )
src/tasks/LocalMainSessionTask.ts:168
↓ 2 callers
Function
completeOnboarding
()
src/interactiveHelpers.tsx:36
↓ 2 callers
Function
completeWorkflowAgent
( taskId: string, agentId: string, setAppState: SetAppState, result: { summary?: string tokenC
src/tasks/LocalWorkflowTask/LocalWorkflowTask.tsx:334
↓ 2 callers
Function
compressImageBuffer
( imageBuffer: Buffer, maxBytes: number = IMAGE_TARGET_RAW_SIZE, originalMediaType?: string, )
src/utils/imageResizer.ts:498
↓ 2 callers
Function
computeDefaultInstallDir
()
src/commands/assistant/assistant.tsx:44
↓ 2 callers
Function
computeDividerBeforeIndex
( unseenDivider: UnseenDivider | undefined, renderableMessages: readonly RenderableMessage[], )
src/components/messages/useTranscriptViewModel.ts:55
↓ 2 callers
Function
computeFileModificationState
* Compute the character contribution for a file modification. * Returns the FileAttributionState to store, or null if tracking failed.
src/utils/commitAttribution.ts:266
↓ 2 callers
Function
computeFingerprint
( messageText: string, version: string, )
src/utils/fingerprint.ts:50
↓ 2 callers
Function
computeInitialTeamContext
()
src/utils/swarm/reconnection.ts:23
↓ 2 callers
Function
computeNewLimitsFromHeaders
( headers: globalThis.Headers, )
src/services/claudeAiLimits.ts:393
↓ 2 callers
Function
computeRenewAfter
( issuedAt: number, expiresAt: number, renewalWindowMs: number, )
src/auth/runtime/leases.ts:120
↓ 2 callers
Function
computeSelectedIndex
( cursor: MessageActionsState | null | undefined, renderableMessages: readonly RenderableMessage[], )
src/components/messages/useTranscriptViewModel.ts:64
↓ 2 callers
Function
computeSimpleEnvInfo
( modelId: string, additionalWorkingDirectories?: string[], )
src/constants/prompts.ts:641
↓ 2 callers
Function
computeToolHashes
()
src/services/api/promptCacheBreakDetection.ts:285
↓ 2 callers
Function
computeTurnStats
(turn: TurnDiff)
src/hooks/useTurnDiffs.ts:79
↓ 2 callers
Function
computeWheelStep
(state: WheelAccelState, dir: 1 | -1, now: number)
src/components/ScrollKeybindingHandler.tsx:176
↓ 2 callers
Function
computeWrap
( text: string, maxWidth: number, wrapType: Styles['textWrap'], )
src/ink/wrap-text.ts:71
↓ 2 callers
Function
configureGlobalAgents
()
src/utils/proxy.ts:327
↓ 2 callers
Function
configureStableInferenceModeTestState
(options: { interactive: boolean entrypoint: 'cli' | 'sdk-cli' })
src/services/api/inferenceRequestShapeModeContract.test.ts:54
↓ 2 callers
Method
connect
()
src/shims/claudeForChromeMcp.ts:1170
↓ 2 callers
Method
connect
* Connect to the sessions WebSocket endpoint
src/remote/SessionsWebSocket.ts:100
↓ 2 callers
Function
connectMcpBatch
(configs: Record<string, ScopedMcpServerConfig>, label: string)
src/main.tsx:2803
↓ 2 callers
Function
connectVoiceStream
( callbacks: VoiceStreamCallbacks, options?: { language?: string; keyterms?: string[] }, )
src/services/voiceStreamSTT.ts:101
↓ 2 callers
Function
consumeInvokingRequestId
()
src/utils/agentContext.ts:163
↓ 2 callers
Function
consumeRawReadResult
* Convert raw subprocess output into parsed MDM and HKCU results, * applying the first-source-wins policy.
src/utils/settings/mdm/settings.ts:228
↓ 2 callers
Function
containsControlChars
* Check if a string contains ASCII control characters (0x00-0x1F, 0x7F). * These can act as command separators in shells (newlines, carriage returns,
src/utils/deepLink/parseDeepLink.ts:36
↓ 2 callers
Function
contentSize
( content: NonNullable<ToolResultBlockParam['content']>, )
src/utils/toolResultStorage.ts:537
↓ 2 callers
Function
contentToText
(content: ToolResultBlockParam['content'])
src/utils/ultraplan/ccrSession.ts:310
↓ 2 callers
Function
convertDirectoryToZipInPlace
( dirPath: string, zipPath: string, )
src/utils/plugins/zipCache.ts:371
↓ 2 callers
Function
convertOutputConfig
( outputConfig: unknown, )
src/services/api/openAICompatInferenceClient.ts:752
↓ 2 callers
Function
convertRulesToUpdates
* Helper to convert PermissionRule array to PermissionUpdate array
src/utils/permissions/permissions.ts:1381
↓ 2 callers
Function
convertToHookMatchers
* Convert session hook matchers to regular hook matchers * @param sessionMatchers The session hook matchers to convert * @returns Regular hook match
src/utils/hooks/sessionHooks.ts:282
↓ 2 callers
Function
copyPlanForFork
( log: LogOption, targetSessionId: SessionId, )
src/utils/plans.ts:239
↓ 2 callers
Method
copySelection
* Copy the current text selection to the system clipboard via OSC 52 * and clear the selection. Returns the copied text (empty if no selection).
src/ink/ink.tsx:1186
↓ 2 callers
Function
copySnapshotToLocal
( agentType: string, scope: AgentMemoryScope, )
src/tools/AgentTool/agentMemorySnapshot.ts:70
↓ 2 callers
Function
countConcurrentSessions
()
src/utils/concurrentSessions.ts:168
↓ 2 callers
Function
countLines
(content: string)
src/tools/FileWriteTool/UI.tsx:35
↓ 2 callers
Function
countMcpToolTokens
( tools: Tools, getToolPermissionContext: () => Promise<ToolPermissionContext>, agentInfo: AgentDefiniti
src/utils/analyzeContext.ts:617
↓ 2 callers
Function
countPatchTypes
(diff: Diff)
src/ink/renderTrace.ts:62
↓ 2 callers
Function
countToolCalls
( messages: Message[], toolName: string, maxCount?: number, )
src/utils/messages.ts:4791
↓ 2 callers
Function
countWorktreeChanges
* Returns null when state cannot be reliably determined — callers that use * this as a safety gate must treat null as "unknown, assume unsafe" * (fa
src/tools/ExitWorktreeTool/ExitWorktreeTool.ts:79
← previous
next →
4,001–4,100 of 14,563, ranked by callers