MCPcopy Create free account

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

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

↓ 1 callersFunctioncursorTo
(col: number)
source code/ink/termio/csi.ts:151
↓ 1 callersFunctioncycleAllTeammateModes
* 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 callersFunctioncycleEffortLevel
(current: EffortLevel, direction: 'left' | 'right', includeMax: boolean)
source code/components/ModelPicker.tsx:433
↓ 1 callersFunctioncyclePermissionMode
( toolPermissionContext: ToolPermissionContext, teamContext?: { leadAgentId: string }, )
source code/utils/permissions/getNextPermissionMode.ts:90
↓ 1 callersFunctioncycleTeammateMode
* Cycle a single teammate's mode
source code/components/teams/TeamsDialog.tsx:667
↓ 1 callersMethoddeactivate
* 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 callersFunctiondebouncedCheck
()
source code/hooks/useTaskListWatcher.ts:143
↓ 1 callersFunctiondecisionReasonToOTelSource
* 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 callersFunctiondecodeChunk
(buf: Uint8Array)
source code/upstreamproxy/relay.ts:89
↓ 1 callersFunctiondecodeFont
()
source code/utils/ansiToPng.ts:62
↓ 1 callersFunctiondecodeJwtPayload
(token: string)
source code/bridge/jwtUtils.ts:23
↓ 1 callersMethoddecrementPendingWrites
()
source code/utils/sessionStorage.ts:588
↓ 1 callersFunctiondedupPluginMcpServers
( pluginServers: Record<string, ScopedMcpServerConfig>, manualServers: Record<string, ScopedMcpServerConfi
source code/services/mcp/config.ts:225
↓ 1 callersFunctiondeduplicateDiagnosticFiles
* 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 callersFunctiondefaultSyntaxThemeName
(themeName: string)
source code/native-ts/color-diff/index.ts:184
↓ 1 callersFunctiondehydrateValue
(s: unknown)
source code/services/vcr.ts:293
↓ 1 callersFunctiondeleteAgentFromFile
( agent: AgentDefinition, )
source code/components/agents/agentFileUtils.ts:243
↓ 1 callersFunctiondeleteClassifierApproval
(toolUseID: string)
source code/utils/classifierApprovals.ts:82
↓ 1 callersMethoddeleteOutputFile
Delete the output file (fire-and-forget safe).
source code/utils/task/TaskOutput.ts:375
↓ 1 callersFunctiondeletePermissionRule
({ rule, initialContext, setToolPermissionContext, }: EditPermissionRuleArgs & { rule: PermissionRule })
source code/utils/permissions/permissions.ts:1331
↓ 1 callersFunctiondeletePermissionRuleFromSettings
( rule: PermissionRuleFromEditableSettings, )
source code/utils/permissions/permissionsLoader.ts:165
↓ 1 callersFunctiondeleteRemoteAgentMetadata
(taskId: string)
source code/utils/sessionStorage.ts:361
↓ 1 callersFunctiondeleteResolvedPermission
( requestId: string, teamName?: string, )
source code/utils/swarm/permissionSync.ts:609
↓ 1 callersFunctionderiveFirstPrompt
( firstUserMessage: Extract<SerializedMessage, { type: 'user' }> | undefined, )
source code/commands/branch/branch.ts:40
↓ 1 callersFunctionderiveReviewState
( isDraft: boolean, reviewDecision: string, )
source code/utils/ghPrStatus.ts:28
↓ 1 callersFunctionderiveSessionTitle
Derive a session title from a user message: first line, truncated.
source code/bridge/bridgeMain.ts:1958
↓ 1 callersFunctionderiveShortMessageId
(uuid: string)
source code/utils/messages.ts:202
↓ 1 callersFunctiondesanitizeMatchString
* 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 callersFunctiondescriptionAlreadyExists
* 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 callersFunctiondeserializeLogEntry
(line: string)
source code/history.ts:104
↓ 1 callersFunctiondestroyWorktree
* 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 callersMethoddetachForShutdown
* 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 callersFunctiondetectAvailableBrowser
()
source code/utils/claudeInChrome/common.ts:347
↓ 1 callersFunctiondetectBlockedSleepPattern
(command: string)
source code/tools/PowerShellTool/PowerShellTool.tsx:191
↓ 1 callersFunctiondetectBlockedSleepPattern
(command: string)
source code/tools/BashTool/BashTool.tsx:324
↓ 1 callersFunctiondetectCodeIndexingFromCommand
( command: string, )
source code/utils/codeIndexing.ts:128
↓ 1 callersFunctiondetectCodeIndexingFromMcpServerName
( serverName: string, )
source code/utils/codeIndexing.ts:198
↓ 1 callersFunctiondetectConfigurationIssues
( type: InstallationType, )
source code/utils/doctorDiagnostic.ts:319
↓ 1 callersFunctiondetectDelistedPlugins
( installedPlugins: InstalledPluginsFileV2, marketplace: PluginMarketplace, marketplaceName: string, )
source code/utils/plugins/pluginBlocklist.ts:36
↓ 1 callersFunctiondetectEmptyMarketplaceReason
({ configuredMarketplaceCount, failedMarketplaceCount, }: { configuredMarketplaceCount: number failedM
source code/utils/plugins/marketplaceHelpers.ts:552
↓ 1 callersFunctiondetectExtensionInstallationPortable
( browserPaths: BrowserPath[], log?: Logger, )
source code/utils/claudeInChrome/setupPortable.ts:149
↓ 1 callersFunctiondetectFromColorFgBg
* 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 callersFunctiondetectGitOperation
( command: string, output: string, )
source code/tools/shared/gitOperationTracking.ts:137
↓ 1 callersFunctiondetectLanguage
()
source code/skills/bundled/claudeApi.ts:32
↓ 1 callersFunctiondetectLineEndings
( filePath: string, encoding: BufferEncoding = 'utf8', )
source code/utils/file.ts:122
↓ 1 callersFunctiondetectLinuxGlobPatternWarnings
()
source code/utils/doctorDiagnostic.ts:489
↓ 1 callersFunctiondetectLinuxTerminal
* 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 callersFunctiondetectMacosTerminal
* 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 callersFunctiondetectManifestType
* Detect whether a file is a plugin manifest or marketplace manifest
source code/utils/plugins/validatePlugin.ts:56
↓ 1 callersFunctiondetectMcpb
()
source code/commands/plugin/ManagePlugins.tsx:829
↓ 1 callersFunctiondetectMultiClauding
( sessions: Array<{ session_id: string user_message_timestamps: string[] }>, )
source code/commands/insights.ts:1064
↓ 1 callersFunctiondetectMultipleInstallations
()
source code/utils/doctorDiagnostic.ts:207
↓ 1 callersFunctiondetectPluginDirectories
(ideName: string)
source code/utils/jetbrains.ts:87
↓ 1 callersFunctiondetectPythonPackageManager
()
source code/utils/swarm/backends/it2Setup.ts:42
↓ 1 callersFunctiondetectRunningIDEsCached
()
source code/utils/ide.ts:1166
↓ 1 callersFunctiondetectRunningIDEsImpl
* Internal implementation of IDE detection.
source code/utils/ide.ts:1077
↓ 1 callersFunctiondetectSessionFileType
* 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 callersFunctiondetectTerminal
()
source code/utils/env.ts:137
↓ 1 callersFunctiondetectTerminal
()
source code/utils/deepLink/terminalLauncher.ts:185
↓ 1 callersFunctiondetectTurnInterruption
* 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 callersFunctiondetectVcs
(dir?: string)
source code/utils/platform.ts:131
↓ 1 callersFunctiondetectWindowsTerminal
* Detect the user's preferred terminal on Windows.
source code/utils/deepLink/terminalLauncher.ts:159
↓ 1 callersFunctiondetectWorktreeMainRepoPath
* 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 callersFunctiondetermineErrorType
* Determines the type of error based on the error message
source code/components/ResumeTask.tsx:229
↓ 1 callersFunctiondidLayoutShift
()
source code/ink/render-node-to-output.ts:42
↓ 1 callersFunctiondiffDifferentWidth
* Fallback: diff two screens with different widths (resize). * Separate indices for prev and next cells arrays.
source code/ink/screen.ts:1380
↓ 1 callersFunctiondiffRowAdded
* Emit additions for a row that only exists in next (height grew). * Skips empty/unwritten cells.
source code/ink/screen.ts:1285
↓ 1 callersFunctiondiffRowBoth
* 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 callersFunctiondiffRowRemoved
* 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 callersFunctiondiffSameWidth
* Diff two screens with identical width. * Dispatches each row to a small, JIT-friendly function.
source code/ink/screen.ts:1307
↓ 1 callersFunctiondimContent
(h: Highlight)
source code/native-ts/color-diff/index.ts:760
↓ 1 callersFunctiondirIsInGitRepo
(cwd: string)
source code/utils/git.ts:255
↓ 1 callersFunctiondisableAllPlugins
()
source code/services/plugins/pluginCliCommands.ts:277
↓ 1 callersFunctiondisableAllPluginsOp
()
source code/services/plugins/pluginOperations.ts:784
↓ 1 callersFunctiondisableHintRecommendations
()
source code/utils/plugins/hintRecommendation.ts:158
↓ 1 callersFunctiondisableKeepAlive
()
source code/utils/proxy.ts:31
↓ 1 callersFunctiondisablePlugin
( plugin: string, scope?: InstallableScope, )
source code/services/plugins/pluginCliCommands.ts:238
↓ 1 callersMethoddisconnect
()
source code/server/directConnectManager.ts:205
↓ 1 callersFunctiondiscoverAuthorizationServer
( asUrl: string, opts?: { fetchFn?: FetchLike }, )
source code/services/mcp/xaa.ts:180
↓ 1 callersFunctiondiscoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
source code/services/mcp/xaa.ts:137
↓ 1 callersMethoddiscoveryState
()
source code/services/mcp/auth.ts:2039
↓ 1 callersFunctiondispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
source code/ink/hit-test.ts:51
↓ 1 callersFunctiondispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
source code/ink/hit-test.ts:104
↓ 1 callersMethoddispatchKeyboardEvent
(parsedKey: ParsedKey)
source code/ink/ink.tsx:1271
↓ 1 callersFunctiondisplayServerName
(name: string)
source code/components/messages/UserChannelMessage.tsx:23
↓ 1 callersMethoddisplayWidthToStringIndex
(text: string, targetWidth: number)
source code/utils/Cursor.ts:1242
↓ 1 callersFunctiondispose
()
source code/utils/skills/skillChangeDetector.ts:148
↓ 1 callersFunctiondisposeKeybindingWatcher
()
source code/keybindings/loadUserBindings.ts:411
↓ 1 callersMethoddoExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
source code/utils/telemetry/bigqueryExporter.ts:89
↓ 1 callersMethoddoExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
source code/services/analytics/firstPartyEventLoggingExporter.ts:308
↓ 1 callersFunctiondoFetch
()
source code/utils/fastMode.ts:463
↓ 1 callersFunctiondoInitialize
()
source code/utils/tmuxSocket.ts:270
↓ 1 callersFunctiondoParse
(command: string)
source code/utils/bash/ParsedCommand.ts:272
↓ 1 callersFunctiondoReadAsync
()
source code/utils/secureStorage/macOsKeychainStorage.ts:180
↓ 1 callersFunctiondoReconnect
()
source code/bridge/replBridge.ts:619
↓ 1 callersFunctiondoRefresh
(sessionId: string, gen: number)
source code/bridge/jwtUtils.ts:167
↓ 1 callersFunctiondoctorHandler
(root: Root)
source code/cli/handlers/util.tsx:74
↓ 1 callersFunctiondoesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
source code/utils/sessionStorage.ts:3863
↓ 1 callersFunctiondoesSourceMatchHostPattern
* 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 callersFunctiondoesSourceMatchPathPattern
* 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
← previousnext →4,901–5,000 of 11,462, ranked by callers