MCPcopy Create free account

hub / github.com/oboard/claude-code-rev / functions

Functions11,702 in github.com/oboard/claude-code-rev

↓ 2 callersFunctioncollectCandidatesByMessage
* Extract candidate tool_result blocks grouped by API-level user message. * * normalizeMessagesForAPI merges consecutive user messages into one * (
src/utils/toolResultStorage.ts:600
↓ 2 callersFunctioncollectCompactableToolIds
* 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:226
↓ 2 callersFunctioncollectContextData
( context: CollectContextDataInput, )
src/commands/context/context-noninteractive.ts:34
↓ 2 callersFunctioncollectDirectoryNames
( files: string[], start: number, end: number, out: Set<string>, )
src/hooks/fileSuggestions.ts:420
↓ 2 callersFunctioncolorToEscape
(c: Color, fg: boolean, mode: ColorMode)
src/native-ts/color-diff/index.ts:129
↓ 2 callersFunctioncolorToString
* Convert termio's Color to the string format used by Ink.
src/ink/Ansi.tsx:196
↓ 2 callersFunctioncommandArraysMatch
* Check if two command arrays match exactly
src/services/mcp/config.ts:149
↓ 2 callersFunctioncommandHasArgAbbreviation
( command: ParsedCommandElement, fullParam: string, minPrefix: string, )
src/utils/powershell/parser.ts:1663
↓ 2 callersFunctioncommitTextField
(fieldName_3: string, schema_1: PrimitiveSchemaDefinition, value_0: string)
src/components/mcp/ElicitationDialog.tsx:365
↓ 2 callersFunctioncompleteMainSessionTask
( taskId: string, success: boolean, setAppState: SetAppState, )
src/tasks/LocalMainSessionTask.ts:168
↓ 2 callersFunctioncompressImageBuffer
( imageBuffer: Buffer, maxBytes: number = IMAGE_TARGET_RAW_SIZE, originalMediaType?: string, )
src/utils/imageResizer.ts:498
↓ 2 callersFunctioncomputeFileModificationState
* Compute the character contribution for a file modification. * Returns the FileAttributionState to store, or null if tracking failed.
src/utils/commitAttribution.ts:325
↓ 2 callersFunctioncomputeFingerprint
( messageText: string, version: string, )
src/utils/fingerprint.ts:50
↓ 2 callersFunctioncomputeInitialTeamContext
()
src/utils/swarm/reconnection.ts:23
↓ 2 callersFunctioncomputeNewLimitsFromHeaders
( headers: globalThis.Headers, )
src/services/claudeAiLimits.ts:376
↓ 2 callersFunctioncomputeSimpleEnvInfo
( modelId: string, additionalWorkingDirectories?: string[], )
src/constants/prompts.ts:651
↓ 2 callersFunctioncomputeToolHashes
()
src/services/api/promptCacheBreakDetection.ts:285
↓ 2 callersFunctioncomputeTurnStats
(turn: TurnDiff)
src/hooks/useTurnDiffs.ts:79
↓ 2 callersFunctioncomputeWheelStep
(state: WheelAccelState, dir: 1 | -1, now: number)
src/components/ScrollKeybindingHandler.tsx:176
↓ 2 callersFunctionconfigureGlobalAgents
()
src/utils/proxy.ts:327
↓ 2 callersMethodconnect
* Connect to the sessions WebSocket endpoint
src/remote/SessionsWebSocket.ts:100
↓ 2 callersFunctionconnectMcpBatch
(configs: Record<string, ScopedMcpServerConfig>, label: string)
src/main.tsx:2697
↓ 2 callersFunctionconnectVoiceStream
( callbacks: VoiceStreamCallbacks, options?: { language?: string; keyterms?: string[] }, )
src/services/voiceStreamSTT.ts:111
↓ 2 callersFunctionconsumeInvokingRequestId
()
src/utils/agentContext.ts:163
↓ 2 callersFunctionconsumeRawReadResult
* Convert raw subprocess output into parsed MDM and HKCU results, * applying the first-source-wins policy.
src/utils/settings/mdm/settings.ts:228
↓ 2 callersFunctioncontainsControlChars
* 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 callersFunctioncontentSize
( content: NonNullable<ToolResultBlockParam['content']>, )
src/utils/toolResultStorage.ts:518
↓ 2 callersFunctioncontentToText
(content: ToolResultBlockParam['content'])
src/utils/ultraplan/ccrSession.ts:310
↓ 2 callersFunctionconvertDirectoryToZipInPlace
( dirPath: string, zipPath: string, )
src/utils/plugins/zipCache.ts:371
↓ 2 callersFunctionconvertRulesToUpdates
* Helper to convert PermissionRule array to PermissionUpdate array
src/utils/permissions/permissions.ts:1375
↓ 2 callersFunctionconvertToHookMatchers
* 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 callersFunctioncopyFileHistoryForResume
(log: LogOption)
src/utils/fileHistory.ts:922
↓ 2 callersFunctioncopyPlanForResume
( log: LogOption, targetSessionId?: SessionId, )
src/utils/plans.ts:164
↓ 2 callersMethodcopySelection
* 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:1033
↓ 2 callersFunctioncopySnapshotToLocal
( agentType: string, scope: AgentMemoryScope, )
src/tools/AgentTool/agentMemorySnapshot.ts:56
↓ 2 callersFunctioncountConcurrentSessions
()
src/utils/concurrentSessions.ts:168
↓ 2 callersFunctioncountLines
(content: string)
src/tools/FileWriteTool/UI.tsx:35
↓ 2 callersFunctioncountMcpToolTokens
( tools: Tools, getToolPermissionContext: () => Promise<ToolPermissionContext>, agentInfo: AgentDefiniti
src/utils/analyzeContext.ts:616
↓ 2 callersFunctioncountToolCalls
( messages: Message[], toolName: string, maxCount?: number, )
src/utils/messages.ts:4691
↓ 2 callersFunctioncountWorktreeChanges
* 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
↓ 2 callersFunctioncreateAbortedCommand
( backgroundTaskId?: string, opts?: { stderr?: string; code?: number }, )
src/utils/ShellCommand.ts:437
↓ 2 callersFunctioncreateAgentWorktree
(slug: string)
src/utils/worktree.ts:902
↓ 2 callersFunctioncreateAndUploadGitBundle
( config: FilesApiConfig, opts?: { cwd?: string; signal?: AbortSignal }, )
src/utils/teleport/gitBundle.ts:152
↓ 2 callersFunctioncreateAsyncAgentAttachmentsIfNeeded
( context: ToolUseContext, )
src/services/compact/compact.ts:1568
↓ 2 callersFunctioncreateAuthFetch
* Creates a fetch function with a fresh 30-second timeout for each OAuth request. * Used by ClaudeAuthProvider for metadata discovery and token refre
src/services/mcp/auth.ts:198
↓ 2 callersFunctioncreateAutoMemCanUseTool
(memoryDir: string)
src/services/extractMemories/extractMemories.ts:171
↓ 2 callersFunctioncreateBackup
* Creates a backup of the file at filePath. If the file does not exist * (ENOENT), records a null backup (file-did-not-exist marker). All IO is * as
src/utils/fileHistory.ts:748
↓ 2 callersFunctioncreateBedrockClient
()
src/utils/model/bedrock.ts:50
↓ 2 callersFunctioncreateCapacityWake
(outerSignal: AbortSignal)
src/bridge/capacityWake.ts:28
↓ 2 callersFunctioncreateCategorySquares
( category: (typeof categorySquares)[0], )
src/utils/analyzeContext.ts:1206
↓ 2 callersFunctioncreateChromeContext
( env?: Record<string, string>, )
src/utils/claudeInChrome/mcpServer.ts:85
↓ 2 callersFunctioncreateClaudeForChromeMcpServer
(context: ClaudeForChromeContext)
shims/ant-claude-for-chrome-mcp/index.ts:89
↓ 2 callersFunctioncreateComputerUseMcpServerForCli
()
src/utils/computerUse/mcpServer.ts:60
↓ 2 callersMethodcreateCursorWithColumn
( lineStart: number, lineEnd: number, targetColumn: number, )
src/utils/Cursor.ts:483
↓ 2 callersFunctioncreateDefaultGlobalConfig
* Factory for a fresh default GlobalConfig. Used instead of deep-cloning a * shared constant — the nested containers (arrays, records) are all empty,
src/utils/config.ts:585
↓ 2 callersFunctioncreateDenialTrackingState
()
src/utils/permissions/denialTracking.ts:17
↓ 2 callersFunctioncreateDiagnosticKey
* Creates a unique key for a diagnostic based on its content. * Used for both within-batch and cross-turn deduplication.
src/services/lsp/LSPDiagnosticRegistry.ts:110
↓ 2 callersFunctioncreateDirectConnectSession
({ serverUrl, authToken, cwd, dangerouslySkipPermissions, }: { serverUrl: string authToken?: strin
src/server/createDirectConnectSession.ts:26
↓ 2 callersFunctioncreateEmptyGroup
()
src/utils/collapseReadSearch.ts:625
↓ 2 callersFunctioncreateEmptyToolCounts
()
src/utils/streamlinedTransform.ts:60
↓ 2 callersFunctioncreateFallbackTitle
(description: string)
src/components/Feedback.tsx:475
↓ 2 callersFunctioncreateITermBackend
* Creates an ITermBackend instance. * Throws if ITermBackend hasn't been registered.
src/utils/swarm/backends/registry.ts:119
↓ 2 callersFunctioncreateIdleNotification
( agentId: string, options?: { idleReason?: IdleNotificationMessage['idleReason'] summary?: string
src/utils/teammateMailbox.ts:410
↓ 2 callersFunctioncreateLinkedTransportPair
()
src/services/mcp/InProcessTransport.ts:57
↓ 2 callersFunctioncreateMcpAuthTool
( serverName: string, config: ScopedMcpServerConfig, )
src/tools/McpAuthTool/McpAuthTool.ts:49
↓ 2 callersFunctioncreateMemoryFileCanUseTool
(memoryPath: string)
src/services/SessionMemory/sessionMemory.ts:460
↓ 2 callersFunctioncreateMemorySavedMessage
( writtenPaths: string[], )
src/utils/messages.ts:4460
↓ 2 callersFunctioncreateModeSetRequestMessage
(params: { mode: string from: string })
src/utils/teammateMailbox.ts:1034
↓ 2 callersFunctioncreateMovedToPluginCommand
({ name, description, progressMessage, pluginName, pluginCommand, getPromptWhileMarketplaceIsPriva
src/commands/createMovedToPluginCommand.ts:22
↓ 2 callersFunctioncreateNode
(nodeName: ElementNames)
src/ink/dom.ts:110
↓ 2 callersFunctioncreateNodeWsClient
* Create a ws.WebSocket client with the MCP protocol. * Bun's ws shim types lack the 3-arg constructor (url, protocols, options) * that the real ws
src/services/mcp/client.ts:436
↓ 2 callersFunctioncreateOperatorContext
( cursor: Cursor, isReplay: boolean = false, )
src/hooks/useVimInput.ts:82
↓ 2 callersFunctioncreatePasteKey
(content: string)
src/ink/parse-keypress.ts:67
↓ 2 callersFunctioncreatePathChecker
( command: PathCommand, operationTypeOverride?: FileOperationType, )
src/tools/BashTool/pathValidation.ts:703
↓ 2 callersFunctioncreatePermissionRequest
(params: { toolName: string toolUseId: string input: Record<string, unknown> description: string per
src/utils/swarm/permissionSync.ts:167
↓ 2 callersFunctioncreatePlanModeAttachmentIfNeeded
( context: ToolUseContext, )
src/services/compact/compact.ts:1542
↓ 2 callersFunctioncreatePluginFromPath
( pluginPath: string, source: string, enabled: boolean, fallbackName: string, strict = true, )
src/utils/plugins/pluginLoader.ts:1348
↓ 2 callersFunctioncreatePostCompactFileAttachments
( readFileState: Record<string, { content: string; timestamp: number }>, toolUseContext: ToolUseContext,
src/services/compact/compact.ts:1415
↓ 2 callersFunctioncreateProgressMessage
(message: AssistantMessage | NormalizedUserMessage)
src/utils/processUserInput/processSlashCommand.tsx:194
↓ 2 callersFunctioncreatePromptRuleContent
(description: string)
src/utils/permissions/bashClassifier.ts:20
↓ 2 callersFunctioncreateRemoteSessionConfig
( sessionId: string, getAccessToken: () => string, orgUuid: string, hasInitialPrompt = false, viewer
src/remote/RemoteSessionManager.ts:329
↓ 2 callersFunctioncreateResolveOnce
(resolve: (value: T) => void)
src/hooks/toolPermission/PermissionContext.ts:75
↓ 2 callersFunctioncreateSessionSpawner
(deps: SessionSpawnerDeps)
src/bridge/sessionRunner.ts:248
↓ 2 callersFunctioncreateSingleEditDiffConfig
( filePath: string, oldString: string, newString: string, replaceAll?: boolean, )
src/components/permissions/FilePermissionDialog/ideDiffConfig.ts:25
↓ 2 callersFunctioncreateSkillAttachmentIfNeeded
( agentId?: string, )
src/services/compact/compact.ts:1494
↓ 2 callersFunctioncreateSkillCommand
({ skillName, displayName, description, hasUserSpecifiedDescription, markdownContent, allowedTools
src/skills/loadSkillsDir.ts:270
↓ 2 callersFunctioncreateStatsStore
()
src/context/stats.tsx:28
↓ 2 callersMethodcreateSyntheticErrorMessage
( toolUseId: string, reason: 'sibling_error' | 'user_interrupted' | 'streaming_fallback', assistan
src/services/tools/StreamingToolExecutor.ts:153
↓ 2 callersFunctioncreateSyntheticOutputTool
( jsonSchema: Record<string, unknown>, )
src/tools/SyntheticOutputTool/SyntheticOutputTool.ts:116
↓ 2 callersFunctioncreateSystemAPIErrorMessage
( error: APIError, retryInMs: number, retryAttempt: number, maxRetries: number, )
src/utils/messages.ts:4585
↓ 2 callersMethodcreateTeammatePaneInSwarmView
* Creates a new teammate pane in the swarm view. * Uses a lock to prevent race conditions when multiple teammates are spawned in parallel.
src/utils/swarm/backends/TmuxBackend.ts:129
↓ 2 callersFunctioncreateTokenRefreshScheduler
({ getAccessToken, onRefresh, label, refreshBufferMs = TOKEN_REFRESH_BUFFER_MS, }: { getAccessToken:
src/bridge/jwtUtils.ts:72
↓ 2 callersFunctioncreateToolResultStopMessage
( toolUseID: string, )
src/utils/messages.ts:622
↓ 2 callersFunctioncreateTurnDurationMessage
( durationMs: number, budget?: { tokens: number; limit: number; nudges: number }, messageCount?: number,
src/utils/messages.ts:4428
↓ 2 callersFunctioncreateWorktreeForSession
( sessionId: string, slug: string, tmuxSessionName?: string, options?: { prNumber?: number }, )
src/utils/worktree.ts:702
↓ 2 callersFunctioncreateWrapperScript
* Create a wrapper script in ~/.claude/chrome/ that invokes the given command. This is * necessary because Chrome's native host manifest "path" field
src/utils/claudeInChrome/setup.ts:308
↓ 2 callersFunctioncreateWriteStream
(path: string)
src/utils/fsOperations.ts:574
↓ 2 callersFunctioncursorPosition
(row: number, col: number)
src/ink/termio/csi.ts:157
↓ 2 callersFunctioncursorUp
(n = 1)
src/ink/termio/csi.ts:129
↓ 2 callersFunctiondateToFilename
(date: Date)
src/utils/log.ts:60
← previousnext →2,701–2,800 of 11,702, ranked by callers