MCPcopy Create free account

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

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

↓ 2 callersFunctionreadCapped
(handle: FileHandle)
utils/readEditContext.ts:123
↓ 2 callersFunctionreadClipboardViaPbpaste
()
utils/computerUse/executor.ts:70
↓ 2 callersFunctionreadFileRange
( path: string, offset: number, maxBytes: number, )
utils/fsOperations.ts:644
↓ 2 callersFunctionreadFileSyncCached
(filePath: string)
utils/file.ts:349
↓ 2 callersFunctionreadImageWithTokenBudget
( filePath: string, maxTokens: number = getDefaultFileReadingLimits().maxTokens, maxBytes?: number, )
tools/FileReadTool/FileReadTool.ts:1097
↓ 2 callersFunctionreadJsonFile
( path: string, schema: z.ZodType<T>, )
tools/AgentTool/agentMemorySnapshot.ts:43
↓ 2 callersFunctionreadLastConsolidatedAt
()
services/autoDream/consolidationLock.ts:29
↓ 2 callersFunctionreadLock
(dir?: string)
utils/cronTasksLock.ts:53
↓ 2 callersFunctionreadSync
(fsPath, options)
utils/fsOperations.ts:455
↓ 2 callersFunctionreadTranscriptForLoad
( filePath: string, fileSize: number, )
utils/sessionStoragePortable.ts:717
↓ 2 callersFunctionrealpathDeepestExisting
* Resolve symlinks for the deepest existing ancestor of a path. * The target file may not exist yet (we may be about to create it), so we * walk up
memdir/teamMemPaths.ts:109
↓ 2 callersMethodrebalancePanesTiled
* Rebalances panes in a window without a leader (tiled layout).
utils/swarm/backends/TmuxBackend.ts:739
↓ 2 callersMethodrebalancePanesWithLeader
* Rebalances panes in a window with a leader.
utils/swarm/backends/TmuxBackend.ts:707
↓ 2 callersFunctionrebuildTransport
( fresh: RemoteCredentials, cause: Exclude<ConnectCause, 'initial'>, )
bridge/remoteBridgeCore.ts:477
↓ 2 callersFunctionrecent
(ts: number | undefined)
hooks/notifs/useModelMigrationNotifications.tsx:49
↓ 2 callersFunctionreconcileMarketplaces
( opts?: ReconcileOptions, )
utils/plugins/reconciler.ts:114
↓ 2 callersFunctionrecordAttributionSnapshot
( snapshot: AttributionSnapshotMessage, )
utils/sessionStorage.ts:1488
↓ 2 callersFunctionrecordExtractionTokenCount
(currentTokenCount: number)
services/SessionMemory/sessionMemoryUtils.ts:151
↓ 2 callersFunctionrecordYank
(start: number, length: number)
utils/Cursor.ts:80
↓ 2 callersFunctionredactIfDisabled
(content: string)
utils/telemetry/events.ts:17
↓ 2 callersFunctionredactSensitiveUrlParams
* Redacts sensitive OAuth query parameters from a URL for safe logging. * Prevents exposure of state, nonce, code_challenge, code_verifier, and autho
services/mcp/auth.ts:112
↓ 2 callersFunctionredownloadUserSettings
()
services/settingsSync/index.ts:152
↓ 2 callersFunctionreduceCodes
(codes: AnsiCode[])
utils/textHighlighting.ts:164
↓ 2 callersMethodreenterAltScreen
* Re-enter alt-screen, clear, home, re-enable mouse tracking, and reset * frame buffers so the next render repaints from scratch. Self-heal for
ink/ink.tsx:964
↓ 2 callersFunctionrefreshMetricsStatus
* Fetch (in-memory memoized) and persist to disk on change. * Errors are not persisted — a transient failure should not overwrite a * known-good dis
services/api/metricsOptOut.ts:94
↓ 2 callersFunctionrefreshOAuthToken
( refreshToken: string, { scopes: requestedScopes }: { scopes?: string[] } = {}, )
services/oauth/client.ts:146
↓ 2 callersFunctionrefreshPolicyLimits
()
services/policyLimits/index.ts:581
↓ 2 callersFunctionrefreshRemoteManagedSettings
()
services/remoteManagedSettings/index.ts:562
↓ 2 callersFunctionregenerateCompletionCache
()
utils/completionCache.ts:140
↓ 2 callersFunctionregisterAsyncAgent
({ agentId, description, prompt, selectedAgent, setAppState, parentAbortController, toolUseId }:
tasks/LocalAgentTask/LocalAgentTask.tsx:466
↓ 2 callersFunctionregisterForeground
(input: LocalShellSpawnInput & { shellCommand: ShellCommand; }, setAppState: SetAppState, toolUseId?: string
tasks/LocalShellTask/LocalShellTask.tsx:259
↓ 2 callersFunctionregisterOutOfProcessTeammateTask
* Register a background task entry for an out-of-process (tmux/iTerm2) teammate. * This makes tmux teammates visible in the background tasks pill and
tools/shared/spawnMultiAgent.ts:760
↓ 2 callersFunctionregisterPermissionCallback
( callback: PermissionResponseCallback, )
hooks/useSwarmPermissionPoller.ts:82
↓ 2 callersFunctionregisterSeedMarketplaces
()
utils/plugins/marketplaceManager.ts:380
↓ 2 callersFunctionregisterSessionActivityCallback
(cb: () => void)
utils/sessionActivity.ts:60
↓ 2 callersFunctionregisterStructuredOutputEnforcement
( setAppState: SetAppState, sessionId: string, )
utils/hooks/hookHelpers.ts:70
↓ 2 callersFunctionregisterWorker
( sessionUrl: string, accessToken: string, )
bridge/workSecret.ts:97
↓ 2 callersFunctionreinitializeLspServerManager
()
services/lsp/manager.ts:226
↓ 2 callersMethodreleaseBackpressure
()
cli/transports/SerialBatchEventUploader.ts:255
↓ 2 callersFunctionreleaseComputerUseLock
()
utils/computerUse/computerUseLock.ts:202
↓ 2 callersFunctionreleasePressed
* Release `pressed` in reverse (last pressed = first released). Errors are * swallowed so a release failure never masks the real error. * * Drains
utils/computerUse/executor.ts:131
↓ 2 callersFunctionremoveIfEmpty
(dirPath: string)
utils/plugins/cacheUtils.ts:179
↓ 2 callersFunctionremoveInstalledSymlink
()
utils/nativeInstaller/installer.ts:1465
↓ 2 callersFunctionremoveMcpConfig
( name: string, scope: ConfigScope, )
services/mcp/config.ts:769
↓ 2 callersFunctionremoveNewlines
(h: Highlight)
native-ts/color-diff/index.ts:648
↓ 2 callersFunctionremoveOuterQuotes
* Remove outer single or double quotes from a string * @param text Text to clean * @returns Text without outer quotes
utils/imagePaste.ts:277
↓ 2 callersFunctionremoveProjectHistory
* Removes history field from projects (migrated to history.jsonl) * @internal
utils/config.ts:966
↓ 2 callersFunctionremoveSandboxViolationTags
(text: string)
utils/sandbox/sandbox-ui-utils.ts:10
↓ 2 callersFunctionremoveSessionCronTasks
(ids: readonly string[])
bootstrap/state.ts:1307
↓ 2 callersFunctionrenderAndRun
(root: Root, element: React.ReactNode)
interactiveHelpers.tsx:98
↓ 2 callersFunctionrenderChildren
( node: DOMElement, output: Output, offsetX: number, offsetY: number, hasRemovedChild: boolean, pr
ink/render-node-to-output.ts:1257
↓ 2 callersFunctionrenderConnectingLine
Render the connecting spinner line (shown before first updateIdleStatus).
bridge/bridgeUI.ts:152
↓ 2 callersFunctionrenderFrameSlice
* Render a slice of rows from the frame's screen. * Each row is rendered followed by a newline. Cursor ends at (0, endY).
ink/log-update.ts:527
↓ 2 callersFunctionrenderMessagesToPlainText
(messages: Message[], tools: Tools = [], columns?: number)
utils/exportRenderer.tsx:91
↓ 2 callersFunctionrenderModelSetting
(setting: ModelName | ModelAlias)
utils/model/model.ts:334
↓ 2 callersFunctionrenderRowLines
(cells: Array<{ tokens?: Token[]; }>, isHeader: boolean)
components/MarkdownTable.tsx:188
↓ 2 callersFunctionrenderToolActivity
(activity: ToolActivity, tools: Tools, theme: ThemeName)
components/tasks/renderToolActivity.tsx:7
↓ 2 callersFunctionrenderToolUseProgressMessage
(progressMessages: ProgressMessage<Progress>[], { tools, verbose }: { tools: Tools; verbose: boolean;
tools/SkillTool/UI.tsx:62
↓ 2 callersFunctionrenderToolUseProgressMessage
(progressMessages: ProgressMessage<Progress>[], { tools, verbose, terminalSize, inProgressToolCallCoun
tools/AgentTool/UI.tsx:445
↓ 2 callersFunctionrenderToolUseProgressMessage
(tool: Tool, tools: Tools, lookups: ReturnType<typeof buildMessageLookups>, toolUseID: string, progressMessage
components/messages/AssistantToolUseMessage.tsx:328
↓ 2 callersFunctionrenderVerticalFormat
()
components/MarkdownTable.tsx:241
↓ 2 callersFunctionrenderableSearchText
(msg: RenderableMessage)
utils/transcriptSearch.ts:24
↓ 2 callersMethodreplayBufferedMessages
(lastId: string)
cli/transports/WebSocketTransport.ts:574
↓ 2 callersMethodreportMetadata
Report external metadata to CCR via PUT /worker.
cli/transports/ccrClient.ts:661
↓ 2 callersFunctionrequestMicrophonePermission
()
services/voice.ts:241
↓ 2 callersMethodresetArrays
(paths: string[])
native-ts/file-index/index.ts:143
↓ 2 callersFunctionresetAutoModeGateCheck
()
utils/permissions/bypassPermissionsKillswitch.ts:123
↓ 2 callersFunctionresetCostState
()
bootstrap/state.ts:864
↓ 2 callersFunctionresetCwdIfOutsideProject
( toolPermissionContext: ToolPermissionContext, )
tools/BashTool/utils.ts:170
↓ 2 callersFunctionresetGetMemoryFilesCache
( reason: InstructionsLoadReason = 'session_start', )
utils/claudemd.ts:1124
↓ 2 callersFunctionresetLayoutShifted
()
ink/render-node-to-output.ts:36
↓ 2 callersMethodresetLivenessTimer
* Reset the liveness timer. If no SSE frame arrives within the timeout, * treat the connection as dead and reconnect.
cli/transports/SSETransport.ts:556
↓ 2 callersFunctionresetScreen
( screen: Screen, width: number, height: number, )
ink/screen.ts:501
↓ 2 callersFunctionresetStallTimer
()
utils/nativeInstaller/download.ts:312
↓ 2 callersFunctionresetStreamIdleTimer
()
services/api/claude.ts:1895
↓ 2 callersFunctionresetTaskList
(taskListId: string)
utils/tasks.ts:147
↓ 2 callersFunctionresizeShellImageOutput
( stdout: string, outputFilePath: string | undefined, outputFileSize: number | undefined, )
tools/BashTool/utils.ts:110
↓ 2 callersFunctionresolveAgentModelDisplay
( agent: AgentDefinition, )
tools/AgentTool/agentDisplay.ts:78
↓ 2 callersFunctionresolveAgentOverrides
( allAgents: AgentDefinition[], activeAgents: AgentDefinition[], )
tools/AgentTool/agentDisplay.ts:46
↓ 2 callersFunctionresolveAndPrepend
( msg: unknown, content: string | Array<ContentBlockParam>, )
bridge/inboundAttachments.ts:167
↓ 2 callersFunctionresolveAuth
()
bridge/bridgeApi.ts:91
↓ 2 callersFunctionresolveChildAlign
(parent: Node, child: Node)
native-ts/yoga-layout/index.ts:2294
↓ 2 callersFunctionresolveClaudePath
* Resolve the claude binary path for protocol registration. Prefers the * native installer's stable symlink (~/.local/bin/claude) which survives * a
utils/deepLink/registerProtocol.ts:241
↓ 2 callersFunctionresolveColor
* Resolves a color value that may be a theme key to a raw Color.
components/design-system/ThemedText.tsx:66
↓ 2 callersFunctionresolveCwdReentry
* If a normalized path starts with `../<cwd-basename>/`, it re-enters cwd * via the parent — resolve it to the cwd-relative form. posix.normalize *
tools/PowerShellTool/gitSafety.ts:23
↓ 2 callersFunctionresolveEscapingPathToCwdRelative
* SECURITY: Resolve a normalized path that escapes cwd (leading `../` or * absolute) against the actual cwd, then check if it lands back INSIDE cwd.
tools/PowerShellTool/gitSafety.ts:106
↓ 2 callersFunctionresolveFastModeStatusFromCache
()
utils/fastMode.ts:392
↓ 2 callersFunctionresolveGap
(style: Style, gutter: Gutter, ownerSize: number)
native-ts/yoga-layout/index.ts:2345
↓ 2 callersFunctionresolveKeyWithChordState
( input: string, key: Key, activeContexts: KeybindingContextName[], bindings: ParsedBinding[], pendi
keybindings/resolver.ts:166
↓ 2 callersFunctionresolveOnce
(code: string)
services/mcp/auth.ts:1031
↓ 2 callersFunctionresolveOverriddenModel
(modelId: string)
utils/model/modelStrings.ts:84
↓ 2 callersFunctionresolvePluginMcpEnvironment
( config: McpServerConfig, plugin: { path: string; source: string }, userConfig?: UserConfigValues, er
utils/plugins/mcpPluginIntegration.ts:465
↓ 2 callersFunctionresolveRefInDir
( dir: string, ref: string, )
utils/git/gitFilesystem.ts:221
↓ 2 callersFunctionresolveSkillModelOverride
( skillModel: string, currentModel: string, )
utils/model/model.ts:523
↓ 2 callersFunctionresolveTwoStageClassifier
* Resolve the XML classifier setting: ant-only env var takes precedence, * then GrowthBook. Returns undefined when unset (caller decides default).
utils/permissions/yoloClassifier.ts:1353
↓ 2 callersFunctionresolveWatchPaths
( config?: ReturnType<typeof getHooksConfigFromSnapshot>, )
utils/hooks/fileChangedWatcher.ts:48
↓ 2 callersFunctionrestartWatching
()
utils/hooks/fileChangedWatcher.ts:122
↓ 2 callersFunctionrestoreAttributionStateFromSnapshots
( snapshots: AttributionSnapshotMessage[], )
utils/commitAttribution.ts:899
↓ 2 callersFunctionrestoreCostStateForSession
(sessionId: string)
cost-tracker.ts:130
↓ 2 callersFunctionrestoreHeredocs
( parts: string[], heredocs: Map<string, HeredocInfo>, )
utils/bash/heredoc.ts:711
← previousnext →3,801–3,900 of 11,462, ranked by callers