MCPcopy Create free account

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

Functions11,484 in github.com/tanbiralam/claude-code

↓ 1 callersMethodannotateStderrWithSandboxFailures
(command: string, stderr: string)
src/utils/sandbox/sandbox-adapter.ts:918
↓ 1 callersFunctionansi256FromRgb
(r: number, g: number, b: number)
src/native-ts/color-diff/index.ts:105
↓ 1 callersFunctionansiToPng
( ansiText: string, options: AnsiToPngOptions = {}, )
src/utils/ansiToPng.ts:91
↓ 1 callersMethodappendEventsToFile
( filePath: string, events: FirstPartyEventLoggingEvent[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:194
↓ 1 callersFunctionappendMessageTagToUserMessage
* Appends a [id:...] message ID tag to the last text block of a user message. * Only mutates the API-bound copy, not the stored message. * This lets
src/utils/messages.ts:1620
↓ 1 callersFunctionappendMessageToLocalAgent
(taskId: string, message: Message, setAppState: (f: (prev: AppState) => AppState) => void)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:175
↓ 1 callersFunctionappendSessionLogImpl
* Internal implementation of appendSessionLog with retry logic * Retries on transient errors (network, 5xx, 429). On 409, adopts the server's * last
src/services/api/sessionIngress.ts:63
↓ 1 callersFunctionappendSystemContext
( systemPrompt: SystemPrompt, context: { [k: string]: string }, )
src/utils/api.ts:437
↓ 1 callersFunctionappendTaskOutput
(taskId: string, content: string)
src/utils/task/diskOutput.ts:268
↓ 1 callersFunctionappendToFile
(filePath: string, entries: string[])
src/services/api/dumpPrompts.ts:67
↓ 1 callersFunctionappendToLog
(path: string, message: object)
src/utils/errorLogSink.ts:111
↓ 1 callersFunctionapplyBackground
(h: Highlight, theme: Theme, ranges: Range[])
src/native-ts/color-diff/index.ts:768
↓ 1 callersFunctionapplyBedrockRegionPrefix
( modelId: string, prefix: BedrockRegionPrefix, )
src/utils/model/bedrock.ts:248
↓ 1 callersFunctionapplyBorderStyles
( node: LayoutNode, style: Styles, resolvedStyle?: Styles, )
src/ink/styles.ts:692
↓ 1 callersMethodapplyChanges
(input: TInput, modifiedEdits: FileEdit[])
src/components/permissions/FilePermissionDialog/ideDiffConfig.ts:22
↓ 1 callersFunctionapplyCurlyDoubleQuotes
(str: string)
src/tools/FileEditTool/utils.ts:156
↓ 1 callersFunctionapplyCurlySingleQuotes
(str: string)
src/tools/FileEditTool/utils.ts:173
↓ 1 callersFunctionapplyDimensionStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:630
↓ 1 callersFunctionapplyDisplayStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:684
↓ 1 callersFunctionapplyExtraCACertsFromConfig
()
src/utils/caCertsConfig.ts:34
↓ 1 callersFunctionapplyFlexStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:514
↓ 1 callersFunctionapplyFormatOptimizations
( image: SharpInstance, format: string, )
src/utils/imageResizer.ts:682
↓ 1 callersFunctionapplyGapStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:741
↓ 1 callersFunctionapplyGrouping
( messages: MessageWithoutProgress[], tools: Tools, verbose: boolean = false, )
src/utils/groupToolUses.ts:54
↓ 1 callersFunctionapplyMarginStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:454
↓ 1 callersFunctionapplyMockHeaders
( headers: globalThis.Headers, )
src/services/mockRateLimits.ts:689
↓ 1 callersFunctionapplyModalPagerAction
(s: ScrollBoxHandle, act: ModalPagerAction | null, onBeforeJump: (delta: number) => void)
src/components/ScrollKeybindingHandler.tsx:969
↓ 1 callersFunctionapplyOverflowStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:434
↓ 1 callersFunctionapplyPaddingStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:484
↓ 1 callersFunctionapplyPaddingToText
( node: DOMElement, text: string, softWrap?: boolean[], )
src/ink/render-node-to-output.ts:365
↓ 1 callersFunctionapplyPermissionRulesToPermissionContext
( toolPermissionContext: ToolPermissionContext, rules: PermissionRule[], )
src/utils/permissions/permissions.ts:1408
↓ 1 callersFunctionapplyPositionStyles
(node: LayoutNode, style: Styles)
src/ink/styles.ts:406
↓ 1 callersFunctionapplyPositionedHighlight
( screen: Screen, stylePool: StylePool, positions: MatchPosition[], rowOffset: number, currentIdx: n
src/ink/render-to-screen.ts:212
↓ 1 callersFunctionapplyPreservedSegmentRelinks
* Splice the preserved segment back into the chain after compaction. * * Preserved messages exist in the JSONL with their ORIGINAL pre-compact * pa
src/utils/sessionStorage.ts:1839
↓ 1 callersFunctionapplyPromptToMarkdown
( prompt: string, markdownContent: string, signal: AbortSignal, isNonInteractiveSession: boolean, is
src/tools/WebFetchTool/utils.ts:484
↓ 1 callersFunctionapplyProp
(node: DOMElement, key: string, value: unknown)
src/ink/reconciler.ts:121
↓ 1 callersFunctionapplyRemoteEntriesToLocal
* Apply remote entries to local files (CCR pull pattern). * Only writes files that match expected keys. * * After writing, invalidates relevant cac
src/services/settingsSync/index.ts:488
↓ 1 callersFunctionapplySGR
(paramStr: string, style: TextStyle)
src/ink/termio/sgr.ts:127
↓ 1 callersFunctionapplySafeConfigEnvironmentVariables
()
src/utils/managedEnv.ts:124
↓ 1 callersFunctionapplySearchHighlight
( screen: Screen, query: string, stylePool: StylePool, )
src/ink/searchHighlight.ts:27
↓ 1 callersFunctionapplySedEdit
* Applies a simulated sed edit directly instead of running sed. * This is used by the permission dialog to ensure what the user previews * is exactl
src/tools/BashTool/BashTool.tsx:360
↓ 1 callersFunctionapplySedSubstitution
( content: string, sedInfo: SedEditInfo, )
src/tools/BashTool/sedEditParser.ts:244
↓ 1 callersFunctionapplySelectionOverlay
( screen: Screen, selection: SelectionState, stylePool: StylePool, )
src/ink/selection.ts:893
↓ 1 callersFunctionapplySingleMotion
* Apply a single motion step.
src/vim/motions.ts:30
↓ 1 callersFunctionapplySkillImprovement
( skillName: string, updates: SkillUpdate[], )
src/utils/hooks/skillImprovement.ts:188
↓ 1 callersFunctionapplySnapshot
* Applies the given file snapshot state to the tracked files (writes/deletes * on disk), returning the list of changed file paths. Async IO only.
src/utils/fileHistory.ts:537
↓ 1 callersFunctionapplySnipRemovals
* Delete messages that Snip executions removed from the in-memory array, * and relink parentUuid across the gaps. * * Unlike compact_boundary which
src/utils/sessionStorage.ts:1982
↓ 1 callersFunctionapplySortAndLimit
( candidates: Candidate[], limit: number | undefined, offset: number, )
src/utils/listSessionsImpl.ts:235
↓ 1 callersFunctionapplyStylesToWrappedText
* Apply styles to wrapped text by mapping each character back to its original segment. * This preserves per-segment styles even when text wraps acros
src/ink/render-node-to-output.ts:211
↓ 1 callersFunctionapplyToolResultBudget
( messages: Message[], state: ContentReplacementState | undefined, writeToTranscript?: (records: ToolRes
src/utils/toolResultStorage.ts:924
↓ 1 callersFunctionapplyTruncation
(content: string)
src/utils/processUserInput/processUserInput.ts:274
↓ 1 callersFunctionapproximateMessageTokens
( messages: Message[], )
src/utils/analyzeContext.ts:853
↓ 1 callersFunctionarchiveBridgeSession
( sessionId: string, opts?: { baseUrl?: string getAccessToken?: () => string | undefined timeo
src/bridge/createSession.ts:263
↓ 1 callersMethodareDiagnosticArraysEqual
(a: Diagnostic[], b: Diagnostic[])
src/services/diagnosticTracking.ts:309
↓ 1 callersFunctionareFileEditsEquivalent
( edits1: FileEdit[], edits2: FileEdit[], originalContent: string, )
src/tools/FileEditTool/utils.ts:664
↓ 1 callersFunctionareFileEditsInputsEquivalent
( input1: { file_path: string edits: FileEdit[] }, input2: { file_path: string edits: Fi
src/tools/FileEditTool/utils.ts:732
↓ 1 callersFunctionareMcpConfigsAllowedWithEnterpriseMcpConfig
( configs: Record<string, ScopedMcpServerConfig>, )
src/services/mcp/config.ts:1494
↓ 1 callersFunctionareMcpConfigsEqual
( a: ScopedMcpServerConfig, b: ScopedMcpServerConfig, )
src/services/mcp/client.ts:1710
↓ 1 callersFunctionareSourcesEqual
* Compare two MarketplaceSource objects for equality. * Sources are equal if they have the same type and all relevant fields match.
src/utils/plugins/marketplaceHelpers.ts:191
↓ 1 callersFunctionareSourcesEquivalentForBlocklist
* Check if two sources refer to the same GitHub repository, even if using * different source types (github vs git with GitHub URL). * * Blocklist m
src/utils/plugins/marketplaceHelpers.ts:391
↓ 1 callersFunctionasImageFilePath
(text: string)
src/utils/imagePaste.ts:335
↓ 1 callersFunctionasTerminalEscaped
( blocks: readonly Block[], mode: ColorMode, skipBackground: boolean, dim: boolean, )
src/native-ts/color-diff/index.ts:147
↓ 1 callersFunctionask
({ commands, prompt, promptUuid, isMeta, cwd, tools, mcpClients, verbose = false, thinkingCo
src/QueryEngine.ts:1186
↓ 1 callersFunctionassertMinVersion
()
src/utils/autoUpdater.ts:70
↓ 1 callersFunctionassistantHasVisibleText
(m: Message)
src/components/FullscreenLayout.tsx:217
↓ 1 callersFunctionassistantMessageToMessageParam
( message: AssistantMessage, addCache = false, enablePromptCaching: boolean, querySource?: QuerySource
src/services/api/claude.ts:633
↓ 1 callersFunctionastRedirectsToOutputRedirections
* Convert AST-derived Redirect[] to the format expected by * validateOutputRedirections. Filters to output-only redirects (excluding * fd duplicatio
src/tools/BashTool/pathValidation.ts:1116
↓ 1 callersFunctionattachAnalyticsSink
(newSink: AnalyticsSink)
src/services/analytics/index.ts:95
↓ 1 callersFunctionattachErrorLogSink
(newSink: ErrorLogSink)
src/utils/log.ts:109
↓ 1 callersMethodattachSession
()
src/utils/terminalPanel.ts:144
↓ 1 callersFunctionattemptReconnect
()
src/components/mcp/MCPReconnect.tsx:30
↓ 1 callersFunctionattributionRestoreStateFromLog
( attributionSnapshots: AttributionSnapshotMessage[], onUpdateState: (newState: AttributionState) => void,
src/utils/commitAttribution.ts:934
↓ 1 callersFunctionauthLogin
({ email, sso, console: useConsole, claudeai, }: { email?: string sso?: boolean console?: boolea
src/cli/handlers/auth.ts:112
↓ 1 callersFunctionauthLogout
()
src/cli/handlers/auth.ts:321
↓ 1 callersFunctionauthStatus
(opts: { json?: boolean text?: boolean })
src/cli/handlers/auth.ts:232
↓ 1 callersFunctionautoModeConfigHandler
()
src/cli/handlers/autoMode.ts:35
↓ 1 callersFunctionautoModeCritiqueHandler
(options: { model?: string })
src/cli/handlers/autoMode.ts:73
↓ 1 callersFunctionautoModeDefaultsHandler
()
src/cli/handlers/autoMode.ts:24
↓ 1 callersFunctionautoNameSessionFromPlan
(plan: string, setAppState: (updater: (prev: AppState) => AppState) => void, isClearContext: boolean)
src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:83
↓ 1 callersFunctionautoUpdateMarketplacesAndPluginsInBackground
()
src/utils/plugins/pluginAutoupdate.ts:227
↓ 1 callersFunctionbackgroundAgentTask
(taskId: string, getAppState: () => AppState, setAppState: SetAppState)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:620
↓ 1 callersFunctionbackgroundTask
* Background a specific foreground task. * @returns true if backgrounded successfully, false otherwise
src/tasks/LocalShellTask/LocalShellTask.tsx:293
↓ 1 callersFunctionbackupTerminalPreferences
()
src/utils/appleTerminalBackup.ts:37
↓ 1 callersFunctionbase58Encode
* Encode a 128-bit unsigned integer as a fixed-length base58 string.
src/utils/taggedId.ts:19
↓ 1 callersFunctionbashCommandIsSafeAsync_DEPRECATED
( command: string, onDivergence?: () => void, )
src/tools/BashTool/bashSecurity.ts:2426
↓ 1 callersFunctionbashToolCheckCommandOperatorPermissions
* Checks if the command has special operators that require behavior beyond * simple subcommand checking.
src/tools/BashTool/bashCommandHelpers.ts:208
↓ 1 callersFunctionbashToolHasPermission
( input: z.infer<typeof BashTool.inputSchema>, context: ToolUseContext, getCommandSubcommandPrefixFn = g
src/tools/BashTool/bashPermissions.ts:1663
↓ 1 callersFunctionbashToolUseOptions
({ suggestions = [], decisionReason, onRejectFeedbackChange, onAcceptFeedbackChange, onClassifierDes
src/components/permissions/BashPermissionRequest/bashToolUseOptions.tsx:31
↓ 1 callersFunctionbatchDeltaByBytes
( delta: Record<string, string>, )
src/services/teamMemorySync/index.ts:426
↓ 1 callersFunctionbindSessionContext
()
stubs/@ant/computer-use-mcp/index.js:1
↓ 1 callersFunctionblitEscapingAbsoluteDescendants
( node: DOMElement, output: Output, prevScreen: Screen, px: number, py: number, pw: number, ph:
src/ink/render-node-to-output.ts:1337
↓ 1 callersFunctionblitGlyph
* Blit one glyph into the RGBA buffer at (x,y), scaled by `scale` * (nearest-neighbor). Alpha-composites over the existing background. Bold is * syn
src/utils/ansiToPng.ts:213
↓ 1 callersFunctionblitShade
( px: Uint8Array, width: number, x: number, y: number, fg: AnsiColor, bg: AnsiColor, alpha: numb
src/utils/ansiToPng.ts:181
↓ 1 callersFunctionboostChalkLevelForXtermJs
* xterm.js (VS Code, Cursor, code-server, Coder) has supported truecolor * since 2017, but code-server/Coder containers often don't set * COLORTERM=
src/ink/colorize.ts:20
↓ 1 callersFunctionbootstrapTelemetry
()
src/utils/telemetry/instrumentation.ts:87
↓ 1 callersFunctionbuildAssistantDailyLogPrompt
* Assistant-mode daily-log prompt. Gated behind feature('KAIROS'). * * Assistant sessions are effectively perpetual, so the agent writes memories *
src/memdir/memdir.ts:327
↓ 1 callersMethodbuildAsync
( fileList: string[], markQueryable: () => void, )
src/native-ts/file-index/index.ts:95
↓ 1 callersFunctionbuildAwaySummaryPrompt
(memory: string | null)
src/services/awaySummary.ts:18
↓ 1 callersFunctionbuildBorderText
(showFastIcon: boolean, showFastIconHint: boolean, fastModeCooldown: boolean)
src/components/PromptInput/PromptInput.tsx:2328
↓ 1 callersFunctionbuildBridgeSessionUrl
( sessionId: string, environmentId: string, ingressUrl?: string, )
src/bridge/bridgeStatusUtil.ts:52
← previousnext →4,301–4,400 of 11,484, ranked by callers