MCPcopy Create free account

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

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

↓ 1 callersMethodstartHeartbeat
Start periodic heartbeat.
source code/cli/transports/ccrClient.ts:680
↓ 1 callersFunctionstartHookSpan
( hookEvent: string, hookName: string, numHooks: number, hookDefinitions: string, )
source code/utils/telemetry/sessionTracing.ts:846
↓ 1 callersFunctionstartIdleTimer
()
source code/utils/sessionActivity.ts:44
↓ 1 callersFunctionstartInteractionPerfettoSpan
(userPrompt?: string)
source code/utils/telemetry/perfettoTracing.ts:887
↓ 1 callersFunctionstartInteractionSpan
(userPrompt: string)
source code/utils/telemetry/sessionTracing.ts:178
↓ 1 callersMethodstartKeepaliveInterval
()
source code/cli/transports/WebSocketTransport.ts:769
↓ 1 callersFunctionstartKeychainPrefetch
()
source code/utils/secureStorage/keychainPrefetch.ts:71
↓ 1 callersFunctionstartLLMRequestPerfettoSpan
(args: { model: string promptTokens?: number messageId?: string isSpeculative?: boolean querySource?
source code/utils/telemetry/perfettoTracing.ts:427
↓ 1 callersFunctionstartLLMRequestSpan
( model: string, newContext?: LLMRequestNewContext, messagesForAPI?: APIMessage[], fastMode?: boolean,
source code/utils/telemetry/sessionTracing.ts:276
↓ 1 callersMethodstartLocalListener
(onReady: () => Promise<void>)
source code/services/oauth/auth-code-listener.ts:127
↓ 1 callersFunctionstartMCPServer
( cwd: string, debug: boolean, verbose: boolean, )
source code/entrypoints/mcp.ts:37
↓ 1 callersFunctionstartMdmPoll
* Start polling for MDM settings changes (registry/plist). * Takes a snapshot of current MDM settings and compares on each tick.
source code/utils/settings/changeDetector.ts:383
↓ 1 callersFunctionstartMdmRawRead
()
source code/utils/settings/mdm/rawRead.ts:122
↓ 1 callersFunctionstartMdmSettingsLoad
()
source code/utils/settings/mdm/settings.ts:69
↓ 1 callersFunctionstartNodeRelay
( wsUrl: string, authHeader: string, wsAuthHeader: string, )
source code/upstreamproxy/relay.ts:247
↓ 1 callersMethodstartOfCurrentLine
* Move to the start of the current line (column 0). * This is the raw version used internally by startOfLine.
source code/utils/Cursor.ts:416
↓ 1 callersMethodstartPingInterval
()
source code/cli/transports/WebSocketTransport.ts:699
↓ 1 callersFunctionstartPreventSleep
()
source code/services/preventSleep.ts:38
↓ 1 callersFunctionstartRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
source code/services/voice.ts:337
↓ 1 callersFunctionstartRelevantMemoryPrefetch
( messages: ReadonlyArray<Message>, toolUseContext: ToolUseContext, )
source code/utils/attachments.ts:2363
↓ 1 callersFunctionstartRestartInterval
()
source code/services/preventSleep.ts:72
↓ 1 callersFunctionstartSoxRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
source code/services/voice.ts:400
↓ 1 callersFunctionstartSpeculativeClassifierCheck
( command: string, toolPermissionContext: ToolPermissionContext, signal: AbortSignal, isNonInteractive
source code/tools/BashTool/bashPermissions.ts:1499
↓ 1 callersFunctionstartToolBlockedOnUserSpan
()
source code/utils/telemetry/sessionTracing.ts:528
↓ 1 callersFunctionstartToolExecutionSpan
()
source code/utils/telemetry/sessionTracing.ts:628
↓ 1 callersFunctionstartToolPerfettoSpan
( toolName: string, args?: Record<string, unknown>, )
source code/utils/telemetry/perfettoTracing.ts:692
↓ 1 callersFunctionstartToolSpan
( toolName: string, toolAttributes?: Record<string, string | number | boolean>, toolInput?: string, )
source code/utils/telemetry/sessionTracing.ts:468
↓ 1 callersFunctionstartUpstreamProxyRelay
(opts: { wsUrl: string sessionId: string token: string })
source code/upstreamproxy/relay.ts:157
↓ 1 callersFunctionstartUserInputPerfettoSpan
(context?: string)
source code/utils/telemetry/perfettoTracing.ts:770
↓ 1 callersFunctionstartWorkPollLoop
* Persistent poll loop for work items. Runs in the background for the * lifetime of the bridge connection. * * When a work item arrives, acknowledg
source code/bridge/replBridge.ts:1853
↓ 1 callersFunctionstashToCleanState
(message?: string)
source code/utils/git.ts:431
↓ 1 callersMethodstate
()
source code/services/mcp/auth.ts:1475
↓ 1 callersFunctionstateToSnapshotMessage
( state: AttributionState, messageId: UUID, )
source code/utils/commitAttribution.ts:874
↓ 1 callersFunctionstepTeammateSelection
( delta: 1 | -1, setAppState: (updater: (prev: AppState) => AppState) => void, )
source code/hooks/useBackgroundTaskNavigation.ts:28
↓ 1 callersFunctionstickyPromptText
(msg: RenderableMessage)
source code/components/VirtualMessageList.tsx:135
↓ 1 callersFunctionstop
* Stops the LSP server gracefully. * * If already stopped or stopping, returns immediately. * On failure, sets state to 'error', logs for mon
source code/services/lsp/LSPServerInstance.ts:276
↓ 1 callersFunctionstopOrDismissAgent
( taskId: string, setAppState: (updater: (prev: AppState) => AppState) => void, )
source code/state/teammateViewHelpers.ts:118
↓ 1 callersFunctionstopPreventSleep
()
source code/services/preventSleep.ts:51
↓ 1 callersFunctionstopRecording
()
source code/services/voice.ts:517
↓ 1 callersFunctionstopTeamMemoryWatcher
()
source code/services/teamMemorySync/watcher.ts:329
↓ 1 callersFunctionstoreImages
( pastedContents: Record<number, PastedContent>, )
source code/utils/imageStore.ts:86
↓ 1 callersFunctionstorePastedText
( hash: string, content: string, )
source code/utils/pasteStore.ts:39
↓ 1 callersFunctionstreamRenderedMessages
(messages: Message[], tools: Tools, sink: (ansiChunk: string) => void | Promise<void>, { columns, verbose
source code/utils/exportRenderer.tsx:57
↓ 1 callersFunctionstreamedCheckPermissionsAndCallTool
( tool: Tool, toolUseID: string, input: { [key: string]: boolean | string | number }, toolUseContext:
source code/services/tools/toolExecution.ts:494
↓ 1 callersFunctionstringsForDecisionReason
(reason: PermissionDecisionReason | undefined, toolType: 'tool' | 'command' | 'edit' | 'read')
source code/components/permissions/PermissionRuleExplanation.tsx:23
↓ 1 callersFunctionstripAdvisorBlocks
( messages: (UserMessage | AssistantMessage)[], )
source code/utils/messages.ts:5468
↓ 1 callersFunctionstripCR
(l: string)
source code/utils/ripgrep.ts:314
↓ 1 callersFunctionstripCallerFieldFromAssistantMessage
( message: AssistantMessage, )
source code/utils/messages.ts:1744
↓ 1 callersFunctionstripExcessMediaItems
( messages: (UserMessage | AssistantMessage)[], limit: number, )
source code/services/api/claude.ts:958
↓ 1 callersFunctionstripIdeContextTags
(text: string)
source code/utils/displayTags.ts:51
↓ 1 callersFunctionstripImagesFromMessages
(messages: Message[])
source code/services/compact/compact.ts:147
↓ 1 callersFunctionstripInProgressAssistantMessage
(messages: Message[])
source code/commands/btw/btw.tsx:203
↓ 1 callersFunctionstripQuotes
(text: string)
source code/utils/bash/parser.ts:226
↓ 1 callersFunctionstripReinjectedAttachments
(messages: Message[])
source code/services/compact/compact.ts:213
↓ 1 callersFunctionstripSignatureBlocks
(messages: Message[])
source code/utils/messages.ts:5068
↓ 1 callersFunctionstripToolSearchFieldsFromMessages
* Strip tool search-specific fields from messages before sending for token counting. * This removes 'caller' from tool_use blocks and 'tool_reference
source code/services/tokenEstimation.ts:68
↓ 1 callersFunctionstripUnavailableToolReferencesFromUserMessage
* Strips tool_reference blocks for tools that no longer exist from tool_result content. * This handles the case where a session was saved with MCP to
source code/utils/messages.ts:1543
↓ 1 callersFunctionstripWrappersFromArgv
(argv: string[])
source code/tools/BashTool/pathValidation.ts:1265
↓ 1 callersFunctionstyledCharsWithGraphemeClustering
* Convert a string with ANSI codes into styled characters with proper grapheme * clustering. Fixes ansi-tokenize splitting grapheme clusters (like fa
source code/ink/output.ts:555
↓ 1 callersFunctionstylesEqual
(a: AnsiCode[], b: AnsiCode[])
source code/ink/output.ts:536
↓ 1 callersFunctionstylesEqual
(a: Styles, b: Styles)
source code/ink/dom.ts:293
↓ 1 callersFunctionsubmitFeedback
(data: FeedbackData, signal?: AbortSignal)
source code/components/Feedback.tsx:520
↓ 1 callersMethodsubmitMessage
( prompt: string | ContentBlockParam[], options?: { uuid?: string; isMeta?: boolean }, )
source code/QueryEngine.ts:211
↓ 1 callersFunctionsubscribeTerminalFocus
(cb: () => void)
source code/ink/terminal-focus-state.ts:37
↓ 1 callersMethodsubscribeToSelectionChange
* Subscribe to selection state changes. Fires whenever the selection * is started, updated, cleared, or copied. Returns an unsubscribe fn.
source code/ink/ink.tsx:1246
↓ 1 callersFunctionsubstituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
source code/services/MagicDocs/prompts.ts:83
↓ 1 callersFunctionsubstituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
source code/services/SessionMemory/prompts.ts:203
↓ 1 callersFunctionsuppressNextSkillListing
()
source code/utils/attachments.ts:2635
↓ 1 callersFunctionsymlinkDirectories
* Symlinks directories from the main repository to avoid duplication. * This prevents disk bloat from duplicating node_modules and other large direct
source code/utils/worktree.ts:104
↓ 1 callersFunctionsyncMarketplacesToZipCache
()
source code/utils/plugins/zipCacheAdapters.ts:143
↓ 1 callersFunctionsyncPermissionRulesFromDisk
( toolPermissionContext: ToolPermissionContext, rules: PermissionRule[], )
source code/utils/permissions/permissions.ts:1421
↓ 1 callersFunctionsyncTeammateMode
( mode: PermissionMode, teamNameOverride?: string, )
source code/utils/swarm/teamHelpers.ts:399
↓ 1 callersFunctiontabStatus
(fields: TabStatusAction)
source code/ink/termio/osc.ts:478
↓ 1 callersFunctiontaggedIdToUUID
* Decode a mcpsrv_ tagged ID to a UUID string. * Tagged IDs have format: mcpsrv_01{base58(uuid.int)} * where 01 is the version prefix. * * TODO(pu
source code/skills/bundled/scheduleRemoteAgents.ts:37
↓ 1 callersMethodtakeBatch
* Pull the next batch from pending. Respects both maxBatchSize and * maxBatchBytes. The first item is always taken; subsequent items only * if a
source code/cli/transports/SerialBatchEventUploader.ts:215
↓ 1 callersFunctiontakeInitialUserMessage
()
source code/utils/sessionStart.ts:30
↓ 1 callersFunctionteleportFromSessionsAPI
(sessionId: string, orgUUID: string, accessToken: string, onProgress?: TeleportProgressCallback, sessionData?:
source code/utils/teleport.tsx:567
↓ 1 callersFunctionteleportToRemoteWithErrorHandling
(root: Root, description: string | null, signal: AbortSignal, branchName?: string)
source code/utils/teleport.tsx:546
↓ 1 callersFunctionteleportWithProgress
(root: Root, sessionId: string)
source code/components/TeleportProgress.tsx:120
↓ 1 callersFunctiontextStyleToSpanProps
* Convert termio's TextStyle to SpanProps.
source code/ink/Ansi.tsx:160
↓ 1 callersFunctiontick
()
source code/components/ScrollKeybindingHandler.tsx:659
↓ 1 callersFunctiontildify
* Shorten home-dir-prefixed paths to ~ notation for the banner. * Not using getDisplayPath() because cwd is the current working directory, * so the
source code/utils/deepLink/banner.ts:120
↓ 1 callersFunctiontmuxLoadBuffer
(text: string)
source code/ink/termio/osc.ts:92
↓ 1 callersFunctiontmuxPassthrough
* Wrap a payload in tmux's DCS passthrough: ESC P tmux ; <payload> ESC \ * tmux forwards the payload to the outer terminal, bypassing its own parser.
source code/ink/termio/osc.ts:80
↓ 1 callersFunctionto1PEventFormat
( metadata: EventMetadata, userMetadata: CoreUserData, additionalMetadata: Record<string, unknown> = {},
source code/services/analytics/metadata.ts:798
↓ 1 callersFunctiontoAgentId
(s: string)
source code/types/ids.ts:44
↓ 1 callersFunctiontoApiView
* Apply the same context transforms query.ts does before the API call, so * /context shows what the model actually sees rather than the REPL's raw *
source code/commands/context/context.tsx:20
↓ 1 callersMethodtoClientEvent
Wrap a StdoutMessage as a ClientEvent, injecting a UUID if missing.
source code/cli/transports/ccrClient.ts:756
↓ 1 callersMethodtoIDEPath
(wslPath: string)
source code/utils/idePathConversion.ts:60
↓ 1 callersFunctiontoLocation
* Converts LocationLink to Location format for uniform handling
source code/tools/LSPTool/LSPTool.ts:625
↓ 1 callersFunctiontoPosix
(p: string)
source code/utils/memoryFileDetection.ts:27
↓ 1 callersFunctiontoPosixPath
(path: string)
source code/utils/permissions/filesystem.ts:189
↓ 1 callersFunctiontoSDKRateLimitInfo
( limits: ClaudeAILimits | undefined, )
source code/utils/messages/mappers.ts:223
↓ 1 callersFunctiontoTaggedId
(tag: string, uuid: string)
source code/utils/taggedId.ts:53
↓ 1 callersFunctiontoUtf16LeBase64
* Base64-encode a string as UTF-16LE, which is the encoding required by * PowerShell's -EncodedCommand parameter.
source code/utils/powershell/parser.ts:671
↓ 1 callersMethodtoggle
()
source code/utils/terminalPanel.ts:58
↓ 1 callersFunctiontoggleTeammateVisibility
* Toggle visibility of a teammate pane (hide if visible, show if hidden)
source code/components/teams/TeamsDialog.tsx:623
↓ 1 callersFunctiontokenStatsToStatsigMetrics
( stats: TokenStats, )
source code/utils/contextAnalysis.ts:197
↓ 1 callersFunctiontokensToUSDCost
* Calculates the USD cost based on token usage and model cost configuration
source code/utils/modelCost.ts:133
↓ 1 callersFunctiontoolAlwaysAllowedRule
( context: ToolPermissionContext, tool: Pick<Tool, 'name' | 'mcpInfo'>, )
source code/utils/permissions/permissions.ts:277
← previousnext →7,701–7,800 of 11,462, ranked by callers