MCPcopy Create free account

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

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

↓ 5 callersFunctionhasPendingChanges
()
commands/plugin/ManageMarketplaces.tsx:169
↓ 5 callersFunctioninitSinks
()
utils/sinks.ts:13
↓ 5 callersFunctioninsertTextAtCursor
(text: string)
components/PromptInput/PromptInput.tsx:1247
↓ 5 callersFunctioninstallPluginFromMarketplace
({ pluginId, entry, marketplaceName, scope = 'user', trigger = 'user', }: InstallPluginParams)
utils/plugins/pluginInstallationHelpers.ts:506
↓ 5 callersMethodintern
(char: string)
ink/screen.ts:29
↓ 5 callersFunctionis1PEventLoggingEnabled
()
services/analytics/firstPartyEventLogger.ts:141
↓ 5 callersFunctionisAllowlistedCommand
( cmd: ParsedCommandElement, originalCommand: string, )
tools/PowerShellTool/readOnlyValidation.ts:1310
↓ 5 callersFunctionisAutoManagedMemoryFile
(filePath: string)
utils/memoryFileDetection.ts:133
↓ 5 callersFunctionisAutoMemFile
(filePath: string)
utils/memoryFileDetection.ts:87
↓ 5 callersFunctionisAutoMemPath
(absolutePath: string)
memdir/paths.ts:274
↓ 5 callersFunctionisBriefEntitled
()
tools/BriefTool/BriefTool.ts:88
↓ 5 callersFunctionisCommandEnabled
(cmd: CommandBase)
types/command.ts:214
↓ 5 callersFunctionisDateBefore
(date1: string, date2: string)
utils/statsCache.ts:432
↓ 5 callersFunctionisDurableCronEnabled
()
tools/ScheduleCronTool/prompt.ts:56
↓ 5 callersFunctionisFileDescriptor
(p: ParseEntry | undefined)
utils/bash/commands.ts:869
↓ 5 callersFunctionisInstallableScope
( scope: PluginScope, )
services/plugins/pluginOperations.ts:104
↓ 5 callersFunctionisMcpServerNameEntry
( entry: AllowedMcpServerEntry | DeniedMcpServerEntry, )
utils/settings/types.ts:1109
↓ 5 callersFunctionisModelFamilyAlias
(model: string)
utils/model/aliases.ts:23
↓ 5 callersFunctionisProSubscriber
()
utils/auth.ts:1698
↓ 5 callersFunctionisProcessRunning
(pid: number)
utils/ide.ts:49
↓ 5 callersFunctionisRow
(dir: FlexDirection)
native-ts/yoga-layout/index.ts:312
↓ 5 callersFunctionisSafeOutputCommand
(name: string)
tools/PowerShellTool/readOnlyValidation.ts:1038
↓ 5 callersFunctionisSwarmWorker
()
utils/swarm/permissionSync.ts:596
↓ 5 callersFunctionisTerminalTaskStatus
(status: TaskStatus)
Task.ts:27
↓ 5 callersFunctionisTextField
(s: PrimitiveSchemaDefinition)
components/mcp/ElicitationDialog.tsx:26
↓ 5 callersFunctionisToolReferenceBlock
(obj: unknown)
utils/toolSearch.ts:479
↓ 5 callersFunctionisTranscriptMessage
(entry: Entry)
utils/sessionStorage.ts:139
↓ 5 callersFunctionisUltrathinkEnabled
()
utils/thinking.ts:19
↓ 5 callersFunctionisVimModeEnabled
()
components/PromptInput/utils.ts:12
↓ 5 callersFunctionisVoiceGrowthBookEnabled
()
voice/voiceModeEnabled.ts:16
↓ 5 callersFunctionisXtermJs
()
ink/terminal.ts:143
↓ 5 callersFunctionloadMcpServerUserConfig
( pluginId: string, serverName: string, )
utils/plugins/mcpbHandler.ts:141
↓ 5 callersFunctionlogExposureForFeature
* Log experiment exposure for a feature if it has experiment data. * Deduplicates within a session - each feature is logged at most once.
services/analytics/growthbook.ts:296
↓ 5 callersFunctionlogMemoryDirCounts
* Log memory directory file/subdir counts asynchronously. * Fire-and-forget — doesn't block prompt building.
memdir/memdir.ts:153
↓ 5 callersFunctionlt
(a: string, b: string)
utils/semver.ts:33
↓ 5 callersFunctionmarkTerminalSetupComplete
()
utils/appleTerminalBackup.ts:15
↓ 5 callersFunctionmaybeExpandFilePath
(filePath: string)
utils/fileHistory.ts:878
↓ 5 callersFunctionmaybeResizeAndDownsampleImageBlock
( imageBlock: ImageBlockParam, )
utils/imageResizer.ts:445
↓ 5 callersFunctionnextCronRunMs
(cron: string, fromMs: number)
utils/cronTasks.ts:302
↓ 5 callersMethodnextWord
()
utils/Cursor.ts:561
↓ 5 callersFunctionnormalizeKeyForComparison
(key: string)
keybindings/reservedShortcuts.ts:91
↓ 5 callersFunctiononEnd
()
utils/process.ts:61
↓ 5 callersFunctiononResume
(sessionId: UUID, log: LogOption, entrypoint: ResumeEntrypoint)
commands/resume/resume.tsx:195
↓ 5 callersFunctionparseArithCommaList
Top-level: comma-separated list. arithmetic_expansion emits multiple children.
utils/bash/bashParser.ts:4138
↓ 5 callersFunctionparseGitConfigValue
( gitDir: string, section: string, subsection: string | null, key: string, )
utils/git/gitConfigParser.ts:18
↓ 5 callersFunctionparseGitHubRepository
(input: string)
utils/detectRepository.ts:132
↓ 5 callersFunctionparseMcpConfigFromFilePath
(params: { filePath: string expandVars: boolean scope: ConfigScope })
services/mcp/config.ts:1384
↓ 5 callersFunctionparseSlashCommandToolsFromFrontmatter
( toolsValue: unknown, )
utils/markdownConfigLoader.ts:132
↓ 5 callersFunctionpermissionModeTitle
(mode: PermissionMode)
utils/permissions/PermissionMode.ts:123
↓ 5 callersFunctionpickRandom
* Pick a random element from an array
utils/words.ts:777
↓ 5 callersMethodprevOffset
(offset: number)
utils/Cursor.ts:1503
↓ 5 callersMethodprevWord
()
utils/Cursor.ts:620
↓ 5 callersFunctionreadCachedMarketplace
* Read a cached marketplace from disk without updating it * * @param installLocation - Path to the cached marketplace * @returns The marketplace ob
utils/plugins/marketplaceManager.ts:2058
↓ 5 callersFunctionreadCronTasks
(dir?: string)
utils/cronTasks.ts:91
↓ 5 callersFunctionreadFileInRange
( filePath: string, offset = 0, maxLines?: number, maxBytes?: number, signal?: AbortSignal, option
utils/readFileInRange.ts:73
↓ 5 callersFunctionreadGitHead
( gitDir: string, )
utils/git/gitFilesystem.ts:149
↓ 5 callersFunctionreadLock
()
utils/computerUse/computerUseLock.ts:48
↓ 5 callersFunctionredactTokens
(raw: unknown)
services/mcp/xaa.ts:94
↓ 5 callersFunctionrelease
* Return the task released back to stub form: retain dropped, messages * cleared, evictAfter set if terminal. Shared by exitTeammateView and * the s
state/teammateViewHelpers.ts:28
↓ 5 callersFunctionremoveAgentWorktree
( worktreePath: string, worktreeBranch?: string, gitRoot?: string, hookBased?: boolean, )
utils/worktree.ts:961
↓ 5 callersFunctionrender
( node: ReactNode, options?: NodeJS.WriteStream | RenderOptions, )
ink.ts:18
↓ 5 callersFunctionrenderModelLabel
(model: string | null)
commands/model/model.tsx:293
↓ 5 callersFunctionrenderNodeToOutput
( node: DOMElement, output: Output, { offsetX = 0, offsetY = 0, prevScreen, skipSelfBlit
ink/render-node-to-output.ts:387
↓ 5 callersMethodreportDelivery
* Report delivery status for a client-to-worker event. * POST /v1/code/sessions/{id}/worker/events/delivery (batch endpoint)
cli/transports/ccrClient.ts:964
↓ 5 callersFunctionreportPermissionWait
()
utils/swarm/inProcessRunner.ts:205
↓ 5 callersMethodresetFramesForAltScreen
* Seed prev/back frames with full-size BLANK screens (rows×cols of empty * cells, not 0×0). In alt-screen mode, next.screen.height is always * t
ink/ink.tsx:984
↓ 5 callersFunctionresetMicrocompactState
()
services/compact/microCompact.ts:130
↓ 5 callersFunctionresolveAgentTools
( agentDefinition: Pick< AgentDefinition, 'tools' | 'disallowedTools' | 'source' | 'permissionMode'
tools/AgentTool/agentToolUtils.ts:122
↓ 5 callersFunctionresolveValue
(value: string)
utils/plugins/mcpPluginIntegration.ts:475
↓ 5 callersFunctionrestoreSessionMetadata
(meta: { customTitle?: string tag?: string agentName?: string agentColor?: string agentSetting?: str
utils/sessionStorage.ts:2758
↓ 5 callersFunctionripGrep
( args: string[], target: string, abortSignal: AbortSignal, )
utils/ripgrep.ts:345
↓ 5 callersFunctionsafeRemoveOverlay
(overlayPath: string)
services/PromptSuggestion/speculation.ts:72
↓ 5 callersFunctionsanitizeName
* Sanitizes a name for use in file paths
utils/tasks.ts:717
↓ 5 callersFunctionsanitizePathComponent
(input: string)
utils/tasks.ts:217
↓ 5 callersFunctionsearchSessionsByCustomTitle
( query: string, options?: { limit?: number; exact?: boolean }, )
utils/sessionStorage.ts:3065
↓ 5 callersFunctionseedDirFor
* If installLocation points into a configured seed directory, return that seed * directory. Seed-managed entries are admin-controlled — users can't
utils/plugins/marketplaceManager.ts:496
↓ 5 callersFunctionsequential
( fn: (...args: T) => Promise<R>, )
utils/sequential.ts:19
↓ 5 callersFunctionset
(name: string, value: number)
context/stats.tsx:36
↓ 5 callersFunctionsetAllowedChannels
(entries: ChannelEntry[])
bootstrap/state.ts:1680
↓ 5 callersFunctionsetLastSummarizedMessageId
( messageId: string | undefined, )
services/SessionMemory/sessionMemoryUtils.ts:65
↓ 5 callersFunctionsetMainThreadAgentType
(agentType: string | undefined)
bootstrap/state.ts:1627
↓ 5 callersMethodsetOnClose
(callback: (closeCode?: number) => void)
cli/transports/SSETransport.ts:671
↓ 5 callersMethodsetOnData
(callback: (data: string) => void)
cli/transports/SSETransport.ts:667
↓ 5 callersFunctionsetSessionCache
(value: SettingsJson | null)
services/remoteManagedSettings/syncCacheState.ts:37
↓ 5 callersFunctionsetSessionIngressToken
(token: string | null)
bootstrap/state.ts:1154
↓ 5 callersFunctionshouldProcessMockLimits
()
services/mockRateLimits.ts:713
↓ 5 callersFunctionshouldShowAlwaysAllowOptions
()
utils/permissions/permissionsLoader.ts:42
↓ 5 callersFunctionsortLogs
(logs: LogOption[])
types/logs.ts:319
↓ 5 callersFunctionstartsWithApiErrorPrefix
(text: string)
services/api/errors.ts:56
↓ 5 callersFunctionstatSync
(fsPath)
utils/fsOperations.ts:435
↓ 5 callersFunctionstopCapturingEarlyInput
()
utils/earlyInput.ts:142
↓ 5 callersFunctionstopWorkWithRetry
* Retry stopWork with exponential backoff (3 attempts, 1s/2s/4s). * Ensures the server learns the work item ended, preventing server-side zombies.
bridge/bridgeMain.ts:1627
↓ 5 callersFunctionstripPromptXMLTags
(content: string)
utils/messages.ts:2761
↓ 5 callersFunctionsubprocessEnv
()
utils/subprocessEnv.ts:79
↓ 5 callersFunctionsuppressCompactWarning
()
services/compact/compactWarningState.ts:11
↓ 5 callersFunctionteleportToRemote
(options: { initialMessage: string | null; branchName?: string; title?: string; /** * The descripti
utils/teleport.tsx:730
↓ 5 callersMethodtext
()
utils/Cursor.ts:1038
↓ 5 callersFunctiontokenize
( input: string, initialState: State, initialBuffer: string, flush: boolean, x10Mouse: boolean, )
ink/termio/tokenize.ts:99
↓ 5 callersFunctiontruncatePathMiddle
(path: string, maxLength: number)
utils/truncate.ts:16
↓ 5 callersFunctionunlinkIfOld
( filePath: string, cutoffDate: Date, fsImpl: FsOperations, )
utils/cleanup.ts:134
← previousnext →1,101–1,200 of 11,462, ranked by callers