MCPcopy Create free account

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

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

↓ 1 callersFunctionexecuteRemoteSkill
* Load a remote canonical skill and inject its SKILL.md content into the * conversation. Unlike local skills (which go through processPromptSlashComm
source code/tools/SkillTool/SkillTool.ts:971
↓ 1 callersFunctionexecuteRepeatFind
( reverse: boolean, count: number, ctx: TransitionContext, )
source code/vim/transitions.ts:467
↓ 1 callersFunctionexecuteSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', sessionId?: string, agentType?: string, model?:
source code/utils/hooks.ts:3869
↓ 1 callersFunctionexecuteSetupHooks
( trigger: 'init' | 'maintenance', signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT
source code/utils/hooks.ts:3904
↓ 1 callersFunctionexecuteStatusLineCommand
( statusLineInput: StatusLineCommandInput, signal?: AbortSignal, timeoutMs: number = 5000, // Short time
source code/utils/hooks.ts:4586
↓ 1 callersFunctionexecuteStopHooks
( permissionMode?: string, signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, s
source code/utils/hooks.ts:3641
↓ 1 callersFunctionexecuteSubagentStartHooks
( agentId: string, agentType: string, signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TI
source code/utils/hooks.ts:3934
↓ 1 callersFunctionexecuteTaskCreatedHooks
( taskId: string, taskSubject: string, taskDescription?: string, teammateName?: string, teamName?: s
source code/utils/hooks.ts:3747
↓ 1 callersFunctionexecuteTeammateIdleHooks
( teammateName: string, teamName: string, permissionMode?: string, signal?: AbortSignal, timeoutMs:
source code/utils/hooks.ts:3711
↓ 1 callersMethodexecuteTool
* Execute a tool and collect its results
source code/services/tools/StreamingToolExecutor.ts:267
↓ 1 callersFunctionexecuteUserPromptSubmitHooks
( prompt: string, permissionMode: string, toolUseContext: ToolUseContext, requestPrompt?: ( source
source code/utils/hooks.ts:3828
↓ 1 callersFunctionexistsSync
(fsPath)
source code/utils/fsOperations.ts:391
↓ 1 callersFunctionexit
()
source code/utils/handlePromptSubmit.ts:37
↓ 1 callersFunctionexitRestoredWorktree
()
source code/utils/sessionRestore.ts:382
↓ 1 callersFunctionexitWithMessage
(root: Root, message: string, options?: { color?: TextProps['color']; exitCode?: number; beforeExit?: ()
source code/interactiveHelpers.tsx:67
↓ 1 callersFunctionexpandBraces
* Expands brace patterns in a glob string. * @example * expandBraces("src/*.{ts,tsx}") // returns ["src/*.ts", "src/*.tsx"] * expandBraces("{a,b}/{
source code/utils/frontmatterParser.ts:242
↓ 1 callersFunctionexpandEnvVars
* Internal utility: Expands environment variables in an MCP server config
source code/services/mcp/config.ts:558
↓ 1 callersFunctionexpandField
(field: string, range: FieldRange)
source code/utils/cron.ts:33
↓ 1 callersFunctionexpandFilePath
(filePath: string)
source code/utils/commitAttribution.ts:298
↓ 1 callersFunctionexpandIPv6Groups
* Expand `::` and optional trailing dotted-decimal so an IPv6 address is * represented as exactly 8 hex groups. Returns null if expansion is not * w
source code/utils/hooks/ssrfGuard.ts:135
↓ 1 callersFunctionexpandTabs
( text: string, interval = DEFAULT_TAB_INTERVAL, )
source code/ink/tabstops.ts:11
↓ 1 callersFunctionexpectColorDiff
()
source code/components/StructuredDiff/colorDiff.ts:27
↓ 1 callersFunctionexpectColorFile
()
source code/components/StructuredDiff/colorDiff.ts:31
↓ 1 callersFunctionexportWithReactRenderer
(context: ToolUseContext)
source code/commands/export/export.tsx:51
↓ 1 callersFunctionextendSelection
( s: SelectionState, screen: Screen, col: number, row: number, )
source code/ink/selection.ts:391
↓ 1 callersFunctionextensionForMimeType
(mimeType: string | undefined)
source code/utils/mcpOutputStorage.ts:68
↓ 1 callersFunctionexternalMetadataToAppState
( metadata: SessionExternalMetadata, )
source code/state/onChangeAppState.ts:26
↓ 1 callersFunctionextractActivities
( line: string, sessionId: string, onDebug: (msg: string) => void, )
source code/bridge/sessionRunner.ts:109
↓ 1 callersFunctionextractAgentIdsFromMessages
(messages: Message[])
source code/utils/sessionStorage.ts:4246
↓ 1 callersFunctionextractAgentMcpServers
( agents: AgentDefinition[], )
source code/services/mcp/utils.ts:468
↓ 1 callersFunctionextractApprovedPlan
(content: ToolResultBlockParam['content'])
source code/utils/ultraplan/ccrSession.ts:335
↓ 1 callersFunctionextractAtMentionedFiles
(content: string)
source code/utils/attachments.ts:2759
↓ 1 callersFunctionextractBaseCommand
* Extract the command name from a single pipeline segment. * Strips leading `&` / `.` call operators and `.exe` suffix, lowercases.
source code/tools/PowerShellTool/commandSemantics.ts:102
↓ 1 callersFunctionextractBaseCommand
* Extract just the command name (first word) from a single command string.
source code/tools/BashTool/commandSemantics.ts:106
↓ 1 callersFunctionextractBundledSkillFiles
* Extract a bundled skill's reference files to disk so the model can * Read/Grep them on demand. Called lazily on first skill invocation. * * Retur
source code/skills/bundledSkills.ts:133
↓ 1 callersFunctionextractCliName
* Extract the actual CLI name from a bash command string, skipping * env var assignments (e.g. `FOO=bar vercel` → `vercel`) and prefixes * in STRIPP
source code/utils/queryHelpers.ts:545
↓ 1 callersFunctionextractCodeBlocks
(markdown: string)
source code/commands/copy/copy.tsx:32
↓ 1 callersFunctionextractCommandArguments
(commandNode: Node)
source code/utils/bash/parser.ts:191
↓ 1 callersFunctionextractCommandNameAndArgs
(value: string)
source code/hooks/useTypeahead.tsx:328
↓ 1 callersFunctionextractCompoundStructure
( rootNode: unknown, command: string, )
source code/utils/bash/treeSitterAnalysis.ts:298
↓ 1 callersFunctionextractConversationContext
* Extract recent conversation context from messages for the explainer. * Returns a summary of recent assistant messages to provide context * for "wh
source code/utils/permissions/permissionExplainer.ts:104
↓ 1 callersFunctionextractCwdResetWarning
* Extracts the "Shell cwd was reset" warning message from stderr * Returns the cleaned stderr and the warning message separately
source code/tools/BashTool/BashToolResultMessage.tsx:47
↓ 1 callersFunctionextractDangerousPatterns
(rootNode: unknown)
source code/utils/bash/treeSitterAnalysis.ts:450
↓ 1 callersMethodextractDataPoints
(metric: MetricData)
source code/utils/telemetry/bigqueryExporter.ts:200
↓ 1 callersFunctionextractDebugCategories
(message: string)
source code/utils/debugFilter.ts:67
↓ 1 callersFunctionextractDirectories
(updates: PermissionUpdate[] | undefined)
source code/components/permissions/PermissionDecisionDebugInfo.tsx:194
↓ 1 callersFunctionextractEnvVars
(commandNode: Node | null)
source code/utils/bash/parser.ts:177
↓ 1 callersFunctionextractErrorTypeFromData
(data: unknown)
source code/bridge/bridgeApi.ts:528
↓ 1 callersFunctionextractFacetsFromAPI
( log: LogOption, sessionId: string, )
source code/commands/insights.ts:1003
↓ 1 callersFunctionextractFirstFrame
* Extracts content from the first complete frame in Ink's output. * Ink with non-TTY stdout outputs multiple frames, each wrapped in DEC synchronized
source code/utils/staticRender.tsx:64
↓ 1 callersFunctionextractFirstMessageText
( messages: (UserMessage | AssistantMessage)[], )
source code/utils/fingerprint.ts:18
↓ 1 callersFunctionextractFirstPrompt
(messages: Message[])
source code/commands/export/export.tsx:21
↓ 1 callersFunctionextractFirstPromptFromChunk
* Scans a chunk of text for the first meaningful user prompt.
source code/utils/sessionStorage.ts:4820
↓ 1 callersFunctionextractFirstPromptFromHead
(head: string)
source code/utils/sessionStoragePortable.ts:137
↓ 1 callersFunctionextractFirstUserMessageText
* Extract text from first user message for fingerprint computation.
source code/utils/sideQuery.ts:71
↓ 1 callersFunctionextractGlobBaseDirectory
(pattern: string)
source code/utils/glob.ts:19
↓ 1 callersFunctionextractHost
* Extract hostname from a URL or git spec and bucket to the allowlist. * Handles `https://host/...`, `git@host:path`, `ssh://host/...`. * Returns a
source code/utils/plugins/fetchTelemetry.ts:56
↓ 1 callersFunctionextractHttpStatus
(err: unknown)
source code/bridge/debugUtils.ts:90
↓ 1 callersFunctionextractHyperlinkFromStyles
( styles: AnsiCode[], )
source code/ink/screen.ts:1101
↓ 1 callersFunctionextractImage
( data: Record<string, unknown>, )
source code/utils/notebook.ts:43
↓ 1 callersFunctionextractImagesFromValue
* Extract images from ContentBlockParam[] and convert to PastedContent format. * Returns empty array for string values or if no images found.
source code/utils/messageQueueManager.ts:392
↓ 1 callersFunctionextractInboundAttachments
(msg: unknown)
source code/bridge/inboundAttachments.ts:44
↓ 1 callersFunctionextractIncludePathsFromTokens
( tokens: ReturnType<Lexer['lex']>, basePath: string, )
source code/utils/claudemd.ts:453
↓ 1 callersFunctionextractLastToolInfo
(progressMessages: ProgressMessage<Progress>[], tools: Tools)
source code/tools/AgentTool/UI.tsx:790
↓ 1 callersFunctionextractLspInfoFromManifest
* Extract LSP info (extensions and command) from inline lspServers config. * * NOTE: Can only read inline configs, not external .lsp.json files. *
source code/utils/plugins/lspRecommendation.ts:69
↓ 1 callersFunctionextractMappedIPv4
* Extract the embedded IPv4 address from an IPv4-mapped IPv6 address * (0:0:0:0:0:ffff:X:Y) in any valid representation — compressed, expanded, * he
source code/utils/hooks/ssrfGuard.ts:189
↓ 1 callersFunctionextractMarkupText
* Extracts text content from MarkupContent or MarkedString
source code/tools/LSPTool/formatters.ts:225
↓ 1 callersFunctionextractMcpResourceMentions
(content: string)
source code/utils/attachments.ts:2794
↓ 1 callersFunctionextractMcpbContents
* Extract MCPB file and write contents to extraction directory. * * @param modes - name→mode map from `parseZipModes`. MCPB bundles can ship * na
source code/utils/plugins/mcpbHandler.ts:552
↓ 1 callersFunctionextractMode
(updates: PermissionUpdate[] | undefined)
source code/components/permissions/PermissionDecisionDebugInfo.tsx:207
↓ 1 callersFunctionextractModelIdFromArn
(modelId: string)
source code/utils/model/bedrock.ts:201
↓ 1 callersFunctionextractNestedErrorMessage
* Extract a human-readable message from a deserialized API error that lacks * a top-level `.message`. * * Checks two nesting levels (deeper first f
source code/services/api/errorUtils.ts:171
↓ 1 callersFunctionextractPipePositions
(rootNode: Node)
source code/utils/bash/ParsedCommand.ts:115
↓ 1 callersFunctionextractPrefixBeforeHeredoc
* If the command contains a heredoc (<<), extract the command prefix before it. * Returns the first word(s) before the heredoc operator as a stable p
source code/tools/BashTool/bashPermissions.ts:309
↓ 1 callersFunctionextractProviderPathFromArg
(arg: string)
source code/tools/PowerShellTool/powershellPermissions.ts:987
↓ 1 callersFunctionextractQuoteContext
( rootNode: unknown, command: string, )
source code/utils/bash/treeSitterAnalysis.ts:226
↓ 1 callersFunctionextractRedirectionNodes
(rootNode: Node)
source code/utils/bash/ParsedCommand.ts:133
↓ 1 callersFunctionextractReviewFromLog
* Extract review content from the remote session log. * * Two producers, two event shapes: * - bughunter mode: run_hunt.sh is a SessionStart hook;
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:256
↓ 1 callersFunctionextractReviewTagFromLog
* Tag-only variant of extractReviewFromLog for delta scanning. * * Returns non-null ONLY when an explicit <remote-review> tag is found. * Unlike ex
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:297
↓ 1 callersFunctionextractSafeCatHeredoc
* Check if a command_substitution node is exactly `$(cat <<'DELIM'...DELIM)` * and return the heredoc body if so. Any deviation (extra args to cat,
source code/utils/bash/ast.ts:1723
↓ 1 callersFunctionextractSandboxViolations
* Extracts sandbox violations from stderr if present * Returns both the cleaned stderr and the violations content
source code/tools/BashTool/BashToolResultMessage.tsx:26
↓ 1 callersFunctionextractSectionName
Extract a human-readable name from a system prompt section's content
source code/utils/analyzeContext.ts:263
↓ 1 callersFunctionextractSedExpressions
(command: string)
source code/tools/BashTool/sedValidation.ts:390
↓ 1 callersFunctionextractServerMessage
(data: unknown)
source code/utils/errorLogSink.ts:130
↓ 1 callersFunctionextractShotCountFromMessages
* Extract the shot count from PR attribution text in a `gh pr create` Bash call. * The attribution format is: "N-shotted by model-name" * Returns th
source code/utils/stats.ts:942
↓ 1 callersFunctionextractSideQuestionResponse
* Extract a display string from forked agent messages. * * IMPORTANT: claude.ts yields one AssistantMessage PER CONTENT BLOCK, not one * per API re
source code/utils/sideQuestion.ts:127
↓ 1 callersFunctionextractSkillName
( toolName: string, input: unknown, )
source code/services/analytics/metadata.ts:217
↓ 1 callersFunctionextractSnippet
(text: string, query: string, contextChars: number)
source code/components/LogSelector.tsx:93
↓ 1 callersFunctionextractTeammateOptions
(options: unknown)
source code/main.tsx:4669
↓ 1 callersFunctionextractTeammateTranscriptsFromTasks
(tasks: { [taskId: string]: { type: string identity?: { agentId: string } messages?: Message[]
source code/utils/sessionStorage.ts:4273
↓ 1 callersFunctionextractTeleportPlan
( content: ToolResultBlockParam['content'], )
source code/utils/ultraplan/ccrSession.ts:323
↓ 1 callersFunctionextractTextFromValue
* Extract text from a queued command value. * For strings, returns the string. * For ContentBlockParam[], extracts text from text blocks.
source code/utils/messageQueueManager.ts:384
↓ 1 callersFunctionextractTodoListFromLog
* Extract todo list from SDK messages (finds last TodoWrite tool use).
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:367
↓ 1 callersFunctionextractTodosFromTranscript
* Scan the transcript for the last TodoWrite tool_use block and return its todos. * Used to hydrate AppState.todos on SDK --resume so the model's tod
source code/utils/sessionRestore.ts:79
↓ 1 callersFunctionextractToolInputForTelemetry
( input: unknown, )
source code/services/analytics/metadata.ts:293
↓ 1 callersFunctionextractToolStats
(log: LogOption)
source code/commands/insights.ts:469
↓ 1 callersFunctionextractToolUseBlock
( content: BetaContentBlock[], toolName: string, )
source code/utils/permissions/classifierShared.ts:17
↓ 1 callersFunctionextractToolUseId
(message: AssistantMessage)
source code/services/mcp/client.ts:3249
↓ 1 callersFunctionextractUrlScheme
* Extract URL scheme for telemetry. Defaults to 'gs' for unrecognized schemes * since the AKI backend is the only production path and the loader thro
source code/tools/SkillTool/SkillTool.ts:951
↓ 1 callersFunctionextractUserMessageText
* Extract plain text from a replayed SDKUserMessage NDJSON line. Returns the * trimmed text if this looks like a real human-authored message, otherwi
source code/bridge/sessionRunner.ts:209
← previousnext →5,101–5,200 of 11,462, ranked by callers