MCPcopy Create free account

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

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

↓ 1 callersFunctiongetUsingYourToolsSection
(enabledTools: Set<string>)
constants/prompts.ts:269
↓ 1 callersFunctiongetVSCodeIDECommandByParentProcess
()
utils/ide.ts:951
↓ 1 callersFunctiongetValidationTip
(context: TipContext)
utils/settings/validationTips.ts:140
↓ 1 callersFunctiongetVariablesByScope
( parsed: ParsedPowerShellCommand, scope: string, )
utils/powershell/parser.ts:1533
↓ 1 callersFunctiongetVerifyPlanReminderAttachment
* Get verify plan reminder attachment if the model hasn't called VerifyPlanExecution yet.
utils/attachments.ts:3894
↓ 1 callersFunctiongetVerifyPlanReminderTurnCount
(messages: Message[])
utils/attachments.ts:3872
↓ 1 callersFunctiongetVersionFromPath
(installPath: string)
utils/plugins/pluginVersioning.ts:127
↓ 1 callersFunctiongetVersionFromSymlink
( symlinkPath: string, )
utils/nativeInstaller/installer.ts:1018
↓ 1 callersMethodgetViewportCharEnd
(maxVisibleLines?: number)
utils/Cursor.ts:193
↓ 1 callersMethodgetViewportCharOffset
(maxVisibleLines?: number)
utils/Cursor.ts:186
↓ 1 callersFunctiongetWarningUpsellText
* Get the upsell command text for warning messages based on subscription and limit type. * Returns null if no upsell should be shown. * Only used fo
services/rateLimitMessages.ts:261
↓ 1 callersFunctiongetWatchTargets
* Collect settings file paths and their deduplicated parent directories to watch. * Returns all potential settings file paths for watched directories
utils/settings/changeDetector.ts:180
↓ 1 callersFunctiongetWatchablePaths
()
utils/skills/skillChangeDetector.ts:171
↓ 1 callersFunctiongetWebFetchUserAgent
()
utils/http.ts:56
↓ 1 callersFunctiongetWebSearchPrompt
()
tools/WebSearchTool/prompt.ts:5
↓ 1 callersFunctiongetWithPermittedRedirects
( url: string, signal: AbortSignal, redirectChecker: (originalUrl: string, redirectUrl: string) => boole
tools/WebFetchTool/utils.ts:262
↓ 1 callersFunctiongetWordSegmenter
()
utils/intl.ts:46
↓ 1 callersMethodgetWorkerState
()
cli/transports/ccrClient.ts:530
↓ 1 callersFunctiongetWorktreeCountFromFs
()
utils/git/gitFilesystem.ts:686
↓ 1 callersFunctiongetWriteToolDescription
()
tools/FileWriteTool/prompt.ts:10
↓ 1 callersFunctiongetXDGCacheHome
(options?: XDGOptions)
utils/xdg.ts:42
↓ 1 callersFunctiongetYesterdayDateString
()
utils/statsCache.ts:422
↓ 1 callersFunctiongetYoloClassifierApproval
( toolUseID: string, )
utils/classifierApprovals.ts:51
↓ 1 callersFunctiongetZipCacheMarketplacesDir
()
utils/plugins/zipCache.ts:97
↓ 1 callersFunctiongetZipCachePluginsDir
()
utils/plugins/zipCache.ts:108
↓ 1 callersFunctiongetZodSchema
(schema: PrimitiveSchemaDefinition)
utils/mcp/elicitationValidation.ts:135
↓ 1 callersFunctiongetZshCompletionCommand
* Generate zsh completion command using native zsh commands
utils/bash/shellCompletion.ts:163
↓ 1 callersFunctiongitClone
( gitUrl: string, targetPath: string, ref?: string, sha?: string, )
utils/plugins/pluginLoader.ts:534
↓ 1 callersFunctiongitClone
( gitUrl: string, targetPath: string, ref?: string, sparsePaths?: string[], )
utils/plugins/marketplaceManager.ts:803
↓ 1 callersFunctiongitPull
( cwd: string, ref?: string, options?: { disableCredentialHelper?: boolean; sparsePaths?: string[] }, )
utils/plugins/marketplaceManager.ts:528
↓ 1 callersFunctionglob
( filePattern: string, cwd: string, { limit, offset }: { limit: number; offset: number }, abortSignal:
utils/glob.ts:66
↓ 1 callersFunctiongraphemeWidth
(grapheme: string)
ink/termio/parser.ts:63
↓ 1 callersFunctiongroupHooksByEventAndMatcher
( appState: AppState, toolNames: string[], )
utils/hooks/hooksConfigManager.ts:270
↓ 1 callersFunctiongroupLogsBySessionId
(filteredLogs: LogOption[])
components/LogSelector.tsx:1544
↓ 1 callersFunctiongroupMessagesByApiRound
(messages: Message[])
services/compact/grouping.ts:22
↓ 1 callersFunctiongroupServersByScope
(serverList: ServerInfo[])
components/mcp/MCPListPanel.tsx:77
↓ 1 callersFunctiongrowBranch
( node: TreeNode | string, prefix: string, _isLast: boolean, depth: number = 0, )
utils/treeify.ts:55
↓ 1 callersFunctionguessMimeType
(filename: string)
tools/BriefTool/upload.ts:51
↓ 1 callersFunctionguiGotoArgv
* Build goto-line argv for a GUI editor. VS Code family uses -g file:line; * subl uses bare file:line; others don't support goto-line.
utils/editor.ts:58
↓ 1 callersFunctionhandleAdd
()
commands/plugin/AddMarketplace.tsx:45
↓ 1 callersMethodhandleAutoFocus
(node: DOMElement)
ink/focus.ts:84
↓ 1 callersFunctionhandleAutoModeTransition
( fromMode: string, toMode: string, )
bootstrap/state.ts:1373
↓ 1 callersFunctionhandleAwsCredentialError
* Clear AWS auth caches if appropriate. * @returns true if action was taken.
services/api/withRetry.ts:650
↓ 1 callersFunctionhandleBroadcast
( content: string, summary: string | undefined, context: ToolUseContext, )
tools/SendMessageTool/SendMessageTool.ts:191
↓ 1 callersFunctionhandleCancel
()
components/tasks/BackgroundTasksDialog.tsx:415
↓ 1 callersFunctionhandleCancel
()
commands/remote-setup/remote-setup.tsx:121
↓ 1 callersFunctionhandleChange
(path: string)
keybindings/loadUserBindings.ts:424
↓ 1 callersFunctionhandleChange
(path: string)
utils/settings/changeDetector.ts:268
↓ 1 callersFunctionhandleChannelEnable
* IDE-triggered channel enable. Derives the ChannelEntry from the connection's * pluginSource (IDE can't spoof kind/marketplace — we only take the se
cli/print.ts:4662
↓ 1 callersFunctionhandleClearAuth
()
components/mcp/MCPRemoteServerMenu.tsx:303
↓ 1 callersMethodhandleClickFocus
(node: DOMElement)
ink/focus.ts:88
↓ 1 callersFunctionhandleConfirm
(token: RedactedGithubToken)
commands/remote-setup/remote-setup.tsx:127
↓ 1 callersMethodhandleControlRequest
* Handle control requests from CCR (e.g., permission requests)
remote/RemoteSessionManager.ts:189
↓ 1 callersFunctionhandleCoordinatorPermission
* Handles the coordinator worker permission flow. * * For coordinator workers, automated checks (hooks and classifier) are * awaited sequentially b
hooks/toolPermission/handlers/coordinatorHandler.ts:26
↓ 1 callersFunctionhandleDenialLimitExceeded
* Check if a denial limit was exceeded and return an 'ask' result * so the user can review. Returns null if no limit was hit.
utils/permissions/permissions.ts:984
↓ 1 callersFunctionhandleFastModeOverageRejection
(reason: string | null)
utils/fastMode.ts:295
↓ 1 callersFunctionhandleFastModeRejectedByAPI
()
utils/fastMode.ts:244
↓ 1 callersFunctionhandleFastModeShortcut
(enable: boolean, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
commands/fast/fast.tsx:226
↓ 1 callersFunctionhandleGcpCredentialError
* Clear GCP auth caches if appropriate. * @returns true if action was taken.
services/api/withRetry.ts:688
↓ 1 callersFunctionhandleInitializeRequest
( request: SDKControlInitializeRequest, requestId: string, initialized: boolean, output: Stream<Stdout
cli/print.ts:4336
↓ 1 callersFunctionhandleInteractivePermission
* Handles the interactive (main-agent) permission flow. * * Pushes a ToolUseConfirm entry to the confirm queue with callbacks: * onAbort, onAllow,
hooks/toolPermission/handlers/interactiveHandler.ts:57
↓ 1 callersFunctionhandleKeyDown
(e: KeyboardEvent)
hooks/useSearchInput.ts:104
↓ 1 callersFunctionhandleKeyDown
(e: KeyboardEvent)
hooks/useBackgroundTaskNavigation.ts:147
↓ 1 callersFunctionhandleKeyDown
(e: KeyboardEvent)
hooks/useVoiceIntegration.tsx:468
↓ 1 callersFunctionhandleKeyDown
(e: KeyboardEvent)
hooks/useHistorySearch.ts:262
↓ 1 callersFunctionhandleKeyDown
(e: KeyboardEvent)
hooks/useTypeahead.tsx:1294
↓ 1 callersMethodhandleMcpClient
(socket: Socket)
utils/claudeInChrome/chromeNativeHost.ts:354
↓ 1 callersFunctionhandleMcpSetServers
( servers: Record<string, McpServerConfigForProcessTransport>, sdkState: SdkMcpState, dynamicState: Dyna
cli/print.ts:5353
↓ 1 callersFunctionhandleMcpjsonServerApprovals
(root: Root)
services/mcpServerApproval.tsx:15
↓ 1 callersFunctionhandleMemoryFileReadError
(error: unknown, filePath: string)
utils/claudemd.ts:402
↓ 1 callersFunctionhandleMessage
( recipientName: string, content: string, summary: string | undefined, context: ToolUseContext, )
tools/SendMessageTool/SendMessageTool.ts:149
↓ 1 callersMethodhandleMessage
* Handle messages from WebSocket
remote/RemoteSessionManager.ts:146
↓ 1 callersMethodhandleMessage
(messageJson: string)
utils/claudeInChrome/chromeNativeHost.ts:245
↓ 1 callersFunctionhandleModelChange
()
commands/model/model.tsx:143
↓ 1 callersFunctionhandleMouseEvent
(app: App, m: ParsedMouse)
ink/components/App.tsx:515
↓ 1 callersFunctionhandleOAuth401ErrorImpl
( failedAccessToken: string, )
utils/auth.ts:1373
↓ 1 callersFunctionhandleOrphanedPermission
( orphanedPermission: OrphanedPermission, tools: Tools, mutableMessages: Message[], processUserInputCo
utils/queryHelpers.ts:224
↓ 1 callersFunctionhandleOrphanedPermissionResponse
({ message, setAppState, onEnqueued, handledToolUseIds, }: { message: SDKControlResponse setAppSta
cli/print.ts:5241
↓ 1 callersFunctionhandlePlanApproval
( recipientName: string, requestId: string, context: ToolUseContext, )
tools/SendMessageTool/SendMessageTool.ts:434
↓ 1 callersFunctionhandlePlanApprovalResponse
( taskId: string, _response: PlanApprovalResponseMessage, setAppState: SetAppState, )
utils/inProcessTeammateHelpers.ts:77
↓ 1 callersFunctionhandlePlanRejection
( recipientName: string, requestId: string, feedback: string, context: ToolUseContext, )
tools/SendMessageTool/SendMessageTool.ts:478
↓ 1 callersMethodhandleQueryStart
* Handle the start of a new query. This method: * - Initializes the diagnostic tracker if not already initialized * - Resets the tracker if alre
services/diagnosticTracking.ts:330
↓ 1 callersFunctionhandleRedirection
( part: ParseEntry, prev: ParseEntry | undefined, next: ParseEntry | undefined, nextNext: ParseEntry |
utils/bash/commands.ts:860
↓ 1 callersFunctionhandleResult
( error: ExecFileException | null, stdout: string, stderr: string, isRetry: boolean,
utils/ripgrep.ts:358
↓ 1 callersFunctionhandleRetry
()
components/ResumeTask.tsx:81
↓ 1 callersMethodhandleSSEFrame
* Handle a single SSE frame. The event: field names the variant; data: * carries the inner proto JSON directly (no envelope). * * Worker subs
cli/transports/SSETransport.ts:425
↓ 1 callersFunctionhandleScreenshot
(stats: ClaudeCodeStats, activeTab: 'Overview' | 'Models', setStatus: (status: string | null) => void)
components/Stats.tsx:1059
↓ 1 callersFunctionhandleSecurityCheckResult
(result: SecurityCheckResult)
services/remoteManagedSettings/securityCheck.tsx:67
↓ 1 callersFunctionhandleSelect
(value: string)
components/WorktreeExitDialog.tsx:97
↓ 1 callersFunctionhandleSelect
(log: LogOption)
commands/resume/resume.tsx:136
↓ 1 callersFunctionhandleSelectOption
(value: string)
components/ExportDialog.tsx:43
↓ 1 callersFunctionhandleSetPermissionMode
( request: { mode: InternalPermissionMode }, requestId: string, toolPermissionContext: ToolPermissionCon
cli/print.ts:4568
↓ 1 callersFunctionhandleShutdownApproval
( requestId: string, context: ToolUseContext, )
tools/SendMessageTool/SendMessageTool.ts:305
↓ 1 callersFunctionhandleShutdownRejection
( requestId: string, reason: string, )
tools/SendMessageTool/SendMessageTool.ts:401
↓ 1 callersFunctionhandleShutdownRequest
( targetName: string, reason: string | undefined, context: ToolUseContext, )
tools/SendMessageTool/SendMessageTool.ts:268
↓ 1 callersFunctionhandleSpawn
* Handle spawn operation - creates a new Claude Code instance. * Uses in-process mode when enabled, otherwise uses tmux/iTerm2 split-pane view. * Fa
tools/shared/spawnMultiAgent.ts:1040
↓ 1 callersFunctionhandleSpawnSeparateWindow
* Handle spawn operation using separate windows (legacy behavior). * Creates each teammate in its own tmux window.
tools/shared/spawnMultiAgent.ts:545
↓ 1 callersFunctionhandleSpawnSplitPane
* Handle spawn operation using split-pane view (default). * When inside tmux: Creates teammates in a shared window with leader on left, teammates on
tools/shared/spawnMultiAgent.ts:305
↓ 1 callersFunctionhandleSpeculationAccept
( speculationState: ActiveSpeculationState, speculationSessionTimeSavedMs: number, setAppState: SetAppSt
services/PromptSuggestion/speculation.ts:835
↓ 1 callersFunctionhandleStash
()
components/TeleportStash.tsx:42
← previousnext →6,101–6,200 of 11,462, ranked by callers