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
Function
cursorTo
(col: number)
source code/ink/termio/csi.ts:151
↓ 1 callers
Function
cycleAllTeammateModes
* Cycle all teammates' modes in tandem * If modes differ, reset all to default first * If same, cycle all to next mode * Uses batch update to avoid
source code/components/teams/TeamsDialog.tsx:684
↓ 1 callers
Function
cycleEffortLevel
(current: EffortLevel, direction: 'left' | 'right', includeMax: boolean)
source code/components/ModelPicker.tsx:433
↓ 1 callers
Function
cyclePermissionMode
( toolPermissionContext: ToolPermissionContext, teamContext?: { leadAgentId: string }, )
source code/utils/permissions/getNextPermissionMode.ts:90
↓ 1 callers
Function
cycleTeammateMode
* Cycle a single teammate's mode
source code/components/teams/TeamsDialog.tsx:667
↓ 1 callers
Method
deactivate
* Clear the active flag without dropping queued items. * Used when the transport is replaced (onWorkReceived) — the new * transport's flush will
source code/bridge/flushGate.ts:70
↓ 1 callers
Function
debouncedCheck
()
source code/hooks/useTaskListWatcher.ts:143
↓ 1 callers
Function
decisionReasonToOTelSource
* Map a PermissionDecisionReason to the OTel `source` label for the * non-interactive tool_decision path, staying within the documented * vocabulary
source code/services/tools/toolExecution.ts:209
↓ 1 callers
Function
decodeChunk
(buf: Uint8Array)
source code/upstreamproxy/relay.ts:89
↓ 1 callers
Function
decodeFont
()
source code/utils/ansiToPng.ts:62
↓ 1 callers
Function
decodeJwtPayload
(token: string)
source code/bridge/jwtUtils.ts:23
↓ 1 callers
Method
decrementPendingWrites
()
source code/utils/sessionStorage.ts:588
↓ 1 callers
Function
dedupPluginMcpServers
( pluginServers: Record<string, ScopedMcpServerConfig>, manualServers: Record<string, ScopedMcpServerConfi
source code/services/mcp/config.ts:225
↓ 1 callers
Function
deduplicateDiagnosticFiles
* Deduplicates diagnostics by file URI and diagnostic content. * Also filters out diagnostics that were already delivered in previous turns. * Two d
source code/services/lsp/LSPDiagnosticRegistry.ts:138
↓ 1 callers
Function
defaultSyntaxThemeName
(themeName: string)
source code/native-ts/color-diff/index.ts:184
↓ 1 callers
Function
dehydrateValue
(s: unknown)
source code/services/vcr.ts:293
↓ 1 callers
Function
deleteAgentFromFile
( agent: AgentDefinition, )
source code/components/agents/agentFileUtils.ts:243
↓ 1 callers
Function
deleteClassifierApproval
(toolUseID: string)
source code/utils/classifierApprovals.ts:82
↓ 1 callers
Method
deleteOutputFile
Delete the output file (fire-and-forget safe).
source code/utils/task/TaskOutput.ts:375
↓ 1 callers
Function
deletePermissionRule
({ rule, initialContext, setToolPermissionContext, }: EditPermissionRuleArgs & { rule: PermissionRule })
source code/utils/permissions/permissions.ts:1331
↓ 1 callers
Function
deletePermissionRuleFromSettings
( rule: PermissionRuleFromEditableSettings, )
source code/utils/permissions/permissionsLoader.ts:165
↓ 1 callers
Function
deleteRemoteAgentMetadata
(taskId: string)
source code/utils/sessionStorage.ts:361
↓ 1 callers
Function
deleteResolvedPermission
( requestId: string, teamName?: string, )
source code/utils/swarm/permissionSync.ts:609
↓ 1 callers
Function
deriveFirstPrompt
( firstUserMessage: Extract<SerializedMessage, { type: 'user' }> | undefined, )
source code/commands/branch/branch.ts:40
↓ 1 callers
Function
deriveReviewState
( isDraft: boolean, reviewDecision: string, )
source code/utils/ghPrStatus.ts:28
↓ 1 callers
Function
deriveSessionTitle
Derive a session title from a user message: first line, truncated.
source code/bridge/bridgeMain.ts:1958
↓ 1 callers
Function
deriveShortMessageId
(uuid: string)
source code/utils/messages.ts:202
↓ 1 callers
Function
desanitizeMatchString
* Normalizes a match string by applying specific replacements * This helps handle when exact matches fail due to formatting differences * @returns T
source code/tools/FileEditTool/utils.ts:559
↓ 1 callers
Function
descriptionAlreadyExists
* Check if a description already exists in the allow list. * Compares lowercase and trailing-whitespace-trimmed versions.
source code/components/permissions/BashPermissionRequest/bashToolUseOptions.tsx:17
↓ 1 callers
Function
deserializeLogEntry
(line: string)
source code/history.ts:104
↓ 1 callers
Function
destroyWorktree
* Destroys a git worktree at the given path. * First attempts to use `git worktree remove`, then falls back to rm -rf. * Safe to call on non-existen
source code/utils/swarm/teamHelpers.ts:494
↓ 1 callers
Method
detachForShutdown
* Mark this instance as unmounted so future unmount() calls early-return. * Called by gracefulShutdown's cleanupTerminalModes() after it has sent
source code/ink/ink.tsx:934
↓ 1 callers
Function
detectAvailableBrowser
()
source code/utils/claudeInChrome/common.ts:347
↓ 1 callers
Function
detectBlockedSleepPattern
(command: string)
source code/tools/PowerShellTool/PowerShellTool.tsx:191
↓ 1 callers
Function
detectBlockedSleepPattern
(command: string)
source code/tools/BashTool/BashTool.tsx:324
↓ 1 callers
Function
detectCodeIndexingFromCommand
( command: string, )
source code/utils/codeIndexing.ts:128
↓ 1 callers
Function
detectCodeIndexingFromMcpServerName
( serverName: string, )
source code/utils/codeIndexing.ts:198
↓ 1 callers
Function
detectConfigurationIssues
( type: InstallationType, )
source code/utils/doctorDiagnostic.ts:319
↓ 1 callers
Function
detectDelistedPlugins
( installedPlugins: InstalledPluginsFileV2, marketplace: PluginMarketplace, marketplaceName: string, )
source code/utils/plugins/pluginBlocklist.ts:36
↓ 1 callers
Function
detectEmptyMarketplaceReason
({ configuredMarketplaceCount, failedMarketplaceCount, }: { configuredMarketplaceCount: number failedM
source code/utils/plugins/marketplaceHelpers.ts:552
↓ 1 callers
Function
detectExtensionInstallationPortable
( browserPaths: BrowserPath[], log?: Logger, )
source code/utils/claudeInChrome/setupPortable.ts:149
↓ 1 callers
Function
detectFromColorFgBg
* Read $COLORFGBG for a synchronous initial guess before the OSC 11 * round-trip completes. Format is `fg;bg` (or `fg;other;bg`) where values * are
source code/utils/systemTheme.ts:111
↓ 1 callers
Function
detectGitOperation
( command: string, output: string, )
source code/tools/shared/gitOperationTracking.ts:137
↓ 1 callers
Function
detectLanguage
()
source code/skills/bundled/claudeApi.ts:32
↓ 1 callers
Function
detectLineEndings
( filePath: string, encoding: BufferEncoding = 'utf8', )
source code/utils/file.ts:122
↓ 1 callers
Function
detectLinuxGlobPatternWarnings
()
source code/utils/doctorDiagnostic.ts:489
↓ 1 callers
Function
detectLinuxTerminal
* Detect the user's preferred terminal on Linux. * Checks $TERMINAL, then x-terminal-emulator, then walks a priority list.
source code/utils/deepLink/terminalLauncher.ts:129
↓ 1 callers
Function
detectMacosTerminal
* Detect the user's preferred terminal on macOS. * Checks running processes first (most likely to be what the user prefers), * then falls back to ch
source code/utils/deepLink/terminalLauncher.ts:66
↓ 1 callers
Function
detectManifestType
* Detect whether a file is a plugin manifest or marketplace manifest
source code/utils/plugins/validatePlugin.ts:56
↓ 1 callers
Function
detectMcpb
()
source code/commands/plugin/ManagePlugins.tsx:829
↓ 1 callers
Function
detectMultiClauding
( sessions: Array<{ session_id: string user_message_timestamps: string[] }>, )
source code/commands/insights.ts:1064
↓ 1 callers
Function
detectMultipleInstallations
()
source code/utils/doctorDiagnostic.ts:207
↓ 1 callers
Function
detectPluginDirectories
(ideName: string)
source code/utils/jetbrains.ts:87
↓ 1 callers
Function
detectPythonPackageManager
()
source code/utils/swarm/backends/it2Setup.ts:42
↓ 1 callers
Function
detectRunningIDEsCached
()
source code/utils/ide.ts:1166
↓ 1 callers
Function
detectRunningIDEsImpl
* Internal implementation of IDE detection.
source code/utils/ide.ts:1077
↓ 1 callers
Function
detectSessionFileType
* Detects if a file path is a session-related file for analytics logging. * Only matches files within the Claude config directory (e.g., ~/.claude).
source code/tools/FileReadTool/FileReadTool.ts:197
↓ 1 callers
Function
detectTerminal
()
source code/utils/env.ts:137
↓ 1 callers
Function
detectTerminal
()
source code/utils/deepLink/terminalLauncher.ts:185
↓ 1 callers
Function
detectTurnInterruption
* Determines whether the conversation was interrupted mid-turn based on the * last message after filtering. An assistant as last message (after filte
source code/utils/conversationRecovery.ts:274
↓ 1 callers
Function
detectVcs
(dir?: string)
source code/utils/platform.ts:131
↓ 1 callers
Function
detectWindowsTerminal
* Detect the user's preferred terminal on Windows.
source code/utils/deepLink/terminalLauncher.ts:159
↓ 1 callers
Function
detectWorktreeMainRepoPath
* Detect if cwd is a git worktree and resolve the main repo path. * Called once during initialize() and cached for the session. * In a worktree, .gi
source code/utils/sandbox/sandbox-adapter.ts:424
↓ 1 callers
Function
determineErrorType
* Determines the type of error based on the error message
source code/components/ResumeTask.tsx:229
↓ 1 callers
Function
didLayoutShift
()
source code/ink/render-node-to-output.ts:42
↓ 1 callers
Function
diffDifferentWidth
* Fallback: diff two screens with different widths (resize). * Separate indices for prev and next cells arrays.
source code/ink/screen.ts:1380
↓ 1 callers
Function
diffRowAdded
* Emit additions for a row that only exists in next (height grew). * Skips empty/unwritten cells.
source code/ink/screen.ts:1285
↓ 1 callers
Function
diffRowBoth
* Diff one row where both screens are in bounds. * Scans for differences with findNextDiff, unpacks and calls cb for each.
source code/ink/screen.ts:1232
↓ 1 callers
Function
diffRowRemoved
* Emit removals for a row that only exists in prev (height shrank). * Cannot skip empty cells — the terminal still has content from the * previous f
source code/ink/screen.ts:1265
↓ 1 callers
Function
diffSameWidth
* Diff two screens with identical width. * Dispatches each row to a small, JIT-friendly function.
source code/ink/screen.ts:1307
↓ 1 callers
Function
dimContent
(h: Highlight)
source code/native-ts/color-diff/index.ts:760
↓ 1 callers
Function
dirIsInGitRepo
(cwd: string)
source code/utils/git.ts:255
↓ 1 callers
Function
disableAllPlugins
()
source code/services/plugins/pluginCliCommands.ts:277
↓ 1 callers
Function
disableAllPluginsOp
()
source code/services/plugins/pluginOperations.ts:784
↓ 1 callers
Function
disableHintRecommendations
()
source code/utils/plugins/hintRecommendation.ts:158
↓ 1 callers
Function
disableKeepAlive
()
source code/utils/proxy.ts:31
↓ 1 callers
Function
disablePlugin
( plugin: string, scope?: InstallableScope, )
source code/services/plugins/pluginCliCommands.ts:238
↓ 1 callers
Method
disconnect
()
source code/server/directConnectManager.ts:205
↓ 1 callers
Function
discoverAuthorizationServer
( asUrl: string, opts?: { fetchFn?: FetchLike }, )
source code/services/mcp/xaa.ts:180
↓ 1 callers
Function
discoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
source code/services/mcp/xaa.ts:137
↓ 1 callers
Method
discoveryState
()
source code/services/mcp/auth.ts:2039
↓ 1 callers
Function
dispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
source code/ink/hit-test.ts:51
↓ 1 callers
Function
dispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
source code/ink/hit-test.ts:104
↓ 1 callers
Method
dispatchKeyboardEvent
(parsedKey: ParsedKey)
source code/ink/ink.tsx:1271
↓ 1 callers
Function
displayServerName
(name: string)
source code/components/messages/UserChannelMessage.tsx:23
↓ 1 callers
Method
displayWidthToStringIndex
(text: string, targetWidth: number)
source code/utils/Cursor.ts:1242
↓ 1 callers
Function
dispose
()
source code/utils/skills/skillChangeDetector.ts:148
↓ 1 callers
Function
disposeKeybindingWatcher
()
source code/keybindings/loadUserBindings.ts:411
↓ 1 callers
Method
doExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
source code/utils/telemetry/bigqueryExporter.ts:89
↓ 1 callers
Method
doExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
source code/services/analytics/firstPartyEventLoggingExporter.ts:308
↓ 1 callers
Function
doFetch
()
source code/utils/fastMode.ts:463
↓ 1 callers
Function
doInitialize
()
source code/utils/tmuxSocket.ts:270
↓ 1 callers
Function
doParse
(command: string)
source code/utils/bash/ParsedCommand.ts:272
↓ 1 callers
Function
doReadAsync
()
source code/utils/secureStorage/macOsKeychainStorage.ts:180
↓ 1 callers
Function
doReconnect
()
source code/bridge/replBridge.ts:619
↓ 1 callers
Function
doRefresh
(sessionId: string, gen: number)
source code/bridge/jwtUtils.ts:167
↓ 1 callers
Function
doctorHandler
(root: Root)
source code/cli/handlers/util.tsx:74
↓ 1 callers
Function
doesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
source code/utils/sessionStorage.ts:3863
↓ 1 callers
Function
doesSourceMatchHostPattern
* Check if a source matches a hostPattern entry. * Extracts the host from the source and tests it against the regex pattern. * * @param source - Th
source code/utils/plugins/marketplaceHelpers.ts:280
↓ 1 callers
Function
doesSourceMatchPathPattern
* Check if a source matches a pathPattern entry. * Tests the source's .path (file and directory sources only) against the regex pattern. * * @param
source code/utils/plugins/marketplaceHelpers.ts:307
← previous
next →
4,901–5,000 of 11,462, ranked by callers