MCPcopy Create free account

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

Functions11,613 in github.com/QuantaAlpha/claude-code

↓ 1 callersFunctionresolvePluginHint
( hint: ClaudeCodeHint, )
src/utils/plugins/hintRecommendation.ts:103
↓ 1 callersFunctionresolvePluginLspEnvironment
( config: LspServerConfig, plugin: { path: string; source: string }, userConfig?: PluginOptionValues,
src/utils/plugins/lspPluginIntegration.ts:229
↓ 1 callersFunctionresolveSkillFilePath
Normalize and validate a skill-relative path; throws on traversal.
src/skills/bundledSkills.ts:196
↓ 1 callersFunctionresolveSkillName
* Resolve a skill name from agent frontmatter to a registered command name. * * Plugin skills are registered with namespaced names (e.g., "my-plugin
src/tools/AgentTool/runAgent.ts:945
↓ 1 callersFunctionresolveStopBoundary
* Compute the stop boundary for getProjectDirsUpToHome's upward walk. * * Normally the walk stops at the nearest `.git` above `cwd`. But if the Bash
src/utils/markdownConfigLoader.ts:191
↓ 1 callersFunctionresolveStoredPastedContent
* Resolve stored paste content to full PastedContent by fetching from paste store if needed.
src/history.ts:230
↓ 1 callersFunctionresolveSystemPromptSections
( sections: SystemPromptSection[], )
src/constants/systemPromptSections.ts:43
↓ 1 callersFunctionresolveTeamName
(input: { team_name?: string; }, appState: { teamContext?: { teamName: string; }; })
src/tools/AgentTool/AgentTool.tsx:1388
↓ 1 callersFunctionrestoreBackup
* Restores a file from its backup path with proper directory creation and permissions. * Lazy mkdir: tries copyFile first, creates the directory on E
src/utils/fileHistory.ts:804
↓ 1 callersFunctionrestoreConversationDirectly
(message: UserMessage)
src/components/MessageSelector.tsx:142
↓ 1 callersFunctionrestoreHeredocsInString
* Restores heredoc placeholders back to their original content in a single string. * Internal helper used by restoreHeredocs.
src/utils/bash/heredoc.ts:693
↓ 1 callersFunctionrestoreLexToByte
(P: ParseState, targetByte: number)
src/utils/bash/bashParser.ts:1989
↓ 1 callersFunctionrestoreRemoteAgentTasksImpl
(context: TaskContext)
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:484
↓ 1 callersFunctionrestoreSkillStateFromMessages
(messages: Message[])
src/utils/conversationRecovery.ts:382
↓ 1 callersFunctionretain
()
src/utils/computerUse/drainRunLoop.ts:24
↓ 1 callersFunctionretrievePastedText
(hash: string)
src/utils/pasteStore.ts:59
↓ 1 callersMethodretryDelay
(failures: number)
src/cli/transports/WorkerStateUploader.ts:88
↓ 1 callersMethodretryDelay
(failures: number, retryAfterMs?: number)
src/cli/transports/SerialBatchEventUploader.ts:235
↓ 1 callersMethodretryFileInBackground
(filePath: string)
src/services/analytics/firstPartyEventLoggingExporter.ts:242
↓ 1 callersMethodretryPreviousBatches
()
src/services/analytics/firstPartyEventLoggingExporter.ts:220
↓ 1 callersFunctionreturnValue
( as: AsyncGenerator<unknown, A>, )
src/utils/generators.ts:14
↓ 1 callersMethodreveal
()
src/commands/remote-setup/api.ts:21
↓ 1 callersFunctionreverseRange
(arr: T[], start: number, end: number)
src/ink/bidi.ts:107
↓ 1 callersFunctionreverseRangeNumbers
(arr: number[], start: number, end: number)
src/ink/bidi.ts:117
↓ 1 callersFunctionreviewCountsLine
(session: DeepImmutable<RemoteAgentTaskState>)
src/components/tasks/RemoteSessionDetailDialog.tsx:493
↓ 1 callersFunctionrewriteWindowsNullRedirect
(command: string)
src/utils/bash/shellQuoting.ts:126
↓ 1 callersFunctionripGrepFileCount
* Stream-count lines from `rg --files` without buffering stdout. * * On large repos (e.g. 247k files, 16MB of paths), calling `ripGrep()` just * to
src/utils/ripgrep.ts:246
↓ 1 callersFunctionripGrepStream
( args: string[], target: string, abortSignal: AbortSignal, onLines: (lines: string[]) => void, )
src/utils/ripgrep.ts:295
↓ 1 callersFunctionrmSync
(path, options)
src/utils/fsOperations.ts:569
↓ 1 callersFunctionroll
(userId: string)
src/buddy/companion.ts:107
↓ 1 callersFunctionrollRarity
(rng: () => number)
src/buddy/companion.ts:43
↓ 1 callersFunctionrollStats
( rng: () => number, rarity: Rarity, )
src/buddy/companion.ts:62
↓ 1 callersFunctionrootPathForSource
(source: PermissionRuleSource)
src/utils/permissions/filesystem.ts:746
↓ 1 callersFunctionroughTokenCountEstimationForBlock
( block: string | Anthropic.ContentBlock | Anthropic.ContentBlockParam, )
src/services/tokenEstimation.ts:391
↓ 1 callersFunctionroughTokenCountEstimationForFileType
( content: string, fileExtension: string, )
src/services/tokenEstimation.ts:234
↓ 1 callersFunctionroughTokenCountEstimationForMessage
(message: { type: string message?: { content?: unknown } attachment?: Attachment })
src/services/tokenEstimation.ts:341
↓ 1 callersFunctionround
(number: number, precision: number)
src/cost-tracker.ts:246
↓ 1 callersFunctionroundCorners
* Zero out the alpha channel in the four corner regions outside a * quarter-circle of radius `r`. Produces rounded-rect corners.
src/utils/ansiToPng.ts:246
↓ 1 callersFunctionroundLayout
( node: Node, scale: number, absLeft: number, absTop: number, )
src/native-ts/yoga-layout/index.ts:2435
↓ 1 callersFunctionruleSourceToOTelSource
* Map a rule's origin to the documented OTel `source` vocabulary, matching * the interactive path's semantics (permissionLogging.ts:81): session-scop
src/services/tools/toolExecution.ts:181
↓ 1 callersFunctionrun
()
src/main.tsx:884
↓ 1 callersFunctionrun
()
src/utils/preflightChecks.tsx:90
↓ 1 callersFunctionrun
()
src/commands/install.tsx:98
↓ 1 callersFunctionrunAwsAuthRefresh
* Run awsAuthRefresh to perform interactive authentication (e.g., aws sso login) * Streams output in real-time for user visibility
src/utils/auth.ts:612
↓ 1 callersFunctionrunChromeNativeHost
()
src/utils/claudeInChrome/chromeNativeHost.ts:59
↓ 1 callersFunctionrunClaudeInChromeMcpServer
()
src/utils/claudeInChrome/mcpServer.ts:248
↓ 1 callersFunctionrunCleanupFunctions
()
src/utils/cleanupRegistry.ts:23
↓ 1 callersFunctionrunComputerUseMcpServer
()
src/utils/computerUse/mcpServer.ts:85
↓ 1 callersFunctionrunExtraction
({ context, appendSystemMessage, isTrailingRun, }: { context: REPLHookContext appendSyst
src/services/extractMemories/extractMemories.ts:329
↓ 1 callersFunctionrunFilePersistence
( turnStartTime: TurnStartTime, signal?: AbortSignal, )
src/utils/filePersistence/filePersistence.ts:51
↓ 1 callersFunctionrunGcpAuthRefresh
* Run gcpAuthRefresh to perform interactive authentication (e.g., gcloud auth application-default login) * Streams output in real-time for user visib
src/utils/auth.ts:875
↓ 1 callersFunctionrunHeadless
( inputPrompt: string | AsyncIterable<string>, getAppState: () => AppState, setAppState: (f: (prev: AppS
src/cli/print.ts:455
↓ 1 callersFunctionrunHeadlessStreaming
( structuredIO: StructuredIO, mcpClients: MCPServerConnection[], commands: Command[], tools: Tools,
src/cli/print.ts:976
↓ 1 callersFunctionrunInProcessTeammate
( config: InProcessRunnerConfig, )
src/utils/swarm/inProcessRunner.ts:883
↓ 1 callersFunctionrunMigrations
()
src/main.tsx:326
↓ 1 callersFunctionrunPermissionDialog
* Render the approval dialog mid-call via `setToolJSX` + `Promise`, wait for * the user. Mirrors `spawnMultiAgent.ts:419-436` (the `It2SetupPrompt` p
src/utils/computerUse/wrapper.tsx:296
↓ 1 callersFunctionrunPermissionRequestHooksForHeadlessAgent
* Runs PermissionRequest hooks for headless/async agents that cannot show * permission prompts. This gives hooks an opportunity to allow or deny * t
src/utils/permissions/permissions.ts:400
↓ 1 callersFunctionrunPostToolUseFailureHooks
( toolUseContext: ToolUseContext, tool: Tool<Input, unknown>, toolUseID: string, messageId: string,
src/services/tools/toolHooks.ts:193
↓ 1 callersFunctionrunPostToolUseHooks
( toolUseContext: ToolUseContext, tool: Tool<Input, Output>, toolUseID: string, messageId: string, t
src/services/tools/toolHooks.ts:39
↓ 1 callersFunctionrunPowerShellCommand
({ input, abortController, setAppState, setToolJSX, preventCwdChanges, isMainThread, toolUseId,
src/tools/PowerShellTool/PowerShellTool.tsx:663
↓ 1 callersFunctionrunPreToolUseHooks
( toolUseContext: ToolUseContext, tool: Tool, processedInput: Record<string, unknown>, toolUseID: stri
src/services/tools/toolHooks.ts:435
↓ 1 callersFunctionrunServer
()
src/entrypoints/mcp.ts:190
↓ 1 callersFunctionrunShellCommand
({ input, abortController, setAppState, setToolJSX, preventCwdChanges, isMainThread, toolUseId,
src/tools/BashTool/BashTool.tsx:826
↓ 1 callersMethodrunShellDirect
Fallback when tmux is not available — runs a non-persistent shell.
src/utils/terminalPanel.ts:182
↓ 1 callersFunctionrunToolsConcurrently
( toolUseMessages: ToolUseBlock[], assistantMessages: AssistantMessage[], canUseTool: CanUseToolFn, to
src/services/tools/toolOrchestration.ts:152
↓ 1 callersFunctionrunToolsSerially
( toolUseMessages: ToolUseBlock[], assistantMessages: AssistantMessage[], canUseTool: CanUseToolFn, to
src/services/tools/toolOrchestration.ts:118
↓ 1 callersFunctionrunValidation
()
src/commands/plugin/ValidatePlugin.tsx:24
↓ 1 callersFunctionrunWithTeammateContext
( context: TeammateContext, fn: () => T, )
src/utils/teammateContext.ts:59
↓ 1 callersFunctionsafeJsonParse
(raw: string)
src/bridge/bridgePointer.ts:204
↓ 1 callersFunctionsafeKeys
(obj: Record<string, unknown> | undefined | null)
src/commands/insights.ts:3031
↓ 1 callersFunctionsafeParseJSONC
(json: string | null | undefined)
src/utils/json.ts:65
↓ 1 callersFunctionsafeSpawn
Attempt to spawn a session; returns error string if spawn throws.
src/bridge/bridgeMain.ts:127
↓ 1 callersFunctionsafeWriteFile
(p: string, content: string)
src/skills/bundledSkills.ts:186
↓ 1 callersFunctionsanitizeAPIError
(apiError: APIError)
src/services/api/errorUtils.ts:122
↓ 1 callersFunctionsanitizeAgentTypeForPath
* Sanitize an agent type name for use as a directory name. * Replaces colons (invalid on Windows, used in plugin-namespaced agent * types like "my-p
src/tools/AgentTool/agentMemory.ts:20
↓ 1 callersFunctionsanitizeAppNames
(raw: readonly string[])
src/utils/computerUse/appNames.ts:150
↓ 1 callersFunctionsanitizeConnectorName
(name: string)
src/skills/bundled/scheduleRemoteAgents.ts:89
↓ 1 callersFunctionsanitizeErrorToolResultContent
* Strip non-text blocks from is_error tool_results — the API rejects the * combination with "all content must be type text if is_error is true". *
src/utils/messages.ts:1884
↓ 1 callersFunctionsanitizeFileName
* Strip path components and keep only filename-safe chars. file_name comes * from the network (web composer), so treat it as untrusted even though th
src/bridge/inboundAttachments.ts:55
↓ 1 callersFunctionsanitizeFilename
(text: string)
src/commands/export/export.tsx:42
↓ 1 callersFunctionsanitizeHeaderValue
* Strip CR, LF, and NUL bytes from a header value to prevent HTTP header * injection (CRLF injection) via env var values or hook-configured header *
src/utils/hooks/execHttpHook.ts:76
↓ 1 callersFunctionsanitizePathKey
* Sanitize a file path key by rejecting dangerous patterns. * Checks for null bytes, URL-encoded traversals, and other injection vectors. * Returns
src/memdir/teamMemPaths.ts:22
↓ 1 callersFunctionsanitizePluginId
(pluginId: string)
src/utils/plugins/pluginDirectories.ts:92
↓ 1 callersFunctionsanitizeTrustedNames
(raw: readonly string[])
src/utils/computerUse/appNames.ts:159
↓ 1 callersFunctionsaveAgentToFile
( source: SettingSource | 'built-in', agentType: string, whenToUse: string, tools: string[] | undefine
src/components/agents/agentFileUtils.ts:166
↓ 1 callersFunctionsaveAiGeneratedTitle
(sessionId: UUID, aiTitle: string)
src/utils/sessionStorage.ts:2667
↓ 1 callersFunctionsaveApiKey
(apiKey: string)
src/utils/auth.ts:1094
↓ 1 callersFunctionsaveCacheSafeParams
(params: CacheSafeParams | null)
src/utils/forkedAgent.ts:75
↓ 1 callersFunctionsaveCachedRestrictions
* Save restrictions to cache file
src/services/policyLimits/index.ts:410
↓ 1 callersFunctionsaveFacets
(facets: SessionFacets)
src/commands/insights.ts:963
↓ 1 callersFunctionsaveIdpClientSecret
( idpIssuer: string, clientSecret: string, )
src/services/mcp/xaaIdpLogin.ts:159
↓ 1 callersFunctionsaveIdpIdTokenFromJwt
( idpIssuer: string, idToken: string, )
src/services/mcp/xaaIdpLogin.ts:133
↓ 1 callersFunctionsaveInstallCountsCache
* Save the install counts cache to disk atomically. * Uses a temp file + rename pattern to prevent corruption.
src/utils/plugins/installCounts.ts:149
↓ 1 callersFunctionsaveMarketplaceJsonToZipCache
( marketplaceName: string, installLocation: string, )
src/utils/plugins/zipCacheAdapters.ts:100
↓ 1 callersFunctionsaveSessionMeta
(meta: SessionMeta)
src/commands/insights.ts:988
↓ 1 callersFunctionsaveSettings
* Save remote settings to file * Stores raw settings JSON (checksum is computed on-demand when needed)
src/services/remoteManagedSettings/index.ts:367
↓ 1 callersMethodsaveTokens
(tokens: OAuthTokens)
src/services/mcp/auth.ts:1704
↓ 1 callersFunctionscan
(dirPath: string, namespace: string[])
src/utils/plugins/walkPluginMarkdown.ts:29
↓ 1 callersFunctionscanAllSessions
* Scans all project directories using filesystem metadata only (no JSONL parsing). * Returns a list of session file info sorted by mtime descending.
src/commands/insights.ts:2755
↓ 1 callersFunctionscanArithOp
Scan next arithmetic binary operator; returns [text, length] or null.
src/utils/bash/bashParser.ts:4191
← previousnext →7,401–7,500 of 11,613, ranked by callers