MCPcopy Create free account

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

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

↓ 1 callersFunctiondownOrHistoryDown
()
source code/hooks/useTextInput.ts:295
↓ 1 callersFunctiondownloadAndSaveFile
( attachment: File, config: FilesApiConfig, )
source code/services/api/filesApi.ts:221
↓ 1 callersFunctiondownloadAndVerifyBinary
* Common logic for downloading and verifying a binary. * Includes stall detection (aborts if no bytes for 60s) and retry logic.
source code/utils/nativeInstaller/download.ts:295
↓ 1 callersFunctiondownloadCaBundle
( baseUrl: string, systemCaPath: string, outPath: string, )
source code/upstreamproxy/upstreamproxy.ts:256
↓ 1 callersFunctiondownloadFile
( fileId: string, config: FilesApiConfig, )
source code/services/api/filesApi.ts:134
↓ 1 callersFunctiondownloadMcpb
* Download MCPB file from URL
source code/utils/plugins/mcpbHandler.ts:484
↓ 1 callersFunctiondownloadSessionFiles
( files: File[], config: FilesApiConfig, concurrency: number = DEFAULT_CONCURRENCY, )
source code/services/api/filesApi.ts:319
↓ 1 callersFunctiondownloadVersion
( version: string, stagingPath: string, )
source code/utils/nativeInstaller/download.ts:489
↓ 1 callersFunctiondownloadVersionFromArtifactory
( version: string, stagingPath: string, )
source code/utils/nativeInstaller/download.ts:153
↓ 1 callersFunctiondragScrollDirection
(sel: SelectionState | null, top: number, bottom: number, alreadyScrollingDir: -1 | 0 | 1 = 0)
source code/components/ScrollKeybindingHandler.tsx:812
↓ 1 callersMethoddrain
()
source code/cli/transports/WorkerStateUploader.ts:56
↓ 1 callersFunctiondrainAdaptive
( node: DOMElement, pending: number, innerHeight: number, )
source code/ink/render-node-to-output.ts:126
↓ 1 callersFunctiondrainCommandQueue
()
source code/cli/print.ts:1936
↓ 1 callersFunctiondrainPendingMessages
(taskId: string, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:183
↓ 1 callersFunctiondrainProportional
( node: DOMElement, pending: number, innerHeight: number, )
source code/ink/render-node-to-output.ts:163
↓ 1 callersFunctiondrainStdin
(stdin: NodeJS.ReadStream = process.stdin)
source code/ink/ink.tsx:1666
↓ 1 callersFunctiondrainer
()
source code/services/extractMemories/extractMemories.ts:290
↓ 1 callersFunctiondropTextInBriefTurns
(messages: T[], briefToolNames: string[])
source code/components/Messages.tsx:171
↓ 1 callersMethoddump
()
source code/utils/fileStateCache.ts:88
↓ 1 callersFunctioneagerLoadSettings
* Parse and load settings flags early, before init() * This ensures settings are filtered from the start of initialization
source code/main.tsx:504
↓ 1 callersFunctionembeddedSearchToolsBinaryPath
()
source code/utils/embeddedTools.ts:29
↓ 1 callersFunctionemitHookProgress
(data: { hookId: string hookName: string hookEvent: string stdout: string stderr: string output: s
source code/utils/hooks/hookEvents.ts:110
↓ 1 callersFunctionenableDebugLogging
()
source code/utils/debug.ts:66
↓ 1 callersFunctionenableOptionAsMetaForTerminal
(theme: ThemeName)
source code/commands/terminalSetup/terminalSetup.tsx:312
↓ 1 callersFunctionenablePaneBorderStatus
( windowTarget?: string, useSwarmSocket = false, )
source code/utils/swarm/teammateLayoutManager.ts:90
↓ 1 callersFunctionenablePlugin
( plugin: string, scope?: InstallableScope, )
source code/services/plugins/pluginCliCommands.ts:197
↓ 1 callersFunctionencodePng
* Encode an RGBA pixel buffer as PNG. Minimal encoder: 8-bit depth, * color type 6 (RGBA), filter 0 (none) on every scanline, single IDAT.
source code/utils/ansiToPng.ts:309
↓ 1 callersFunctionencodePowerShellCommand
* Base64-encode a string as UTF-16LE for PowerShell's -EncodedCommand. * Same encoding the parser uses (parser.ts toUtf16LeBase64). The output * is
source code/utils/shell/powershellProvider.ts:25
↓ 1 callersFunctionendHookSpan
( span: Span, metadata?: { numSuccess?: number numBlocking?: number numNonBlockingError?: numb
source code/utils/telemetry/sessionTracing.ts:889
↓ 1 callersFunctionendInteractionPerfettoSpan
(spanId: string)
source code/utils/telemetry/perfettoTracing.ts:920
↓ 1 callersFunctionendLLMRequestPerfettoSpan
( spanId: string, metadata: { ttftMs?: number ttltMs?: number promptTokens?: number output
source code/utils/telemetry/perfettoTracing.ts:470
↓ 1 callersFunctionendQueryProfile
()
source code/utils/queryProfiler.ts:91
↓ 1 callersFunctionendToolPerfettoSpan
( spanId: string, metadata?: { success?: boolean error?: string resultTokens?: number }, )
source code/utils/telemetry/perfettoTracing.ts:729
↓ 1 callersFunctionendUserInputPerfettoSpan
( spanId: string, metadata?: { decision?: string source?: string }, )
source code/utils/telemetry/perfettoTracing.ts:803
↓ 1 callersFunctionenforceToolResultBudget
( messages: Message[], state: ContentReplacementState, skipToolNames: ReadonlySet<string> = new Set(), )
source code/utils/toolResultStorage.ts:771
↓ 1 callersFunctionenqueueForLead
(prompt: string)
source code/hooks/useScheduledTasks.ts:73
↓ 1 callersFunctionenqueueMainSessionNotification
* Enqueue a notification about the backgrounded session completing.
source code/tasks/LocalMainSessionTask.ts:226
↓ 1 callersFunctionenqueueRemoteReviewNotification
* Enqueue a remote-review completion notification. Injects the review text * directly into the message queue so the local model receives it on the ne
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:329
↓ 1 callersFunctionenqueueTaskNotification
* Enqueue a task notification to the message queue.
source code/utils/task/framework.ts:276
↓ 1 callersFunctionenrichLog
* Enriches a lite log with metadata from its JSONL file. * Returns the enriched log, or null if the log has no meaningful content * (no firstPrompt,
source code/utils/sessionStorage.ts:5025
↓ 1 callersFunctionenrollTrustedDevice
()
source code/bridge/trustedDevice.ts:100
↓ 1 callersFunctionensureAgentDirectoryExists
* Ensures the directory for an agent location exists
source code/components/agents/agentFileUtils.ts:156
↓ 1 callersFunctionensureCachedMCState
()
source code/services/compact/microCompact.ts:73
↓ 1 callersFunctionensureCleanupInterval
* Lazily start a background interval that evicts orphaned spans from activeSpans. * * Normal teardown calls endInteractionSpan / endToolSpan, which
source code/utils/telemetry/sessionTracing.ts:102
↓ 1 callersMethodensureCurrentSessionFile
* Loads the sessionFile variable. * Do not need to create session files until they are written to.
source code/utils/sessionStorage.ts:1273
↓ 1 callersFunctionensureImageStoreDir
* Ensure the image store directory exists.
source code/utils/imageStore.ts:27
↓ 1 callersFunctionensureInboxDir
* Ensure the inbox directory exists for a team
source code/utils/teammateMailbox.ts:73
↓ 1 callersFunctionensureKeychainPrefetchCompleted
()
source code/utils/secureStorage/keychainPrefetch.ts:98
↓ 1 callersFunctionensureLocalPackageEnvironment
()
source code/utils/localInstaller.ts:58
↓ 1 callersFunctionensureMdmSettingsLoaded
()
source code/utils/settings/mdm/settings.ts:106
↓ 1 callersFunctionensureNonEmptyAssistantContent
* Ensure all non-final assistant messages have non-empty content. * * The API requires "all messages must have non-empty content except for the * o
source code/utils/messages.ts:4935
↓ 1 callersFunctionensureScratchpadDir
()
source code/utils/permissions/filesystem.ts:396
↓ 1 callersFunctionensureSession
* Creates a new tmux session if it doesn't exist
source code/tools/shared/spawnMultiAgent.ts:173
↓ 1 callersMethodensureSession
Ensure a tmux session exists, creating one if needed.
source code/utils/terminalPanel.ts:178
↓ 1 callersFunctionensureSocketInitialized
()
source code/utils/tmuxSocket.ts:210
↓ 1 callersMethodensureStarted
()
source code/utils/git/gitFilesystem.ts:344
↓ 1 callersFunctionensureToolResultPairing
( messages: (UserMessage | AssistantMessage)[], )
source code/utils/messages.ts:5135
↓ 1 callersFunctionensureTransport
(type?: string)
source code/services/mcp/utils.ts:315
↓ 1 callersFunctionensureUpstreamIsSet
* Ensures that the current branch has an upstream set * If not, sets it to origin/<branchName> if that remote branch exists
source code/utils/teleport.tsx:217
↓ 1 callersFunctionentryBytes
(k: string, v: string)
source code/services/teamMemorySync/index.ts:438
↓ 1 callersFunctioneraseLines
(n: number)
source code/ink/termio/csi.ts:241
↓ 1 callersMethoderror
(message: string, ...args: unknown[])
source code/utils/claudeInChrome/mcpServer.ts:292
↓ 1 callersFunctionerrorKey
(e: PluginError)
source code/utils/plugins/refresh.ts:213
↓ 1 callersFunctionescapeJsLineTerminators
(json: string)
source code/cli/ndjsonSafeStringify.ts:20
↓ 1 callersFunctionescapeRuleContent
(content: string)
source code/utils/permissions/permissionRuleParser.ts:57
↓ 1 callersFunctionevaluateTimeBasedTrigger
( messages: Message[], querySource: QuerySource | undefined, )
source code/services/compact/microCompact.ts:424
↓ 1 callersFunctionevery
(a: ReadonlySet<A>, b: ReadonlySet<A>)
source code/utils/set.ts:34
↓ 1 callersFunctionexchangeJwtAuthGrant
(opts: { tokenEndpoint: string assertion: string clientId: string clientSecret: string authMethod?:
source code/services/mcp/xaa.ts:339
↓ 1 callersFunctionexcludeStalePluginClients
( mcp: { clients: MCPServerConnection[] tools: Tool[] commands: Command[] resources: Record<
source code/services/mcp/utils.ts:187
↓ 1 callersFunctionexecAgentHook
( hook: AgentHook, hookName: string, hookEvent: HookEvent, jsonInput: string, signal: AbortSignal,
source code/utils/hooks/execAgentHook.ts:38
↓ 1 callersFunctionexecIntoTmuxWorktree
(args: string[])
source code/utils/worktree.ts:1182
↓ 1 callersFunctionexecPromptHook
( hook: PromptHook, hookName: string, hookEvent: HookEvent, jsonInput: string, signal: AbortSignal,
source code/utils/hooks/execPromptHook.ts:23
↓ 1 callersFunctionexecuteAsyncClassifierCheck
( pendingCheck: { command: string; cwd: string; descriptions: string[] }, signal: AbortSignal, isNonInte
source code/tools/BashTool/bashPermissions.ts:1607
↓ 1 callersFunctionexecuteAutoDream
( context: REPLHookContext, appendSystemMessage?: AppendSystemMessageFn, )
source code/services/autoDream/autoDream.ts:321
↓ 1 callersFunctionexecuteBYOCPersistence
* Execute BYOC mode persistence: scan local filesystem for modified files, * then upload to Files API.
source code/utils/filePersistence/filePersistence.ts:152
↓ 1 callersFunctionexecuteCloudPersistence
* Execute Cloud (1P) mode persistence. * TODO: Read file_id from xattr on output files. xattr-based file IDs are * currently being added for 1P envi
source code/utils/filePersistence/filePersistence.ts:249
↓ 1 callersFunctionexecuteCwdChangedHooks
( oldCwd: string, newCwd: string, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, )
source code/utils/hooks.ts:4262
↓ 1 callersFunctionexecuteEffort
(args: string)
source code/commands/effort/effort.tsx:109
↓ 1 callersFunctionexecuteElicitationHooks
({ serverName, message, requestedSchema, permissionMode, signal, timeoutMs = TOOL_HOOK_EXECUTION_T
source code/utils/hooks.ts:4472
↓ 1 callersFunctionexecuteElicitationResultHooks
({ serverName, action, content, permissionMode, signal, timeoutMs = TOOL_HOOK_EXECUTION_TIMEOUT_MS
source code/utils/hooks.ts:4527
↓ 1 callersFunctionexecuteExtractMemoriesImpl
( context: REPLHookContext, appendSystemMessage?: AppendSystemMessageFn, )
source code/services/extractMemories/extractMemories.ts:529
↓ 1 callersFunctionexecuteFileChangedHooks
( filePath: string, event: 'change' | 'add' | 'unlink', timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_
source code/utils/hooks.ts:4280
↓ 1 callersFunctionexecuteFilePersistence
( turnStartTime: TurnStartTime, signal: AbortSignal, onResult: (result: FilesPersistedEventData) => void
source code/utils/filePersistence/filePersistence.ts:258
↓ 1 callersFunctionexecuteFileSuggestionCommand
( fileSuggestionInput: FileSuggestionCommandInput, signal?: AbortSignal, timeoutMs: number = 5000, // Sh
source code/utils/hooks.ts:4677
↓ 1 callersFunctionexecuteForkedSkill
* Executes a skill in a forked sub-agent context. * This runs the skill prompt in an isolated agent with its own token budget.
source code/tools/SkillTool/SkillTool.ts:124
↓ 1 callersFunctionexecuteForkedSlashCommand
* Executes a slash command with context: fork in a sub-agent.
source code/utils/processUserInput/processSlashCommand.tsx:64
↓ 1 callersFunctionexecuteFunctionHook
({ hook, messages, hookName, toolUseID, hookEvent, timeoutMs, signal, }: { hook: FunctionHook
source code/utils/hooks.ts:4742
↓ 1 callersFunctionexecuteHookCallback
({ toolUseID, hook, hookEvent, hookInput, signal, hookIndex, toolUseContext, }: { toolUseID: s
source code/utils/hooks.ts:4842
↓ 1 callersFunctionexecuteImmediateCommand
()
source code/screens/REPL.tsx:3210
↓ 1 callersFunctionexecuteOperatorG
( op: Operator, count: number, ctx: OperatorContext, )
source code/vim/operators.ts:526
↓ 1 callersFunctionexecuteOperatorGg
( op: Operator, count: number, ctx: OperatorContext, )
source code/vim/operators.ts:543
↓ 1 callersFunctionexecutePaste
( after: boolean, count: number, ctx: OperatorContext, )
source code/vim/operators.ts:296
↓ 1 callersFunctionexecutePermissionDeniedHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, reason: string, toolUseContext: ToolUse
source code/utils/hooks.ts:3531
↓ 1 callersFunctionexecutePermissionRequestHooksForSDK
* Execute PermissionRequest hooks and return a decision if one is made. * Returns undefined if no hook made a decision.
source code/cli/structuredIO.ts:789
↓ 1 callersFunctionexecutePostSamplingHooks
( messages: Message[], systemPrompt: SystemPrompt, userContext: { [k: string]: string }, systemContext
source code/utils/hooks/postSamplingHooks.ts:47
↓ 1 callersFunctionexecutePostToolHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolResponse: ToolResponse, toolUseCont
source code/utils/hooks.ts:3452
↓ 1 callersFunctionexecutePostToolUseFailureHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, error: string, toolUseContext: ToolUseC
source code/utils/hooks.ts:3494
↓ 1 callersFunctionexecutePreToolHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolUseContext: ToolUseContext, permiss
source code/utils/hooks.ts:3396
↓ 1 callersFunctionexecutePromptSuggestion
( context: REPLHookContext, )
source code/services/PromptSuggestion/promptSuggestion.ts:186
↓ 1 callersFunctionexecutePush
* Execute the push and track its lifecycle. * Push is read-only on disk (delta+probe, no merge writes), so no event * suppression is needed — edits
source code/services/teamMemorySync/watcher.ts:86
← previousnext →5,001–5,100 of 11,462, ranked by callers