MCPcopy Create free account

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

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

FunctiondoWork
()
cli/print.ts:1556
Functiondone
()
services/mcpServerApproval.tsx:24
Functiondrag
* `from === undefined` → drag from current cursor (training's * left_click_drag with start_coordinate omitted). Inner `finally`: the * butto
utils/computerUse/executor.ts:579
Functiondrain
(sock)
upstreamproxy/relay.ts:215
FunctiondrainPendingExtraction
( timeoutMs?: number, )
services/extractMemories/extractMemories.ts:611
FunctiondrainTick
(cu: ReturnType<typeof requireComputerUseSwift>)
utils/computerUse/drainRunLoop.ts:20
FunctiondroppedBatchCount
()
bridge/replBridgeTransport.ts:95
MethoddroppedBatchCount
Snapshot before/after writeBatch() to detect silent drops.
cli/transports/HybridTransport.ts:141
MethoddroppedBatchCount
* Monotonic count of batches dropped via maxConsecutiveFailures. Callers * can snapshot before flush() and compare after to detect silent drops
cli/transports/SerialBatchEventUploader.ts:84
FunctiondumpRequest
( body: string, ts: string, state: DumpState, filePath: string, )
services/api/dumpPrompts.ts:90
Functionedges
(a: number, b?: number, c?: number, d?: number)
ink/layout/geometry.ts:30
Functionemit
(...args)
utils/signal.ts:36
FunctionemitPerfettoCounter
( name: string, values: Record<string, number>, )
utils/telemetry/perfettoTracing.ts:863
FunctionemitPerfettoInstant
( name: string, category: string, args?: Record<string, unknown>, )
utils/telemetry/perfettoTracing.ts:840
MethodemitRefreshEvent
( outcome: 'success' | 'failure', reason?: MCPRefreshFailureReason, )
services/mcp/auth.ts:2183
FunctionemitTaskProgress
(params: { taskId: string toolUseId: string | undefined description: string startTime: number totalT
utils/task/sdkProgress.ts:10
Methodenable
()
ink/focus.ts:94
MethodenablePaneBorderStatus
* No-op for iTerm2 - pane titles are shown in tabs automatically.
utils/swarm/backends/ITermBackend.ts:294
MethodendOfFile
()
utils/Cursor.ts:1034
MethodendOfWord
()
utils/Cursor.ts:580
Methodenqueue
* Add events to the pending buffer. Returns immediately if space is * available. Blocks (awaits) if the buffer is full — caller pauses * until d
cli/transports/SerialBatchEventUploader.ts:101
FunctionenqueueUltraplanFailureNotification
(taskId: string, sessionId: string, reason: string, setAppState: SetAppState)
tasks/RemoteAgentTask/RemoteAgentTask.tsx:225
FunctionensureDeepLinkProtocolRegistered
()
utils/deepLink/registerProtocol.ts:298
MethodensureFileOpened
* Ensure a file is opened in the IDE before processing. * This is important for language services like diagnostics to work properly.
services/diagnosticTracking.ts:103
FunctionensureInitialized
()
utils/bash/parser.ts:50
FunctionensureSystemReminderWrap
* Ensure all text content in attachment-origin messages carries the * <system-reminder> wrapper. This makes the prefix a reliable discriminator * fo
utils/messages.ts:1797
FunctionenvironmentId
()
bridge/replBridge.ts:1682
Methodequals
(other: WrappedLine)
utils/Cursor.ts:1116
FunctioneraseLine
()
ink/termio/csi.ts:207
FunctioneraseScreen
()
ink/termio/csi.ts:225
FunctioneraseToEndOfLine
()
ink/termio/csi.ts:197
FunctioneraseToEndOfScreen
()
ink/termio/csi.ts:215
FunctioneraseToStartOfLine
()
ink/termio/csi.ts:202
FunctioneraseToStartOfScreen
()
ink/termio/csi.ts:220
Functionerror
(sock, err)
upstreamproxy/relay.ts:230
Methoderror
(message: string, ..._: unknown[])
utils/telemetry/logger.ts:5
MethodeventPhase
()
ink/events/terminal-event.ts:47
FunctionevictOldestEventsForTesting
()
utils/telemetry/perfettoTracing.ts:1118
FunctionevictStaleSpansForTesting
()
utils/telemetry/perfettoTracing.ts:1113
FunctionexchangeCodeForTokens
( authorizationCode: string, state: string, codeVerifier: string, port: number, useManualRedirect: b
services/oauth/client.ts:107
FunctionexecuteExtractMemories
( context: REPLHookContext, appendSystemMessage?: AppendSystemMessageFn, )
services/extractMemories/extractMemories.ts:598
FunctionexecuteInSpan
( spanName: string, fn: (span: Span) => Promise<T>, attributes?: Record<string, string | number | boolea
utils/telemetry/sessionTracing.ts:788
Functionexit
()
ink/components/AppContext.ts:15
FunctionexitWithError
(root: Root, message: string, beforeExit?: () => Promise<void>)
interactiveHelpers.tsx:52
Methodexport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
utils/telemetry/bigqueryExporter.ts:63
Methodexport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
services/analytics/firstPartyEventLoggingExporter.ts:277
FunctionextractArgsAfterDoubleDash
( commandOrValue: string, args: string[] = [], )
utils/cliArgs.ts:49
FunctionextractLspServersFromPlugins
( plugins: LoadedPlugin[], errors: PluginError[] = [], )
utils/plugins/lspPluginIntegration.ts:363
FunctionextractMcpServersFromPlugins
( plugins: LoadedPlugin[], errors: PluginError[] = [], )
utils/plugins/mcpPluginIntegration.ts:366
FunctionextractMessageText
* Extracts searchable text content from a message.
utils/agenticSessionSearch.ts:57
FunctionextractPlanFromLog
(log: SDKMessage[])
tasks/RemoteAgentTask/RemoteAgentTask.tsx:208
FunctionextractPromptDescription
( _ruleContent: string | undefined, )
utils/permissions/bashClassifier.ts:14
FunctionextractSearchText
()
tools/FileReadTool/FileReadTool.ts:414
FunctionextractSearchText
()
tools/WebSearchTool/WebSearchTool.ts:204
FunctionextractSearchText
()
tools/FileWriteTool/FileWriteTool.ts:146
FunctionextractSearchText
({ stdout, stderr })
tools/BashTool/BashTool.tsx:549
FunctionextractSearchText
({ mode, content, filenames })
tools/GrepTool/GrepTool.ts:250
FunctionextractSearchableText
(message: SerializedMessage)
components/LogSelector.tsx:1507
FunctionextractUnknownErrorFormat
(value: unknown)
services/api/errors.ts:411
FunctionfailAgentTask
(taskId: string, error: string, setAppState: SetAppState)
tasks/LocalAgentTask/LocalAgentTask.tsx:437
Functionfeed
(input: string)
ink/termio/tokenize.ts:63
FunctionfetchRemoteCredentials
( sessionId: string, baseUrl: string, accessToken: string, timeoutMs: number, trustedDeviceToken?: s
bridge/codeSessionApi.ts:93
FunctionfilterCommandsByServer
( commands: Command[], serverName: string, )
services/mcp/utils.ts:70
FunctionfilterGeneratedFiles
(files: string[])
utils/generatedFiles.ts:134
FunctionfilterResourcesByServer
( resources: ServerResource[], serverName: string, )
services/mcp/utils.ts:102
Functionfinalize
()
services/voiceStreamSTT.ts:239
FunctionfinalizeInitialChildren
( _node: DOMElement, _type: ElementNames, props: Props, )
ink/reconciler.ts:394
FunctionfindExecutable
( exe: string, args: string[], )
utils/findExecutable.ts:11
FunctionfindMissingPlugins
( enabledPlugins: string[], )
utils/plugins/pluginStartupCheck.ts:216
FunctionfindOwnerChainAtRow
(root: DOMElement, y: number)
ink/dom.ts:465
FunctionfindWindowDisplays
( bundleIds: string[], )
utils/computerUse/executor.ts:362
MethodfirstNonBlankInLine
()
utils/Cursor.ts:444
Functionflush
()
utils/asciicast.ts:221
Functionflush
()
ink/termio/tokenize.ts:76
Functionflush
()
bridge/replBridgeTransport.ts:333
Functionflush
()
context/stats.tsx:123
Methodflush
()
utils/task/TaskOutput.ts:368
Methodflush
* Block until all pending events have been sent. * Used at turn boundaries and graceful shutdown.
cli/transports/SerialBatchEventUploader.ts:125
FunctionflushAsciicastRecorder
()
utils/asciicast.ts:131
FunctionflushDebugLogs
()
utils/debug.ts:198
MethodflushInternalEvents
Flush pending internal events. No-op for non-remote IO. Overridden by RemoteIO.
cli/structuredIO.ts:190
MethodflushInternalEvents
* Flush pending internal events. Call between turns and on shutdown * to ensure transcript entries are persisted.
cli/transports/ccrClient.ts:820
FunctionflushTaskOutput
(taskId: string)
utils/task/diskOutput.ts:276
FunctionfoldShutdown
( acc: Notification, _incoming: Notification, )
hooks/notifs/useTeammateShutdownNotification.ts:32
FunctionfoldSpawn
(acc: Notification, _incoming: Notification)
hooks/notifs/useTeammateShutdownNotification.ts:18
FunctionforceKill
()
bridge/sessionRunner.ts:504
FunctionforegroundMainSessionTask
( taskId: string, setAppState: SetAppState, )
tasks/LocalMainSessionTask.ts:270
FunctionforkSession
( _sessionId: string, _options?: ForkSessionOptions, )
entrypoints/agentSdkTypes.ts:268
FunctionformatDeferredToolLine
(tool: Tool)
tools/ToolSearchTool/prompt.ts:115
FunctionformatDirectoryList
(directories: string[])
utils/permissions/pathValidation.ts:38
FunctionformatListWithAnd
(items: string[], limit?: number)
components/TrustDialog/utils.ts:79
FunctionformatLocalTime
(minute: number, hour: number)
utils/cron.ts:200
FunctionformatPreconditionError
(error: BackgroundRemoteSessionPrecondition)
tasks/RemoteAgentTask/RemoteAgentTask.tsx:146
FunctionformatReleaseNoteForDisplay
( note: string, maxWidth: number, )
utils/logoV2Utils.ts:231
FunctionformatTeammateMessages
( messages: Array<{ from: string text: string timestamp: string color?: string summary?:
utils/teammateMailbox.ts:373
FunctionformatUtcTimeAsLocal
(minute: number, hour: number)
utils/cron.ts:207
FunctionformatWarnings
(warnings: KeybindingWarning[])
keybindings/validate.ts:470
Functionfree
()
native-ts/yoga-layout/index.ts:379
MethodfreeRecursive
()
native-ts/yoga-layout/index.ts:553
FunctionfromJSON
(object: any)
types/generated/events_mono/claude_code/v1/claude_code_internal_event.ts:137
← previousnext →9,801–9,900 of 11,462, ranked by callers