Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ functions
Functions
13,048 in github.com/codeaashu/claude-code
⨍
Functions
13,048
◇
Types & classes
657
↓ 2 callers
Function
logQueryProfileReport
()
src/utils/queryProfiler.ts:298
↓ 2 callers
Function
logSessionTelemetry
* Per-session skill/plugin telemetry. Called from both the interactive path * and the headless -p path (before runHeadless) — both go through * main
src/main.tsx:279
↓ 2 callers
Method
logSuccess
( eventCount: number, withAuth: boolean, responseData: unknown, )
src/services/analytics/firstPartyEventLoggingExporter.ts:617
↓ 2 callers
Function
looksLikeRealHostname
* Checks whether a hostname looks like a real domain name rather than an * SSH config alias. A simple dot-check is not enough because aliases like *
src/utils/detectRepository.ts:170
↓ 2 callers
Function
makeAltScreenParkPatch
(terminalRows: number)
src/ink/ink.tsx:61
↓ 2 callers
Function
makeHistoryReader
()
src/history.ts:145
↓ 2 callers
Function
makeShutdownNotif
(count: number)
src/hooks/notifs/useTeammateShutdownNotification.ts:39
↓ 2 callers
Function
makeSpawnNotif
(count: number)
src/hooks/notifs/useTeammateShutdownNotification.ts:22
↓ 2 callers
Function
makeXaaFetch
* Creates a fetch wrapper that enforces the XAA request timeout and optionally * composes a caller-provided abort signal. Using AbortSignal.any ensur
src/services/mcp/xaa.ts:42
↓ 2 callers
Function
mapConfigsToOptions
(styles: { [styleName: string]: OutputStyleConfig | null; })
src/components/OutputStylePicker.tsx:13
↓ 2 callers
Function
mapInput
(input_map: Array<[string, InputHandler]>)
src/hooks/useTextInput.ts:31
↓ 2 callers
Function
mapMessage
( message: AssistantMessage | SystemAPIErrorMessage | StreamEvent, f: (s: unknown) => unknown, index: nu
src/services/vcr.ts:278
↓ 2 callers
Function
mapValuesDeep
( obj: { [x: string]: unknown }, f: (val: unknown, key: string, obj: Record<string, unknown>) => unk
src/services/vcr.ts:221
↓ 2 callers
Function
markClaudeAiMcpConnected
(name: string)
src/services/mcp/claudeai.ts:154
↓ 2 callers
Method
markDirty
()
src/ink/layout/yoga.ts:102
↓ 2 callers
Function
markExtractionCompleted
()
src/services/SessionMemory/sessionMemoryUtils.ts:81
↓ 2 callers
Function
markExtractionStarted
()
src/services/SessionMemory/sessionMemoryUtils.ts:74
↓ 2 callers
Function
markFirstTeleportMessageLogged
()
src/bootstrap/state.ts:1495
↓ 2 callers
Function
markGroveNoticeViewed
()
src/services/api/grove.ts:90
↓ 2 callers
Function
markIt2SetupComplete
()
src/utils/swarm/backends/it2Setup.ts:214
↓ 2 callers
Function
markMessagesAsRead
( agentName: string, teamName?: string, )
src/utils/teammateMailbox.ts:279
↓ 2 callers
Function
markRead
()
src/hooks/useInboxPoller.ts:200
↓ 2 callers
Function
markTaskNotified
(taskId: string, setAppState: SetAppState)
src/tasks/LocalShellTask/LocalShellTask.tsx:481
↓ 2 callers
Function
markToolUseAsComplete
( toolUseContext: ToolUseContext, toolUseID: string, )
src/services/tools/toolOrchestration.ts:179
↓ 2 callers
Function
matchesCommand
(cmd: string)
src/tools/PowerShellTool/powershellPermissions.ts:223
↓ 2 callers
Function
matchesDotGitPrefix
(n: string)
src/tools/PowerShellTool/gitSafety.ts:170
↓ 2 callers
Function
matchesGitInternalPrefix
(n: string)
src/tools/PowerShellTool/gitSafety.ts:124
↓ 2 callers
Function
maxDefined
( a: number | undefined, b: number | undefined, )
src/ink/output.ts:114
↓ 2 callers
Function
maybeDumpStateForDebug
(state: FileHistoryState)
src/utils/fileHistory.ts:1110
↓ 2 callers
Function
maybePersistLargeToolResult
* Handle large tool results by persisting to disk instead of truncating. * Returns the original block if no persistence needed, or a modified block
src/utils/toolResultStorage.ts:272
↓ 2 callers
Function
maybePersistTokenForSubprocesses
( path: string, token: string, tokenName: string, )
src/utils/authFileDescriptor.ts:30
↓ 2 callers
Function
maybeRemoveApiKeyFromMacOSKeychain
()
src/utils/auth.ts:1185
↓ 2 callers
Function
maybeShortenFilePath
* Use the relative path as the key to reduce session storage space for tracking.
src/utils/fileHistory.ts:867
↓ 2 callers
Function
mcpContentNeedsTruncation
( content: MCPToolResult, )
src/utils/mcpValidation.ts:151
↓ 2 callers
Function
measureElement
(node: DOMElement)
src/ink/measure-element.ts:18
↓ 2 callers
Function
median
(values: number[])
src/screens/REPL.tsx:311
↓ 2 callers
Function
meetsAvailabilityRequirement
(cmd: Command)
src/commands.ts:419
↓ 2 callers
Function
memoryAgeDays
(mtimeMs: number)
src/memdir/memoryAge.ts:6
↓ 2 callers
Function
memoryFreshnessText
(mtimeMs: number)
src/memdir/memoryAge.ts:33
↓ 2 callers
Function
memoryHeader
(path: string, mtimeMs: number)
src/utils/attachments.ts:2327
↓ 2 callers
Function
mergeCacheWithNewStats
( existingCache: PersistedStatsCache, newStats: { dailyActivity: DailyActivity[] dailyModelTokens:
src/utils/statsCache.ts:260
↓ 2 callers
Function
mergeHookInstructions
( userInstructions: string | undefined, hookInstructions: string | undefined, )
src/services/compact/compact.ts:374
↓ 2 callers
Function
mergeHooksSettings
* Merge two HooksSettings objects
src/utils/plugins/pluginLoader.ts:1854
↓ 2 callers
Function
messageSelector
()
src/QueryEngine.ts:88
↓ 2 callers
Function
messagesAfterAreOnlySynthetic
(messages: Message[], fromIndex: number)
src/components/MessageSelector.tsx:799
↓ 2 callers
Function
migrateFromEnabledPlugins
()
src/utils/plugins/installedPluginsManager.ts:1048
↓ 2 callers
Function
minDefined
( a: number | undefined, b: number | undefined, )
src/ink/output.ts:123
↓ 2 callers
Function
mkBundle
(base: string)
src/utils/teleport/gitBundle.ts:59
↓ 2 callers
Function
modelSupports1M
(model: string)
src/utils/context.ts:43
↓ 2 callers
Function
modelSupportsAdaptiveThinking
(model: string)
src/utils/thinking.ts:113
↓ 2 callers
Function
modelSupportsISP
(model: string)
src/utils/betas.ts:92
↓ 2 callers
Function
modifiersMatch
* Check if all modifiers match between Ink Key and ParsedKeystroke. * * Alt and Meta: Ink historically set `key.meta` for Alt/Option. A `meta` * mo
src/keybindings/match.ts:60
↓ 2 callers
Method
modifyColors
(e3)
src/server/web/public/terminal.js:2340
↓ 2 callers
Function
mtimeOrUndefined
(p: string)
src/utils/deepLink/banner.ts:104
↓ 2 callers
Function
mulberry32
(seed: number)
src/buddy/companion.ts:16
↓ 2 callers
Function
ndjsonSafeStringify
(value: unknown)
src/cli/ndjsonSafeStringify.ts:30
↓ 2 callers
Function
newConnState
()
src/upstreamproxy/relay.ts:140
↓ 2 callers
Method
nextLine
()
src/server/web/public/terminal.js:3416
↓ 2 callers
Method
nextStop
(e3)
src/server/web/public/terminal.js:4028
↓ 2 callers
Method
nextVimWord
()
src/utils/Cursor.ts:658
↓ 2 callers
Function
normalizeAndTruncateToWidth
(text: string, maxWidth: number)
src/components/LogSelector.tsx:62
↓ 2 callers
Function
normalizeAttachmentForAPI
( attachment: Attachment, )
src/utils/messages.ts:3453
↓ 2 callers
Function
normalizeCRLF
Decode buf[0..len) to utf8, normalizing CRLF only if CR is present.
src/utils/readEditContext.ts:160
↓ 2 callers
Function
normalizeControlMessageKeys
(obj: unknown)
src/utils/controlMessageCompat.ts:13
↓ 2 callers
Function
normalizeEdit
(fileContent: string, edit: FileEdit)
src/components/FileEditToolDiff.tsx:172
↓ 2 callers
Function
normalizeEntry
(raw: string)
src/utils/permissions/permissionsLoader.ts:186
↓ 2 callers
Function
normalizeForCompare
(p: string)
src/utils/plugins/orphanedPluginFilter.ts:111
↓ 2 callers
Function
normalizeGitPathArg
* Normalize PS arg text → canonical path for git-internal matching. * Order matters: structural strips first (colon-bound param, quotes, * backtick
src/tools/PowerShellTool/gitSafety.ts:48
↓ 2 callers
Function
normalizeGitPaths
* Normalize git paths relative to originalCwd
src/hooks/fileSuggestions.ts:152
↓ 2 callers
Function
normalizeOAuthErrorBody
( response: Response, )
src/services/mcp/auth.ts:157
↓ 2 callers
Function
normalizeQuotes
(str: string)
src/tools/FileEditTool/utils.ts:31
↓ 2 callers
Function
normalizeSource
* Resolve relative directory/file paths for stable comparison. * Settings declared at project scope may use project-relative paths; * JSON stores ab
src/utils/plugins/reconciler.ts:249
↓ 2 callers
Function
notifyCacheDeletion
( querySource: QuerySource, agentId?: AgentId, )
src/services/api/promptCacheBreakDetection.ts:673
↓ 2 callers
Function
notifyExpectedEscape
()
src/utils/computerUse/escHotkey.ts:51
↓ 2 callers
Function
o
(e3, t3)
src/server/web/public/terminal.js:1204
↓ 2 callers
Function
oauthHeaders
(accessToken: string)
src/bridge/codeSessionApi.ts:18
↓ 2 callers
Method
onBlur
()
src/server/web/public/terminal.js:461
↓ 2 callers
Method
onCursorMove
()
src/server/web/public/terminal.js:5961
↓ 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
Method
onResolve
( options: { filter: RegExp }, callback: (args: OnResolveArgs) => OnResolveResult | undefined | nu
scripts/types.d.ts:12
↓ 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
← previous
next →
4,101–4,200 of 13,048, ranked by callers