MCPcopy Create free account

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

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

↓ 11 callersFunctionpermissionRuleValueFromString
( ruleString: string, )
utils/permissions/permissionRuleParser.ts:93
↓ 11 callersFunctionpermissionRuleValueFromString
( ruleString: string, )
utils/sandbox/sandbox-adapter.ts:63
↓ 11 callersFunctionprepareUserContent
({ inputString, precedingInputBlocks, }: { inputString: string precedingInputBlocks: ContentBlockParam
utils/messages.ts:525
↓ 11 callersFunctionprocessMemoryFile
( filePath: string, type: MemoryType, processedPaths: Set<string>, includeExternal: boolean, depth:
utils/claudemd.ts:618
↓ 11 callersFunctionprocessSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', { sessionId, agentType, model, force
utils/sessionStart.ts:35
↓ 11 callersFunctionrecordTranscript
( messages: Message[], teamInfo?: TeamInfo, startingParentUuidHint?: UUID, allMessages?: readonly Mess
utils/sessionStorage.ts:1408
↓ 11 callersMethodrender
(node: ReactNode)
ink/ink.tsx:1442
↓ 11 callersMethodreportState
Report worker state to CCR via PUT /sessions/{id}/worker.
cli/transports/ccrClient.ts:645
↓ 11 callersMethodrequest
* Send an authenticated HTTP request to CCR. Handles auth headers, * 409 epoch mismatch, and error logging. Returns { ok: true } on 2xx. * On 42
cli/transports/ccrClient.ts:556
↓ 11 callersFunctionrequireComputerUseInput
()
utils/computerUse/inputLoader.ts:22
↓ 11 callersFunctionresetSettingsCache
()
utils/settings/settingsCache.ts:55
↓ 11 callersFunctionresolveEdgeRaw
(edges: Value[], physicalEdge: number)
native-ts/yoga-layout/index.ts:233
↓ 11 callersFunctionsetNeedsAutoModeExitAttachment
(value: boolean)
bootstrap/state.ts:1369
↓ 11 callersFunctionsetOriginalCwd
(cwd: string)
bootstrap/state.ts:515
↓ 11 callersFunctionsetUseCoworkPlugins
(value: boolean)
bootstrap/state.ts:1255
↓ 11 callersMethodstop
()
utils/claudeInChrome/chromeNativeHost.ts:193
↓ 11 callersFunctionstr
(k: string)
components/messageActions.tsx:69
↓ 11 callersFunctiontokenCountWithEstimation
(messages: readonly Message[])
utils/tokens.ts:226
↓ 11 callersFunctionupdateTaskState
* Updates task state in AppState.
utils/swarm/inProcessRunner.ts:519
↓ 11 callersFunctionuseAnimationFrame
( intervalMs: number | null = 16, )
ink/hooks/use-animation-frame.ts:30
↓ 11 callersFunctionuseInterval
( callback: () => void, intervalMs: number | null, )
ink/hooks/use-interval.ts:43
↓ 10 callersFunctionbuildPluginTelemetryFields
( name: string, marketplace: string | undefined, managedNames: Set<string> | null = null, )
utils/telemetry/pluginTelemetry.ts:133
↓ 10 callersFunctioncleanup
()
hooks/useDiffInIDE.ts:234
↓ 10 callersFunctionclearBridgePointer
(dir: string)
bridge/bridgePointer.ts:190
↓ 10 callersFunctionclearKeychainCache
()
utils/secureStorage/macOsKeychainHelpers.ts:87
↓ 10 callersMethodclose
()
services/oauth/auth-code-listener.ts:199
↓ 10 callersFunctioncreateSyntheticUserCaveatMessage
()
utils/messages.ts:566
↓ 10 callersFunctioncreateTaskStateBase
( id: string, type: TaskType, description: string, toolUseId?: string, )
Task.ts:108
↓ 10 callersFunctionderiveSecurityFlags
( parsed: ParsedPowerShellCommand, )
utils/powershell/parser.ts:1728
↓ 10 callersFunctiondescribeMcpConfigFilePath
(scope: ConfigScope)
services/mcp/utils.ts:263
↓ 10 callersFunctiondone
(timedOut: boolean)
utils/process.ts:55
↓ 10 callersFunctiondrainRunLoop
(fn: () => Promise<T>)
utils/computerUse/drainRunLoop.ts:61
↓ 10 callersFunctionemitSequence
(seq: string)
ink/termio/tokenize.ts:127
↓ 10 callersMethodequals
(other: Cursor)
utils/Cursor.ts:991
↓ 10 callersFunctionformatModelPricing
(costs: ModelCosts)
utils/modelCost.ts:217
↓ 10 callersFunctionformatShortcut
Format a shortcut for display in the help menu (e.g., "ctrl+o" → "ctrl + o")
components/PromptInput/PromptInputHelpMenu.tsx:13
↓ 10 callersFunctiongetAccessToken
()
main.tsx:3322
↓ 10 callersFunctiongetBaseDirectories
()
utils/nativeInstaller/installer.ts:115
↓ 10 callersMethodgetComputedBorder
(edge: LayoutEdge)
ink/layout/yoga.ts:124
↓ 10 callersFunctiongetContextWindowForModel
( model: string, betas?: string[], )
utils/context.ts:51
↓ 10 callersFunctiongetCurrentSessionTitle
( sessionId: SessionId, )
utils/sessionStorage.ts:2739
↓ 10 callersFunctiongetLastAssistantMessage
( messages: Message[], )
utils/messages.ts:331
↓ 10 callersFunctiongetMcpPrefix
(serverName: string)
services/mcp/mcpStringUtils.ts:39
↓ 10 callersFunctiongetModeColor
(mode: PermissionMode)
utils/permissions/PermissionMode.ts:139
↓ 10 callersFunctiongetModeFromInput
(input: string)
components/PromptInput/inputModes.ts:16
↓ 10 callersFunctiongetPathsForPermissionCheck
(inputPath: string)
utils/fsOperations.ts:288
↓ 10 callersFunctiongetPerformance
()
utils/profilerBase.ts:14
↓ 10 callersFunctiongetPluginById
(pluginId: string)
utils/plugins/marketplaceManager.ts:2238
↓ 10 callersFunctiongetPollIntervalConfig
()
bridge/pollConfig.ts:102
↓ 10 callersFunctiongetProjectsDir
()
utils/sessionStorage.ts:198
↓ 10 callersFunctiongetSystemPrompt
( tools: Tools, model: string, additionalWorkingDirectories?: string[], mcpClients?: MCPServerConnecti
constants/prompts.ts:444
↓ 10 callersFunctiongetTasksDir
(taskListId: string)
utils/tasks.ts:221
↓ 10 callersFunctiongetTheme
(themeName: ThemeName)
utils/theme.ts:598
↓ 10 callersFunctiongetVersionedCachePath
( pluginId: string, version: string, )
utils/plugins/pluginLoader.ts:172
↓ 10 callersFunctionhasSelection
(s: SelectionState)
ink/selection.ts:676
↓ 10 callersFunctionisFirstPartyAnthropicBaseUrl
()
utils/model/providers.ts:25
↓ 10 callersFunctionisIdentChar
(c: string)
utils/bash/bashParser.ts:230
↓ 10 callersFunctionisMarginAuto
(edges: Value[], physicalEdge: number)
native-ts/yoga-layout/index.ts:250
↓ 10 callersFunctionisMcpTool
(tool: Tool)
services/mcp/utils.ts:245
↓ 10 callersFunctionisMcpbSource
(source: string)
utils/plugins/mcpbHandler.ts:79
↓ 10 callersMethodisOverWhitespace
()
utils/Cursor.ts:986
↓ 10 callersFunctionisRestrictedToPluginOnly
( surface: CustomizationSurface, )
utils/settings/pluginOnlyPolicy.ts:19
↓ 10 callersFunctionisTeamLead
( teamContext: | { leadAgentId: string } | undefined, )
utils/teammate.ts:171
↓ 10 callersFunctionmakeError
(error: string)
bridge/bridgeMain.ts:1870
↓ 10 callersFunctionmatchWildcardPattern
( pattern: string, command: string, )
tools/BashTool/bashPermissions.ts:353
↓ 10 callersFunctionnormalizeApiKeyForConfig
(apiKey: string)
utils/authPortable.ts:17
↓ 10 callersFunctionnormalizeMessagesForAPI
( messages: Message[], tools: Tools = [], )
utils/messages.ts:1989
↓ 10 callersFunctionnotifySubscribers
()
utils/messageQueueManager.ts:58
↓ 10 callersMethodonError
(event: Event)
utils/mcpWebSocketTransport.ts:38
↓ 10 callersFunctionpackWord1
( styleId: number, hyperlinkId: number, width: number, )
ink/screen.ts:342
↓ 10 callersFunctionparse
* Parse a command string and return a ParsedCommand instance. * Returns null if parsing fails completely.
utils/bash/ParsedCommand.ts:310
↓ 10 callersFunctionprependBullets
(items: Array<string | string[]>)
constants/prompts.ts:167
↓ 10 callersFunctionreadFileSync
(filePath: string)
utils/fileRead.ts:100
↓ 10 callersFunctionregisterTask
(task: TaskState, setAppState: SetAppState)
utils/task/framework.ts:77
↓ 10 callersFunctionrunTmuxInSwarm
* Runs a tmux command in the external swarm socket. * Use this for operations in the standalone swarm session (when user is not in tmux).
utils/swarm/backends/TmuxBackend.ts:87
↓ 10 callersFunctionselectFooterItem
(item: FooterItem | null)
components/PromptInput/PromptInput.tsx:481
↓ 10 callersFunctionsemanticNumber
( inner: T = z.number() as unknown as T, )
utils/semanticNumber.ts:26
↓ 10 callersFunctionsetClipboard
(text: string)
ink/termio/osc.ts:138
↓ 10 callersFunctionsetField
(fieldName_0: string, value: number | string | boolean | string[] | undefined)
components/mcp/ElicitationDialog.tsx:328
↓ 10 callersFunctionshouldAllowManagedHooksOnly
()
utils/hooks/hooksConfigSnapshot.ts:62
↓ 10 callersFunctionsliceAnsi
( str: string, start: number, end?: number, )
utils/sliceAnsi.ts:26
↓ 10 callersFunctiontruncateContent
( content: string, maxSize: number = MAX_CONTENT_SIZE, )
utils/telemetry/betaSessionTracing.ts:103
↓ 10 callersFunctionvalidateUuid
(maybeUuid: unknown)
utils/uuid.ts:12
↓ 10 callersFunctionwrite
(msg)
bridge/replBridgeTransport.ts:271
↓ 9 callersFunctioncacheMarketplaceFromGit
* Cache a marketplace from a git repository * * Clones or updates a git repository containing marketplace data. * If the repository already exists
utils/plugins/marketplaceManager.ts:1084
↓ 9 callersFunctionclamp
(value: number, min?: number, max?: number)
ink/layout/geometry.ts:93
↓ 9 callersFunctionclearMemoryFileCaches
()
utils/claudemd.ts:1119
↓ 9 callersFunctionclearPluginCache
(reason?: string)
utils/plugins/pluginLoader.ts:3225
↓ 9 callersFunctioncommandBelongsToServer
( command: Command, serverName: string, )
services/mcp/utils.ts:52
↓ 9 callersFunctioncreateCombinedAbortSignal
( signal: AbortSignal | undefined, opts?: { signalB?: AbortSignal; timeoutMs?: number }, )
utils/combinedAbortSignal.ts:15
↓ 9 callersFunctioncreateCommandInputMessage
( content: string, )
utils/messages.ts:4516
↓ 9 callersFunctiondecreset
(mode: number)
ink/termio/dec.ts:32
↓ 9 callersFunctiondecset
(mode: number)
ink/termio/dec.ts:27
↓ 9 callersFunctionextractCompletionToken
(text: string, cursorPos: number, includeAtSymbol = false)
hooks/useTypeahead.tsx:261
↓ 9 callersFunctionextractRules
( updates: PermissionUpdate[] | undefined, )
utils/permissions/PermissionUpdate.ts:30
↓ 9 callersMethodflush
()
utils/sessionStorage.ts:841
↓ 9 callersFunctionformatMs
(ms: number)
utils/profilerBase.ts:22
↓ 9 callersFunctiongenerateBarChart
( data: Record<string, number>, color: string, maxItems = 6, fixedOrder?: string[], )
commands/insights.ts:1824
↓ 9 callersFunctiongetAgentContext
()
utils/agentContext.ts:100
↓ 9 callersFunctiongetAgentMemoryDir
( agentType: string, scope: AgentMemoryScope, )
tools/AgentTool/agentMemory.ts:52
← previousnext →401–500 of 11,462, ranked by callers