MCPcopy Create free account

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

Functions13,048 in github.com/codeaashu/claude-code

↓ 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:258
↓ 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
↓ 1 callersFunctionscanBashResultForGitOps
* Scan a bash tool result for commit SHAs and PR URLs and push them into the * group accumulator. Called only for results whose tool_use_id was recor
src/utils/collapseReadSearch.ts:555
↓ 1 callersFunctionscanChunkLines
( s: LoadState, buf: Buffer, boundaryMarker: Buffer, )
src/utils/sessionStoragePortable.ts:614
↓ 1 callersFunctionscanDirectory
( dirPath: string, )
src/utils/suggestions/directoryCompletion.ts:84
↓ 1 callersFunctionscanDirectoryForPaths
( dirPath: string, includeHidden = false, )
src/utils/suggestions/directoryCompletion.ts:168
↓ 1 callersMethodscanElementSubtree
Paint an EXISTING DOM subtree to a fresh Screen at its natural * height, scan for query. Returns positions relative to the element's * boundin
src/ink/ink.tsx:1071
↓ 1 callersFunctionscanPositions
(screen: Screen, query: string)
src/ink/render-to-screen.ts:149
↓ 1 callersFunctionscanPreBoundaryMetadata
* Lightweight forward scan of [0, endOffset) collecting only metadata-entry lines. * Uses raw Buffer chunks and byte-level marker matching — no readl
src/utils/sessionStorage.ts:3157
↓ 1 callersMethodscheduleDrain
()
src/utils/sessionStorage.ts:618
↓ 1 callersFunctionscheduleFlush
()
src/utils/bufferedWriter.ts:49
↓ 1 callersFunctionscheduleFlush
()
src/services/analytics/datadog.ts:121
↓ 1 callersFunctionscheduleReconnect
()
src/server/web/terminal.ts:278
↓ 1 callersFunctionscheduleReconnect
()
src/server/web/public/terminal.js:8892
↓ 1 callersMethodscheduleReconnect
()
web/lib/collaboration/socket.ts:315
↓ 1 callersMethodscheduleReconnect
()
web/lib/api/stream.ts:154
↓ 1 callersFunctionscheduleReload
* Debounce rapid skill changes into a single reload. When many skill files * change at once (e.g. auto-update installs a new binary and a new session
src/utils/skills/skillChangeDetector.ts:255
↓ 1 callersFunctionscheduleRenderFrom
(node?: DOMNode)
src/ink/dom.ts:419
↓ 1 callersFunctionscopeColor
( scope: string | undefined, text: string, theme: Theme, )
src/native-ts/color-diff/index.ts:453
↓ 1 callersFunctionscore
Score a command against a search query (higher = better)
web/components/command-palette/CommandPalette.tsx:25
↓ 1 callersMethodscreenAlignmentPattern
()
src/server/web/public/terminal.js:3456
↓ 1 callersFunctionscrollDown
(s: ScrollBoxHandle, amount: number)
src/components/ScrollKeybindingHandler.tsx:852
↓ 1 callersMethodscrollDown
(e3)
src/server/web/public/terminal.js:3008
↓ 1 callersMethodscrollLeft
(e3)
src/server/web/public/terminal.js:3013
↓ 1 callersMethodscrollPages
(e3)
src/server/web/public/terminal.js:2600
↓ 1 callersMethodscrollRight
(e3)
src/server/web/public/terminal.js:3022
↓ 1 callersMethodscrollToLine
(e3)
src/server/web/public/terminal.js:2609
↓ 1 callersMethodscrollToTop
()
src/server/web/public/terminal.js:2603
↓ 1 callersFunctionscrollUp
(s: ScrollBoxHandle, amount: number)
src/components/ScrollKeybindingHandler.tsx:873
↓ 1 callersMethodscrollUp
(e3)
src/server/web/public/terminal.js:3003
← previousnext →8,301–8,400 of 13,048, ranked by callers