MCPcopy Create free account

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

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

↓ 3 callersFunctionleadingEdge
(dir: FlexDirection)
native-ts/yoga-layout/index.ts:321
↓ 3 callersFunctionlistAllCronTasks
(dir?: string)
utils/cronTasks.ts:288
↓ 3 callersFunctionload
(initial: boolean)
utils/cronScheduler.ts:179
↓ 3 callersFunctionloadAndCacheMarketplace
* Load and cache a marketplace from its source * * Handles different source types: * - URL: Downloads marketplace.json directly * - GitHub: Clones
utils/plugins/marketplaceManager.ts:1433
↓ 3 callersMethodloadEventsFromFile
( filePath: string, )
services/analytics/firstPartyEventLoggingExporter.ts:155
↓ 3 callersFunctionloadKeybindingsSyncWithWarnings
()
keybindings/loadUserBindings.ts:259
↓ 3 callersFunctionloadManagedFileSettings
()
utils/settings/settings.ts:74
↓ 3 callersFunctionloadMarkdownFiles
* Generic function to load markdown files from specified directories * @param dir Directory (eg. "~/.claude/commands") * @returns Array of parsed ma
utils/markdownConfigLoader.ts:546
↓ 3 callersFunctionloadMcpServersFromFile
* Load MCP servers from a JSON file within a plugin * This is a simplified version that doesn't expand environment variables * and is specifically f
utils/plugins/mcpPluginIntegration.ts:219
↓ 3 callersFunctionloadMcpbFile
( source: string, pluginPath: string, pluginId: string, onProgress?: ProgressCallback, providedUserC
utils/plugins/mcpbHandler.ts:698
↓ 3 callersFunctionloadMemoryPrompt
()
memdir/memdir.ts:419
↓ 3 callersFunctionloadMessageLogs
(limit?: number)
utils/sessionStorage.ts:3939
↓ 3 callersFunctionloadPluginManifest
( manifestPath: string, pluginName: string, source: string, )
utils/plugins/pluginLoader.ts:1147
↓ 3 callersFunctionloadSameRepoMessageLogsProgressive
( worktreePaths: string[], limit?: number, initialEnrichCount: number = INITIAL_ENRICH_COUNT, )
utils/sessionStorage.ts:4086
↓ 3 callersFunctionlogDebugError
(message: string)
services/api/filesApi.ts:40
↓ 3 callersFunctionlogPermissionDecision
( ctx: PermissionLogContext, args: PermissionDecisionArgs, permissionPromptStartTimeMs?: number, )
hooks/toolPermission/permissionLogging.ts:181
↓ 3 callersFunctionlogPermissionEvent
( event: 'accept' | 'reject', completionType: CompletionType, languageName: string | Promise<string>,
components/permissions/FilePermissionDialog/usePermissionHandler.ts:25
↓ 3 callersFunctionlogSearchOutcome
( matches: string[], queryType: 'select' | 'keyword', )
tools/ToolSearchTool/ToolSearchTool.ts:342
↓ 3 callersFunctionlogToSessionMeta
(log: LogOption)
commands/insights.ts:737
↓ 3 callersFunctionmakeLogEntryReader
()
history.ts:106
↓ 3 callersFunctionmarkInternalWrite
(path: string)
utils/settings/internalWrites.ts:17
↓ 3 callersFunctionmarkMessageAsReadByIndex
( agentName: string, teamName: string | undefined, messageIndex: number, )
utils/teammateMailbox.ts:201
↓ 3 callersFunctionmarkdownTable
* Build a markdown table from headers and rows.
skills/bundled/keybindings.ts:332
↓ 3 callersFunctionmaybeDumpAutoMode
* Dump the auto mode classifier request and response bodies to the per-user * claude temp directory when CLAUDE_CODE_DUMP_AUTO_MODE is set. Files are
utils/permissions/yoloClassifier.ts:153
↓ 3 callersFunctionmaybeMarkProjectOnboardingComplete
()
projectOnboardingState.ts:49
↓ 3 callersFunctionmaybeRecordPluginHint
(hint: ClaudeCodeHint)
utils/plugins/hintRecommendation.ts:65
↓ 3 callersFunctionmcpBaseUrlAnalytics
* Spread-ready analytics field for the server's base URL. Calls * getLoggingSafeMcpBaseUrl once (not twice like the inline ternary it replaces). * T
services/mcp/client.ts:323
↓ 3 callersFunctionmeasureText
(text: string, maxWidth: number)
ink/measure-text.ts:11
↓ 3 callersFunctionmemoizeWithTTLAsync
( f: (...args: Args) => Promise<Result>, cacheLifetimeMs: number = 5 * 60 * 1000, // Default 5 minutes )
utils/memoize.ts:120
↓ 3 callersFunctionmemoryFilesToAttachments
( memoryFiles: MemoryFileInfo[], toolUseContext: ToolUseContext, triggerFilePath?: string, )
utils/attachments.ts:1710
↓ 3 callersFunctionmergeAndFilterTools
( initialTools: Tools, assembled: Tools, mode: ToolPermissionContext['mode'], )
utils/toolPool.ts:55
↓ 3 callersFunctionmergeClients
( initialClients: MCPServerConnection[] | undefined, mcpClients: readonly MCPServerConnection[] | undefine
hooks/useMergedClients.ts:5
↓ 3 callersFunctionmergeFileStateCaches
( first: FileStateCache, second: FileStateCache, )
utils/fileStateCache.ts:129
↓ 3 callersFunctionmigrateConfigFields
* Migrates old autoUpdaterStatus to new installMethod and autoUpdates fields * @internal
utils/config.ts:912
↓ 3 callersFunctionmigrateV1ToV2
* Migrate V1 data to V2 format. * All V1 plugins are migrated to 'user' scope since V1 had no scope concept.
utils/plugins/installedPluginsManager.ts:284
↓ 3 callersFunctionmkSentinel
(text: string)
hooks/useAssistantHistory.ts:101
↓ 3 callersFunctionmodelSupportsMaxEffort
(model: string)
utils/effort.ts:53
↓ 3 callersFunctionmodelSupportsToolReference
(model: string)
utils/toolSearch.ts:239
↓ 3 callersFunctionmoveCursorTo
(screen: VirtualScreen, targetX: number, targetY: number)
ink/log-update.ts:693
↓ 3 callersMethodmoveFocus
(direction: 1 | -1, root: DOMElement)
ink/focus.ts:110
↓ 3 callersFunctionnext
(generator: AsyncGenerator<A, void>)
utils/generators.ts:36
↓ 3 callersMethodnextWORD
()
utils/Cursor.ts:774
↓ 3 callersFunctionnormalizeContentFromAPI
( contentBlocks: BetaMessage['content'], tools: Tools, agentId?: AgentId, )
utils/messages.ts:2651
↓ 3 callersFunctionnormalizeLanguageForSTT
(language: string | undefined)
hooks/useVoice.ts:121
↓ 3 callersFunctionnormalizeMessage
(message: Message)
utils/queryHelpers.ts:102
↓ 3 callersFunctionnormalizePatternsToPath
( patternsByRoot: Map<string | null, string[]>, root: string, )
utils/permissions/filesystem.ts:800
↓ 3 callersMethodnotify
()
utils/mailbox.ts:70
↓ 3 callersFunctionnotifyBridgeFailed
(detail?: string)
hooks/useReplBridge.tsx:102
↓ 3 callersFunctionnotifySessionMetadataChanged
( metadata: SessionExternalMetadata, )
utils/sessionState.ts:136
↓ 3 callersFunctiononData
(ch: Buffer)
services/mcp/auth.ts:2378
↓ 3 callersFunctionopenFileInExternalEditor
( filePath: string, line?: number, )
utils/editor.ts:81
↓ 3 callersFunctionopenForScan
(path: string)
utils/readEditContext.ts:48
↓ 3 callersFunctionopenPath
(path: string)
utils/browser.ts:24
↓ 3 callersFunctionpadAligned
( content: string, displayWidth: number, targetWidth: number, align: 'left' | 'center' | 'right' | nul
utils/markdown.ts:366
↓ 3 callersFunctionparamsFromContext
(retryContext: RetryContext)
services/api/claude.ts:1538
↓ 3 callersFunctionparseAgentId
( agentId: string, )
utils/agentId.ts:46
↓ 3 callersFunctionparseAutoModeEnabledState
(value: unknown)
utils/permissions/permissionSetup.ts:1315
↓ 3 callersFunctionparseBacktick
(P: ParseState)
utils/bash/bashParser.ts:3101
↓ 3 callersFunctionparseBindings
(blocks: KeybindingBlock[])
keybindings/parser.ts:191
↓ 3 callersFunctionparseBudgetMatch
(value: string, suffix: string)
utils/tokenBudget.ts:17
↓ 3 callersFunctionparseCellId
(cellId: string)
utils/notebook.ts:217
↓ 3 callersFunctionparseChangelog
(content: string)
utils/releaseNotes.ts:156
↓ 3 callersFunctionparseCommand
( command: string, )
utils/bash/parser.ts:56
↓ 3 callersFunctionparseCommandOutputAsSettings
( stdout: string, sourcePath: string, )
utils/settings/mdm/settings.ts:183
↓ 3 callersFunctionparseCronExpression
(expr: string)
utils/cron.ts:83
↓ 3 callersFunctionparseDoGroup
(P: ParseState)
utils/bash/bashParser.ts:3306
↓ 3 callersFunctionparseExporterTypes
(value: string | undefined)
utils/telemetry/instrumentation.ts:121
↓ 3 callersFunctionparseExtendedColor
( params: Param[], idx: number, )
ink/termio/sgr.ts:79
↓ 3 callersFunctionparseFileWithSchema
* Parse and validate JSON file with a Zod schema
utils/plugins/marketplaceManager.ts:1372
↓ 3 callersFunctionparseISOString
(s: string)
utils/log.ts:285
↓ 3 callersFunctionparseJsonEntries
(content: string, { maxChars, maxKeys }: { maxChars: number; maxKeys: number; })
tools/MCPTool/UI.tsx:266
↓ 3 callersFunctionparseKeypress
(s: string = '')
ink/parse-keypress.ts:611
↓ 3 callersFunctionparseKeystroke
(input: string)
keybindings/parser.ts:13
↓ 3 callersFunctionparseProcessSub
(P: ParseState)
utils/bash/bashParser.ts:1861
↓ 3 callersFunctionparseTestPrimary
(P: ParseState, closer: string)
utils/bash/bashParser.ts:4063
↓ 3 callersFunctionparseYaml
(input: string)
utils/yaml.ts:9
↓ 3 callersFunctionparseZipModes
(data: Uint8Array)
utils/dxt/zip.ts:160
↓ 3 callersFunctionpatch
( derived: string, bridgeSessionId: string, atCount: number, )
bridge/initReplBridge.ts:314
↓ 3 callersMethodpause
()
ink/ink.tsx:790
↓ 3 callersFunctionpercentile
(sorted: number[], p: number)
context/stats.tsx:11
↓ 3 callersFunctionperformLogout
({ clearOnboarding = false })
commands/logout/logout.tsx:16
↓ 3 callersFunctionperformPostCreationSetup
* Post-creation setup for a newly created worktree. * Propagates settings.local.json, configures git hooks, and symlinks directories.
utils/worktree.ts:510
↓ 3 callersFunctionpermissionModeSymbol
(mode: PermissionMode)
utils/permissions/PermissionMode.ts:135
↓ 3 callersFunctionpermissionRuleExtractPrefix
(permissionRule: string)
utils/sandbox/sandbox-adapter.ts:78
↓ 3 callersFunctionpermissionRuleSourceDisplayString
( source: PermissionRuleSource, )
utils/permissions/permissions.ts:116
↓ 3 callersFunctionpersistBinaryContent
( bytes: Buffer, mimeType: string | undefined, persistId: string, )
utils/mcpOutputStorage.ts:148
↓ 3 callersFunctionpersistToolResult
( content: NonNullable<ToolResultBlockParam['content']>, toolUseId: string, )
utils/toolResultStorage.ts:137
↓ 3 callersFunctionphysicalEdge
(edge: Edge)
native-ts/yoga-layout/index.ts:2528
↓ 3 callersFunctionprefetchAllMcpResources
( mcpConfigs: Record<string, ScopedMcpServerConfig>, )
services/mcp/client.ts:2408
↓ 3 callersFunctionprepareContextForPlanMode
( context: ToolPermissionContext, )
utils/permissions/permissionSetup.ts:1462
↓ 3 callersFunctionprependDirSep
(path: string)
utils/permissions/filesystem.ts:761
↓ 3 callersMethodprependUserMessage
* Queue a user turn to be yielded before the next message from this.input. * Works before iteration starts and mid-stream — read() re-checks * p
cli/structuredIO.ts:204
↓ 3 callersFunctionpreserveQuoteStyle
( oldString: string, actualOldString: string, newString: string, )
tools/FileEditTool/utils.ts:104
↓ 3 callersFunctionprintResumeHint
* Print a hint about how to resume the session. * Only shown for interactive sessions with persistence enabled.
utils/gracefulShutdown.ts:144
↓ 3 callersFunctionprocessHookJSONOutput
({ json, command, hookName, toolUseID, hookEvent, expectedHookEvent, stdout, stderr, exitCod
utils/hooks.ts:489
↓ 3 callersFunctionprocessMessagesForTeleportResume
(messages: Message[], error: Error | null)
utils/teleport.tsx:301
↓ 3 callersFunctionprocessOutputText
(text: string | string[] | undefined)
utils/notebook.ts:34
↓ 3 callersMethodprocessQueue
* Process the queue, starting tools when concurrency conditions allow
services/tools/StreamingToolExecutor.ts:140
↓ 3 callersFunctionprocessToolResultBlock
( tool: { name: string maxResultSizeChars: number mapToolResultToToolResultBlockParam: ( r
utils/toolResultStorage.ts:205
↓ 3 callersFunctionpushTeamMemory
( state: SyncState, )
services/teamMemorySync/index.ts:889
← previousnext →2,201–2,300 of 11,462, ranked by callers