MCPcopy Create free account

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

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

↓ 1 callersFunctionparsePluginArgs
(args?: string)
source code/commands/plugin/parseArgs.ts:19
↓ 1 callersFunctionparsePluginsData
(content: string)
source code/utils/plugins/pluginFlagging.ts:42
↓ 1 callersFunctionparsePowerShellCommandImpl
* Parse a PowerShell command using the native AST parser. * Spawns pwsh to parse the command and returns structured results. * Results are memoized
source code/utils/powershell/parser.ts:1138
↓ 1 callersFunctionparsePrIdentifier
(value: string)
source code/screens/ResumeConversation.tsx:38
↓ 1 callersFunctionparsePrNumberFromText
* gh pr merge/close/ready print "✓ <Verb> pull request owner/repo#1234" with * no URL. Extract the PR number from the text.
source code/tools/shared/gitOperationTracking.ts:106
↓ 1 callersFunctionparsePrUrl
* Parse PR info from a GitHub PR URL. * Returns { prNumber, prUrl, prRepository } or null if not a valid PR URL.
source code/tools/shared/gitOperationTracking.ts:60
↓ 1 callersFunctionparseProgram
(P: ParseState)
source code/utils/bash/bashParser.ts:708
↓ 1 callersFunctionparseRawDiffToToolUseDiff
* Parse raw unified diff output into the structured ToolUseDiff format. * Extracts only the hunk content (starting from @@) as the patch, * and coun
source code/utils/gitDiff.ts:450
↓ 1 callersFunctionparseRipgrepLine
(line: string)
source code/components/GlobalSearchDialog.tsx:333
↓ 1 callersFunctionparseSSEFrames
(buffer: string)
source code/cli/transports/SSETransport.ts:60
↓ 1 callersFunctionparseScopes
(scopeString?: string)
source code/services/oauth/client.ts:44
↓ 1 callersFunctionparseSessionIdentifier
( resumeIdentifier: string, )
source code/utils/sessionUrl.ts:22
↓ 1 callersFunctionparseSessionInfoFromLite
( sessionId: string, lite: LiteSessionFile, projectPath?: string, )
source code/utils/listSessionsImpl.ts:81
↓ 1 callersFunctionparseSettingSourcesFlag
(flag: string)
source code/utils/settings/constants.ts:130
↓ 1 callersFunctionparseSettingsFileUncached
(path: string)
source code/utils/settings/settings.ts:203
↓ 1 callersFunctionparseShortstat
(stdout: string)
source code/utils/gitDiff.ts:373
↓ 1 callersFunctionparseSimpleCommand
* Parse a simple command: [assignment]* word [arg|redirect]* * Returns variable_assignment if only one assignment and no command.
source code/utils/bash/bashParser.ts:1143
↓ 1 callersFunctionparseSkillPaths
* Parse paths frontmatter from a skill, using the same format as CLAUDE.md rules. * Returns undefined if no paths are specified or if all patterns ar
source code/skills/loadSkillsDir.ts:161
↓ 1 callersFunctionparseSpawnValue
(raw: string | undefined)
source code/bridge/bridgeMain.ts:1724
↓ 1 callersFunctionparseSplitOutput
* Parses the session ID from `it2 session split` output. * Format: "Created new pane: <session-id>" * * NOTE: This UUID is only valid when splittin
source code/utils/swarm/backends/ITermBackend.ts:52
↓ 1 callersFunctionparseSubscriptIndex
Legacy byte-range subscript index parser — kept for callers that pre-scan.
source code/utils/bash/bashParser.ts:1564
↓ 1 callersFunctionparseSubscriptIndexInline
* Parse subscript index content. Parsed arithmetically per tree-sitter grammar: * `${a[1+2]}` → binary_expression; `${a[++i]}` → unary_expression(wor
source code/utils/bash/bashParser.ts:1529
↓ 1 callersFunctionparseTabStatus
* Parse OSC 21337 payload: `key=value;key=value;...` with `\;` and `\\` * escapes inside values. Bare key or `key=` clears that field; unknown * key
source code/ink/termio/osc.ts:351
↓ 1 callersFunctionparseTeammateMessages
* Parse all teammate messages from XML format: * <teammate-message teammate_id="alice" color="red" summary="Brief update">message content</teammate-m
source code/components/messages/UserTeammateMessage.tsx:34
↓ 1 callersFunctionparseTerminalResponse
* Try to recognize a sequence token as a terminal response. * Returns null if the sequence is not a known response pattern * (i.e. it should be trea
source code/ink/parse-keypress.ts:124
↓ 1 callersFunctionparseTestBinary
(P: ParseState, closer: string)
source code/utils/bash/bashParser.ts:3823
↓ 1 callersFunctionparseTestExtglobRhs
(P: ParseState)
source code/utils/bash/bashParser.ts:3984
↓ 1 callersFunctionparseTestNegatablePrimary
* Parse `!`-negated or test-operator (`-f`) or parenthesized primary — but NOT * a binary comparison. Used as LHS of binary_expression so `! x =~ y`
source code/utils/bash/bashParser.ts:3793
↓ 1 callersFunctionparseToSpans
* Parse an ANSI string into spans using the termio parser.
source code/ink/Ansi.tsx:120
↓ 1 callersFunctionparseTokenBudget
(text: string)
source code/utils/tokenBudget.ts:23
↓ 1 callersFunctionparseToolPreset
(preset: string)
source code/tools.ts:167
↓ 1 callersFunctionparseUnset
(P: ParseState, kwTok: Token)
source code/utils/bash/bashParser.ts:3652
↓ 1 callersFunctionparseUpdates
(text: string)
source code/components/messages/UserResourceUpdateMessage.tsx:21
↓ 1 callersFunctionparseValue
* Parse a config value starting at position i. * Handles quoted strings, escape sequences, and inline comments.
source code/utils/git/gitConfigParser.ts:116
↓ 1 callersFunctionparseWhile
(P: ParseState, kwTok: Token)
source code/utils/bash/bashParser.ts:3191
↓ 1 callersFunctionparseXmlThinking
* Parse XML thinking content: <thinking>...</thinking>
source code/utils/permissions/yoloClassifier.ts:603
↓ 1 callersFunctionpartialCompactConversation
( allMessages: Message[], pivotIndex: number, context: ToolUseContext, cacheSafeParams: CacheSafeParam
source code/services/compact/compact.ts:774
↓ 1 callersFunctionpartitionBetasByAllowlist
* Filter betas to only include those in the allowlist. * Returns allowed and disallowed betas separately.
source code/utils/betas.ts:45
↓ 1 callersFunctionpartitionByPriorDecision
* Partition candidates by their prior decision state: * - mustReapply: previously replaced → re-apply the cached replacement for * prefix stabil
source code/utils/toolResultStorage.ts:651
↓ 1 callersFunctionpartitionToolCalls
* Partition tool calls into batches where each batch is either: * 1. A single non-read-only tool, or * 2. Multiple consecutive read-only tools
source code/services/tools/toolOrchestration.ts:93
↓ 1 callersMethodpatchConsole
()
source code/ink/ink.tsx:1573
↓ 1 callersMethodpatchStderr
* Intercept process.stderr.write so stray writes (config.ts, hooks.ts, * third-party deps) don't corrupt the alt-screen buffer. patchConsole only
source code/ink/ink.tsx:1606
↓ 1 callersFunctionpathFromToolUse
(toolUseConfirm: ToolUseConfirm)
source code/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx:10
↓ 1 callersFunctionpathsEqual
(path1: string, path2: string)
source code/utils/file.ts:584
↓ 1 callersFunctionpathsOverlap
* One path is a prefix of the other. Special-cases root (normalize('/') + sep * = '//'). Case-insensitive on win32 since normalize() doesn't lowercas
source code/utils/plugins/orphanedPluginFilter.ts:101
↓ 1 callersFunctionpatternWithRoot
( pattern: string, source: PermissionRuleSource, )
source code/utils/permissions/filesystem.ts:855
↓ 1 callersFunctionpeekForStdinData
( stream: NodeJS.EventEmitter, ms: number, )
source code/utils/process.ts:52
↓ 1 callersFunctionpeekSpeculativeClassifierCheck
( command: string, )
source code/tools/BashTool/bashPermissions.ts:1493
↓ 1 callersFunctionperformBackgroundPluginInstallations
( setAppState: SetAppState, )
source code/services/plugins/PluginInstallationManager.ts:62
↓ 1 callersFunctionperformHandoff
()
source code/components/DesktopHandoff.tsx:73
↓ 1 callersFunctionperformHeapDump
( trigger: 'manual' | 'auto-1.5GB' = 'manual', dumpNumber = 0, )
source code/utils/heapDumpService.ts:223
↓ 1 callersFunctionperformMCPXaaAuth
* XAA (Cross-App Access) auth. * * One IdP browser login is reused across all XAA-configured MCP servers: * 1. Acquire an id_token from the IdP (ca
source code/services/mcp/auth.ts:666
↓ 1 callersFunctionperformPluginUpdate
* Perform the actual plugin update: fetch source, calculate version, copy to cache, update disk. * This is the core update execution extracted from u
source code/services/plugins/pluginOperations.ts:898
↓ 1 callersFunctionperformStartupChecks
(setAppState: SetAppState)
source code/utils/plugins/performStartupChecks.tsx:26
↓ 1 callersFunctionpermissionComponentForTool
(tool: Tool)
source code/components/permissions/PermissionRequest.tsx:49
↓ 1 callersFunctionpermissionResultToLog
(permissionResult: PermissionResult)
source code/components/permissions/hooks.ts:33
↓ 1 callersFunctionpermissionRuleExtractPrefix
( permissionRule: string, )
source code/utils/permissions/shellRuleMatching.ts:45
↓ 1 callersFunctionpersistRemoteAgentMetadata
* Persist a remote-agent metadata entry to the session sidecar. * Fire-and-forget — persistence failures must not block task registration.
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:94
↓ 1 callersMethodpersistToRemote
(sessionId: UUID, entry: TranscriptMessage)
source code/utils/sessionStorage.ts:1304
↓ 1 callersFunctionpickDepthOneUuidCandidate
* Disambiguate multiple `"uuid":"<36>","timestamp":"` matches in one line by * finding the one at JSON nesting depth 1. String-aware brace counter:
source code/utils/sessionStorage.ts:3277
↓ 1 callersFunctionpickDiverseCoreFiles
( sortedPaths: string[], want: number, )
source code/utils/exampleCommands.ts:58
↓ 1 callersFunctionpickLineFormatInstruction
()
source code/tools/FileReadTool/FileReadTool.ts:722
↓ 1 callersFunctionpillNeedsCta
(tasks: BackgroundTaskState[])
source code/tasks/pillLabel.ts:76
↓ 1 callersFunctionpinCacheEdits
( userMessageIndex: number, block: import('./cachedMicrocompact.js').CacheEditsBlock, )
source code/services/compact/microCompact.ts:113
↓ 1 callersFunctionpluginDisableHandler
( plugin: string | undefined, options: { scope?: string; cowork?: boolean; all?: boolean }, )
source code/cli/handlers/plugins.ts:784
↓ 1 callersFunctionpluginEnableHandler
( plugin: string, options: { scope?: string; cowork?: boolean }, )
source code/cli/handlers/plugins.ts:742
↓ 1 callersFunctionpluginInstallHandler
( plugin: string, options: { scope?: string; cowork?: boolean }, )
source code/cli/handlers/plugins.ts:670
↓ 1 callersFunctionpluginListHandler
(options: { json?: boolean available?: boolean cowork?: boolean })
source code/cli/handlers/plugins.ts:159
↓ 1 callersFunctionpluginUninstallHandler
( plugin: string, options: { scope?: string; cowork?: boolean; keepData?: boolean }, )
source code/cli/handlers/plugins.ts:706
↓ 1 callersFunctionpluginUpdateHandler
( plugin: string, options: { scope?: string; cowork?: boolean }, )
source code/cli/handlers/plugins.ts:848
↓ 1 callersFunctionpluginValidateHandler
( manifestPath: string, options: { cowork?: boolean }, )
source code/cli/handlers/plugins.ts:103
↓ 1 callersFunctionpoll
()
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:554
↓ 1 callersMethodpoll
(fn: (msg: Message) => boolean = () => true)
source code/utils/mailbox.ts:50
↓ 1 callersFunctionpollForApprovedExitPlanMode
( sessionId: string, timeoutMs: number, onPhaseChange?: (phase: UltraplanPhase) => void, shouldStop?:
source code/utils/ultraplan/ccrSession.ts:200
↓ 1 callersFunctionpollForResponse
( requestId: string, _agentName?: string, teamName?: string, )
source code/utils/swarm/permissionSync.ts:546
↓ 1 callersFunctionpollPolicyLimits
* Background polling callback
source code/services/policyLimits/index.ts:615
↓ 1 callersFunctionpollRemoteSettings
* Background polling callback - fetches settings and triggers hot-reload if changed
source code/services/remoteManagedSettings/index.ts:586
↓ 1 callersFunctionpopulateOAuthAccountInfoIfNeeded
()
source code/services/oauth/client.ts:453
↓ 1 callersMethodpostOnce
* Single-attempt POST. Throws on retryable failures (429, 5xx, network) * so SerialBatchEventUploader re-queues and retries. Returns on success
source code/cli/transports/HybridTransport.ts:204
↓ 1 callersFunctionpowershellCommandIsSafe
( _command: string, parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:1044
↓ 1 callersFunctionpowershellPermissionRule
( permissionRule: string, )
source code/tools/PowerShellTool/powershellPermissions.ts:134
↓ 1 callersFunctionpowershellToolCheckPermission
( input: PowerShellInput, toolPermissionContext: ToolPermissionContext, )
source code/tools/PowerShellTool/powershellPermissions.ts:437
↓ 1 callersFunctionpowershellToolHasPermission
( input: PowerShellInput, context: ToolUseContext, )
source code/tools/PowerShellTool/powershellPermissions.ts:641
↓ 1 callersFunctionpowershellToolUseOptions
({ suggestions = [], onRejectFeedbackChange, onAcceptFeedbackChange, yesInputMode = false, noInputMo
source code/components/permissions/PowerShellPermissionRequest/powershellToolUseOptions.tsx:9
↓ 1 callersFunctionpreconnectAnthropicApi
()
source code/utils/apiPreconnect.ts:33
↓ 1 callersFunctionprefetchApiKeyFromApiKeyHelperIfSafe
( isNonInteractiveSession: boolean, )
source code/utils/auth.ts:593
↓ 1 callersFunctionprefetchAwsCredentialsAndBedRockInfoIfSafe
()
source code/utils/auth.ts:1025
↓ 1 callersFunctionprefetchGcpCredentialsIfSafe
()
source code/utils/auth.ts:996
↓ 1 callersFunctionprefetchOfficialMcpUrls
()
source code/services/mcp/officialRegistry.ts:35
↓ 1 callersFunctionprefetchPassesEligibility
()
source code/services/api/referral.ts:276
↓ 1 callersFunctionprefetchSystemContextIfSafe
* Prefetch system context (including git status) only when it's safe to do so. * Git commands can execute arbitrary code via hooks and config (e.g.,
source code/main.tsx:362
↓ 1 callersFunctionprepareIfConditionMatcher
* Prepare a matcher for hook `if` conditions. Expensive work (tool lookup, * Zod validation, tree-sitter parsing for Bash) happens once here; the *
source code/utils/hooks.ts:1392
↓ 1 callersFunctionprepareMessagesForInjection
(messages: Message[])
source code/services/PromptSuggestion/speculation.ts:205
↓ 1 callersFunctionprepareServers
()
source code/components/mcp/MCPSettings.tsx:72
↓ 1 callersFunctionprependBaseDir
( blocks: ContentBlockParam[], baseDir: string, )
source code/skills/bundledSkills.ts:210
↓ 1 callersFunctionprependModeCharacterToInput
( input: string, mode: PromptInputMode, )
source code/components/PromptInput/inputModes.ts:6
↓ 1 callersFunctionprependPathRefs
( content: string | Array<ContentBlockParam>, prefix: string, )
source code/bridge/inboundAttachments.ts:144
↓ 1 callersFunctionprependToShellHistoryCache
(command: string)
source code/utils/suggestions/shellHistoryCompletion.ts:76
↓ 1 callersMethodprevVimWord
()
source code/utils/Cursor.ts:739
↓ 1 callersMethodprevWORD
()
source code/utils/Cursor.ts:823
← previousnext →7,001–7,100 of 11,462, ranked by callers