Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ functions
Functions
11,462 in github.com/AnukarOP/claude-code-leaked
⨍
Functions
11,462
◇
Types & classes
340
↓ 1 callers
Function
parsePluginArgs
(args?: string)
source code/commands/plugin/parseArgs.ts:19
↓ 1 callers
Function
parsePluginsData
(content: string)
source code/utils/plugins/pluginFlagging.ts:42
↓ 1 callers
Function
parsePowerShellCommandImpl
* 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 callers
Function
parsePrIdentifier
(value: string)
source code/screens/ResumeConversation.tsx:38
↓ 1 callers
Function
parsePrNumberFromText
* 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 callers
Function
parsePrUrl
* 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 callers
Function
parseProgram
(P: ParseState)
source code/utils/bash/bashParser.ts:708
↓ 1 callers
Function
parseRawDiffToToolUseDiff
* 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 callers
Function
parseRipgrepLine
(line: string)
source code/components/GlobalSearchDialog.tsx:333
↓ 1 callers
Function
parseSSEFrames
(buffer: string)
source code/cli/transports/SSETransport.ts:60
↓ 1 callers
Function
parseScopes
(scopeString?: string)
source code/services/oauth/client.ts:44
↓ 1 callers
Function
parseSessionIdentifier
( resumeIdentifier: string, )
source code/utils/sessionUrl.ts:22
↓ 1 callers
Function
parseSessionInfoFromLite
( sessionId: string, lite: LiteSessionFile, projectPath?: string, )
source code/utils/listSessionsImpl.ts:81
↓ 1 callers
Function
parseSettingSourcesFlag
(flag: string)
source code/utils/settings/constants.ts:130
↓ 1 callers
Function
parseSettingsFileUncached
(path: string)
source code/utils/settings/settings.ts:203
↓ 1 callers
Function
parseShortstat
(stdout: string)
source code/utils/gitDiff.ts:373
↓ 1 callers
Function
parseSimpleCommand
* 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 callers
Function
parseSkillPaths
* 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 callers
Function
parseSpawnValue
(raw: string | undefined)
source code/bridge/bridgeMain.ts:1724
↓ 1 callers
Function
parseSplitOutput
* 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 callers
Function
parseSubscriptIndex
Legacy byte-range subscript index parser — kept for callers that pre-scan.
source code/utils/bash/bashParser.ts:1564
↓ 1 callers
Function
parseSubscriptIndexInline
* 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 callers
Function
parseTabStatus
* 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 callers
Function
parseTeammateMessages
* 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 callers
Function
parseTerminalResponse
* 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 callers
Function
parseTestBinary
(P: ParseState, closer: string)
source code/utils/bash/bashParser.ts:3823
↓ 1 callers
Function
parseTestExtglobRhs
(P: ParseState)
source code/utils/bash/bashParser.ts:3984
↓ 1 callers
Function
parseTestNegatablePrimary
* 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 callers
Function
parseToSpans
* Parse an ANSI string into spans using the termio parser.
source code/ink/Ansi.tsx:120
↓ 1 callers
Function
parseTokenBudget
(text: string)
source code/utils/tokenBudget.ts:23
↓ 1 callers
Function
parseToolPreset
(preset: string)
source code/tools.ts:167
↓ 1 callers
Function
parseUnset
(P: ParseState, kwTok: Token)
source code/utils/bash/bashParser.ts:3652
↓ 1 callers
Function
parseUpdates
(text: string)
source code/components/messages/UserResourceUpdateMessage.tsx:21
↓ 1 callers
Function
parseValue
* Parse a config value starting at position i. * Handles quoted strings, escape sequences, and inline comments.
source code/utils/git/gitConfigParser.ts:116
↓ 1 callers
Function
parseWhile
(P: ParseState, kwTok: Token)
source code/utils/bash/bashParser.ts:3191
↓ 1 callers
Function
parseXmlThinking
* Parse XML thinking content: <thinking>...</thinking>
source code/utils/permissions/yoloClassifier.ts:603
↓ 1 callers
Function
partialCompactConversation
( allMessages: Message[], pivotIndex: number, context: ToolUseContext, cacheSafeParams: CacheSafeParam
source code/services/compact/compact.ts:774
↓ 1 callers
Function
partitionBetasByAllowlist
* Filter betas to only include those in the allowlist. * Returns allowed and disallowed betas separately.
source code/utils/betas.ts:45
↓ 1 callers
Function
partitionByPriorDecision
* 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 callers
Function
partitionToolCalls
* 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 callers
Method
patchConsole
()
source code/ink/ink.tsx:1573
↓ 1 callers
Method
patchStderr
* 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 callers
Function
pathFromToolUse
(toolUseConfirm: ToolUseConfirm)
source code/components/permissions/FilesystemPermissionRequest/FilesystemPermissionRequest.tsx:10
↓ 1 callers
Function
pathsEqual
(path1: string, path2: string)
source code/utils/file.ts:584
↓ 1 callers
Function
pathsOverlap
* 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 callers
Function
patternWithRoot
( pattern: string, source: PermissionRuleSource, )
source code/utils/permissions/filesystem.ts:855
↓ 1 callers
Function
peekForStdinData
( stream: NodeJS.EventEmitter, ms: number, )
source code/utils/process.ts:52
↓ 1 callers
Function
peekSpeculativeClassifierCheck
( command: string, )
source code/tools/BashTool/bashPermissions.ts:1493
↓ 1 callers
Function
performBackgroundPluginInstallations
( setAppState: SetAppState, )
source code/services/plugins/PluginInstallationManager.ts:62
↓ 1 callers
Function
performHandoff
()
source code/components/DesktopHandoff.tsx:73
↓ 1 callers
Function
performHeapDump
( trigger: 'manual' | 'auto-1.5GB' = 'manual', dumpNumber = 0, )
source code/utils/heapDumpService.ts:223
↓ 1 callers
Function
performMCPXaaAuth
* 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 callers
Function
performPluginUpdate
* 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 callers
Function
performStartupChecks
(setAppState: SetAppState)
source code/utils/plugins/performStartupChecks.tsx:26
↓ 1 callers
Function
permissionComponentForTool
(tool: Tool)
source code/components/permissions/PermissionRequest.tsx:49
↓ 1 callers
Function
permissionResultToLog
(permissionResult: PermissionResult)
source code/components/permissions/hooks.ts:33
↓ 1 callers
Function
permissionRuleExtractPrefix
( permissionRule: string, )
source code/utils/permissions/shellRuleMatching.ts:45
↓ 1 callers
Function
persistRemoteAgentMetadata
* 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 callers
Method
persistToRemote
(sessionId: UUID, entry: TranscriptMessage)
source code/utils/sessionStorage.ts:1304
↓ 1 callers
Function
pickDepthOneUuidCandidate
* 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 callers
Function
pickDiverseCoreFiles
( sortedPaths: string[], want: number, )
source code/utils/exampleCommands.ts:58
↓ 1 callers
Function
pickLineFormatInstruction
()
source code/tools/FileReadTool/FileReadTool.ts:722
↓ 1 callers
Function
pillNeedsCta
(tasks: BackgroundTaskState[])
source code/tasks/pillLabel.ts:76
↓ 1 callers
Function
pinCacheEdits
( userMessageIndex: number, block: import('./cachedMicrocompact.js').CacheEditsBlock, )
source code/services/compact/microCompact.ts:113
↓ 1 callers
Function
pluginDisableHandler
( plugin: string | undefined, options: { scope?: string; cowork?: boolean; all?: boolean }, )
source code/cli/handlers/plugins.ts:784
↓ 1 callers
Function
pluginEnableHandler
( plugin: string, options: { scope?: string; cowork?: boolean }, )
source code/cli/handlers/plugins.ts:742
↓ 1 callers
Function
pluginInstallHandler
( plugin: string, options: { scope?: string; cowork?: boolean }, )
source code/cli/handlers/plugins.ts:670
↓ 1 callers
Function
pluginListHandler
(options: { json?: boolean available?: boolean cowork?: boolean })
source code/cli/handlers/plugins.ts:159
↓ 1 callers
Function
pluginUninstallHandler
( plugin: string, options: { scope?: string; cowork?: boolean; keepData?: boolean }, )
source code/cli/handlers/plugins.ts:706
↓ 1 callers
Function
pluginUpdateHandler
( plugin: string, options: { scope?: string; cowork?: boolean }, )
source code/cli/handlers/plugins.ts:848
↓ 1 callers
Function
pluginValidateHandler
( manifestPath: string, options: { cowork?: boolean }, )
source code/cli/handlers/plugins.ts:103
↓ 1 callers
Function
poll
()
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:554
↓ 1 callers
Method
poll
(fn: (msg: Message) => boolean = () => true)
source code/utils/mailbox.ts:50
↓ 1 callers
Function
pollForApprovedExitPlanMode
( sessionId: string, timeoutMs: number, onPhaseChange?: (phase: UltraplanPhase) => void, shouldStop?:
source code/utils/ultraplan/ccrSession.ts:200
↓ 1 callers
Function
pollForResponse
( requestId: string, _agentName?: string, teamName?: string, )
source code/utils/swarm/permissionSync.ts:546
↓ 1 callers
Function
pollPolicyLimits
* Background polling callback
source code/services/policyLimits/index.ts:615
↓ 1 callers
Function
pollRemoteSettings
* Background polling callback - fetches settings and triggers hot-reload if changed
source code/services/remoteManagedSettings/index.ts:586
↓ 1 callers
Function
populateOAuthAccountInfoIfNeeded
()
source code/services/oauth/client.ts:453
↓ 1 callers
Method
postOnce
* 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 callers
Function
powershellCommandIsSafe
( _command: string, parsed: ParsedPowerShellCommand, )
source code/tools/PowerShellTool/powershellSecurity.ts:1044
↓ 1 callers
Function
powershellPermissionRule
( permissionRule: string, )
source code/tools/PowerShellTool/powershellPermissions.ts:134
↓ 1 callers
Function
powershellToolCheckPermission
( input: PowerShellInput, toolPermissionContext: ToolPermissionContext, )
source code/tools/PowerShellTool/powershellPermissions.ts:437
↓ 1 callers
Function
powershellToolHasPermission
( input: PowerShellInput, context: ToolUseContext, )
source code/tools/PowerShellTool/powershellPermissions.ts:641
↓ 1 callers
Function
powershellToolUseOptions
({ suggestions = [], onRejectFeedbackChange, onAcceptFeedbackChange, yesInputMode = false, noInputMo
source code/components/permissions/PowerShellPermissionRequest/powershellToolUseOptions.tsx:9
↓ 1 callers
Function
preconnectAnthropicApi
()
source code/utils/apiPreconnect.ts:33
↓ 1 callers
Function
prefetchApiKeyFromApiKeyHelperIfSafe
( isNonInteractiveSession: boolean, )
source code/utils/auth.ts:593
↓ 1 callers
Function
prefetchAwsCredentialsAndBedRockInfoIfSafe
()
source code/utils/auth.ts:1025
↓ 1 callers
Function
prefetchGcpCredentialsIfSafe
()
source code/utils/auth.ts:996
↓ 1 callers
Function
prefetchOfficialMcpUrls
()
source code/services/mcp/officialRegistry.ts:35
↓ 1 callers
Function
prefetchPassesEligibility
()
source code/services/api/referral.ts:276
↓ 1 callers
Function
prefetchSystemContextIfSafe
* 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 callers
Function
prepareIfConditionMatcher
* 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 callers
Function
prepareMessagesForInjection
(messages: Message[])
source code/services/PromptSuggestion/speculation.ts:205
↓ 1 callers
Function
prepareServers
()
source code/components/mcp/MCPSettings.tsx:72
↓ 1 callers
Function
prependBaseDir
( blocks: ContentBlockParam[], baseDir: string, )
source code/skills/bundledSkills.ts:210
↓ 1 callers
Function
prependModeCharacterToInput
( input: string, mode: PromptInputMode, )
source code/components/PromptInput/inputModes.ts:6
↓ 1 callers
Function
prependPathRefs
( content: string | Array<ContentBlockParam>, prefix: string, )
source code/bridge/inboundAttachments.ts:144
↓ 1 callers
Function
prependToShellHistoryCache
(command: string)
source code/utils/suggestions/shellHistoryCompletion.ts:76
↓ 1 callers
Method
prevVimWord
()
source code/utils/Cursor.ts:739
↓ 1 callers
Method
prevWORD
()
source code/utils/Cursor.ts:823
← previous
next →
7,001–7,100 of 11,462, ranked by callers