MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

↓ 3 callersMethoddeleteWordBefore
()
source code/utils/Cursor.ts:918
↓ 3 callersFunctiondequeueAllMatching
( predicate: (cmd: QueuedCommand) => boolean, )
source code/utils/messageQueueManager.ts:246
↓ 3 callersFunctiondetectEncodingForResolvedPath
( resolvedPath: string, )
source code/utils/fileRead.ts:22
↓ 3 callersFunctiondetectHomebrew
()
source code/utils/nativeInstaller/packageManagers.ts:105
↓ 3 callersFunctiondetectImageFormatFromBase64
( base64Data: string, )
source code/utils/imageResizer.ts:821
↓ 3 callersFunctiondetectSessionPatternType
( pattern: string, )
source code/utils/memoryFileDetection.ts:67
↓ 3 callersFunctiondetectUnreachableRules
( context: ToolPermissionContext, options: DetectUnreachableRulesOptions, )
source code/utils/permissions/shadowedRuleDetection.ts:195
↓ 3 callersFunctiondiffEach
( prev: Screen, next: Screen, cb: DiffCallback, )
source code/ink/screen.ts:1158
↓ 3 callersFunctiondiscoverOidc
( idpIssuer: string, )
source code/services/mcp/xaaIdpLogin.ts:204
↓ 3 callersFunctiondiscoverSkillDirsForPaths
( filePaths: string[], cwd: string, )
source code/skills/loadSkillsDir.ts:863
↓ 3 callersMethoddispatch
* Dispatch an event through capture and bubble phases. * Returns true if preventDefault() was NOT called.
source code/ink/events/dispatcher.ts:187
↓ 3 callersFunctiondoInitializeTelemetry
()
source code/entrypoints/init.ts:290
↓ 3 callersMethoddone
()
source code/utils/stream.ts:51
↓ 3 callersFunctioneffortLevelToSymbol
(level: EffortLevel)
source code/components/EffortIndicator.ts:29
↓ 3 callersFunctionemit
(event: HookExecutionEvent)
source code/utils/hooks/hookEvents.ts:74
↓ 3 callersFunctionemitStatusChange
(limits: ClaudeAILimits)
source code/services/claudeAiLimits.ts:186
↓ 3 callersMethodenablePaneBorderStatus
* Enables pane border status for a window (shows pane titles).
source code/utils/swarm/backends/TmuxBackend.ts:236
↓ 3 callersFunctionencodeChunk
(data: Uint8Array)
source code/upstreamproxy/relay.ts:68
↓ 3 callersFunctionendInteractionSpan
()
source code/utils/telemetry/sessionTracing.ts:239
↓ 3 callersMethodendOfLogicalLine
()
source code/utils/Cursor.ts:497
↓ 3 callersFunctionendToolSpan
(toolResult?: string, resultTokens?: number)
source code/utils/telemetry/sessionTracing.ts:693
↓ 3 callersFunctionenhanceSystemPromptWithEnvDetails
( existingSystemPrompt: string[], model: string, additionalWorkingDirectories?: string[], enabledToolN
source code/constants/prompts.ts:762
↓ 3 callersFunctionenqueueRemoteNotification
* Enqueue a remote task notification to the message queue.
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:168
↓ 3 callersFunctionensureMemoryDirExists
(memoryDir: string)
source code/memdir/memdir.ts:131
↓ 3 callersFunctionensureOutputDir
* Ensure the task output directory exists
source code/utils/task/diskOutput.ts:67
↓ 3 callersFunctionensureParserInitialized
()
source code/utils/bash/bashParser.ts:41
↓ 3 callersFunctionensureTaskListLockFile
* Ensures the lock file exists for a task list
source code/utils/tasks.ts:513
↓ 3 callersFunctionensureTasksDir
(taskListId: string)
source code/utils/tasks.ts:235
↓ 3 callersFunctionescapeRegExp
(str: string)
source code/utils/stringUtils.ts:11
↓ 3 callersFunctionevictTerminalTask
( taskId: string, setAppState: SetAppState, )
source code/utils/task/framework.ts:127
↓ 3 callersFunctionexcludeToolsByServer
( tools: Tool[], serverName: string, )
source code/services/mcp/utils.ts:117
↓ 3 callersFunctionexecFilePromise
( cmd: string, args: string[], )
source code/utils/settings/mdm/rawRead.ts:34
↓ 3 callersFunctionexecuteConfigChangeHooks
( source: ConfigChangeSource, filePath?: string, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, )
source code/utils/hooks.ts:4216
↓ 3 callersFunctionexecuteOpenLine
( direction: 'above' | 'below', ctx: OperatorContext, )
source code/vim/operators.ts:399
↓ 3 callersFunctionexecutePermissionRequestHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolUseContext: ToolUseContext, permiss
source code/utils/hooks.ts:4159
↓ 3 callersFunctionexecutePreCompactHooks
( compactData: { trigger: 'manual' | 'auto' customInstructions: string | null }, signal?: AbortS
source code/utils/hooks.ts:3963
↓ 3 callersFunctionexecuteSessionEndHooks
( reason: ExitReason, options?: { getAppState?: () => AppState setAppState?: (updater: (prev: AppS
source code/utils/hooks.ts:4099
↓ 3 callersFunctionexecuteStopFailureHooks
( lastMessage: AssistantMessage, toolUseContext?: ToolUseContext, timeoutMs: number = TOOL_HOOK_EXECUTIO
source code/utils/hooks.ts:3596
↓ 3 callersFunctionexecuteWorktreeCreateHook
( name: string, )
source code/utils/hooks.ts:4930
↓ 3 callersFunctionexitWithMessage
(message: string)
source code/cli/structuredIO.ts:778
↓ 3 callersFunctionexpandEnvVarsInString
(value: string)
source code/services/mcp/envExpansion.ts:12
↓ 3 callersFunctionexpandPastedTextRefs
( input: string, pastedContents: Record<number, PastedContent>, )
source code/history.ts:83
↓ 3 callersFunctionexpandTilde
(path: string)
source code/utils/permissions/pathValidation.ts:82
↓ 3 callersFunctionextractClaudeCodeHints
( output: string, command: string, )
source code/utils/claudeCodeHints.ts:74
↓ 3 callersFunctionextractFirstPrompt
(transcript: TranscriptMessage[])
source code/utils/sessionStorage.ts:1727
↓ 3 callersFunctionextractPrefixFromElement
* Extract a static prefix from a single parsed command element. * Returns null for commands we won't suggest (shells, eval cmdlets, path-like * invo
source code/utils/powershell/staticPrefix.ts:32
↓ 3 callersFunctionextractQuotaStatusFromError
(error: APIError)
source code/services/claudeAiLimits.ts:489
↓ 3 callersFunctionextractReadFilesFromMessages
( messages: Message[], cwd: string, maxSize: number = ASK_READ_FILE_STATE_CACHE_SIZE, )
source code/utils/queryHelpers.ts:348
↓ 3 callersFunctionextractRequestId
* Extract the API request_id (req_xxx) that the SDK attaches as a * non-enumerable `_request_id` property on response objects.
source code/utils/permissions/yoloClassifier.ts:626
↓ 3 callersFunctionextractResultText
( agentMessages: Message[], defaultText = 'Execution completed', )
source code/utils/forkedAgent.ts:239
↓ 3 callersFunctionextractSystemReminderContent
* Check if text is entirely a system reminder (wrapped in <system-reminder> tags). * Returns the inner content if it is, null otherwise.
source code/utils/telemetry/betaSessionTracing.ts:151
↓ 3 callersFunctionextractTaggedBullets
(tagName: string)
source code/utils/permissions/yoloClassifier.ts:110
↓ 3 callersMethodfeed
Feed input and get resulting actions
source code/ink/termio/parser.ts:289
↓ 3 callersFunctionfetchAndLoadPolicyLimits
* Fetch and load policy limits with file caching * Fails open - returns null if fetch fails and no cache exists
source code/services/policyLimits/index.ts:434
↓ 3 callersFunctionfetchAndLoadRemoteManagedSettings
* Fetch and load remote settings with file caching * Internal function that handles the full load/fetch logic * Fails open - returns null if fetch f
source code/services/remoteManagedSettings/index.ts:417
↓ 3 callersFunctionfetchOfficialMarketplaceFromGcs
( installLocation: string, marketplacesCacheDir: string, )
source code/utils/plugins/officialMarketplaceGcs.ts:49
↓ 3 callersFunctionfetchRemoteCredentials
( sessionId: string, baseUrl: string, accessToken: string, timeoutMs: number, )
source code/bridge/remoteBridgeCore.ts:933
↓ 3 callersFunctionfetchSessionLogsFromUrl
* Shared implementation for fetching session logs from a URL
source code/services/api/sessionIngress.ts:422
↓ 3 callersFunctionfetchUtilization
()
source code/services/api/usage.ts:35
↓ 3 callersFunctionfileHistoryGetDiffStats
( state: FileHistoryState, messageId: UUID, )
source code/utils/fileHistory.ts:416
↓ 3 callersFunctionfileHistoryMakeSnapshot
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, messag
source code/utils/fileHistory.ts:200
↓ 3 callersFunctionfilterDeniedAgents
( agents: T[], context: ToolPermissionContext, agentToolName: string, )
source code/utils/permissions/permissions.ts:327
↓ 3 callersFunctionfilterOrphanedThinkingOnlyMessages
( messages: Message[], )
source code/utils/messages.ts:4999
↓ 3 callersFunctionfilterOutFlags
* SECURITY: Extract positional (non-flag) arguments, correctly handling the * POSIX `--` end-of-options delimiter. * * Most commands (rm, cat, touc
source code/tools/BashTool/pathValidation.ts:128
↓ 3 callersFunctionfilterRulesByContentsMatchingInput
* Filter rules by contents matching an input command. * PowerShell-specific: uses case-insensitive matching throughout. * Follows the same structure
source code/tools/PowerShellTool/powershellPermissions.ts:172
↓ 3 callersFunctionfilterRulesByContentsMatchingInput
( input: z.infer<typeof BashTool.inputSchema>, rules: Map<string, PermissionRule>, matchMode: 'exact' |
source code/tools/BashTool/bashPermissions.ts:780
↓ 3 callersFunctionfilterWhitespaceOnlyAssistantMessages
( messages: Message[], )
source code/utils/messages.ts:4877
↓ 3 callersFunctionfinalizeAgentTool
( agentMessages: MessageType[], agentId: string, metadata: { prompt: string resolvedAgentModel:
source code/tools/AgentTool/agentToolUtils.ts:278
↓ 3 callersFunctionfinalizeHook
( hook: PendingAsyncHook, exitCode: number, outcome: 'success' | 'error' | 'cancelled', )
source code/utils/hooks/AsyncHookRegistry.ts:93
↓ 3 callersMethodfindCharacter
* Find a character using vim f/F/t/T semantics. * * @param char - The character to find * @param type - 'f' (forward to), 'F' (backward to),
source code/utils/Cursor.ts:1064
↓ 3 callersFunctionfindExecutable
* Find an executable using where.exe on Windows * @param executable - The name of the executable to find * @returns The path to the executable or nu
source code/utils/windowsPaths.ts:31
↓ 3 callersMethodfindLogicalLineEnd
(fromOffset: number = this.offset)
source code/utils/Cursor.ts:470
↓ 3 callersMethodfindLogicalLineStart
(fromOffset: number = this.offset)
source code/utils/Cursor.ts:465
↓ 3 callersFunctionfindMidInputSlashCommand
( input: string, cursorOffset: number, )
source code/utils/suggestions/commandSuggestions.ts:116
↓ 3 callersFunctionfindProjectSkill
()
source code/utils/hooks/skillImprovement.ts:60
↓ 3 callersFunctionfindUltraplanTriggerPositions
(text: string)
source code/utils/ultraplan/keyword.ts:99
↓ 3 callersFunctionfinish
(msg: string)
source code/commands/plugin/BrowseMarketplace.tsx:546
↓ 3 callersFunctionfinish
(msg: string)
source code/commands/plugin/ManagePlugins.tsx:1635
↓ 3 callersFunctionfinish
(msg: string)
source code/commands/plugin/DiscoverPlugins.tsx:471
↓ 3 callersFunctionfireRawRead
()
source code/utils/settings/mdm/rawRead.ts:57
↓ 3 callersFunctionfirstGrapheme
(text: string)
source code/utils/intl.ts:28
↓ 3 callersMethodflush
* Send the DA1 sentinel. Resolves when DA1's response arrives. * * As a side effect, all queries still pending when DA1 arrives are * resolve
source code/ink/terminal-querier.ts:172
↓ 3 callersMethodflush
* Block until all pending events are POSTed. Used by bridge's initial * history flush so onStateChange('connected') fires after persistence.
source code/cli/transports/HybridTransport.ts:151
↓ 3 callersFunctionflushAndCleanup
(shellCommand: ShellCommand)
source code/tasks/LocalShellTask/LocalShellTask.tsx:517
↓ 3 callersFunctionflushLogs
()
source code/services/analytics/datadog.ts:104
↓ 3 callersFunctionflushRegex
()
source code/utils/bash/bashParser.ts:3041
↓ 3 callersMethodflushStreamEventBuffer
* Drain the stream_event delay buffer: accumulate text_deltas into * full-so-far snapshots, clear the timer, enqueue the resulting events. * Cal
source code/cli/transports/ccrClient.ts:773
↓ 3 callersMethodfocus
(node: DOMElement)
source code/ink/focus.ts:29
↓ 3 callersFunctionforceExit
* Force process exit, handling the case where the terminal is gone. * When the terminal/PTY is closed (e.g., SIGHUP), process.exit() can throw * EIO
source code/utils/gracefulShutdown.ts:195
↓ 3 callersFunctionformatAPIError
(error: APIError)
source code/services/api/errorUtils.ts:202
↓ 3 callersFunctionformatAsTeammateMessage
* Formats a message as <teammate-message> XML for injection into the conversation. * This ensures the model sees messages in the same format as tmux
source code/utils/swarm/inProcessRunner.ts:459
↓ 3 callersFunctionformatLimitInfo
( appliedLimit: number | undefined, appliedOffset: number | undefined, )
source code/tools/GrepTool/GrepTool.ts:136
↓ 3 callersFunctionformatLogMetadata
(log: { modified: Date messageCount: number fileSize?: number gitBranch?: string tag?: string agen
source code/utils/format.ts:205
↓ 3 callersFunctionformatMarketplaceLoadingErrors
( failures: Array<{ name: string; error: string }>, successCount: number, )
source code/utils/plugins/marketplaceHelpers.ts:121
↓ 3 callersFunctionformatPermissionSource
(source: PermissionRuleSource)
source code/utils/permissions/permissionSetup.ts:249
↓ 3 callersFunctionformatRelativeTime
( date: Date, options: RelativeTimeOptions & { now?: Date } = {}, )
source code/utils/format.ts:146
↓ 3 callersFunctionformatReplacementValue
(options: { displayText: string; mode: string; hasAtPrefix: boolean; needsQuotes: boolean; isQuoted?
source code/hooks/useTypeahead.tsx:150
↓ 3 callersFunctionformatRulesForCritique
( section: string, userRules: string[], defaultRules: string[], )
source code/cli/handlers/autoMode.ts:153
↓ 3 callersFunctionformatSnippet
({ before, match, after }: Snippet, highlightColor: (text: string) => string)
source code/components/LogSelector.tsx:86
↓ 3 callersFunctionformatTotalCost
()
source code/cost-tracker.ts:230
← previousnext →1,801–1,900 of 11,462, ranked by callers