Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ functions
Functions
11,462 in github.com/AnukarOP/claude-code-leaked
⨍
Functions
11,462
◇
Types & classes
340
↓ 1 callers
Method
startHeartbeat
Start periodic heartbeat.
source code/cli/transports/ccrClient.ts:680
↓ 1 callers
Function
startHookSpan
( hookEvent: string, hookName: string, numHooks: number, hookDefinitions: string, )
source code/utils/telemetry/sessionTracing.ts:846
↓ 1 callers
Function
startIdleTimer
()
source code/utils/sessionActivity.ts:44
↓ 1 callers
Function
startInteractionPerfettoSpan
(userPrompt?: string)
source code/utils/telemetry/perfettoTracing.ts:887
↓ 1 callers
Function
startInteractionSpan
(userPrompt: string)
source code/utils/telemetry/sessionTracing.ts:178
↓ 1 callers
Method
startKeepaliveInterval
()
source code/cli/transports/WebSocketTransport.ts:769
↓ 1 callers
Function
startKeychainPrefetch
()
source code/utils/secureStorage/keychainPrefetch.ts:71
↓ 1 callers
Function
startLLMRequestPerfettoSpan
(args: { model: string promptTokens?: number messageId?: string isSpeculative?: boolean querySource?
source code/utils/telemetry/perfettoTracing.ts:427
↓ 1 callers
Function
startLLMRequestSpan
( model: string, newContext?: LLMRequestNewContext, messagesForAPI?: APIMessage[], fastMode?: boolean,
source code/utils/telemetry/sessionTracing.ts:276
↓ 1 callers
Method
startLocalListener
(onReady: () => Promise<void>)
source code/services/oauth/auth-code-listener.ts:127
↓ 1 callers
Function
startMCPServer
( cwd: string, debug: boolean, verbose: boolean, )
source code/entrypoints/mcp.ts:37
↓ 1 callers
Function
startMdmPoll
* 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 callers
Function
startMdmRawRead
()
source code/utils/settings/mdm/rawRead.ts:122
↓ 1 callers
Function
startMdmSettingsLoad
()
source code/utils/settings/mdm/settings.ts:69
↓ 1 callers
Function
startNodeRelay
( wsUrl: string, authHeader: string, wsAuthHeader: string, )
source code/upstreamproxy/relay.ts:247
↓ 1 callers
Method
startOfCurrentLine
* 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 callers
Method
startPingInterval
()
source code/cli/transports/WebSocketTransport.ts:699
↓ 1 callers
Function
startPreventSleep
()
source code/services/preventSleep.ts:38
↓ 1 callers
Function
startRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
source code/services/voice.ts:337
↓ 1 callers
Function
startRelevantMemoryPrefetch
( messages: ReadonlyArray<Message>, toolUseContext: ToolUseContext, )
source code/utils/attachments.ts:2363
↓ 1 callers
Function
startRestartInterval
()
source code/services/preventSleep.ts:72
↓ 1 callers
Function
startSoxRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
source code/services/voice.ts:400
↓ 1 callers
Function
startSpeculativeClassifierCheck
( command: string, toolPermissionContext: ToolPermissionContext, signal: AbortSignal, isNonInteractive
source code/tools/BashTool/bashPermissions.ts:1499
↓ 1 callers
Function
startToolBlockedOnUserSpan
()
source code/utils/telemetry/sessionTracing.ts:528
↓ 1 callers
Function
startToolExecutionSpan
()
source code/utils/telemetry/sessionTracing.ts:628
↓ 1 callers
Function
startToolPerfettoSpan
( toolName: string, args?: Record<string, unknown>, )
source code/utils/telemetry/perfettoTracing.ts:692
↓ 1 callers
Function
startToolSpan
( toolName: string, toolAttributes?: Record<string, string | number | boolean>, toolInput?: string, )
source code/utils/telemetry/sessionTracing.ts:468
↓ 1 callers
Function
startUpstreamProxyRelay
(opts: { wsUrl: string sessionId: string token: string })
source code/upstreamproxy/relay.ts:157
↓ 1 callers
Function
startUserInputPerfettoSpan
(context?: string)
source code/utils/telemetry/perfettoTracing.ts:770
↓ 1 callers
Function
startWorkPollLoop
* 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 callers
Function
stashToCleanState
(message?: string)
source code/utils/git.ts:431
↓ 1 callers
Method
state
()
source code/services/mcp/auth.ts:1475
↓ 1 callers
Function
stateToSnapshotMessage
( state: AttributionState, messageId: UUID, )
source code/utils/commitAttribution.ts:874
↓ 1 callers
Function
stepTeammateSelection
( delta: 1 | -1, setAppState: (updater: (prev: AppState) => AppState) => void, )
source code/hooks/useBackgroundTaskNavigation.ts:28
↓ 1 callers
Function
stickyPromptText
(msg: RenderableMessage)
source code/components/VirtualMessageList.tsx:135
↓ 1 callers
Function
stop
* 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 callers
Function
stopOrDismissAgent
( taskId: string, setAppState: (updater: (prev: AppState) => AppState) => void, )
source code/state/teammateViewHelpers.ts:118
↓ 1 callers
Function
stopPreventSleep
()
source code/services/preventSleep.ts:51
↓ 1 callers
Function
stopRecording
()
source code/services/voice.ts:517
↓ 1 callers
Function
stopTeamMemoryWatcher
()
source code/services/teamMemorySync/watcher.ts:329
↓ 1 callers
Function
storeImages
( pastedContents: Record<number, PastedContent>, )
source code/utils/imageStore.ts:86
↓ 1 callers
Function
storePastedText
( hash: string, content: string, )
source code/utils/pasteStore.ts:39
↓ 1 callers
Function
streamRenderedMessages
(messages: Message[], tools: Tools, sink: (ansiChunk: string) => void | Promise<void>, { columns, verbose
source code/utils/exportRenderer.tsx:57
↓ 1 callers
Function
streamedCheckPermissionsAndCallTool
( tool: Tool, toolUseID: string, input: { [key: string]: boolean | string | number }, toolUseContext:
source code/services/tools/toolExecution.ts:494
↓ 1 callers
Function
stringsForDecisionReason
(reason: PermissionDecisionReason | undefined, toolType: 'tool' | 'command' | 'edit' | 'read')
source code/components/permissions/PermissionRuleExplanation.tsx:23
↓ 1 callers
Function
stripAdvisorBlocks
( messages: (UserMessage | AssistantMessage)[], )
source code/utils/messages.ts:5468
↓ 1 callers
Function
stripCR
(l: string)
source code/utils/ripgrep.ts:314
↓ 1 callers
Function
stripCallerFieldFromAssistantMessage
( message: AssistantMessage, )
source code/utils/messages.ts:1744
↓ 1 callers
Function
stripExcessMediaItems
( messages: (UserMessage | AssistantMessage)[], limit: number, )
source code/services/api/claude.ts:958
↓ 1 callers
Function
stripIdeContextTags
(text: string)
source code/utils/displayTags.ts:51
↓ 1 callers
Function
stripImagesFromMessages
(messages: Message[])
source code/services/compact/compact.ts:147
↓ 1 callers
Function
stripInProgressAssistantMessage
(messages: Message[])
source code/commands/btw/btw.tsx:203
↓ 1 callers
Function
stripQuotes
(text: string)
source code/utils/bash/parser.ts:226
↓ 1 callers
Function
stripReinjectedAttachments
(messages: Message[])
source code/services/compact/compact.ts:213
↓ 1 callers
Function
stripSignatureBlocks
(messages: Message[])
source code/utils/messages.ts:5068
↓ 1 callers
Function
stripToolSearchFieldsFromMessages
* 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 callers
Function
stripUnavailableToolReferencesFromUserMessage
* 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 callers
Function
stripWrappersFromArgv
(argv: string[])
source code/tools/BashTool/pathValidation.ts:1265
↓ 1 callers
Function
styledCharsWithGraphemeClustering
* 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 callers
Function
stylesEqual
(a: AnsiCode[], b: AnsiCode[])
source code/ink/output.ts:536
↓ 1 callers
Function
stylesEqual
(a: Styles, b: Styles)
source code/ink/dom.ts:293
↓ 1 callers
Function
submitFeedback
(data: FeedbackData, signal?: AbortSignal)
source code/components/Feedback.tsx:520
↓ 1 callers
Method
submitMessage
( prompt: string | ContentBlockParam[], options?: { uuid?: string; isMeta?: boolean }, )
source code/QueryEngine.ts:211
↓ 1 callers
Function
subscribeTerminalFocus
(cb: () => void)
source code/ink/terminal-focus-state.ts:37
↓ 1 callers
Method
subscribeToSelectionChange
* 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 callers
Function
substituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
source code/services/MagicDocs/prompts.ts:83
↓ 1 callers
Function
substituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
source code/services/SessionMemory/prompts.ts:203
↓ 1 callers
Function
suppressNextSkillListing
()
source code/utils/attachments.ts:2635
↓ 1 callers
Function
symlinkDirectories
* 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 callers
Function
syncMarketplacesToZipCache
()
source code/utils/plugins/zipCacheAdapters.ts:143
↓ 1 callers
Function
syncPermissionRulesFromDisk
( toolPermissionContext: ToolPermissionContext, rules: PermissionRule[], )
source code/utils/permissions/permissions.ts:1421
↓ 1 callers
Function
syncTeammateMode
( mode: PermissionMode, teamNameOverride?: string, )
source code/utils/swarm/teamHelpers.ts:399
↓ 1 callers
Function
tabStatus
(fields: TabStatusAction)
source code/ink/termio/osc.ts:478
↓ 1 callers
Function
taggedIdToUUID
* 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 callers
Method
takeBatch
* 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 callers
Function
takeInitialUserMessage
()
source code/utils/sessionStart.ts:30
↓ 1 callers
Function
teleportFromSessionsAPI
(sessionId: string, orgUUID: string, accessToken: string, onProgress?: TeleportProgressCallback, sessionData?:
source code/utils/teleport.tsx:567
↓ 1 callers
Function
teleportToRemoteWithErrorHandling
(root: Root, description: string | null, signal: AbortSignal, branchName?: string)
source code/utils/teleport.tsx:546
↓ 1 callers
Function
teleportWithProgress
(root: Root, sessionId: string)
source code/components/TeleportProgress.tsx:120
↓ 1 callers
Function
textStyleToSpanProps
* Convert termio's TextStyle to SpanProps.
source code/ink/Ansi.tsx:160
↓ 1 callers
Function
tick
()
source code/components/ScrollKeybindingHandler.tsx:659
↓ 1 callers
Function
tildify
* 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 callers
Function
tmuxLoadBuffer
(text: string)
source code/ink/termio/osc.ts:92
↓ 1 callers
Function
tmuxPassthrough
* 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 callers
Function
to1PEventFormat
( metadata: EventMetadata, userMetadata: CoreUserData, additionalMetadata: Record<string, unknown> = {},
source code/services/analytics/metadata.ts:798
↓ 1 callers
Function
toAgentId
(s: string)
source code/types/ids.ts:44
↓ 1 callers
Function
toApiView
* 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 callers
Method
toClientEvent
Wrap a StdoutMessage as a ClientEvent, injecting a UUID if missing.
source code/cli/transports/ccrClient.ts:756
↓ 1 callers
Method
toIDEPath
(wslPath: string)
source code/utils/idePathConversion.ts:60
↓ 1 callers
Function
toLocation
* Converts LocationLink to Location format for uniform handling
source code/tools/LSPTool/LSPTool.ts:625
↓ 1 callers
Function
toPosix
(p: string)
source code/utils/memoryFileDetection.ts:27
↓ 1 callers
Function
toPosixPath
(path: string)
source code/utils/permissions/filesystem.ts:189
↓ 1 callers
Function
toSDKRateLimitInfo
( limits: ClaudeAILimits | undefined, )
source code/utils/messages/mappers.ts:223
↓ 1 callers
Function
toTaggedId
(tag: string, uuid: string)
source code/utils/taggedId.ts:53
↓ 1 callers
Function
toUtf16LeBase64
* 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 callers
Method
toggle
()
source code/utils/terminalPanel.ts:58
↓ 1 callers
Function
toggleTeammateVisibility
* Toggle visibility of a teammate pane (hide if visible, show if hidden)
source code/components/teams/TeamsDialog.tsx:623
↓ 1 callers
Function
tokenStatsToStatsigMetrics
( stats: TokenStats, )
source code/utils/contextAnalysis.ts:197
↓ 1 callers
Function
tokensToUSDCost
* Calculates the USD cost based on token usage and model cost configuration
source code/utils/modelCost.ts:133
↓ 1 callers
Function
toolAlwaysAllowedRule
( context: ToolPermissionContext, tool: Pick<Tool, 'name' | 'mcpInfo'>, )
source code/utils/permissions/permissions.ts:277
← previous
next →
7,701–7,800 of 11,462, ranked by callers