MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

↓ 2 callersFunctionconsumeInvokingRequestId
()
source code/utils/agentContext.ts:165
↓ 2 callersFunctionconsumeRawReadResult
* Convert raw subprocess output into parsed MDM and HKCU results, * applying the first-source-wins policy.
source code/utils/settings/mdm/settings.ts:230
↓ 2 callersFunctioncontainsControlChars
* Check if a string contains ASCII control characters (0x00-0x1F, 0x7F). * These can act as command separators in shells (newlines, carriage returns,
source code/utils/deepLink/parseDeepLink.ts:38
↓ 2 callersFunctioncontentSize
( content: NonNullable<ToolResultBlockParam['content']>, )
source code/utils/toolResultStorage.ts:520
↓ 2 callersFunctioncontentToText
(content: ToolResultBlockParam['content'])
source code/utils/ultraplan/ccrSession.ts:312
↓ 2 callersFunctionconvertDirectoryToZipInPlace
( dirPath: string, zipPath: string, )
source code/utils/plugins/zipCache.ts:373
↓ 2 callersFunctionconvertRulesToUpdates
* Helper to convert PermissionRule array to PermissionUpdate array
source code/utils/permissions/permissions.ts:1377
↓ 2 callersFunctionconvertToHookMatchers
* Convert session hook matchers to regular hook matchers * @param sessionMatchers The session hook matchers to convert * @returns Regular hook match
source code/utils/hooks/sessionHooks.ts:284
↓ 2 callersFunctioncopyFileHistoryForResume
(log: LogOption)
source code/utils/fileHistory.ts:924
↓ 2 callersFunctioncopyPlanForResume
( log: LogOption, targetSessionId?: SessionId, )
source code/utils/plans.ts:166
↓ 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).
source code/ink/ink.tsx:1035
↓ 2 callersFunctioncopySnapshotToLocal
( agentType: string, scope: AgentMemoryScope, )
source code/tools/AgentTool/agentMemorySnapshot.ts:58
↓ 2 callersFunctioncountConcurrentSessions
()
source code/utils/concurrentSessions.ts:170
↓ 2 callersFunctioncountLines
(content: string)
source code/tools/FileWriteTool/UI.tsx:37
↓ 2 callersFunctioncountMcpToolTokens
( tools: Tools, getToolPermissionContext: () => Promise<ToolPermissionContext>, agentInfo: AgentDefiniti
source code/utils/analyzeContext.ts:618
↓ 2 callersFunctioncountToolCalls
( messages: Message[], toolName: string, maxCount?: number, )
source code/utils/messages.ts:4693
↓ 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
source code/tools/ExitWorktreeTool/ExitWorktreeTool.ts:81
↓ 2 callersFunctioncreateAbortedCommand
( backgroundTaskId?: string, opts?: { stderr?: string; code?: number }, )
source code/utils/ShellCommand.ts:439
↓ 2 callersFunctioncreateAgentWorktree
(slug: string)
source code/utils/worktree.ts:904
↓ 2 callersFunctioncreateAndUploadGitBundle
( config: FilesApiConfig, opts?: { cwd?: string; signal?: AbortSignal }, )
source code/utils/teleport/gitBundle.ts:154
↓ 2 callersFunctioncreateAsyncAgentAttachmentsIfNeeded
( context: ToolUseContext, )
source code/services/compact/compact.ts:1570
↓ 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
source code/services/mcp/auth.ts:200
↓ 2 callersFunctioncreateAutoMemCanUseTool
(memoryDir: string)
source code/services/extractMemories/extractMemories.ts:173
↓ 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
source code/utils/fileHistory.ts:750
↓ 2 callersFunctioncreateBedrockClient
()
source code/utils/model/bedrock.ts:52
↓ 2 callersFunctioncreateCapacityWake
(outerSignal: AbortSignal)
source code/bridge/capacityWake.ts:30
↓ 2 callersFunctioncreateCategorySquares
( category: (typeof categorySquares)[0], )
source code/utils/analyzeContext.ts:1208
↓ 2 callersFunctioncreateChromeContext
( env?: Record<string, string>, )
source code/utils/claudeInChrome/mcpServer.ts:87
↓ 2 callersFunctioncreateComputerUseMcpServerForCli
()
source code/utils/computerUse/mcpServer.ts:62
↓ 2 callersMethodcreateCursorWithColumn
( lineStart: number, lineEnd: number, targetColumn: number, )
source code/utils/Cursor.ts:485
↓ 2 callersFunctioncreateDefaultGlobalConfig
* Factory for a fresh default GlobalConfig. Used instead of deep-cloning a * shared constant — the nested containers (arrays, records) are all empty,
source code/utils/config.ts:587
↓ 2 callersFunctioncreateDenialTrackingState
()
source code/utils/permissions/denialTracking.ts:19
↓ 2 callersFunctioncreateDiagnosticKey
* Creates a unique key for a diagnostic based on its content. * Used for both within-batch and cross-turn deduplication.
source code/services/lsp/LSPDiagnosticRegistry.ts:112
↓ 2 callersFunctioncreateDirectConnectSession
({ serverUrl, authToken, cwd, dangerouslySkipPermissions, }: { serverUrl: string authToken?: strin
source code/server/createDirectConnectSession.ts:28
↓ 2 callersFunctioncreateEmptyGroup
()
source code/utils/collapseReadSearch.ts:627
↓ 2 callersFunctioncreateEmptyToolCounts
()
source code/utils/streamlinedTransform.ts:62
↓ 2 callersFunctioncreateFallbackTitle
(description: string)
source code/components/Feedback.tsx:477
↓ 2 callersFunctioncreateITermBackend
* Creates an ITermBackend instance. * Throws if ITermBackend hasn't been registered.
source code/utils/swarm/backends/registry.ts:121
↓ 2 callersFunctioncreateIdleNotification
( agentId: string, options?: { idleReason?: IdleNotificationMessage['idleReason'] summary?: string
source code/utils/teammateMailbox.ts:412
↓ 2 callersFunctioncreateLinkedTransportPair
()
source code/services/mcp/InProcessTransport.ts:59
↓ 2 callersFunctioncreateMcpAuthTool
( serverName: string, config: ScopedMcpServerConfig, )
source code/tools/McpAuthTool/McpAuthTool.ts:51
↓ 2 callersFunctioncreateMemoryFileCanUseTool
(memoryPath: string)
source code/services/SessionMemory/sessionMemory.ts:462
↓ 2 callersFunctioncreateMemorySavedMessage
( writtenPaths: string[], )
source code/utils/messages.ts:4462
↓ 2 callersFunctioncreateModeSetRequestMessage
(params: { mode: string from: string })
source code/utils/teammateMailbox.ts:1036
↓ 2 callersFunctioncreateMovedToPluginCommand
({ name, description, progressMessage, pluginName, pluginCommand, getPromptWhileMarketplaceIsPriva
source code/commands/createMovedToPluginCommand.ts:24
↓ 2 callersFunctioncreateNode
(nodeName: ElementNames)
source code/ink/dom.ts:112
↓ 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
source code/services/mcp/client.ts:438
↓ 2 callersFunctioncreateOperatorContext
( cursor: Cursor, isReplay: boolean = false, )
source code/hooks/useVimInput.ts:84
↓ 2 callersFunctioncreatePasteKey
(content: string)
source code/ink/parse-keypress.ts:69
↓ 2 callersFunctioncreatePathChecker
( command: PathCommand, operationTypeOverride?: FileOperationType, )
source code/tools/BashTool/pathValidation.ts:705
↓ 2 callersFunctioncreatePermissionRequest
(params: { toolName: string toolUseId: string input: Record<string, unknown> description: string per
source code/utils/swarm/permissionSync.ts:169
↓ 2 callersFunctioncreatePlanModeAttachmentIfNeeded
( context: ToolUseContext, )
source code/services/compact/compact.ts:1544
↓ 2 callersFunctioncreatePluginFromPath
( pluginPath: string, source: string, enabled: boolean, fallbackName: string, strict = true, )
source code/utils/plugins/pluginLoader.ts:1350
↓ 2 callersFunctioncreatePostCompactFileAttachments
( readFileState: Record<string, { content: string; timestamp: number }>, toolUseContext: ToolUseContext,
source code/services/compact/compact.ts:1417
↓ 2 callersFunctioncreateProgressMessage
(message: AssistantMessage | NormalizedUserMessage)
source code/utils/processUserInput/processSlashCommand.tsx:196
↓ 2 callersFunctioncreatePromptRuleContent
(description: string)
source code/utils/permissions/bashClassifier.ts:22
↓ 2 callersFunctioncreateRemoteSessionConfig
( sessionId: string, getAccessToken: () => string, orgUuid: string, hasInitialPrompt = false, viewer
source code/remote/RemoteSessionManager.ts:331
↓ 2 callersFunctioncreateResolveOnce
(resolve: (value: T) => void)
source code/hooks/toolPermission/PermissionContext.ts:77
↓ 2 callersFunctioncreateSessionSpawner
(deps: SessionSpawnerDeps)
source code/bridge/sessionRunner.ts:250
↓ 2 callersFunctioncreateSingleEditDiffConfig
( filePath: string, oldString: string, newString: string, replaceAll?: boolean, )
source code/components/permissions/FilePermissionDialog/ideDiffConfig.ts:27
↓ 2 callersFunctioncreateSkillAttachmentIfNeeded
( agentId?: string, )
source code/services/compact/compact.ts:1496
↓ 2 callersFunctioncreateSkillCommand
({ skillName, displayName, description, hasUserSpecifiedDescription, markdownContent, allowedTools
source code/skills/loadSkillsDir.ts:272
↓ 2 callersFunctioncreateStatsStore
()
source code/context/stats.tsx:30
↓ 2 callersMethodcreateSyntheticErrorMessage
( toolUseId: string, reason: 'sibling_error' | 'user_interrupted' | 'streaming_fallback', assistan
source code/services/tools/StreamingToolExecutor.ts:155
↓ 2 callersFunctioncreateSyntheticOutputTool
( jsonSchema: Record<string, unknown>, )
source code/tools/SyntheticOutputTool/SyntheticOutputTool.ts:118
↓ 2 callersFunctioncreateSystemAPIErrorMessage
( error: APIError, retryInMs: number, retryAttempt: number, maxRetries: number, )
source code/utils/messages.ts:4587
↓ 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.
source code/utils/swarm/backends/TmuxBackend.ts:131
↓ 2 callersFunctioncreateTokenRefreshScheduler
({ getAccessToken, onRefresh, label, refreshBufferMs = TOKEN_REFRESH_BUFFER_MS, }: { getAccessToken:
source code/bridge/jwtUtils.ts:74
↓ 2 callersFunctioncreateToolResultStopMessage
( toolUseID: string, )
source code/utils/messages.ts:624
↓ 2 callersFunctioncreateTurnDurationMessage
( durationMs: number, budget?: { tokens: number; limit: number; nudges: number }, messageCount?: number,
source code/utils/messages.ts:4430
↓ 2 callersFunctioncreateWorktreeForSession
( sessionId: string, slug: string, tmuxSessionName?: string, options?: { prNumber?: number }, )
source code/utils/worktree.ts:704
↓ 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
source code/utils/claudeInChrome/setup.ts:310
↓ 2 callersFunctioncreateWriteStream
(path: string)
source code/utils/fsOperations.ts:576
↓ 2 callersFunctioncursorPosition
(row: number, col: number)
source code/ink/termio/csi.ts:159
↓ 2 callersFunctioncursorUp
(n = 1)
source code/ink/termio/csi.ts:131
↓ 2 callersFunctiondateToFilename
(date: Date)
source code/utils/log.ts:62
↓ 2 callersFunctiondebugTruncate
(s: string)
source code/bridge/debugUtils.ts:39
↓ 2 callersFunctiondecisionReasonDisplayString
(decisionReason: PermissionDecisionReason & { type: Exclude<PermissionDecisionReason['type'], 'subcommandRes
source code/components/permissions/PermissionDecisionDebugInfo.tsx:23
↓ 2 callersFunctiondecodeJwtExpiry
(token: string)
source code/bridge/jwtUtils.ts:40
↓ 2 callersFunctiondecodeModifier
* Decode XTerm-style modifier value to individual flags. * Modifier encoding: 1 + (shift ? 1 : 0) + (alt ? 2 : 0) + (ctrl ? 4 : 0) + (super ? 8 : 0)
source code/ink/parse-keypress.ts:467
↓ 2 callersFunctiondecodeWorkSecret
(secret: string)
source code/bridge/workSecret.ts:8
↓ 2 callersFunctiondecorationColor
(marker: Marker, theme: Theme)
source code/native-ts/color-diff/index.ts:392
↓ 2 callersFunctiondeduplicateEdits
(block: CachedMCEditsBlock)
source code/services/api/claude.ts:3118
↓ 2 callersFunctiondeduplicateLogsBySessionId
* Deduplicates logs by sessionId, keeping the entry with the newest * modified time. Returns sorted logs with sequential value indices.
source code/utils/sessionStorage.ts:4957
↓ 2 callersFunctiondefaultStyle
()
source code/native-ts/yoga-layout/index.ts:169
↓ 2 callersFunctiondeletePluginDataDir
(pluginId: string)
source code/utils/plugins/pluginDirectories.ts:170
↓ 2 callersFunctiondeletePluginOptions
(pluginId: string)
source code/utils/plugins/pluginOptionsStorage.ts:212
↓ 2 callersFunctiondeleteTask
( taskListId: string, taskId: string, )
source code/utils/tasks.ts:395
↓ 2 callersMethoddeleteToLineEnd
()
source code/utils/Cursor.ts:898
↓ 2 callersMethoddeleteToLineStart
()
source code/utils/Cursor.ts:882
↓ 2 callersMethoddeleteWordAfter
()
source code/utils/Cursor.ts:973
↓ 2 callersFunctiondenialsFor
source code/components/permissions/rules/PermissionRuleList.tsx:800
↓ 2 callersFunctiondenyAutoMemTool
(tool: Tool, reason: string)
source code/services/extractMemories/extractMemories.ts:156
↓ 2 callersFunctionderiveTitle
* Quick placeholder title: strip display tags, take the first sentence, * collapse whitespace, truncate to 50 chars. Returns undefined if the result
source code/bridge/initReplBridge.ts:557
↓ 2 callersFunctiondescribeAxiosError
(err: unknown)
source code/bridge/debugUtils.ts:62
↓ 2 callersFunctiondescribeTeammateActivity
(t: DeepImmutable<InProcessTeammateTaskState>)
source code/components/tasks/taskStatusUtils.tsx:79
↓ 2 callersFunctiondeserializeMessages
(serializedMessages: Message[])
source code/utils/conversationRecovery.ts:156
↓ 2 callersFunctiondeserializeMessagesWithInterruptDetection
( serializedMessages: Message[], )
source code/utils/conversationRecovery.ts:166
↓ 2 callersFunctiondetectAndUninstallDelistedPlugins
()
source code/utils/plugins/pluginBlocklist.ts:66
↓ 2 callersFunctiondetectAsdf
()
source code/utils/nativeInstaller/packageManagers.ts:83
← previousnext →2,701–2,800 of 11,462, ranked by callers