MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

↓ 1 callersMethodappendEventsToFile
( filePath: string, events: FirstPartyEventLoggingEvent[], )
source code/services/analytics/firstPartyEventLoggingExporter.ts:196
↓ 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
source code/utils/messages.ts:1622
↓ 1 callersFunctionappendMessageToLocalAgent
(taskId: string, message: Message, setAppState: (f: (prev: AppState) => AppState) => void)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:177
↓ 1 callersFunctionappendSessionLogImpl
* Internal implementation of appendSessionLog with retry logic * Retries on transient errors (network, 5xx, 429). On 409, adopts the server's * last
source code/services/api/sessionIngress.ts:65
↓ 1 callersFunctionappendSystemContext
( systemPrompt: SystemPrompt, context: { [k: string]: string }, )
source code/utils/api.ts:439
↓ 1 callersFunctionappendTaskOutput
(taskId: string, content: string)
source code/utils/task/diskOutput.ts:270
↓ 1 callersFunctionappendToFile
(filePath: string, entries: string[])
source code/services/api/dumpPrompts.ts:69
↓ 1 callersFunctionappendToLog
(path: string, message: object)
source code/utils/errorLogSink.ts:113
↓ 1 callersFunctionapplyBackground
(h: Highlight, theme: Theme, ranges: Range[])
source code/native-ts/color-diff/index.ts:770
↓ 1 callersFunctionapplyBedrockRegionPrefix
( modelId: string, prefix: BedrockRegionPrefix, )
source code/utils/model/bedrock.ts:250
↓ 1 callersFunctionapplyBorderStyles
( node: LayoutNode, style: Styles, resolvedStyle?: Styles, )
source code/ink/styles.ts:694
↓ 1 callersMethodapplyChanges
(input: TInput, modifiedEdits: FileEdit[])
source code/components/permissions/FilePermissionDialog/ideDiffConfig.ts:24
↓ 1 callersFunctionapplyCurlyDoubleQuotes
(str: string)
source code/tools/FileEditTool/utils.ts:158
↓ 1 callersFunctionapplyCurlySingleQuotes
(str: string)
source code/tools/FileEditTool/utils.ts:175
↓ 1 callersFunctionapplyDimensionStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:632
↓ 1 callersFunctionapplyDisplayStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:686
↓ 1 callersFunctionapplyExtraCACertsFromConfig
()
source code/utils/caCertsConfig.ts:36
↓ 1 callersFunctionapplyFlexStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:516
↓ 1 callersFunctionapplyFormatOptimizations
( image: SharpInstance, format: string, )
source code/utils/imageResizer.ts:684
↓ 1 callersFunctionapplyGapStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:743
↓ 1 callersFunctionapplyGrouping
( messages: MessageWithoutProgress[], tools: Tools, verbose: boolean = false, )
source code/utils/groupToolUses.ts:56
↓ 1 callersFunctionapplyMarginStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:456
↓ 1 callersFunctionapplyMockHeaders
( headers: globalThis.Headers, )
source code/services/mockRateLimits.ts:691
↓ 1 callersFunctionapplyModalPagerAction
(s: ScrollBoxHandle, act: ModalPagerAction | null, onBeforeJump: (delta: number) => void)
source code/components/ScrollKeybindingHandler.tsx:971
↓ 1 callersFunctionapplyOverflowStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:436
↓ 1 callersFunctionapplyPaddingStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:486
↓ 1 callersFunctionapplyPaddingToText
( node: DOMElement, text: string, softWrap?: boolean[], )
source code/ink/render-node-to-output.ts:367
↓ 1 callersFunctionapplyPermissionRulesToPermissionContext
( toolPermissionContext: ToolPermissionContext, rules: PermissionRule[], )
source code/utils/permissions/permissions.ts:1410
↓ 1 callersFunctionapplyPositionStyles
(node: LayoutNode, style: Styles)
source code/ink/styles.ts:408
↓ 1 callersFunctionapplyPositionedHighlight
( screen: Screen, stylePool: StylePool, positions: MatchPosition[], rowOffset: number, currentIdx: n
source code/ink/render-to-screen.ts:214
↓ 1 callersFunctionapplyPreservedSegmentRelinks
* Splice the preserved segment back into the chain after compaction. * * Preserved messages exist in the JSONL with their ORIGINAL pre-compact * pa
source code/utils/sessionStorage.ts:1841
↓ 1 callersFunctionapplyPromptToMarkdown
( prompt: string, markdownContent: string, signal: AbortSignal, isNonInteractiveSession: boolean, is
source code/tools/WebFetchTool/utils.ts:486
↓ 1 callersFunctionapplyProp
(node: DOMElement, key: string, value: unknown)
source code/ink/reconciler.ts:123
↓ 1 callersFunctionapplyRemoteEntriesToLocal
* Apply remote entries to local files (CCR pull pattern). * Only writes files that match expected keys. * * After writing, invalidates relevant cac
source code/services/settingsSync/index.ts:490
↓ 1 callersFunctionapplySGR
(paramStr: string, style: TextStyle)
source code/ink/termio/sgr.ts:129
↓ 1 callersFunctionapplySafeConfigEnvironmentVariables
()
source code/utils/managedEnv.ts:126
↓ 1 callersFunctionapplySearchHighlight
( screen: Screen, query: string, stylePool: StylePool, )
source code/ink/searchHighlight.ts:29
↓ 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
source code/tools/BashTool/BashTool.tsx:362
↓ 1 callersFunctionapplySedSubstitution
( content: string, sedInfo: SedEditInfo, )
source code/tools/BashTool/sedEditParser.ts:246
↓ 1 callersFunctionapplySelectionOverlay
( screen: Screen, selection: SelectionState, stylePool: StylePool, )
source code/ink/selection.ts:895
↓ 1 callersFunctionapplySingleMotion
* Apply a single motion step.
source code/vim/motions.ts:32
↓ 1 callersFunctionapplySkillImprovement
( skillName: string, updates: SkillUpdate[], )
source code/utils/hooks/skillImprovement.ts:190
↓ 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.
source code/utils/fileHistory.ts:539
↓ 1 callersFunctionapplySnipRemovals
* Delete messages that Snip executions removed from the in-memory array, * and relink parentUuid across the gaps. * * Unlike compact_boundary which
source code/utils/sessionStorage.ts:1984
↓ 1 callersFunctionapplySortAndLimit
( candidates: Candidate[], limit: number | undefined, offset: number, )
source code/utils/listSessionsImpl.ts:237
↓ 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
source code/ink/render-node-to-output.ts:213
↓ 1 callersFunctionapplyToolResultBudget
( messages: Message[], state: ContentReplacementState | undefined, writeToTranscript?: (records: ToolRes
source code/utils/toolResultStorage.ts:926
↓ 1 callersFunctionapplyTruncation
(content: string)
source code/utils/processUserInput/processUserInput.ts:276
↓ 1 callersFunctionapproximateMessageTokens
( messages: Message[], )
source code/utils/analyzeContext.ts:855
↓ 1 callersFunctionarchiveBridgeSession
( sessionId: string, opts?: { baseUrl?: string getAccessToken?: () => string | undefined timeo
source code/bridge/createSession.ts:265
↓ 1 callersMethodareDiagnosticArraysEqual
(a: Diagnostic[], b: Diagnostic[])
source code/services/diagnosticTracking.ts:311
↓ 1 callersFunctionareFileEditsEquivalent
( edits1: FileEdit[], edits2: FileEdit[], originalContent: string, )
source code/tools/FileEditTool/utils.ts:666
↓ 1 callersFunctionareFileEditsInputsEquivalent
( input1: { file_path: string edits: FileEdit[] }, input2: { file_path: string edits: Fi
source code/tools/FileEditTool/utils.ts:734
↓ 1 callersFunctionareMcpConfigsAllowedWithEnterpriseMcpConfig
( configs: Record<string, ScopedMcpServerConfig>, )
source code/services/mcp/config.ts:1496
↓ 1 callersFunctionareMcpConfigsEqual
( a: ScopedMcpServerConfig, b: ScopedMcpServerConfig, )
source code/services/mcp/client.ts:1712
↓ 1 callersFunctionareSourcesEqual
* Compare two MarketplaceSource objects for equality. * Sources are equal if they have the same type and all relevant fields match.
source code/utils/plugins/marketplaceHelpers.ts:193
↓ 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
source code/utils/plugins/marketplaceHelpers.ts:393
↓ 1 callersFunctionasImageFilePath
(text: string)
source code/utils/imagePaste.ts:337
↓ 1 callersFunctionasTerminalEscaped
( blocks: readonly Block[], mode: ColorMode, skipBackground: boolean, dim: boolean, )
source code/native-ts/color-diff/index.ts:149
↓ 1 callersFunctionask
({ commands, prompt, promptUuid, isMeta, cwd, tools, mcpClients, verbose = false, thinkingCo
source code/QueryEngine.ts:1188
↓ 1 callersFunctionassertMinVersion
()
source code/utils/autoUpdater.ts:72
↓ 1 callersFunctionassistantHasVisibleText
(m: Message)
source code/components/FullscreenLayout.tsx:219
↓ 1 callersFunctionassistantMessageToMessageParam
( message: AssistantMessage, addCache = false, enablePromptCaching: boolean, querySource?: QuerySource
source code/services/api/claude.ts:635
↓ 1 callersFunctionastRedirectsToOutputRedirections
* Convert AST-derived Redirect[] to the format expected by * validateOutputRedirections. Filters to output-only redirects (excluding * fd duplicatio
source code/tools/BashTool/pathValidation.ts:1118
↓ 1 callersFunctionattachAnalyticsSink
(newSink: AnalyticsSink)
source code/services/analytics/index.ts:97
↓ 1 callersFunctionattachErrorLogSink
(newSink: ErrorLogSink)
source code/utils/log.ts:111
↓ 1 callersMethodattachSession
()
source code/utils/terminalPanel.ts:146
↓ 1 callersFunctionattemptReconnect
()
source code/components/mcp/MCPReconnect.tsx:32
↓ 1 callersFunctionattributionRestoreStateFromLog
( attributionSnapshots: AttributionSnapshotMessage[], onUpdateState: (newState: AttributionState) => void,
source code/utils/commitAttribution.ts:936
↓ 1 callersFunctionauthLogin
({ email, sso, console: useConsole, claudeai, }: { email?: string sso?: boolean console?: boolea
source code/cli/handlers/auth.ts:114
↓ 1 callersFunctionauthLogout
()
source code/cli/handlers/auth.ts:323
↓ 1 callersFunctionauthStatus
(opts: { json?: boolean text?: boolean })
source code/cli/handlers/auth.ts:234
↓ 1 callersFunctionautoModeConfigHandler
()
source code/cli/handlers/autoMode.ts:37
↓ 1 callersFunctionautoModeCritiqueHandler
(options: { model?: string })
source code/cli/handlers/autoMode.ts:75
↓ 1 callersFunctionautoModeDefaultsHandler
()
source code/cli/handlers/autoMode.ts:26
↓ 1 callersFunctionautoNameSessionFromPlan
(plan: string, setAppState: (updater: (prev: AppState) => AppState) => void, isClearContext: boolean)
source code/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:85
↓ 1 callersFunctionautoUpdateMarketplacesAndPluginsInBackground
()
source code/utils/plugins/pluginAutoupdate.ts:229
↓ 1 callersFunctionbackgroundAgentTask
(taskId: string, getAppState: () => AppState, setAppState: SetAppState)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:622
↓ 1 callersFunctionbackgroundTask
* Background a specific foreground task. * @returns true if backgrounded successfully, false otherwise
source code/tasks/LocalShellTask/LocalShellTask.tsx:295
↓ 1 callersFunctionbackupTerminalPreferences
()
source code/utils/appleTerminalBackup.ts:39
↓ 1 callersFunctionbase58Encode
* Encode a 128-bit unsigned integer as a fixed-length base58 string.
source code/utils/taggedId.ts:21
↓ 1 callersFunctionbashCommandIsSafeAsync_DEPRECATED
( command: string, onDivergence?: () => void, )
source code/tools/BashTool/bashSecurity.ts:2428
↓ 1 callersFunctionbashToolCheckCommandOperatorPermissions
* Checks if the command has special operators that require behavior beyond * simple subcommand checking.
source code/tools/BashTool/bashCommandHelpers.ts:210
↓ 1 callersFunctionbashToolHasPermission
( input: z.infer<typeof BashTool.inputSchema>, context: ToolUseContext, getCommandSubcommandPrefixFn = g
source code/tools/BashTool/bashPermissions.ts:1665
↓ 1 callersFunctionbashToolUseOptions
({ suggestions = [], decisionReason, onRejectFeedbackChange, onAcceptFeedbackChange, onClassifierDes
source code/components/permissions/BashPermissionRequest/bashToolUseOptions.tsx:33
↓ 1 callersFunctionbatchDeltaByBytes
( delta: Record<string, string>, )
source code/services/teamMemorySync/index.ts:428
↓ 1 callersFunctionblitEscapingAbsoluteDescendants
( node: DOMElement, output: Output, prevScreen: Screen, px: number, py: number, pw: number, ph:
source code/ink/render-node-to-output.ts:1339
↓ 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
source code/utils/ansiToPng.ts:215
↓ 1 callersFunctionblitShade
( px: Uint8Array, width: number, x: number, y: number, fg: AnsiColor, bg: AnsiColor, alpha: numb
source code/utils/ansiToPng.ts:183
↓ 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=
source code/ink/colorize.ts:22
↓ 1 callersFunctionbootstrapTelemetry
()
source code/utils/telemetry/instrumentation.ts:89
↓ 1 callersFunctionbuildAssistantDailyLogPrompt
* Assistant-mode daily-log prompt. Gated behind feature('KAIROS'). * * Assistant sessions are effectively perpetual, so the agent writes memories *
source code/memdir/memdir.ts:329
↓ 1 callersMethodbuildAsync
( fileList: string[], markQueryable: () => void, )
source code/native-ts/file-index/index.ts:97
↓ 1 callersFunctionbuildAwaySummaryPrompt
(memory: string | null)
source code/services/awaySummary.ts:20
↓ 1 callersFunctionbuildBorderText
(showFastIcon: boolean, showFastIconHint: boolean, fastModeCooldown: boolean)
source code/components/PromptInput/PromptInput.tsx:2330
↓ 1 callersFunctionbuildBridgeSessionUrl
( sessionId: string, environmentId: string, ingressUrl?: string, )
source code/bridge/bridgeStatusUtil.ts:54
↓ 1 callersFunctionbuildCacheSafeParams
(context: ProcessUserInputContext)
source code/commands/btw/btw.tsx:210
↓ 1 callersFunctionbuildCharToSegmentMap
* Build a mapping from each character position in the plain text to its segment index. * Returns an array where charToSegment[i] is the segment index
source code/ink/render-node-to-output.ts:194
↓ 1 callersFunctionbuildClassifierUnavailableMessage
( toolName: string, classifierModel: string, )
source code/utils/messages.ts:290
↓ 1 callersFunctionbuildClaudeMdMessage
* Build the CLAUDE.md prefix message for the classifier. Returns null when * CLAUDE.md is disabled or empty. The content is wrapped in a delimiter th
source code/utils/permissions/yoloClassifier.ts:462
← previousnext →4,301–4,400 of 11,462, ranked by callers