MCPcopy Create free account

hub / github.com/tanbiralam/claude-code / functions

Functions11,484 in github.com/tanbiralam/claude-code

↓ 1 callersFunctionexecutePostToolHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolResponse: ToolResponse, toolUseCont
src/utils/hooks.ts:3450
↓ 1 callersFunctionexecutePostToolUseFailureHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, error: string, toolUseContext: ToolUseC
src/utils/hooks.ts:3492
↓ 1 callersFunctionexecutePreToolHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolUseContext: ToolUseContext, permiss
src/utils/hooks.ts:3394
↓ 1 callersFunctionexecutePromptSuggestion
( context: REPLHookContext, )
src/services/PromptSuggestion/promptSuggestion.ts:184
↓ 1 callersFunctionexecutePush
* Execute the push and track its lifecycle. * Push is read-only on disk (delta+probe, no merge writes), so no event * suppression is needed — edits
src/services/teamMemorySync/watcher.ts:84
↓ 1 callersFunctionexecuteRemoteSkill
* Load a remote canonical skill and inject its SKILL.md content into the * conversation. Unlike local skills (which go through processPromptSlashComm
src/tools/SkillTool/SkillTool.ts:969
↓ 1 callersFunctionexecuteRepeatFind
( reverse: boolean, count: number, ctx: TransitionContext, )
src/vim/transitions.ts:465
↓ 1 callersFunctionexecuteSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', sessionId?: string, agentType?: string, model?:
src/utils/hooks.ts:3867
↓ 1 callersFunctionexecuteSetupHooks
( trigger: 'init' | 'maintenance', signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT
src/utils/hooks.ts:3902
↓ 1 callersFunctionexecuteStatusLineCommand
( statusLineInput: StatusLineCommandInput, signal?: AbortSignal, timeoutMs: number = 5000, // Short time
src/utils/hooks.ts:4584
↓ 1 callersFunctionexecuteStopHooks
( permissionMode?: string, signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, s
src/utils/hooks.ts:3639
↓ 1 callersFunctionexecuteSubagentStartHooks
( agentId: string, agentType: string, signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TI
src/utils/hooks.ts:3932
↓ 1 callersFunctionexecuteTaskCreatedHooks
( taskId: string, taskSubject: string, taskDescription?: string, teammateName?: string, teamName?: s
src/utils/hooks.ts:3745
↓ 1 callersFunctionexecuteTeammateIdleHooks
( teammateName: string, teamName: string, permissionMode?: string, signal?: AbortSignal, timeoutMs:
src/utils/hooks.ts:3709
↓ 1 callersMethodexecuteTool
* Execute a tool and collect its results
src/services/tools/StreamingToolExecutor.ts:265
↓ 1 callersFunctionexecuteUserPromptSubmitHooks
( prompt: string, permissionMode: string, toolUseContext: ToolUseContext, requestPrompt?: ( source
src/utils/hooks.ts:3826
↓ 1 callersFunctionexistsSync
(fsPath)
src/utils/fsOperations.ts:389
↓ 1 callersFunctionexit
()
src/utils/handlePromptSubmit.ts:35
↓ 1 callersFunctionexitRestoredWorktree
()
src/utils/sessionRestore.ts:380
↓ 1 callersFunctionexitWithMessage
(root: Root, message: string, options?: { color?: TextProps['color']; exitCode?: number; beforeExit?: ()
src/interactiveHelpers.tsx:65
↓ 1 callersFunctionexpandBraces
* Expands brace patterns in a glob string. * @example * expandBraces("src/*.{ts,tsx}") // returns ["src/*.ts", "src/*.tsx"] * expandBraces("{a,b}/{
src/utils/frontmatterParser.ts:240
↓ 1 callersFunctionexpandEnvVars
* Internal utility: Expands environment variables in an MCP server config
src/services/mcp/config.ts:556
↓ 1 callersFunctionexpandField
(field: string, range: FieldRange)
src/utils/cron.ts:31
↓ 1 callersFunctionexpandFilePath
(filePath: string)
src/utils/commitAttribution.ts:296
↓ 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
src/utils/hooks/ssrfGuard.ts:133
↓ 1 callersFunctionexpandTabs
( text: string, interval = DEFAULT_TAB_INTERVAL, )
src/ink/tabstops.ts:9
↓ 1 callersFunctionexpectColorDiff
()
src/components/StructuredDiff/colorDiff.ts:25
↓ 1 callersFunctionexpectColorFile
()
src/components/StructuredDiff/colorDiff.ts:29
↓ 1 callersFunctionexportWithReactRenderer
(context: ToolUseContext)
src/commands/export/export.tsx:49
↓ 1 callersFunctionextendSelection
( s: SelectionState, screen: Screen, col: number, row: number, )
src/ink/selection.ts:389
↓ 1 callersFunctionextensionForMimeType
(mimeType: string | undefined)
src/utils/mcpOutputStorage.ts:66
↓ 1 callersFunctionexternalMetadataToAppState
( metadata: SessionExternalMetadata, )
src/state/onChangeAppState.ts:24
↓ 1 callersFunctionextractActivities
( line: string, sessionId: string, onDebug: (msg: string) => void, )
src/bridge/sessionRunner.ts:107
↓ 1 callersFunctionextractAgentIdsFromMessages
(messages: Message[])
src/utils/sessionStorage.ts:4244
↓ 1 callersFunctionextractAgentMcpServers
( agents: AgentDefinition[], )
src/services/mcp/utils.ts:466
↓ 1 callersFunctionextractApprovedPlan
(content: ToolResultBlockParam['content'])
src/utils/ultraplan/ccrSession.ts:333
↓ 1 callersFunctionextractAtMentionedFiles
(content: string)
src/utils/attachments.ts:2757
↓ 1 callersFunctionextractBaseCommand
* Extract the command name from a single pipeline segment. * Strips leading `&` / `.` call operators and `.exe` suffix, lowercases.
src/tools/PowerShellTool/commandSemantics.ts:100
↓ 1 callersFunctionextractBaseCommand
* Extract just the command name (first word) from a single command string.
src/tools/BashTool/commandSemantics.ts:104
↓ 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
src/skills/bundledSkills.ts:131
↓ 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
src/utils/queryHelpers.ts:543
↓ 1 callersFunctionextractCodeBlocks
(markdown: string)
src/commands/copy/copy.tsx:30
↓ 1 callersFunctionextractCommandArguments
(commandNode: Node)
src/utils/bash/parser.ts:189
↓ 1 callersFunctionextractCommandNameAndArgs
(value: string)
src/hooks/useTypeahead.tsx:326
↓ 1 callersFunctionextractCompoundStructure
( rootNode: unknown, command: string, )
src/utils/bash/treeSitterAnalysis.ts:296
↓ 1 callersFunctionextractConversationContext
* Extract recent conversation context from messages for the explainer. * Returns a summary of recent assistant messages to provide context * for "wh
src/utils/permissions/permissionExplainer.ts:102
↓ 1 callersFunctionextractCwdResetWarning
* Extracts the "Shell cwd was reset" warning message from stderr * Returns the cleaned stderr and the warning message separately
src/tools/BashTool/BashToolResultMessage.tsx:45
↓ 1 callersFunctionextractDangerousPatterns
(rootNode: unknown)
src/utils/bash/treeSitterAnalysis.ts:448
↓ 1 callersMethodextractDataPoints
(metric: MetricData)
src/utils/telemetry/bigqueryExporter.ts:198
↓ 1 callersFunctionextractDebugCategories
(message: string)
src/utils/debugFilter.ts:65
↓ 1 callersFunctionextractDirectories
(updates: PermissionUpdate[] | undefined)
src/components/permissions/PermissionDecisionDebugInfo.tsx:192
↓ 1 callersFunctionextractEnvVars
(commandNode: Node | null)
src/utils/bash/parser.ts:175
↓ 1 callersFunctionextractErrorTypeFromData
(data: unknown)
src/bridge/bridgeApi.ts:526
↓ 1 callersFunctionextractFacetsFromAPI
( log: LogOption, sessionId: string, )
src/commands/insights.ts:1001
↓ 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
src/utils/staticRender.tsx:62
↓ 1 callersFunctionextractFirstMessageText
( messages: (UserMessage | AssistantMessage)[], )
src/utils/fingerprint.ts:16
↓ 1 callersFunctionextractFirstPrompt
(messages: Message[])
src/commands/export/export.tsx:19
↓ 1 callersFunctionextractFirstPromptFromChunk
* Scans a chunk of text for the first meaningful user prompt.
src/utils/sessionStorage.ts:4818
↓ 1 callersFunctionextractFirstPromptFromHead
(head: string)
src/utils/sessionStoragePortable.ts:135
↓ 1 callersFunctionextractFirstUserMessageText
* Extract text from first user message for fingerprint computation.
src/utils/sideQuery.ts:69
↓ 1 callersFunctionextractGlobBaseDirectory
(pattern: string)
src/utils/glob.ts:17
↓ 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
src/utils/plugins/fetchTelemetry.ts:54
↓ 1 callersFunctionextractHttpStatus
(err: unknown)
src/bridge/debugUtils.ts:88
↓ 1 callersFunctionextractHyperlinkFromStyles
( styles: AnsiCode[], )
src/ink/screen.ts:1099
↓ 1 callersFunctionextractImage
( data: Record<string, unknown>, )
src/utils/notebook.ts:41
↓ 1 callersFunctionextractImagesFromValue
* Extract images from ContentBlockParam[] and convert to PastedContent format. * Returns empty array for string values or if no images found.
src/utils/messageQueueManager.ts:390
↓ 1 callersFunctionextractInboundAttachments
(msg: unknown)
src/bridge/inboundAttachments.ts:42
↓ 1 callersFunctionextractIncludePathsFromTokens
( tokens: ReturnType<Lexer['lex']>, basePath: string, )
src/utils/claudemd.ts:451
↓ 1 callersFunctionextractLastToolInfo
(progressMessages: ProgressMessage<Progress>[], tools: Tools)
src/tools/AgentTool/UI.tsx:788
↓ 1 callersFunctionextractLspInfoFromManifest
* Extract LSP info (extensions and command) from inline lspServers config. * * NOTE: Can only read inline configs, not external .lsp.json files. *
src/utils/plugins/lspRecommendation.ts:67
↓ 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
src/utils/hooks/ssrfGuard.ts:187
↓ 1 callersFunctionextractMarkupText
* Extracts text content from MarkupContent or MarkedString
src/tools/LSPTool/formatters.ts:223
↓ 1 callersFunctionextractMcpResourceMentions
(content: string)
src/utils/attachments.ts:2792
↓ 1 callersFunctionextractMcpbContents
* Extract MCPB file and write contents to extraction directory. * * @param modes - name→mode map from `parseZipModes`. MCPB bundles can ship * na
src/utils/plugins/mcpbHandler.ts:550
↓ 1 callersFunctionextractMode
(updates: PermissionUpdate[] | undefined)
src/components/permissions/PermissionDecisionDebugInfo.tsx:205
↓ 1 callersFunctionextractModelIdFromArn
(modelId: string)
src/utils/model/bedrock.ts:199
↓ 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
src/services/api/errorUtils.ts:169
↓ 1 callersFunctionextractPipePositions
(rootNode: Node)
src/utils/bash/ParsedCommand.ts:113
↓ 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
src/tools/BashTool/bashPermissions.ts:307
↓ 1 callersFunctionextractProviderPathFromArg
(arg: string)
src/tools/PowerShellTool/powershellPermissions.ts:985
↓ 1 callersFunctionextractQuoteContext
( rootNode: unknown, command: string, )
src/utils/bash/treeSitterAnalysis.ts:224
↓ 1 callersFunctionextractRedirectionNodes
(rootNode: Node)
src/utils/bash/ParsedCommand.ts:131
↓ 1 callersFunctionextractReviewFromLog
* Extract review content from the remote session log. * * Two producers, two event shapes: * - bughunter mode: run_hunt.sh is a SessionStart hook;
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:254
↓ 1 callersFunctionextractReviewTagFromLog
* Tag-only variant of extractReviewFromLog for delta scanning. * * Returns non-null ONLY when an explicit <remote-review> tag is found. * Unlike ex
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:295
↓ 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,
src/utils/bash/ast.ts:1721
↓ 1 callersFunctionextractSandboxViolations
* Extracts sandbox violations from stderr if present * Returns both the cleaned stderr and the violations content
src/tools/BashTool/BashToolResultMessage.tsx:24
↓ 1 callersFunctionextractSectionName
Extract a human-readable name from a system prompt section's content
src/utils/analyzeContext.ts:261
↓ 1 callersFunctionextractSedExpressions
(command: string)
src/tools/BashTool/sedValidation.ts:388
↓ 1 callersFunctionextractServerMessage
(data: unknown)
src/utils/errorLogSink.ts:128
↓ 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
src/utils/stats.ts:940
↓ 1 callersFunctionextractSideQuestionResponse
* Extract a display string from forked agent messages. * * IMPORTANT: claude.ts yields one AssistantMessage PER CONTENT BLOCK, not one * per API re
src/utils/sideQuestion.ts:125
↓ 1 callersFunctionextractSkillName
( toolName: string, input: unknown, )
src/services/analytics/metadata.ts:215
↓ 1 callersFunctionextractSnippet
(text: string, query: string, contextChars: number)
src/components/LogSelector.tsx:91
↓ 1 callersFunctionextractTeammateOptions
(options: unknown)
src/main.tsx:4667
↓ 1 callersFunctionextractTeammateTranscriptsFromTasks
(tasks: { [taskId: string]: { type: string identity?: { agentId: string } messages?: Message[]
src/utils/sessionStorage.ts:4271
↓ 1 callersFunctionextractTeleportPlan
( content: ToolResultBlockParam['content'], )
src/utils/ultraplan/ccrSession.ts:321
↓ 1 callersFunctionextractTextFromValue
* Extract text from a queued command value. * For strings, returns the string. * For ContentBlockParam[], extracts text from text blocks.
src/utils/messageQueueManager.ts:382
↓ 1 callersFunctionextractTodoListFromLog
* Extract todo list from SDK messages (finds last TodoWrite tool use).
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:365
↓ 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
src/utils/sessionRestore.ts:77
↓ 1 callersFunctionextractToolInputForTelemetry
( input: unknown, )
src/services/analytics/metadata.ts:291
← previousnext →5,101–5,200 of 11,484, ranked by callers