MCPcopy Create free account

hub / github.com/Austin1serb/Anthropic-Leaked-Source-Code / functions

Functions11,462 in github.com/Austin1serb/Anthropic-Leaked-Source-Code

↓ 1 callersFunctioncursorForward
(n = 1)
ink/termio/csi.ts:139
↓ 1 callersFunctioncursorTo
(col: number)
ink/termio/csi.ts:149
↓ 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
components/teams/TeamsDialog.tsx:682
↓ 1 callersFunctioncycleEffortLevel
(current: EffortLevel, direction: 'left' | 'right', includeMax: boolean)
components/ModelPicker.tsx:431
↓ 1 callersFunctioncyclePermissionMode
( toolPermissionContext: ToolPermissionContext, teamContext?: { leadAgentId: string }, )
utils/permissions/getNextPermissionMode.ts:88
↓ 1 callersFunctioncycleTeammateMode
* Cycle a single teammate's mode
components/teams/TeamsDialog.tsx:665
↓ 1 callersMethoddeactivate
* Clear the active flag without dropping queued items. * Used when the transport is replaced (onWorkReceived) — the new * transport's flush will
bridge/flushGate.ts:68
↓ 1 callersFunctiondebouncedCheck
()
hooks/useTaskListWatcher.ts:141
↓ 1 callersFunctiondecisionReasonToOTelSource
* Map a PermissionDecisionReason to the OTel `source` label for the * non-interactive tool_decision path, staying within the documented * vocabulary
services/tools/toolExecution.ts:207
↓ 1 callersFunctiondecodeChunk
(buf: Uint8Array)
upstreamproxy/relay.ts:87
↓ 1 callersFunctiondecodeFont
()
utils/ansiToPng.ts:60
↓ 1 callersFunctiondecodeJwtPayload
(token: string)
bridge/jwtUtils.ts:21
↓ 1 callersMethoddecrementPendingWrites
()
utils/sessionStorage.ts:586
↓ 1 callersFunctiondedupPluginMcpServers
( pluginServers: Record<string, ScopedMcpServerConfig>, manualServers: Record<string, ScopedMcpServerConfi
services/mcp/config.ts:223
↓ 1 callersFunctiondeduplicateDiagnosticFiles
* Deduplicates diagnostics by file URI and diagnostic content. * Also filters out diagnostics that were already delivered in previous turns. * Two d
services/lsp/LSPDiagnosticRegistry.ts:136
↓ 1 callersFunctiondefaultSyntaxThemeName
(themeName: string)
native-ts/color-diff/index.ts:182
↓ 1 callersFunctiondehydrateValue
(s: unknown)
services/vcr.ts:291
↓ 1 callersFunctiondeleteAgentFromFile
( agent: AgentDefinition, )
components/agents/agentFileUtils.ts:241
↓ 1 callersFunctiondeleteClassifierApproval
(toolUseID: string)
utils/classifierApprovals.ts:80
↓ 1 callersMethoddeleteOutputFile
Delete the output file (fire-and-forget safe).
utils/task/TaskOutput.ts:373
↓ 1 callersFunctiondeletePermissionRule
({ rule, initialContext, setToolPermissionContext, }: EditPermissionRuleArgs & { rule: PermissionRule })
utils/permissions/permissions.ts:1329
↓ 1 callersFunctiondeletePermissionRuleFromSettings
( rule: PermissionRuleFromEditableSettings, )
utils/permissions/permissionsLoader.ts:163
↓ 1 callersFunctiondeleteRemoteAgentMetadata
(taskId: string)
utils/sessionStorage.ts:359
↓ 1 callersFunctiondeleteResolvedPermission
( requestId: string, teamName?: string, )
utils/swarm/permissionSync.ts:607
↓ 1 callersFunctionderiveFirstPrompt
( firstUserMessage: Extract<SerializedMessage, { type: 'user' }> | undefined, )
commands/branch/branch.ts:38
↓ 1 callersFunctionderiveReviewState
( isDraft: boolean, reviewDecision: string, )
utils/ghPrStatus.ts:26
↓ 1 callersFunctionderiveSessionTitle
Derive a session title from a user message: first line, truncated.
bridge/bridgeMain.ts:1956
↓ 1 callersFunctionderiveShortMessageId
(uuid: string)
utils/messages.ts:200
↓ 1 callersFunctiondesanitizeMatchString
* Normalizes a match string by applying specific replacements * This helps handle when exact matches fail due to formatting differences * @returns T
tools/FileEditTool/utils.ts:557
↓ 1 callersFunctiondescriptionAlreadyExists
* Check if a description already exists in the allow list. * Compares lowercase and trailing-whitespace-trimmed versions.
components/permissions/BashPermissionRequest/bashToolUseOptions.tsx:15
↓ 1 callersFunctiondeserializeLogEntry
(line: string)
history.ts:102
↓ 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
utils/swarm/teamHelpers.ts:492
↓ 1 callersMethoddetachForShutdown
* Mark this instance as unmounted so future unmount() calls early-return. * Called by gracefulShutdown's cleanupTerminalModes() after it has sent
ink/ink.tsx:932
↓ 1 callersFunctiondetectAvailableBrowser
()
utils/claudeInChrome/common.ts:345
↓ 1 callersFunctiondetectBlockedSleepPattern
(command: string)
tools/PowerShellTool/PowerShellTool.tsx:189
↓ 1 callersFunctiondetectBlockedSleepPattern
(command: string)
tools/BashTool/BashTool.tsx:322
↓ 1 callersFunctiondetectCodeIndexingFromCommand
( command: string, )
utils/codeIndexing.ts:126
↓ 1 callersFunctiondetectCodeIndexingFromMcpServerName
( serverName: string, )
utils/codeIndexing.ts:196
↓ 1 callersFunctiondetectConfigurationIssues
( type: InstallationType, )
utils/doctorDiagnostic.ts:317
↓ 1 callersFunctiondetectDelistedPlugins
( installedPlugins: InstalledPluginsFileV2, marketplace: PluginMarketplace, marketplaceName: string, )
utils/plugins/pluginBlocklist.ts:34
↓ 1 callersFunctiondetectEmptyMarketplaceReason
({ configuredMarketplaceCount, failedMarketplaceCount, }: { configuredMarketplaceCount: number failedM
utils/plugins/marketplaceHelpers.ts:550
↓ 1 callersFunctiondetectExtensionInstallationPortable
( browserPaths: BrowserPath[], log?: Logger, )
utils/claudeInChrome/setupPortable.ts:147
↓ 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
utils/systemTheme.ts:109
↓ 1 callersFunctiondetectGitOperation
( command: string, output: string, )
tools/shared/gitOperationTracking.ts:135
↓ 1 callersFunctiondetectLanguage
()
skills/bundled/claudeApi.ts:30
↓ 1 callersFunctiondetectLineEndings
( filePath: string, encoding: BufferEncoding = 'utf8', )
utils/file.ts:120
↓ 1 callersFunctiondetectLinuxGlobPatternWarnings
()
utils/doctorDiagnostic.ts:487
↓ 1 callersFunctiondetectLinuxTerminal
* Detect the user's preferred terminal on Linux. * Checks $TERMINAL, then x-terminal-emulator, then walks a priority list.
utils/deepLink/terminalLauncher.ts:127
↓ 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
utils/deepLink/terminalLauncher.ts:64
↓ 1 callersFunctiondetectManifestType
* Detect whether a file is a plugin manifest or marketplace manifest
utils/plugins/validatePlugin.ts:54
↓ 1 callersFunctiondetectMcpb
()
commands/plugin/ManagePlugins.tsx:827
↓ 1 callersFunctiondetectMultiClauding
( sessions: Array<{ session_id: string user_message_timestamps: string[] }>, )
commands/insights.ts:1062
↓ 1 callersFunctiondetectMultipleInstallations
()
utils/doctorDiagnostic.ts:205
↓ 1 callersFunctiondetectPluginDirectories
(ideName: string)
utils/jetbrains.ts:85
↓ 1 callersFunctiondetectPythonPackageManager
()
utils/swarm/backends/it2Setup.ts:40
↓ 1 callersFunctiondetectRunningIDEsCached
()
utils/ide.ts:1164
↓ 1 callersFunctiondetectRunningIDEsImpl
* Internal implementation of IDE detection.
utils/ide.ts:1075
↓ 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).
tools/FileReadTool/FileReadTool.ts:195
↓ 1 callersFunctiondetectTerminal
()
utils/env.ts:135
↓ 1 callersFunctiondetectTerminal
()
utils/deepLink/terminalLauncher.ts:183
↓ 1 callersFunctiondetectTurnInterruption
* Determines whether the conversation was interrupted mid-turn based on the * last message after filtering. An assistant as last message (after filte
utils/conversationRecovery.ts:272
↓ 1 callersFunctiondetectVcs
(dir?: string)
utils/platform.ts:129
↓ 1 callersFunctiondetectWindowsTerminal
* Detect the user's preferred terminal on Windows.
utils/deepLink/terminalLauncher.ts:157
↓ 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
utils/sandbox/sandbox-adapter.ts:422
↓ 1 callersFunctiondetermineErrorType
* Determines the type of error based on the error message
components/ResumeTask.tsx:227
↓ 1 callersFunctiondidLayoutShift
()
ink/render-node-to-output.ts:40
↓ 1 callersFunctiondiffDifferentWidth
* Fallback: diff two screens with different widths (resize). * Separate indices for prev and next cells arrays.
ink/screen.ts:1378
↓ 1 callersFunctiondiffRowAdded
* Emit additions for a row that only exists in next (height grew). * Skips empty/unwritten cells.
ink/screen.ts:1283
↓ 1 callersFunctiondiffRowBoth
* Diff one row where both screens are in bounds. * Scans for differences with findNextDiff, unpacks and calls cb for each.
ink/screen.ts:1230
↓ 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
ink/screen.ts:1263
↓ 1 callersFunctiondiffSameWidth
* Diff two screens with identical width. * Dispatches each row to a small, JIT-friendly function.
ink/screen.ts:1305
↓ 1 callersFunctiondimContent
(h: Highlight)
native-ts/color-diff/index.ts:758
↓ 1 callersFunctiondirIsInGitRepo
(cwd: string)
utils/git.ts:253
↓ 1 callersFunctiondisableAllPlugins
()
services/plugins/pluginCliCommands.ts:275
↓ 1 callersFunctiondisableAllPluginsOp
()
services/plugins/pluginOperations.ts:782
↓ 1 callersFunctiondisableHintRecommendations
()
utils/plugins/hintRecommendation.ts:156
↓ 1 callersFunctiondisableKeepAlive
()
utils/proxy.ts:29
↓ 1 callersFunctiondisablePlugin
( plugin: string, scope?: InstallableScope, )
services/plugins/pluginCliCommands.ts:236
↓ 1 callersMethoddisconnect
()
server/directConnectManager.ts:203
↓ 1 callersFunctiondiscoverAuthorizationServer
( asUrl: string, opts?: { fetchFn?: FetchLike }, )
services/mcp/xaa.ts:178
↓ 1 callersFunctiondiscoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
services/mcp/xaa.ts:135
↓ 1 callersMethoddiscoveryState
()
services/mcp/auth.ts:2037
↓ 1 callersFunctiondispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
ink/hit-test.ts:49
↓ 1 callersFunctiondispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
ink/hit-test.ts:102
↓ 1 callersMethoddispatchKeyboardEvent
(parsedKey: ParsedKey)
ink/ink.tsx:1269
↓ 1 callersFunctiondisplayServerName
(name: string)
components/messages/UserChannelMessage.tsx:21
↓ 1 callersMethoddisplayWidthToStringIndex
(text: string, targetWidth: number)
utils/Cursor.ts:1240
↓ 1 callersFunctiondispose
()
utils/skills/skillChangeDetector.ts:146
↓ 1 callersFunctiondisposeKeybindingWatcher
()
keybindings/loadUserBindings.ts:409
↓ 1 callersMethoddoExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
utils/telemetry/bigqueryExporter.ts:87
↓ 1 callersMethoddoExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
services/analytics/firstPartyEventLoggingExporter.ts:306
↓ 1 callersFunctiondoFetch
()
utils/fastMode.ts:461
↓ 1 callersFunctiondoInitialize
()
utils/tmuxSocket.ts:268
↓ 1 callersFunctiondoParse
(command: string)
utils/bash/ParsedCommand.ts:270
↓ 1 callersFunctiondoReadAsync
()
utils/secureStorage/macOsKeychainStorage.ts:178
↓ 1 callersFunctiondoReconnect
()
bridge/replBridge.ts:617
↓ 1 callersFunctiondoRefresh
(sessionId: string, gen: number)
bridge/jwtUtils.ts:165
↓ 1 callersFunctiondoctorHandler
(root: Root)
cli/handlers/util.tsx:72
↓ 1 callersFunctiondoesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
utils/sessionStorage.ts:3861
↓ 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
utils/plugins/marketplaceHelpers.ts:278
← previousnext →4,901–5,000 of 11,462, ranked by callers