Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantaAlpha/claude-code
/ functions
Functions
11,613 in github.com/QuantaAlpha/claude-code
⨍
Functions
11,613
◇
Types & classes
348
↓ 2 callers
Function
notifyExpectedEscape
()
src/utils/computerUse/escHotkey.ts:51
↓ 2 callers
Function
oauthHeaders
(accessToken: string)
src/bridge/codeSessionApi.ts:18
↓ 2 callers
Function
onError
(error: Error)
src/services/lsp/LSPClient.ts:121
↓ 2 callers
Function
onGrowthBookRefresh
( listener: GrowthBookRefreshListener, )
src/services/analytics/growthbook.ts:139
↓ 2 callers
Function
onInit
()
src/screens/REPL.tsx:3792
↓ 2 callers
Function
onInput
(input: string, key: Key)
src/hooks/useTextInput.ts:431
↓ 2 callers
Function
onPermissionResponse
(response)
src/cli/print.ts:3931
↓ 2 callers
Function
onSelect
(log_0: LogOption)
src/screens/ResumeConversation.tsx:178
↓ 2 callers
Function
onUserMessage
(text: string, bridgeSessionId: string)
src/bridge/initReplBridge.ts:349
↓ 2 callers
Function
openFile
(filePath: string, content: string)
src/services/lsp/LSPServerManager.ts:270
↓ 2 callers
Function
openInChrome
(url: string)
src/utils/claudeInChrome/common.ts:429
↓ 2 callers
Function
opener
* Shared opener for both extract-prompt variants.
src/services/extractMemories/prompts.ts:29
↓ 2 callers
Function
optimize
(diff: Diff)
src/ink/optimizer.ts:16
↓ 2 callers
Method
paginatedGet
* Paginated GET with retry. Fetches all pages from a list endpoint, * retrying each page on failure with exponential backoff + jitter.
src/cli/transports/ccrClient.ts:864
↓ 2 callers
Function
parallelWithLimit
* Execute promises with limited concurrency * * @param items - Items to process * @param fn - Async function to apply to each item * @param concur
src/services/api/filesApi.ts:280
↓ 2 callers
Function
parseAgentsFromJson
( agentsJson: unknown, source: SettingSource = 'flagSettings', )
src/tools/AgentTool/loadAgentsDir.ts:521
↓ 2 callers
Function
parseAndOr
* Parse pipeline chains joined by && ||. Left-associative nesting. * tree-sitter quirk: trailing redirect on the last pipeline wraps the ENTIRE * li
src/utils/bash/bashParser.ts:879
↓ 2 callers
Function
parseAndValidateManifestFromBytes
( manifestData: Uint8Array, )
src/utils/dxt/helpers.ts:56
↓ 2 callers
Function
parseAnsi
(text: string)
src/utils/ansiToSvg.ts:53
↓ 2 callers
Function
parseArgumentNames
( argumentNames: string | string[] | undefined, )
src/utils/argumentSubstitution.ts:50
↓ 2 callers
Function
parseArguments
(args: string)
src/utils/argumentSubstitution.ts:24
↓ 2 callers
Function
parseArithBinary
Precedence-climbing binary expression parser.
src/utils/bash/bashParser.ts:4232
↓ 2 callers
Function
parseAutoPercentage
* Parse auto:N syntax from ENABLE_TOOL_SEARCH env var. * Returns the percentage clamped to 0-100, or null if not auto:N format or not a number.
src/utils/toolSearch.ts:55
↓ 2 callers
Function
parseBoundaryLine
* Confirm a byte-matched line is a real compact_boundary (marker can appear * inside user content) and check for preservedSegment.
src/utils/sessionStoragePortable.ts:493
↓ 2 callers
Function
parseChannelEntries
(raw: string[], flag: string)
src/main.tsx:1650
↓ 2 callers
Function
parseChord
(input: string)
src/keybindings/parser.ts:80
↓ 2 callers
Function
parseCommandRaw
( command: string, )
src/utils/bash/parser.ts:104
↓ 2 callers
Function
parseCount
(notif: Notification)
src/hooks/notifs/useTeammateShutdownNotification.ts:10
↓ 2 callers
Function
parseDataUri
( s: string, )
src/tools/BashTool/utils.ts:59
↓ 2 callers
Method
parseDiagnosticResult
(result: unknown)
src/services/diagnosticTracking.ts:285
↓ 2 callers
Function
parseElicitationHookOutput
* Parse elicitation-specific fields from a HookOutsideReplResult. * Mirrors the relevant branches of processHookJSONOutput for Elicitation * and Eli
src/utils/hooks.ts:4388
↓ 2 callers
Function
parseFor
(P: ParseState, forTok: Token)
src/utils/bash/bashParser.ts:3200
↓ 2 callers
Function
parseForSecurityFromAst
( cmd: string, root: Node | typeof PARSE_ABORTED, )
src/utils/bash/ast.ts:400
↓ 2 callers
Function
parseGitCommitId
(stdout: string)
src/tools/shared/gitOperationTracking.ts:79
↓ 2 callers
Function
parseHeaders
(headerArray: string[])
src/services/mcp/utils.ts:325
↓ 2 callers
Function
parseHookOutput
(stdout: string)
src/utils/hooks.ts:399
↓ 2 callers
Function
parseHttpHookOutput
(body: string)
src/utils/hooks.ts:453
↓ 2 callers
Function
parseMarketplaceInput
( input: string, )
src/utils/plugins/parseMarketplaceInput.ts:23
↓ 2 callers
Function
parseMaxTokensContextOverflowError
(error: APIError)
src/services/api/withRetry.ts:550
↓ 2 callers
Function
parseMouseEvent
* Parse an SGR mouse event sequence into a ParsedMouse, or null if not a * mouse event or if it's a wheel event (wheel stays as ParsedKey for the *
src/ink/parse-keypress.ts:594
↓ 2 callers
Function
parseOscColor
(spec: string)
src/ink/termio/osc.ts:317
↓ 2 callers
Function
parsePDFPageRange
( pages: string, )
src/utils/pdfUtils.ts:16
↓ 2 callers
Function
parsePRReference
(input: string)
src/utils/worktree.ts:633
↓ 2 callers
Function
parsePartialPath
( partialPath: string, basePath?: string, )
src/utils/suggestions/directoryCompletion.ts:55
↓ 2 callers
Function
parsePatternCommand
( args: string[], flagsWithArgs: Set<string>, defaults: string[] = [], )
src/tools/BashTool/pathValidation.ts:142
↓ 2 callers
Function
parsePermissionUpdates
* Validate permissionUpdates from external sources (mailbox IPC, disk polling). * Malformed entries from buggy/old teammate processes are filtered ou
src/hooks/useSwarmPermissionPoller.ts:35
↓ 2 callers
Function
parsePipeline
* Parse commands joined by | or |&. Flat children with operator leaves. * tree-sitter quirk: `a | b 2>nul | c` hoists the redirect on `b` to wrap *
src/utils/bash/bashParser.ts:938
↓ 2 callers
Function
parsePluginSettings
* Parse raw settings through PluginSettingsSchema, returning only allowlisted keys. * Returns undefined if parsing fails or all keys are filtered out
src/utils/plugins/pluginLoader.ts:1788
↓ 2 callers
Function
parsePositiveIntFromFrontmatter
( value: unknown, )
src/utils/frontmatterParser.ts:275
↓ 2 callers
Function
parsePromptTooLongTokenCounts
(rawMessage: string)
src/services/api/errors.ts:85
↓ 2 callers
Function
parseRefFromCommand
* Extract target ref from `git merge <ref>` / `git rebase <ref>` command. * Skips flags and keywords — first non-flag argument is the ref.
src/tools/shared/gitOperationTracking.ts:113
↓ 2 callers
Function
parseRegQueryStdout
( stdout: string, valueName = 'Settings', )
src/utils/settings/mdm/settings.ts:208
↓ 2 callers
Function
parseShellFrontmatter
( value: unknown, source: string, )
src/utils/frontmatterParser.ts:351
↓ 2 callers
Function
parseSkillFrontmatterFields
( frontmatter: FrontmatterData, markdownContent: string, resolvedName: string, descriptionFallbackLabe
src/skills/loadSkillsDir.ts:185
↓ 2 callers
Function
parseSlashCommand
(input: string)
src/utils/slashCommandParsing.ts:25
↓ 2 callers
Function
parseTestAnd
(P: ParseState, closer: string)
src/utils/bash/bashParser.ts:3733
↓ 2 callers
Function
parseTestExpr
(P: ParseState, closer: string)
src/utils/bash/bashParser.ts:3701
↓ 2 callers
Function
parseTestOr
(P: ParseState, closer: string)
src/utils/bash/bashParser.ts:3705
↓ 2 callers
Function
parseTestRegexRhs
(P: ParseState)
src/utils/bash/bashParser.ts:3937
↓ 2 callers
Function
parseTestUnary
(P: ParseState, closer: string)
src/utils/bash/bashParser.ts:3757
↓ 2 callers
Function
parseToolListString
* Parses tools from frontmatter, supporting both string and array formats * Always returns a string array for consistency * @param toolsValue The va
src/utils/markdownConfigLoader.ts:77
↓ 2 callers
Function
parseToolName
* Parse tool name into searchable parts. * Handles both MCP tools (mcp__server__action) and regular tools (CamelCase).
src/tools/ToolSearchTool/ToolSearchTool.ts:132
↓ 2 callers
Function
parseXmlBlock
* Parse XML block response: <block>yes/no</block> * Strips thinking content first to avoid matching tags inside reasoning. * Returns true for "yes"
src/utils/permissions/yoloClassifier.ts:578
↓ 2 callers
Function
parseXmlReason
* Parse XML reason: <reason>...</reason> * Strips thinking content first to avoid matching tags inside reasoning.
src/utils/permissions/yoloClassifier.ts:590
↓ 2 callers
Function
partiallySanitizeUnicode
(prompt: string)
src/utils/sanitization.ts:25
↓ 2 callers
Function
pathInOriginalCwd
(path: string)
src/utils/claudemd.ts:245
↓ 2 callers
Function
pathListSignature
(paths: string[])
src/hooks/fileSuggestions.ts:111
↓ 2 callers
Function
performCrossAppAccess
( serverUrl: string, config: XaaConfig, serverName = 'xaa', abortSignal?: AbortSignal, )
src/services/mcp/xaa.ts:426
↓ 2 callers
Function
performVersionUpdate
* Performs the core update operation: download (if needed), install, and update symlink. * Returns whether a new install was performed (vs just updat
src/utils/nativeInstaller/installer.ts:441
↓ 2 callers
Function
periodicWrite
* Write the full trace to disk. Errors are logged but swallowed so that a * transient I/O problem does not crash the session — the next periodic tic
src/utils/telemetry/perfettoTracing.ts:990
↓ 2 callers
Function
persistBlobToTextBlock
* Decode base64 binary content, write it to disk with the proper extension, * and return a small text block with the file path. Replaces the old beha
src/services/mcp/client.ts:2598
↓ 2 callers
Function
persistFileSnapshotIfRemote
()
src/utils/plans.ts:360
↓ 2 callers
Function
playAnimation
(skillDir: string)
src/commands/thinkback/thinkback.tsx:59
↓ 2 callers
Function
pollRemoteSessionEvents
(sessionId: string, afterId: string | null = null, opts?: { skipMetadata?: boolean; })
src/utils/teleport.tsx:633
↓ 2 callers
Function
pollSleepDetectionThresholdMs
* Returns the threshold for detecting system sleep/wake in the poll loop. * Must exceed the max backoff cap — otherwise normal backoff delays trigger
src/bridge/bridgeMain.ts:107
↓ 2 callers
Function
popAllEditable
( currentInput: string, currentCursorOffset: number, )
src/utils/messageQueueManager.ts:428
↓ 2 callers
Function
powershellToolCheckExactMatchPermission
( input: PowerShellInput, toolPermissionContext: ToolPermissionContext, )
src/tools/PowerShellTool/powershellPermissions.ts:385
↓ 2 callers
Function
preferThirdPartyAuthentication
()
src/bootstrap/state.ts:1234
↓ 2 callers
Function
prefetchFastModeStatus
()
src/utils/fastMode.ts:407
↓ 2 callers
Function
prefixMatchesModel
* Check if a model name starts with a prefix at a segment boundary. * The prefix must match up to the end of the name or a "-" separator. * e.g. "cl
src/utils/model/modelAllowlist.ts:27
↓ 2 callers
Function
prepareForkedCommandContext
( command: PromptCommand, args: string, context: ToolUseContext, )
src/utils/forkedAgent.ts:191
↓ 2 callers
Function
prependStderr
(prefix: string, stderr: string)
src/utils/ShellCommand.ts:56
↓ 2 callers
Function
prependUserContext
( messages: Message[], context: { [k: string]: string }, )
src/utils/api.ts:449
↓ 2 callers
Function
printValidationResult
(result: ValidationResult)
src/cli/handlers/plugins.ts:73
↓ 2 callers
Function
probeArecord
()
src/services/voice.ts:75
↓ 2 callers
Function
probePath
(p: string)
src/utils/shell/powershellDetection.ts:5
↓ 2 callers
Function
probeSeedCache
* Probe seed directories for a populated cache at this plugin version. * Seeds are checked in precedence order; first hit wins. Returns null if no *
src/utils/plugins/pluginLoader.ts:195
↓ 2 callers
Function
process
(t: CronTask, isSession: boolean)
src/utils/cronScheduler.ts:248
↓ 2 callers
Function
processBatched
( items: T[], concurrency: number, processor: (item: T) => Promise<void>, )
src/services/mcp/client.ts:2218
↓ 2 callers
Function
processCell
( cell: NotebookCell, index: number, codeLanguage: string, includeLargeOutputs: boolean, )
src/utils/notebook.ts:83
↓ 2 callers
Function
processContent
(md: string, content: SkillContent)
src/skills/bundled/claudeApi.ts:64
↓ 2 callers
Method
processLine
( line: string, )
src/cli/structuredIO.ts:333
↓ 2 callers
Function
processRateLimitHeaders
( headers: globalThis.Headers, )
src/services/rateLimitMocking.ts:19
↓ 2 callers
Function
processRemoteEvalPayload
* Process a remote eval payload from the GrowthBook server and populate * local caches. Called after both initial client.init() and after * client.r
src/services/analytics/growthbook.ts:327
↓ 2 callers
Function
processSetupHooks
( trigger: 'init' | 'maintenance', { forceSyncExecution }: { forceSyncExecution?: boolean } = {}, )
src/utils/sessionStart.ts:177
↓ 2 callers
Function
processSlashCommand
(inputString: string, precedingInputBlocks: ContentBlockParam[], imageContentBlocks: ContentBlockParam[], atta
src/utils/processUserInput/processSlashCommand.tsx:309
↓ 2 callers
Function
processUserInput
({ input, preExpansionInput, mode, setToolJSX, context, pastedContents, ideSelection, messages
src/utils/processUserInput/processUserInput.ts:85
↓ 2 callers
Function
profileReport
()
src/utils/startupProfiler.ts:123
↓ 2 callers
Function
providerOrUncDecisionForArg
(arg: string)
src/tools/PowerShellTool/powershellPermissions.ts:1003
↓ 2 callers
Function
psQuote
* PowerShell single-quoted string. The ONLY special sequence is '' for a * literal single quote — no backtick escapes, no variable expansion, no * s
src/utils/deepLink/terminalLauncher.ts:536
← previous
next →
3,701–3,800 of 11,613, ranked by callers