MCPcopy Create free account

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

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

↓ 2 callersFunctiononSelect
(log_0: LogOption)
source code/screens/ResumeConversation.tsx:180
↓ 2 callersFunctiononUserMessage
(text: string, bridgeSessionId: string)
source code/bridge/initReplBridge.ts:351
↓ 2 callersFunctionopenFile
(filePath: string, content: string)
source code/services/lsp/LSPServerManager.ts:272
↓ 2 callersFunctionopenInChrome
(url: string)
source code/utils/claudeInChrome/common.ts:431
↓ 2 callersFunctionopener
* Shared opener for both extract-prompt variants.
source code/services/extractMemories/prompts.ts:31
↓ 2 callersFunctionoptimize
(diff: Diff)
source code/ink/optimizer.ts:18
↓ 2 callersMethodpaginatedGet
* Paginated GET with retry. Fetches all pages from a list endpoint, * retrying each page on failure with exponential backoff + jitter.
source code/cli/transports/ccrClient.ts:866
↓ 2 callersFunctionparallelWithLimit
* Execute promises with limited concurrency * * @param items - Items to process * @param fn - Async function to apply to each item * @param concur
source code/services/api/filesApi.ts:282
↓ 2 callersFunctionparseAgentsFromJson
( agentsJson: unknown, source: SettingSource = 'flagSettings', )
source code/tools/AgentTool/loadAgentsDir.ts:523
↓ 2 callersFunctionparseAndOr
* Parse pipeline chains joined by && ||. Left-associative nesting. * tree-sitter quirk: trailing redirect on the last pipeline wraps the ENTIRE * li
source code/utils/bash/bashParser.ts:881
↓ 2 callersFunctionparseAndValidateManifestFromBytes
( manifestData: Uint8Array, )
source code/utils/dxt/helpers.ts:58
↓ 2 callersFunctionparseAnsi
(text: string)
source code/utils/ansiToSvg.ts:55
↓ 2 callersFunctionparseArgumentNames
( argumentNames: string | string[] | undefined, )
source code/utils/argumentSubstitution.ts:52
↓ 2 callersFunctionparseArguments
(args: string)
source code/utils/argumentSubstitution.ts:26
↓ 2 callersFunctionparseArithBinary
Precedence-climbing binary expression parser.
source code/utils/bash/bashParser.ts:4234
↓ 2 callersFunctionparseAutoPercentage
* Parse auto:N syntax from ENABLE_TOOL_SEARCH env var. * Returns the percentage clamped to 0-100, or null if not auto:N format or not a number.
source code/utils/toolSearch.ts:57
↓ 2 callersFunctionparseBoundaryLine
* Confirm a byte-matched line is a real compact_boundary (marker can appear * inside user content) and check for preservedSegment.
source code/utils/sessionStoragePortable.ts:495
↓ 2 callersFunctionparseChannelEntries
(raw: string[], flag: string)
source code/main.tsx:1652
↓ 2 callersFunctionparseChord
(input: string)
source code/keybindings/parser.ts:82
↓ 2 callersFunctionparseCommandRaw
( command: string, )
source code/utils/bash/parser.ts:106
↓ 2 callersFunctionparseCount
(notif: Notification)
source code/hooks/notifs/useTeammateShutdownNotification.ts:12
↓ 2 callersFunctionparseDataUri
( s: string, )
source code/tools/BashTool/utils.ts:61
↓ 2 callersMethodparseDiagnosticResult
(result: unknown)
source code/services/diagnosticTracking.ts:287
↓ 2 callersFunctionparseElicitationHookOutput
* Parse elicitation-specific fields from a HookOutsideReplResult. * Mirrors the relevant branches of processHookJSONOutput for Elicitation * and Eli
source code/utils/hooks.ts:4390
↓ 2 callersFunctionparseFor
(P: ParseState, forTok: Token)
source code/utils/bash/bashParser.ts:3202
↓ 2 callersFunctionparseForSecurityFromAst
( cmd: string, root: Node | typeof PARSE_ABORTED, )
source code/utils/bash/ast.ts:402
↓ 2 callersFunctionparseGitCommitId
(stdout: string)
source code/tools/shared/gitOperationTracking.ts:81
↓ 2 callersFunctionparseHeaders
(headerArray: string[])
source code/services/mcp/utils.ts:327
↓ 2 callersFunctionparseHookOutput
(stdout: string)
source code/utils/hooks.ts:401
↓ 2 callersFunctionparseHttpHookOutput
(body: string)
source code/utils/hooks.ts:455
↓ 2 callersFunctionparseMarketplaceInput
( input: string, )
source code/utils/plugins/parseMarketplaceInput.ts:25
↓ 2 callersFunctionparseMaxTokensContextOverflowError
(error: APIError)
source code/services/api/withRetry.ts:552
↓ 2 callersFunctionparseMouseEvent
* Parse an SGR mouse event sequence into a ParsedMouse, or null if not a * mouse event or if it's a wheel event (wheel stays as ParsedKey for the *
source code/ink/parse-keypress.ts:596
↓ 2 callersFunctionparseOscColor
(spec: string)
source code/ink/termio/osc.ts:319
↓ 2 callersFunctionparsePDFPageRange
( pages: string, )
source code/utils/pdfUtils.ts:18
↓ 2 callersFunctionparsePRReference
(input: string)
source code/utils/worktree.ts:635
↓ 2 callersFunctionparsePartialPath
( partialPath: string, basePath?: string, )
source code/utils/suggestions/directoryCompletion.ts:57
↓ 2 callersFunctionparsePatternCommand
( args: string[], flagsWithArgs: Set<string>, defaults: string[] = [], )
source code/tools/BashTool/pathValidation.ts:144
↓ 2 callersFunctionparsePermissionUpdates
* Validate permissionUpdates from external sources (mailbox IPC, disk polling). * Malformed entries from buggy/old teammate processes are filtered ou
source code/hooks/useSwarmPermissionPoller.ts:37
↓ 2 callersFunctionparsePipeline
* Parse commands joined by | or |&. Flat children with operator leaves. * tree-sitter quirk: `a | b 2>nul | c` hoists the redirect on `b` to wrap *
source code/utils/bash/bashParser.ts:940
↓ 2 callersFunctionparsePluginSettings
* Parse raw settings through PluginSettingsSchema, returning only allowlisted keys. * Returns undefined if parsing fails or all keys are filtered out
source code/utils/plugins/pluginLoader.ts:1790
↓ 2 callersFunctionparsePositiveIntFromFrontmatter
( value: unknown, )
source code/utils/frontmatterParser.ts:277
↓ 2 callersFunctionparsePromptTooLongTokenCounts
(rawMessage: string)
source code/services/api/errors.ts:87
↓ 2 callersFunctionparseRefFromCommand
* Extract target ref from `git merge <ref>` / `git rebase <ref>` command. * Skips flags and keywords — first non-flag argument is the ref.
source code/tools/shared/gitOperationTracking.ts:115
↓ 2 callersFunctionparseRegQueryStdout
( stdout: string, valueName = 'Settings', )
source code/utils/settings/mdm/settings.ts:210
↓ 2 callersFunctionparseShellFrontmatter
( value: unknown, source: string, )
source code/utils/frontmatterParser.ts:353
↓ 2 callersFunctionparseSkillFrontmatterFields
( frontmatter: FrontmatterData, markdownContent: string, resolvedName: string, descriptionFallbackLabe
source code/skills/loadSkillsDir.ts:187
↓ 2 callersFunctionparseSlashCommand
(input: string)
source code/utils/slashCommandParsing.ts:27
↓ 2 callersFunctionparseTestAnd
(P: ParseState, closer: string)
source code/utils/bash/bashParser.ts:3735
↓ 2 callersFunctionparseTestExpr
(P: ParseState, closer: string)
source code/utils/bash/bashParser.ts:3703
↓ 2 callersFunctionparseTestOr
(P: ParseState, closer: string)
source code/utils/bash/bashParser.ts:3707
↓ 2 callersFunctionparseTestRegexRhs
(P: ParseState)
source code/utils/bash/bashParser.ts:3939
↓ 2 callersFunctionparseTestUnary
(P: ParseState, closer: string)
source code/utils/bash/bashParser.ts:3759
↓ 2 callersFunctionparseToolListString
* Parses tools from frontmatter, supporting both string and array formats * Always returns a string array for consistency * @param toolsValue The va
source code/utils/markdownConfigLoader.ts:79
↓ 2 callersFunctionparseToolName
* Parse tool name into searchable parts. * Handles both MCP tools (mcp__server__action) and regular tools (CamelCase).
source code/tools/ToolSearchTool/ToolSearchTool.ts:134
↓ 2 callersFunctionparseXmlBlock
* Parse XML block response: <block>yes/no</block> * Strips thinking content first to avoid matching tags inside reasoning. * Returns true for "yes"
source code/utils/permissions/yoloClassifier.ts:580
↓ 2 callersFunctionparseXmlReason
* Parse XML reason: <reason>...</reason> * Strips thinking content first to avoid matching tags inside reasoning.
source code/utils/permissions/yoloClassifier.ts:592
↓ 2 callersFunctionpartiallySanitizeUnicode
(prompt: string)
source code/utils/sanitization.ts:27
↓ 2 callersFunctionpathInOriginalCwd
(path: string)
source code/utils/claudemd.ts:247
↓ 2 callersFunctionpathListSignature
(paths: string[])
source code/hooks/fileSuggestions.ts:113
↓ 2 callersFunctionperformCrossAppAccess
( serverUrl: string, config: XaaConfig, serverName = 'xaa', abortSignal?: AbortSignal, )
source code/services/mcp/xaa.ts:428
↓ 2 callersFunctionperformVersionUpdate
* Performs the core update operation: download (if needed), install, and update symlink. * Returns whether a new install was performed (vs just updat
source code/utils/nativeInstaller/installer.ts:443
↓ 2 callersFunctionperiodicWrite
* Write the full trace to disk. Errors are logged but swallowed so that a * transient I/O problem does not crash the session — the next periodic tic
source code/utils/telemetry/perfettoTracing.ts:992
↓ 2 callersFunctionpersistBlobToTextBlock
* Decode base64 binary content, write it to disk with the proper extension, * and return a small text block with the file path. Replaces the old beha
source code/services/mcp/client.ts:2600
↓ 2 callersFunctionpersistFileSnapshotIfRemote
()
source code/utils/plans.ts:362
↓ 2 callersFunctionplayAnimation
(skillDir: string)
source code/commands/thinkback/thinkback.tsx:61
↓ 2 callersFunctionpollRemoteSessionEvents
(sessionId: string, afterId: string | null = null, opts?: { skipMetadata?: boolean; })
source code/utils/teleport.tsx:635
↓ 2 callersFunctionpollSleepDetectionThresholdMs
* Returns the threshold for detecting system sleep/wake in the poll loop. * Must exceed the max backoff cap — otherwise normal backoff delays trigger
source code/bridge/bridgeMain.ts:109
↓ 2 callersFunctionpopAllEditable
( currentInput: string, currentCursorOffset: number, )
source code/utils/messageQueueManager.ts:430
↓ 2 callersFunctionpowershellToolCheckExactMatchPermission
( input: PowerShellInput, toolPermissionContext: ToolPermissionContext, )
source code/tools/PowerShellTool/powershellPermissions.ts:387
↓ 2 callersFunctionpreferThirdPartyAuthentication
()
source code/bootstrap/state.ts:1236
↓ 2 callersFunctionprefetchFastModeStatus
()
source code/utils/fastMode.ts:409
↓ 2 callersFunctionprefixMatchesModel
* Check if a model name starts with a prefix at a segment boundary. * The prefix must match up to the end of the name or a "-" separator. * e.g. "cl
source code/utils/model/modelAllowlist.ts:29
↓ 2 callersFunctionprepareForkedCommandContext
( command: PromptCommand, args: string, context: ToolUseContext, )
source code/utils/forkedAgent.ts:193
↓ 2 callersFunctionprependStderr
(prefix: string, stderr: string)
source code/utils/ShellCommand.ts:58
↓ 2 callersFunctionprependUserContext
( messages: Message[], context: { [k: string]: string }, )
source code/utils/api.ts:451
↓ 2 callersFunctionprintValidationResult
(result: ValidationResult)
source code/cli/handlers/plugins.ts:75
↓ 2 callersFunctionprobeArecord
()
source code/services/voice.ts:77
↓ 2 callersFunctionprobePath
(p: string)
source code/utils/shell/powershellDetection.ts:7
↓ 2 callersFunctionprobeSeedCache
* Probe seed directories for a populated cache at this plugin version. * Seeds are checked in precedence order; first hit wins. Returns null if no *
source code/utils/plugins/pluginLoader.ts:197
↓ 2 callersFunctionprocess
(t: CronTask, isSession: boolean)
source code/utils/cronScheduler.ts:250
↓ 2 callersFunctionprocessBatched
( items: T[], concurrency: number, processor: (item: T) => Promise<void>, )
source code/services/mcp/client.ts:2220
↓ 2 callersFunctionprocessCell
( cell: NotebookCell, index: number, codeLanguage: string, includeLargeOutputs: boolean, )
source code/utils/notebook.ts:85
↓ 2 callersFunctionprocessContent
(md: string, content: SkillContent)
source code/skills/bundled/claudeApi.ts:66
↓ 2 callersMethodprocessLine
( line: string, )
source code/cli/structuredIO.ts:335
↓ 2 callersFunctionprocessRateLimitHeaders
( headers: globalThis.Headers, )
source code/services/rateLimitMocking.ts:21
↓ 2 callersFunctionprocessRemoteEvalPayload
* Process a remote eval payload from the GrowthBook server and populate * local caches. Called after both initial client.init() and after * client.r
source code/services/analytics/growthbook.ts:329
↓ 2 callersFunctionprocessSetupHooks
( trigger: 'init' | 'maintenance', { forceSyncExecution }: { forceSyncExecution?: boolean } = {}, )
source code/utils/sessionStart.ts:179
↓ 2 callersFunctionprocessSlashCommand
(inputString: string, precedingInputBlocks: ContentBlockParam[], imageContentBlocks: ContentBlockParam[], atta
source code/utils/processUserInput/processSlashCommand.tsx:311
↓ 2 callersFunctionprocessUserInput
({ input, preExpansionInput, mode, setToolJSX, context, pastedContents, ideSelection, messages
source code/utils/processUserInput/processUserInput.ts:87
↓ 2 callersFunctionprofileReport
()
source code/utils/startupProfiler.ts:125
↓ 2 callersFunctionproviderOrUncDecisionForArg
(arg: string)
source code/tools/PowerShellTool/powershellPermissions.ts:1005
↓ 2 callersFunctionpsQuote
* PowerShell single-quoted string. The ONLY special sequence is '' for a * literal single quote — no backtick escapes, no variable expansion, no * s
source code/utils/deepLink/terminalLauncher.ts:538
↓ 2 callersFunctionpullTeamMemory
( state: SyncState, options?: { skipEtagCache?: boolean }, )
source code/services/teamMemorySync/index.ts:772
↓ 2 callersFunctionqueryModel
( messages: Message[], systemPrompt: SystemPrompt, thinkingConfig: ThinkingConfig, tools: Tools, sig
source code/services/api/claude.ts:1019
↓ 2 callersFunctionqueryModelWithStreaming
({ messages, systemPrompt, thinkingConfig, tools, signal, options, }: { messages: Message[] sy
source code/services/api/claude.ts:754
↓ 2 callersFunctionqueueMessages
()
source code/hooks/useInboxPoller.ts:825
↓ 2 callersFunctionqueuePendingMessage
(taskId: string, msg: string, setAppState: (f: (prev: AppState) => AppState) => void)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:164
↓ 2 callersFunctionreAppendSessionMetadata
()
source code/utils/sessionStorage.ts:2817
↓ 2 callersFunctionreadCapped
(handle: FileHandle)
source code/utils/readEditContext.ts:125
← previousnext →3,701–3,800 of 11,462, ranked by callers