MCPcopy Create free account

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

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

↓ 1 callersFunctionskipTimeoutFlags
* Parse timeout's GNU flags (long + short, fused + space-separated) and * return the argv index of the DURATION token, or -1 if flags are unparseable
src/tools/BashTool/pathValidation.ts:1183
↓ 1 callersMethodsleep
(ms: number)
src/cli/transports/SerialBatchEventUploader.ts:261
↓ 1 callersFunctionsliceContext
* Given an absolute match offset, read ±contextLines around it and return * the decoded slice with its starting line number. Reuses `scratch` (the *
src/utils/readEditContext.ts:171
↓ 1 callersMethodsnapToGraphemeBoundary
* Snap an arbitrary code-unit offset to the start of the containing grapheme. * If offset is already on a boundary, returns it unchanged.
src/utils/Cursor.ts:1516
↓ 1 callersFunctionsortForMatching
(models: ModelCapability[])
src/utils/model/modelCapabilities.ts:54
↓ 1 callersFunctionsortKeysDeep
* Recursively sort all keys in an object to match Python's json.dumps(sort_keys=True)
src/services/remoteManagedSettings/index.ts:112
↓ 1 callersFunctionsortKeysDeep
* Recursively sort all keys in an object for consistent hashing
src/services/policyLimits/index.ts:133
↓ 1 callersFunctionsortMatchersByPriority
( matchers: string[], hooksByEventAndMatcher: Record< string, Record<string, IndividualHookConfig[
src/utils/hooks/hooksSettings.ts:230
↓ 1 callersFunctionsourceToString
( source: PermissionApprovalSource | PermissionRejectionSource, )
src/hooks/toolPermission/permissionLogging.ts:68
↓ 1 callersFunctionspawnTeammate
( config: SpawnTeammateConfig, context: ToolUseContext, )
src/tools/shared/spawnMultiAgent.ts:1088
↓ 1 callersMethodspillToDisk
Force all buffered content to disk. Call when backgrounding.
src/utils/task/TaskOutput.ts:362
↓ 1 callersFunctionsplitTabStatusPairs
Split `k=v;k=v` honoring `\;` and `\\` escapes. Yields [key, unescapedValue].
src/ink/termio/osc.ts:368
↓ 1 callersFunctionspriteFrameCount
(species: Species)
src/buddy/sprites.ts:471
↓ 1 callersFunctionsquashTextNodes
* Squash text nodes into a plain string (without styles). * Used for text measurement in layout calculations.
src/ink/squash-text-nodes.ts:69
↓ 1 callersFunctionsquashTextNodesToSegments
( node: DOMElement, inheritedStyles: TextStyles = {}, inheritedHyperlink?: string, out: StyledSegment[
src/ink/squash-text-nodes.ts:18
↓ 1 callersFunctionstart
(dir_0: -1 | 1)
src/components/ScrollKeybindingHandler.tsx:715
↓ 1 callersFunctionstart
* Starts the LSP server and initializes it with workspace information. * * If the server is already running or starting, this method returns imm
src/services/lsp/LSPServerInstance.ts:135
↓ 1 callersMethodstart
()
src/utils/git/gitFilesystem.ts:353
↓ 1 callersMethodstart
()
src/utils/claudeInChrome/chromeNativeHost.ts:110
↓ 1 callersFunctionstartArecordRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, )
src/services/voice.ts:468
↓ 1 callersFunctionstartBackgroundHousekeeping
()
src/utils/backgroundHousekeeping.ts:31
↓ 1 callersFunctionstartBackgroundPolling
()
src/services/remoteManagedSettings/index.ts:612
↓ 1 callersFunctionstartBackgroundPolling
()
src/services/policyLimits/index.ts:635
↓ 1 callersFunctionstartBackgroundSession
({ messages, queryParams, description, setAppState, agentDefinition, }: { messages: Message[] qu
src/tasks/LocalMainSessionTask.ts:338
↓ 1 callersFunctionstartBunRelay
( wsUrl: string, authHeader: string, wsAuthHeader: string, )
src/upstreamproxy/relay.ts:176
↓ 1 callersFunctionstartCapturingEarlyInput
()
src/utils/earlyInput.ts:29
↓ 1 callersFunctionstartConnecting
Start the connecting spinner. Stopped by first updateIdleStatus().
src/bridge/bridgeUI.ts:170
↓ 1 callersFunctionstartDetachedPoll
(taskId: string, sessionId: string, url: string, getAppState: () => AppState, setAppState: (f: (prev: AppState
src/commands/ultraplan.tsx:74
↓ 1 callersFunctionstartGlobalConfigFreshnessWatcher
()
src/utils/config.ts:997
↓ 1 callersMethodstartHeartbeat
Start periodic heartbeat.
src/cli/transports/ccrClient.ts:678
↓ 1 callersFunctionstartHookSpan
( hookEvent: string, hookName: string, numHooks: number, hookDefinitions: string, )
src/utils/telemetry/sessionTracing.ts:844
↓ 1 callersFunctionstartIdleTimer
()
src/utils/sessionActivity.ts:42
↓ 1 callersFunctionstartInteractionPerfettoSpan
(userPrompt?: string)
src/utils/telemetry/perfettoTracing.ts:885
↓ 1 callersFunctionstartInteractionSpan
(userPrompt: string)
src/utils/telemetry/sessionTracing.ts:176
↓ 1 callersMethodstartKeepaliveInterval
()
src/cli/transports/WebSocketTransport.ts:767
↓ 1 callersFunctionstartKeychainPrefetch
()
src/utils/secureStorage/keychainPrefetch.ts:69
↓ 1 callersFunctionstartLLMRequestPerfettoSpan
(args: { model: string promptTokens?: number messageId?: string isSpeculative?: boolean querySource?
src/utils/telemetry/perfettoTracing.ts:425
↓ 1 callersFunctionstartLLMRequestSpan
( model: string, newContext?: LLMRequestNewContext, messagesForAPI?: APIMessage[], fastMode?: boolean,
src/utils/telemetry/sessionTracing.ts:274
↓ 1 callersMethodstartLocalListener
(onReady: () => Promise<void>)
src/services/oauth/auth-code-listener.ts:125
↓ 1 callersFunctionstartMCPServer
( cwd: string, debug: boolean, verbose: boolean, )
src/entrypoints/mcp.ts:35
↓ 1 callersFunctionstartMdmPoll
* Start polling for MDM settings changes (registry/plist). * Takes a snapshot of current MDM settings and compares on each tick.
src/utils/settings/changeDetector.ts:381
↓ 1 callersFunctionstartMdmRawRead
()
src/utils/settings/mdm/rawRead.ts:120
↓ 1 callersFunctionstartMdmSettingsLoad
()
src/utils/settings/mdm/settings.ts:67
↓ 1 callersFunctionstartNodeRelay
( wsUrl: string, authHeader: string, wsAuthHeader: string, )
src/upstreamproxy/relay.ts:245
↓ 1 callersMethodstartOfCurrentLine
* Move to the start of the current line (column 0). * This is the raw version used internally by startOfLine.
src/utils/Cursor.ts:414
↓ 1 callersMethodstartPingInterval
()
src/cli/transports/WebSocketTransport.ts:697
↓ 1 callersFunctionstartPreventSleep
()
src/services/preventSleep.ts:36
↓ 1 callersFunctionstartRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
src/services/voice.ts:335
↓ 1 callersFunctionstartRelevantMemoryPrefetch
( messages: ReadonlyArray<Message>, toolUseContext: ToolUseContext, )
src/utils/attachments.ts:2361
↓ 1 callersFunctionstartRestartInterval
()
src/services/preventSleep.ts:70
↓ 1 callersFunctionstartSoxRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
src/services/voice.ts:398
↓ 1 callersFunctionstartSpeculativeClassifierCheck
( command: string, toolPermissionContext: ToolPermissionContext, signal: AbortSignal, isNonInteractive
src/tools/BashTool/bashPermissions.ts:1497
↓ 1 callersFunctionstartToolBlockedOnUserSpan
()
src/utils/telemetry/sessionTracing.ts:526
↓ 1 callersFunctionstartToolExecutionSpan
()
src/utils/telemetry/sessionTracing.ts:626
↓ 1 callersFunctionstartToolPerfettoSpan
( toolName: string, args?: Record<string, unknown>, )
src/utils/telemetry/perfettoTracing.ts:690
↓ 1 callersFunctionstartToolSpan
( toolName: string, toolAttributes?: Record<string, string | number | boolean>, toolInput?: string, )
src/utils/telemetry/sessionTracing.ts:466
↓ 1 callersFunctionstartUpstreamProxyRelay
(opts: { wsUrl: string sessionId: string token: string })
src/upstreamproxy/relay.ts:155
↓ 1 callersFunctionstartUserInputPerfettoSpan
(context?: string)
src/utils/telemetry/perfettoTracing.ts:768
↓ 1 callersFunctionstartWorkPollLoop
* Persistent poll loop for work items. Runs in the background for the * lifetime of the bridge connection. * * When a work item arrives, acknowledg
src/bridge/replBridge.ts:1851
↓ 1 callersFunctionstashToCleanState
(message?: string)
src/utils/git.ts:429
↓ 1 callersMethodstate
()
src/services/mcp/auth.ts:1473
↓ 1 callersFunctionstateToSnapshotMessage
( state: AttributionState, messageId: UUID, )
src/utils/commitAttribution.ts:872
↓ 1 callersFunctionstepTeammateSelection
( delta: 1 | -1, setAppState: (updater: (prev: AppState) => AppState) => void, )
src/hooks/useBackgroundTaskNavigation.ts:26
↓ 1 callersFunctionstickyPromptText
(msg: RenderableMessage)
src/components/VirtualMessageList.tsx:133
↓ 1 callersFunctionstop
* Stops the LSP server gracefully. * * If already stopped or stopping, returns immediately. * On failure, sets state to 'error', logs for mon
src/services/lsp/LSPServerInstance.ts:274
↓ 1 callersFunctionstopOrDismissAgent
( taskId: string, setAppState: (updater: (prev: AppState) => AppState) => void, )
src/state/teammateViewHelpers.ts:116
↓ 1 callersFunctionstopPreventSleep
()
src/services/preventSleep.ts:49
↓ 1 callersFunctionstopRecording
()
src/services/voice.ts:515
↓ 1 callersFunctionstopTeamMemoryWatcher
()
src/services/teamMemorySync/watcher.ts:327
↓ 1 callersFunctionstoreImages
( pastedContents: Record<number, PastedContent>, )
src/utils/imageStore.ts:84
↓ 1 callersFunctionstorePastedText
( hash: string, content: string, )
src/utils/pasteStore.ts:37
↓ 1 callersFunctionstreamRenderedMessages
(messages: Message[], tools: Tools, sink: (ansiChunk: string) => void | Promise<void>, { columns, verbose
src/utils/exportRenderer.tsx:55
↓ 1 callersFunctionstreamedCheckPermissionsAndCallTool
( tool: Tool, toolUseID: string, input: { [key: string]: boolean | string | number }, toolUseContext:
src/services/tools/toolExecution.ts:492
↓ 1 callersFunctionstringsForDecisionReason
(reason: PermissionDecisionReason | undefined, toolType: 'tool' | 'command' | 'edit' | 'read')
src/components/permissions/PermissionRuleExplanation.tsx:21
↓ 1 callersFunctionstripAdvisorBlocks
( messages: (UserMessage | AssistantMessage)[], )
src/utils/messages.ts:5466
↓ 1 callersFunctionstripCR
(l: string)
src/utils/ripgrep.ts:312
↓ 1 callersFunctionstripCallerFieldFromAssistantMessage
( message: AssistantMessage, )
src/utils/messages.ts:1742
↓ 1 callersFunctionstripExcessMediaItems
( messages: (UserMessage | AssistantMessage)[], limit: number, )
src/services/api/claude.ts:956
↓ 1 callersFunctionstripIdeContextTags
(text: string)
src/utils/displayTags.ts:49
↓ 1 callersFunctionstripImagesFromMessages
(messages: Message[])
src/services/compact/compact.ts:145
↓ 1 callersFunctionstripInProgressAssistantMessage
(messages: Message[])
src/commands/btw/btw.tsx:201
↓ 1 callersFunctionstripQuotes
(text: string)
src/utils/bash/parser.ts:224
↓ 1 callersFunctionstripReinjectedAttachments
(messages: Message[])
src/services/compact/compact.ts:211
↓ 1 callersFunctionstripSignatureBlocks
(messages: Message[])
src/utils/messages.ts:5066
↓ 1 callersFunctionstripToolSearchFieldsFromMessages
* Strip tool search-specific fields from messages before sending for token counting. * This removes 'caller' from tool_use blocks and 'tool_reference
src/services/tokenEstimation.ts:66
↓ 1 callersFunctionstripUnavailableToolReferencesFromUserMessage
* Strips tool_reference blocks for tools that no longer exist from tool_result content. * This handles the case where a session was saved with MCP to
src/utils/messages.ts:1541
↓ 1 callersFunctionstripWrappersFromArgv
(argv: string[])
src/tools/BashTool/pathValidation.ts:1263
↓ 1 callersFunctionstyledCharsWithGraphemeClustering
* Convert a string with ANSI codes into styled characters with proper grapheme * clustering. Fixes ansi-tokenize splitting grapheme clusters (like fa
src/ink/output.ts:553
↓ 1 callersFunctionstylesEqual
(a: AnsiCode[], b: AnsiCode[])
src/ink/output.ts:534
↓ 1 callersFunctionstylesEqual
(a: Styles, b: Styles)
src/ink/dom.ts:291
↓ 1 callersFunctionsubmitFeedback
(data: FeedbackData, signal?: AbortSignal)
src/components/Feedback.tsx:518
↓ 1 callersMethodsubmitMessage
( prompt: string | ContentBlockParam[], options?: { uuid?: string; isMeta?: boolean }, )
src/QueryEngine.ts:209
↓ 1 callersFunctionsubscribeTerminalFocus
(cb: () => void)
src/ink/terminal-focus-state.ts:35
↓ 1 callersMethodsubscribeToSelectionChange
* Subscribe to selection state changes. Fires whenever the selection * is started, updated, cleared, or copied. Returns an unsubscribe fn.
src/ink/ink.tsx:1244
↓ 1 callersFunctionsubstituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
src/services/MagicDocs/prompts.ts:81
↓ 1 callersFunctionsubstituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
src/services/SessionMemory/prompts.ts:201
↓ 1 callersFunctionsuppressNextSkillListing
()
src/utils/attachments.ts:2633
↓ 1 callersFunctionsymlinkDirectories
* Symlinks directories from the main repository to avoid duplication. * This prevents disk bloat from duplicating node_modules and other large direct
src/utils/worktree.ts:102
↓ 1 callersFunctionsyncMarketplacesToZipCache
()
src/utils/plugins/zipCacheAdapters.ts:141
↓ 1 callersFunctionsyncPermissionRulesFromDisk
( toolPermissionContext: ToolPermissionContext, rules: PermissionRule[], )
src/utils/permissions/permissions.ts:1419
← previousnext →7,701–7,800 of 11,613, ranked by callers