MCPcopy Create free account

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

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

↓ 1 callersFunctiondiscoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:135
↓ 1 callersMethoddiscoveryState
()
src/services/mcp/auth.ts:2037
↓ 1 callersFunctiondispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
src/ink/hit-test.ts:49
↓ 1 callersFunctiondispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
src/ink/hit-test.ts:102
↓ 1 callersMethoddispatchKeyboardEvent
(parsedKey: ParsedKey)
src/ink/ink.tsx:1269
↓ 1 callersFunctiondisplayServerName
(name: string)
src/components/messages/UserChannelMessage.tsx:21
↓ 1 callersMethoddisplayWidthToStringIndex
(text: string, targetWidth: number)
src/utils/Cursor.ts:1240
↓ 1 callersFunctiondispose
()
src/utils/skills/skillChangeDetector.ts:146
↓ 1 callersFunctiondisposeKeybindingWatcher
()
src/keybindings/loadUserBindings.ts:409
↓ 1 callersMethoddoExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
src/utils/telemetry/bigqueryExporter.ts:87
↓ 1 callersMethoddoExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
src/services/analytics/firstPartyEventLoggingExporter.ts:306
↓ 1 callersFunctiondoFetch
()
src/utils/fastMode.ts:461
↓ 1 callersFunctiondoInitialize
()
src/utils/tmuxSocket.ts:268
↓ 1 callersFunctiondoParse
(command: string)
src/utils/bash/ParsedCommand.ts:270
↓ 1 callersFunctiondoReadAsync
()
src/utils/secureStorage/macOsKeychainStorage.ts:178
↓ 1 callersFunctiondoReconnect
()
src/bridge/replBridge.ts:617
↓ 1 callersFunctiondoRefresh
(sessionId: string, gen: number)
src/bridge/jwtUtils.ts:165
↓ 1 callersFunctiondoctorHandler
(root: Root)
src/cli/handlers/util.tsx:72
↓ 1 callersFunctiondoesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
src/utils/sessionStorage.ts:3861
↓ 1 callersFunctiondoesSourceMatchHostPattern
* Check if a source matches a hostPattern entry. * Extracts the host from the source and tests it against the regex pattern. * * @param source - Th
src/utils/plugins/marketplaceHelpers.ts:278
↓ 1 callersFunctiondoesSourceMatchPathPattern
* Check if a source matches a pathPattern entry. * Tests the source's .path (file and directory sources only) against the regex pattern. * * @param
src/utils/plugins/marketplaceHelpers.ts:305
↓ 1 callersFunctiondownOrHistoryDown
()
src/hooks/useTextInput.ts:293
↓ 1 callersFunctiondownloadAndSaveFile
( attachment: File, config: FilesApiConfig, )
src/services/api/filesApi.ts:219
↓ 1 callersFunctiondownloadAndVerifyBinary
* Common logic for downloading and verifying a binary. * Includes stall detection (aborts if no bytes for 60s) and retry logic.
src/utils/nativeInstaller/download.ts:293
↓ 1 callersFunctiondownloadCaBundle
( baseUrl: string, systemCaPath: string, outPath: string, )
src/upstreamproxy/upstreamproxy.ts:254
↓ 1 callersFunctiondownloadFile
( fileId: string, config: FilesApiConfig, )
src/services/api/filesApi.ts:132
↓ 1 callersFunctiondownloadMcpb
* Download MCPB file from URL
src/utils/plugins/mcpbHandler.ts:482
↓ 1 callersFunctiondownloadSessionFiles
( files: File[], config: FilesApiConfig, concurrency: number = DEFAULT_CONCURRENCY, )
src/services/api/filesApi.ts:317
↓ 1 callersFunctiondownloadVersion
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:487
↓ 1 callersFunctiondownloadVersionFromArtifactory
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:151
↓ 1 callersFunctiondragScrollDirection
(sel: SelectionState | null, top: number, bottom: number, alreadyScrollingDir: -1 | 0 | 1 = 0)
src/components/ScrollKeybindingHandler.tsx:810
↓ 1 callersMethoddrain
()
src/cli/transports/WorkerStateUploader.ts:54
↓ 1 callersFunctiondrainAdaptive
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:124
↓ 1 callersFunctiondrainCommandQueue
()
src/cli/print.ts:1934
↓ 1 callersFunctiondrainPendingMessages
(taskId: string, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:181
↓ 1 callersFunctiondrainProportional
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:161
↓ 1 callersFunctiondrainStdin
(stdin: NodeJS.ReadStream = process.stdin)
src/ink/ink.tsx:1664
↓ 1 callersFunctiondrainer
()
src/services/extractMemories/extractMemories.ts:288
↓ 1 callersFunctiondropTextInBriefTurns
(messages: T[], briefToolNames: string[])
src/components/Messages.tsx:169
↓ 1 callersMethoddump
()
src/utils/fileStateCache.ts:86
↓ 1 callersFunctioneagerLoadSettings
* Parse and load settings flags early, before init() * This ensures settings are filtered from the start of initialization
src/main.tsx:502
↓ 1 callersFunctionembeddedSearchToolsBinaryPath
()
src/utils/embeddedTools.ts:27
↓ 1 callersFunctionemitHookProgress
(data: { hookId: string hookName: string hookEvent: string stdout: string stderr: string output: s
src/utils/hooks/hookEvents.ts:108
↓ 1 callersFunctionenableDebugLogging
()
src/utils/debug.ts:64
↓ 1 callersFunctionenableOptionAsMetaForTerminal
(theme: ThemeName)
src/commands/terminalSetup/terminalSetup.tsx:310
↓ 1 callersFunctionenablePaneBorderStatus
( windowTarget?: string, useSwarmSocket = false, )
src/utils/swarm/teammateLayoutManager.ts:88
↓ 1 callersFunctionenablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:195
↓ 1 callersFunctionencodePng
* Encode an RGBA pixel buffer as PNG. Minimal encoder: 8-bit depth, * color type 6 (RGBA), filter 0 (none) on every scanline, single IDAT.
src/utils/ansiToPng.ts:307
↓ 1 callersFunctionencodePowerShellCommand
* Base64-encode a string as UTF-16LE for PowerShell's -EncodedCommand. * Same encoding the parser uses (parser.ts toUtf16LeBase64). The output * is
src/utils/shell/powershellProvider.ts:23
↓ 1 callersFunctionendHookSpan
( span: Span, metadata?: { numSuccess?: number numBlocking?: number numNonBlockingError?: numb
src/utils/telemetry/sessionTracing.ts:887
↓ 1 callersFunctionendInteractionPerfettoSpan
(spanId: string)
src/utils/telemetry/perfettoTracing.ts:918
↓ 1 callersFunctionendLLMRequestPerfettoSpan
( spanId: string, metadata: { ttftMs?: number ttltMs?: number promptTokens?: number output
src/utils/telemetry/perfettoTracing.ts:468
↓ 1 callersFunctionendQueryProfile
()
src/utils/queryProfiler.ts:89
↓ 1 callersFunctionendToolPerfettoSpan
( spanId: string, metadata?: { success?: boolean error?: string resultTokens?: number }, )
src/utils/telemetry/perfettoTracing.ts:727
↓ 1 callersFunctionendUserInputPerfettoSpan
( spanId: string, metadata?: { decision?: string source?: string }, )
src/utils/telemetry/perfettoTracing.ts:801
↓ 1 callersFunctionenforceToolResultBudget
( messages: Message[], state: ContentReplacementState, skipToolNames: ReadonlySet<string> = new Set(), )
src/utils/toolResultStorage.ts:769
↓ 1 callersFunctionenqueueForLead
(prompt: string)
src/hooks/useScheduledTasks.ts:71
↓ 1 callersFunctionenqueueMainSessionNotification
* Enqueue a notification about the backgrounded session completing.
src/tasks/LocalMainSessionTask.ts:224
↓ 1 callersFunctionenqueueRemoteReviewNotification
* Enqueue a remote-review completion notification. Injects the review text * directly into the message queue so the local model receives it on the ne
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:327
↓ 1 callersFunctionenqueueTaskNotification
* Enqueue a task notification to the message queue.
src/utils/task/framework.ts:274
↓ 1 callersFunctionenrichLog
* Enriches a lite log with metadata from its JSONL file. * Returns the enriched log, or null if the log has no meaningful content * (no firstPrompt,
src/utils/sessionStorage.ts:5023
↓ 1 callersFunctionenrollTrustedDevice
()
src/bridge/trustedDevice.ts:98
↓ 1 callersFunctionensureAgentDirectoryExists
* Ensures the directory for an agent location exists
src/components/agents/agentFileUtils.ts:154
↓ 1 callersFunctionensureCachedMCState
()
src/services/compact/microCompact.ts:71
↓ 1 callersFunctionensureCleanupInterval
* Lazily start a background interval that evicts orphaned spans from activeSpans. * * Normal teardown calls endInteractionSpan / endToolSpan, which
src/utils/telemetry/sessionTracing.ts:100
↓ 1 callersMethodensureCurrentSessionFile
* Loads the sessionFile variable. * Do not need to create session files until they are written to.
src/utils/sessionStorage.ts:1271
↓ 1 callersFunctionensureImageStoreDir
* Ensure the image store directory exists.
src/utils/imageStore.ts:25
↓ 1 callersFunctionensureInboxDir
* Ensure the inbox directory exists for a team
src/utils/teammateMailbox.ts:71
↓ 1 callersFunctionensureKeychainPrefetchCompleted
()
src/utils/secureStorage/keychainPrefetch.ts:96
↓ 1 callersFunctionensureLocalPackageEnvironment
()
src/utils/localInstaller.ts:56
↓ 1 callersFunctionensureMdmSettingsLoaded
()
src/utils/settings/mdm/settings.ts:104
↓ 1 callersFunctionensureNonEmptyAssistantContent
* Ensure all non-final assistant messages have non-empty content. * * The API requires "all messages must have non-empty content except for the * o
src/utils/messages.ts:4933
↓ 1 callersFunctionensureScratchpadDir
()
src/utils/permissions/filesystem.ts:394
↓ 1 callersFunctionensureSession
* Creates a new tmux session if it doesn't exist
src/tools/shared/spawnMultiAgent.ts:171
↓ 1 callersMethodensureSession
Ensure a tmux session exists, creating one if needed.
src/utils/terminalPanel.ts:176
↓ 1 callersFunctionensureSocketInitialized
()
src/utils/tmuxSocket.ts:208
↓ 1 callersMethodensureStarted
()
src/utils/git/gitFilesystem.ts:342
↓ 1 callersFunctionensureToolResultPairing
( messages: (UserMessage | AssistantMessage)[], )
src/utils/messages.ts:5133
↓ 1 callersFunctionensureTransport
(type?: string)
src/services/mcp/utils.ts:313
↓ 1 callersFunctionensureUpstreamIsSet
* Ensures that the current branch has an upstream set * If not, sets it to origin/<branchName> if that remote branch exists
src/utils/teleport.tsx:215
↓ 1 callersFunctionentryBytes
(k: string, v: string)
src/services/teamMemorySync/index.ts:436
↓ 1 callersFunctioneraseLines
(n: number)
src/ink/termio/csi.ts:239
↓ 1 callersMethoderror
(message: string, ...args: unknown[])
src/utils/claudeInChrome/mcpServer.ts:290
↓ 1 callersFunctionerrorKey
(e: PluginError)
src/utils/plugins/refresh.ts:211
↓ 1 callersFunctionescapeJsLineTerminators
(json: string)
src/cli/ndjsonSafeStringify.ts:18
↓ 1 callersFunctionescapeRuleContent
(content: string)
src/utils/permissions/permissionRuleParser.ts:55
↓ 1 callersFunctionevaluateTimeBasedTrigger
( messages: Message[], querySource: QuerySource | undefined, )
src/services/compact/microCompact.ts:422
↓ 1 callersFunctionevery
(a: ReadonlySet<A>, b: ReadonlySet<A>)
src/utils/set.ts:32
↓ 1 callersFunctionexchangeJwtAuthGrant
(opts: { tokenEndpoint: string assertion: string clientId: string clientSecret: string authMethod?:
src/services/mcp/xaa.ts:337
↓ 1 callersFunctionexcludeStalePluginClients
( mcp: { clients: MCPServerConnection[] tools: Tool[] commands: Command[] resources: Record<
src/services/mcp/utils.ts:185
↓ 1 callersFunctionexecAgentHook
( hook: AgentHook, hookName: string, hookEvent: HookEvent, jsonInput: string, signal: AbortSignal,
src/utils/hooks/execAgentHook.ts:36
↓ 1 callersFunctionexecIntoTmuxWorktree
(args: string[])
src/utils/worktree.ts:1180
↓ 1 callersFunctionexecPromptHook
( hook: PromptHook, hookName: string, hookEvent: HookEvent, jsonInput: string, signal: AbortSignal,
src/utils/hooks/execPromptHook.ts:21
↓ 1 callersFunctionexecuteAsyncClassifierCheck
( pendingCheck: { command: string; cwd: string; descriptions: string[] }, signal: AbortSignal, isNonInte
src/tools/BashTool/bashPermissions.ts:1605
↓ 1 callersFunctionexecuteAutoDream
( context: REPLHookContext, appendSystemMessage?: AppendSystemMessageFn, )
src/services/autoDream/autoDream.ts:319
↓ 1 callersFunctionexecuteBYOCPersistence
* Execute BYOC mode persistence: scan local filesystem for modified files, * then upload to Files API.
src/utils/filePersistence/filePersistence.ts:150
↓ 1 callersFunctionexecuteCloudPersistence
* Execute Cloud (1P) mode persistence. * TODO: Read file_id from xattr on output files. xattr-based file IDs are * currently being added for 1P envi
src/utils/filePersistence/filePersistence.ts:247
↓ 1 callersFunctionexecuteCwdChangedHooks
( oldCwd: string, newCwd: string, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, )
src/utils/hooks.ts:4260
↓ 1 callersFunctionexecuteEffort
(args: string)
src/commands/effort/effort.tsx:107
↓ 1 callersFunctionexecuteElicitationHooks
({ serverName, message, requestedSchema, permissionMode, signal, timeoutMs = TOOL_HOOK_EXECUTION_T
src/utils/hooks.ts:4470
← previousnext →5,001–5,100 of 11,613, ranked by callers