MCPcopy Create free account

hub / github.com/tanbiralam/claude-code / functions

Functions11,484 in github.com/tanbiralam/claude-code

↓ 1 callersFunctioncleanupOldSessionFiles
()
src/utils/cleanup.ts:155
↓ 1 callersFunctioncleanupOldVersionsThrottled
()
src/utils/cleanup.ts:543
↓ 1 callersFunctioncleanupSessionTeams
()
src/utils/swarm/teamHelpers.ts:576
↓ 1 callersFunctioncleanupShellAliases
()
src/utils/nativeInstaller/installer.ts:1492
↓ 1 callersFunctioncleanupSingleDirectory
* Generic helper for cleaning up old files in a single directory * @param dirPath Path to the directory to clean * @param extension File extension t
src/utils/cleanup.ts:266
↓ 1 callersFunctioncleanupStaleAgentWorktrees
( cutoffDate: Date, )
src/utils/worktree.ts:1058
↓ 1 callersFunctioncleanupStaleIdeLockfiles
()
src/utils/ide.ts:522
↓ 1 callersFunctioncleanupStream
( stream: Stream<BetaRawMessageStreamEvent> | undefined, )
src/services/api/claude.ts:2898
↓ 1 callersFunctionclearAgentTranscriptSubdir
(agentId: string)
src/utils/sessionStorage.ts:243
↓ 1 callersFunctionclearAllDumpState
()
src/services/api/dumpPrompts.ts:44
↓ 1 callersFunctionclearAllLSPDiagnostics
()
src/services/lsp/LSPDiagnosticRegistry.ts:346
↓ 1 callersFunctionclearAllOutputStylesCache
()
src/constants/outputStyles.ts:177
↓ 1 callersFunctionclearAllPendingCallbacks
()
src/hooks/useSwarmPermissionPoller.ts:113
↓ 1 callersFunctionclearAllPlanSlugs
()
src/utils/plans.ts:71
↓ 1 callersFunctionclearAllPluginCaches
()
src/utils/plugins/cacheUtils.ts:26
↓ 1 callersFunctionclearAllSessions
()
src/services/api/sessionIngress.ts:511
↓ 1 callersFunctionclearAwsIniCache
()
src/utils/aws.ts:61
↓ 1 callersFunctionclearBetaHeaderLatches
()
src/bootstrap/state.ts:1744
↓ 1 callersFunctionclearBetaTracingState
()
src/utils/telemetry/betaSessionTracing.ts:65
↓ 1 callersFunctionclearBridgeDebugHandle
()
src/bridge/bridgeDebug.ts:61
↓ 1 callersFunctionclearCACertsCache
()
src/utils/caCerts.ts:112
↓ 1 callersFunctionclearClassifierApprovals
()
src/utils/classifierApprovals.ts:84
↓ 1 callersFunctionclearClaudeAIMcpConfigsCache
()
src/services/mcp/claudeai.ts:140
↓ 1 callersFunctionclearCliTeammateModeOverride
(newMode: TeammateMode)
src/utils/swarm/backends/teammateModeSnapshot.ts:43
↓ 1 callersFunctionclearCommandPrefixCaches
()
src/utils/bash/commands.ts:518
↓ 1 callersFunctionclearCommandQueue
()
src/utils/messageQueueManager.ts:322
↓ 1 callersFunctionclearCompactWarningSuppression
()
src/services/compact/compactWarningState.ts:16
↓ 1 callersFunctionclearCwdEnvFiles
()
src/utils/sessionEnvironment.ts:33
↓ 1 callersFunctionclearDynamicSkills
()
src/skills/loadSkillsDir.ts:1070
↓ 1 callersFunctionclearFileSuggestionCaches
()
src/hooks/fileSuggestions.ts:84
↓ 1 callersFunctionclearHeadlessMarks
* Clear all headless profiler marks from performance timeline
src/utils/headlessProfiler.ts:48
↓ 1 callersFunctionclearInternalWrites
()
src/utils/settings/internalWrites.ts:35
↓ 1 callersFunctionclearInvokedSkills
( preservedAgentIds?: ReadonlySet<string>, )
src/bootstrap/state.ts:1543
↓ 1 callersFunctionclearLeaderTeamName
()
src/utils/tasks.ts:43
↓ 1 callersFunctionclearMTLSCache
()
src/utils/mtls.ts:157
↓ 1 callersFunctionclearMcpClientConfig
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:2416
↓ 1 callersFunctionclearMockEarlyWarning
()
src/services/mockRateLimits.ts:312
↓ 1 callersFunctionclearMockHeaders
()
src/services/mockRateLimits.ts:678
↓ 1 callersFunctionclearPendingHint
()
src/utils/claudeCodeHints.ts:162
↓ 1 callersFunctionclearPluginCacheExclusions
()
src/utils/plugins/orphanedPluginFilter.ts:90
↓ 1 callersFunctionclearPluginSettingsBase
()
src/utils/settings/settingsCache.ts:78
↓ 1 callersFunctionclearPluginSkillsCache
()
src/utils/plugins/loadPluginCommands.ts:944
↓ 1 callersFunctionclearProxyCache
()
src/utils/proxy.ts:423
↓ 1 callersFunctionclearRepositoryCaches
()
src/utils/detectRepository.ts:13
↓ 1 callersFunctionclearResolveGitDirCache
()
src/utils/git/gitFilesystem.ts:31
↓ 1 callersFunctionclearSessionEnvVars
()
src/utils/sessionEnvVars.ts:20
↓ 1 callersFunctionclearSessionMessagesCache
()
src/utils/sessionStorage.ts:3854
↓ 1 callersFunctionclearStoredImagePaths
()
src/utils/imageStore.ts:111
↓ 1 callersFunctionclearStreamAccumulatorForMessage
( state: StreamAccumulatorState, assistant: { session_id: string parent_tool_use_id: string | null
src/cli/transports/ccrClient.ts:210
↓ 1 callersFunctionclearSystemPromptSectionState
()
src/bootstrap/state.ts:1652
↓ 1 callersFunctionclearTeammateColors
()
src/utils/swarm/teammateLayoutManager.ts:48
↓ 1 callersFunctionclearToolSearchDescriptionCache
()
src/tools/ToolSearchTool/ToolSearchTool.ts:102
↓ 1 callersFunctionclearTrackedMagicDocs
()
src/services/MagicDocs/magicDocs.ts:44
↓ 1 callersFunctionclearTrustedDeviceToken
()
src/bridge/trustedDevice.ts:72
↓ 1 callersFunctionclearTrustedDeviceTokenCache
()
src/bridge/trustedDevice.ts:61
↓ 1 callersFunctionclearWebFetchCache
()
src/tools/WebFetchTool/utils.ts:80
↓ 1 callersFunctionclearYogaNodeReferences
(node: DOMElement | TextNode)
src/ink/dom.ts:446
↓ 1 callersMethodclientInformation
()
src/services/mcp/auth.ts:1482
↓ 1 callersFunctionclipsBothAxes
(node: DOMElement)
src/ink/render-node-to-output.ts:1296
↓ 1 callersFunctioncloneContentReplacementState
( source: ContentReplacementState, )
src/utils/toolResultStorage.ts:405
↓ 1 callersMethodclose
()
src/cli/transports/WebSocketTransport.ts:556
↓ 1 callersMethodclose
()
src/cli/transports/SSETransport.ts:679
↓ 1 callersMethodclose
Clean up uploaders and timers.
src/cli/transports/ccrClient.ts:982
↓ 1 callersFunctioncloseOpenDiffs
( ideClient: ConnectedMCPServer, )
src/utils/ide.ts:1270
↓ 1 callersFunctioncollapseBackgroundBashNotifications
( messages: RenderableMessage[], verbose: boolean, )
src/utils/collapseBackgroundBashNotifications.ts:41
↓ 1 callersFunctioncollapseHookSummaries
( messages: RenderableMessage[], )
src/utils/collapseHookSummaries.ts:21
↓ 1 callersFunctioncollapseReadSearchGroups
( messages: RenderableMessage[], tools: Tools, )
src/utils/collapseReadSearch.ts:762
↓ 1 callersFunctioncollapseTeammateShutdowns
( messages: RenderableMessage[], )
src/utils/collapseTeammateShutdowns.ts:18
↓ 1 callersFunctioncollectCandidatesFromMessage
* Extract candidate tool_result blocks from a single user message: blocks * that are non-empty, non-image, and not already compacted by tag (i.e. by
src/utils/toolResultStorage.ts:557
↓ 1 callersFunctioncollectFilesForZip
* Recursively collect files from a directory for zipping. * Uses lstat to detect symlinks and tracks visited inodes for cycle detection.
src/utils/plugins/zipCache.ts:235
↓ 1 callersFunctioncollectLayoutChildren
(node: Node, flow: Node[], abs: Node[])
src/native-ts/yoga-layout/index.ts:2406
↓ 1 callersFunctioncollectListeners
* Collect all listeners for an event in dispatch order. * * Uses react-dom's two-phase accumulation pattern: * - Walk from target to root * - Capt
src/ink/events/dispatcher.ts:46
↓ 1 callersFunctioncollectMarkdown
* Recursively collect .md files under a directory. Uses withFileTypes to * avoid a stat per entry. Returns absolute paths so error messages stay * r
src/utils/plugins/validatePlugin.ts:718
↓ 1 callersFunctioncollectMarkdownFiles
* Recursively collects all markdown files from a directory
src/utils/plugins/loadPluginCommands.ts:102
↓ 1 callersFunctioncollectQuoteSpans
* Single-pass collection of all quote-related spans. * Previously this was 5 separate tree walks (one per type-set plus * allQuoteTypes plus heredoc
src/utils/bash/treeSitterAnalysis.ts:88
↓ 1 callersFunctioncollectReadToolFilePaths
* Scan messages for Read tool_use blocks and collect their file_path inputs * (normalized via expandPath). Used to dedup post-compact file restoratio
src/services/compact/compact.ts:1610
↓ 1 callersFunctioncollectRecentAssistantTexts
(messages: Message[])
src/commands/copy/copy.tsx:50
↓ 1 callersFunctioncollectRecentSuccessfulTools
( messages: ReadonlyArray<Message>, lastUserMessage: Message, )
src/utils/attachments.ts:2465
↓ 1 callersFunctioncollectRemovedRects
( parent: DOMElement, removed: DOMNode, underAbsolute = false, )
src/ink/dom.ts:225
↓ 1 callersFunctioncollectReplIds
(messages: readonly Message[])
src/utils/sessionStorage.ts:4369
↓ 1 callersFunctioncollectSurfacedMemories
(messages: ReadonlyArray<Message>)
src/utils/attachments.ts:2251
↓ 1 callersFunctioncollectTabbable
(root: DOMElement)
src/ink/focus.ts:134
↓ 1 callersFunctioncombineUsage
* Combine usage from two classifier stages into a single total.
src/utils/permissions/yoloClassifier.ts:633
↓ 1 callersFunctioncommandHasAnyGit
* Checks if a compound command contains any git command. * * @param command The full command string to check * @returns true if any subcommand is a
src/tools/BashTool/readOnlyValidation.ts:1760
↓ 1 callersFunctioncommandListDisplay
(commands: string[])
src/components/permissions/shellPermissionHelpers.tsx:7
↓ 1 callersFunctioncommandWritesToGitInternalPaths
* Checks if a compound command writes to any git-internal paths. * This is used to detect potential sandbox escape attacks where a command * creates
src/tools/BashTool/readOnlyValidation.ts:1840
↓ 1 callersFunctioncompactBoundaryMarker
()
src/utils/sessionStoragePortable.ts:485
↓ 1 callersFunctioncompactViaReactive
( messages: Message[], context: ToolUseContext, customInstructions: string, reactive: NonNullable<type
src/commands/compact/compact.ts:139
↓ 1 callersFunctioncompanionIntroText
(name: string, species: string)
src/buddy/prompt.ts:7
↓ 1 callersFunctioncompanionReservedColumns
(terminalColumns: number, speaking: boolean)
src/buddy/CompanionSprite.tsx:167
↓ 1 callersFunctioncompanionUserId
()
src/buddy/companion.ts:119
↓ 1 callersFunctioncompareStatsAndContent
* Shared stat/content comparison logic for sync and async change checks. * Returns true if the file has changed relative to the backup.
src/utils/fileHistory.ts:640
↓ 1 callersFunctioncompileTermPatterns
* Pre-compile word-boundary regexes for all search terms. * Called once per search instead of tools×terms×2 times.
src/tools/ToolSearchTool/ToolSearchTool.ts:167
↓ 1 callersFunctioncompleteDreamTask
( taskId: string, setAppState: SetAppState, )
src/tasks/DreamTask/DreamTask.ts:106
↓ 1 callersFunctioncompleteOnboarding
()
src/interactiveHelpers.tsx:32
↓ 1 callersFunctioncompressImageBlock
( imageBlock: ImageBlockParam, maxBytes: number = IMAGE_TARGET_RAW_SIZE, )
src/utils/imageResizer.ts:600
↓ 1 callersFunctioncompressImageBufferWithTokenLimit
( imageBuffer: Buffer, maxTokens: number, originalMediaType?: string, )
src/utils/imageResizer.ts:583
↓ 1 callersFunctioncomputeChecksum
* Compute a checksum from restrictions content for HTTP caching
src/services/policyLimits/index.ts:152
↓ 1 callersFunctioncomputeChecksumFromSettings
(settings: SettingsJson)
src/services/remoteManagedSettings/index.ts:131
↓ 1 callersFunctioncomputeContentHash
(content: string)
src/utils/commitAttribution.ts:244
← previousnext →4,601–4,700 of 11,484, ranked by callers