MCPcopy Create free account

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

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

↓ 1 callersFunctionmarkDialogAsShown
()
source code/components/IdeOnboardingDialog.tsx:156
↓ 1 callersFunctionmarkFlaggedPluginsSeen
( pluginIds: string[], )
source code/utils/plugins/pluginFlagging.ts:174
↓ 1 callersFunctionmarkGitUnavailable
()
source code/utils/plugins/gitAvailability.ts:61
↓ 1 callersFunctionmarkHintPluginShown
(pluginId: string)
source code/utils/plugins/hintRecommendation.ts:143
↓ 1 callersFunctionmarkInProcessFallback
()
source code/utils/swarm/backends/registry.ts:328
↓ 1 callersFunctionmarkMessagesAsReadByPredicate
( agentName: string, predicate: (msg: TeammateMessage) => boolean, teamName?: string, )
source code/utils/teammateMailbox.ts:1103
↓ 1 callersFunctionmarkNoSelectRegion
( screen: Screen, x: number, y: number, width: number, height: number, )
source code/ink/screen.ts:1473
↓ 1 callersFunctionmarkScrollActivity
()
source code/bootstrap/state.ts:800
↓ 1 callersFunctionmarkSessionMemoryInitialized
()
source code/services/SessionMemory/sessionMemoryUtils.ts:167
↓ 1 callersFunctionmarkShownThisSession
()
source code/utils/claudeCodeHints.ts:172
↓ 1 callersMethodmarkStepUpPending
* Called by the fetch wrapper when a 403 insufficient_scope response is * detected. Setting this causes tokens() to omit refresh_token, forcing
source code/services/mcp/auth.ts:1470
↓ 1 callersFunctionmarkTerminalSetupInProgress
(backupPath: string)
source code/utils/appleTerminalBackup.ts:9
↓ 1 callersFunctionmarkToolUseAsComplete
( toolUseContext: ToolUseContext, toolUseID: string, )
source code/services/tools/StreamingToolExecutor.ts:523
↓ 1 callersFunctionmarkToolsSentToAPIState
()
source code/services/compact/microCompact.ts:126
↓ 1 callersFunctionmarkdownToHtml
(md: string)
source code/commands/insights.ts:1953
↓ 1 callersFunctionmarketplaceAddHandler
( source: string, options: { cowork?: boolean; sparse?: string[]; scope?: string }, )
source code/cli/handlers/plugins.ts:449
↓ 1 callersFunctionmarketplaceListHandler
(options: { json?: boolean cowork?: boolean })
source code/cli/handlers/plugins.ts:529
↓ 1 callersFunctionmarketplaceRemoveHandler
( name: string, options: { cowork?: boolean }, )
source code/cli/handlers/plugins.ts:597
↓ 1 callersFunctionmarketplaceSourceHint
(p: string)
source code/utils/plugins/validatePlugin.ts:115
↓ 1 callersFunctionmarketplaceUpdateHandler
( name: string | undefined, options: { cowork?: boolean }, )
source code/cli/handlers/plugins.ts:618
↓ 1 callersFunctionmaskBracesInQuotedContexts
* Mask `{` characters that appear inside single- or double-quoted contexts. * Uses a single-pass bash-aware quote-state scanner instead of a regex.
source code/utils/bash/ast.ts:333
↓ 1 callersFunctionmaskModelCodename
(baseName: string)
source code/utils/model/model.ts:388
↓ 1 callersFunctionmatchKey
(m: Match)
source code/components/GlobalSearchDialog.tsx:322
↓ 1 callersFunctionmatchesBinding
( input: string, key: Key, binding: ParsedBinding, )
source code/keybindings/match.ts:113
↓ 1 callersFunctionmatchesKeepGoingKeyword
(input: string)
source code/utils/userPromptKeywords.ts:18
↓ 1 callersFunctionmatchesKeyboardEvent
(e: KeyboardEvent, target: ParsedKeystroke)
source code/hooks/useVoiceIntegration.tsx:63
↓ 1 callersFunctionmatchesKeystroke
( input: string, key: Key, target: ParsedKeystroke, )
source code/keybindings/match.ts:88
↓ 1 callersFunctionmatchesNegativeKeyword
(input: string)
source code/utils/userPromptKeywords.ts:6
↓ 1 callersFunctionmatchesPattern
* Check if a match query matches a hook matcher pattern * @param matchQuery The query to match (e.g., 'Write', 'Edit', 'Bash') * @param matcher The
source code/utils/hooks.ts:1348
↓ 1 callersFunctionmatchesSectionHeader
* Check if a config line like `[remote "origin"]` matches the given section/subsection. * Section matching is case-insensitive; subsection matching i
source code/utils/git/gitConfigParser.ts:200
↓ 1 callersMethodmaterializeSessionFile
* Create the session file, write cached startup metadata, and flush * buffered entries. Called on the first user/assistant message.
source code/utils/sessionStorage.ts:978
↓ 1 callersFunctionmaxLineNumber
(hunk: Hunk)
source code/native-ts/color-diff/index.ts:834
↓ 1 callersFunctionmaybeGetTmuxMouseHint
()
source code/utils/fullscreen.ts:182
↓ 1 callersFunctionmaybeInstallIDEExtension
( ideType: IdeType, )
source code/utils/ide.ts:592
↓ 1 callersFunctionmaybeInvalidateCache
* Invalidate the description cache if deferred tools have changed.
source code/tools/ToolSearchTool/ToolSearchTool.ts:93
↓ 1 callersFunctionmaybeNotifyIDEConnected
(client: Client)
source code/utils/ide.ts:831
↓ 1 callersFunctionmaybeRefreshOverageCreditCache
()
source code/components/LogoV2/OverageCreditUpsell.tsx:46
↓ 1 callersFunctionmaybeRemoveApiKeyFromMacOSKeychainThrows
()
source code/utils/authPortable.ts:6
↓ 1 callersFunctionmaybeTimeBasedMicrocompact
( messages: Message[], querySource: QuerySource | undefined, )
source code/services/compact/microCompact.ts:448
↓ 1 callersFunctionmaybeTruncateInput
( input: string, pastedContents: Record<number, PastedContent>, )
source code/components/PromptInput/inputPaste.ts:63
↓ 1 callersFunctionmaybeTruncateMessageForInput
( text: string, nextPasteId: number, )
source code/components/PromptInput/inputPaste.ts:22
↓ 1 callersFunctionmcpAddFromDesktopHandler
(options: { scope?: string; })
source code/cli/handlers/mcp.tsx:319
↓ 1 callersFunctionmcpAddJsonHandler
(name: string, json: string, options: { scope?: string; clientSecret?: true; })
source code/cli/handlers/mcp.tsx:288
↓ 1 callersFunctionmcpGetHandler
(name: string)
source code/cli/handlers/mcp.tsx:195
↓ 1 callersFunctionmcpListHandler
()
source code/cli/handlers/mcp.tsx:146
↓ 1 callersFunctionmcpQueryFor
(searchToken: string)
source code/utils/suggestions/slackChannelSuggestions.ts:131
↓ 1 callersFunctionmcpRemoveHandler
(name: string, options: { scope?: string; })
source code/cli/handlers/mcp.tsx:76
↓ 1 callersFunctionmcpResetChoicesHandler
()
source code/cli/handlers/mcp.tsx:354
↓ 1 callersFunctionmcpServeHandler
({ debug, verbose }: { debug?: boolean; verbose?: boolean; })
source code/cli/handlers/mcp.tsx:44
↓ 1 callersFunctionmcpToolInputToAutoClassifierInput
( input: Record<string, unknown>, toolName: string, )
source code/services/mcp/client.ts:1735
↓ 1 callersMethodmeasureWrappedText
()
source code/utils/Cursor.ts:1295
↓ 1 callersFunctionmemoryAge
(mtimeMs: number)
source code/memdir/memoryAge.ts:17
↓ 1 callersFunctionmemoryFileFreshnessPrefix
(data: object)
source code/tools/FileReadTool/FileReadTool.ts:751
↓ 1 callersFunctionmemoryFreshnessNote
(mtimeMs: number)
source code/memdir/memoryAge.ts:51
↓ 1 callersFunctionmemoryScopeForPath
(filePath: string)
source code/utils/memoryFileDetection.ts:108
↓ 1 callersFunctionmergeAdjacentUserMessages
( msgs: (UserMessage | AssistantMessage)[], )
source code/utils/messages.ts:2453
↓ 1 callersFunctionmergeArrays
* Custom merge function for arrays - concatenate and deduplicate
source code/utils/settings/settings.ts:531
↓ 1 callersFunctionmergeAssistantMessages
( a: AssistantMessage, b: AssistantMessage, )
source code/utils/messages.ts:2391
↓ 1 callersFunctionmergePluginErrors
* Merge fresh plugin-load errors with existing errors, preserving LSP and * plugin-component errors that were recorded by other systems and * dedupl
source code/utils/plugins/refresh.ts:201
↓ 1 callersFunctionmergePluginSettings
* Merge settings from all enabled plugins into a single record. * Later plugins override earlier ones for the same key. * Only allowlisted keys are
source code/utils/plugins/pluginLoader.ts:3252
↓ 1 callersFunctionmergePluginSources
(sources: { session: LoadedPlugin[] marketplace: LoadedPlugin[] builtin: LoadedPlugin[] managedNames?:
source code/utils/plugins/pluginLoader.ts:3011
↓ 1 callersFunctionmergeUntrackedIntoNormalizedCache
* Merge already-normalized untracked files into the cache
source code/hooks/fileSuggestions.ts:171
↓ 1 callersFunctionmergeUserContentBlocks
( a: ContentBlockParam[], b: ContentBlockParam[], )
source code/utils/messages.ts:2602
↓ 1 callersFunctionmergeUserMessagesAndToolResults
( a: UserMessage, b: UserMessage, )
source code/utils/messages.ts:2374
↓ 1 callersFunctionmigrateAutoUpdatesToSettings
()
source code/migrations/migrateAutoUpdatesToSettings.ts:15
↓ 1 callersFunctionmigrateBypassPermissionsAcceptedToSettings
()
source code/migrations/migrateBypassPermissionsAcceptedToSettings.ts:16
↓ 1 callersFunctionmigrateChangelogFromConfig
()
source code/utils/releaseNotes.ts:57
↓ 1 callersFunctionmigrateEnableAllProjectMcpServersToSettings
()
source code/migrations/migrateEnableAllProjectMcpServersToSettings.ts:19
↓ 1 callersFunctionmigrateFennecToOpus
()
source code/migrations/migrateFennecToOpus.ts:20
↓ 1 callersFunctionmigrateLegacyOpusToCurrent
()
source code/migrations/migrateLegacyOpusToCurrent.ts:31
↓ 1 callersFunctionmigrateOpusToOpus1m
()
source code/migrations/migrateOpusToOpus1m.ts:26
↓ 1 callersFunctionmigrateReplBridgeEnabledToRemoteControlAtStartup
()
source code/migrations/migrateReplBridgeEnabledToRemoteControlAtStartup.ts:12
↓ 1 callersFunctionmigrateScreenPools
( screen: Screen, charPool: CharPool, hyperlinkPool: HyperlinkPool, )
source code/ink/screen.ts:556
↓ 1 callersFunctionmigrateSonnet1mToSonnet45
()
source code/migrations/migrateSonnet1mToSonnet45.ts:27
↓ 1 callersFunctionmigrateSonnet45ToSonnet46
()
source code/migrations/migrateSonnet45ToSonnet46.ts:31
↓ 1 callersFunctionmigrateStatsCache
* Migrate an older cache to the current schema. * Returns null if the version is unknown or too old to migrate. * * Preserves historical aggregates
source code/utils/statsCache.ts:109
↓ 1 callersFunctionmigrateToSinglePluginFile
()
source code/utils/plugins/installedPluginsManager.ts:117
↓ 1 callersFunctionmkdirRecursive
(dirPath: string)
source code/utils/worktree.ts:92
↓ 1 callersFunctionmodalPagerAction
(input: string, key: Pick<Key, 'ctrl' | 'meta' | 'shift' | 'upArrow' | 'downArrow' | 'home' | 'end'>)
source code/components/ScrollKeybindingHandler.tsx:902
↓ 1 callersFunctionmodelBelongsToFamily
* Check if a model belongs to a given family by checking if its name * (or resolved name) contains the family identifier.
source code/utils/model/modelAllowlist.ts:12
↓ 1 callersFunctionmodelMatchesVersionPrefix
* Check if a model matches a version-prefix entry in the allowlist. * Supports shorthand like "opus-4-5" (mapped to "claude-opus-4-5") and * full pr
source code/utils/model/modelAllowlist.ts:41
↓ 1 callersFunctionmodelSupportsContextManagement
(model: string)
source code/utils/betas.ts:127
↓ 1 callersFunctionmodelSupportsThinking
(model: string)
source code/utils/thinking.ts:92
↓ 1 callersFunctionmoveFocus
(s: SelectionState, col: number, row: number)
source code/ink/selection.ts:444
↓ 1 callersMethodmoveSelectionFocus
* Keyboard selection extension (shift+arrow/home/end). Moves focus; * anchor stays fixed so the highlight grows or shrinks relative to it. * Lef
source code/ink/ink.tsx:1190
↓ 1 callersFunctionneedsAutoModeExitAttachment
()
source code/bootstrap/state.ts:1367
↓ 1 callersFunctionneedsBidi
()
source code/ink/bidi.ts:31
↓ 1 callersFunctionneedsPlanModeExitAttachment
()
source code/bootstrap/state.ts:1343
↓ 1 callersFunctionneedsQuoting
(str: string)
source code/utils/bash/commands.ts:1173
↓ 1 callersFunctionneedsSegmentation
(str: string)
source code/ink/stringWidth.ts:94
↓ 1 callersFunctionneedsWidthCompensation
* Identify emoji where the terminal's wcwidth may disagree with Unicode. * On terminals with correct tables, the CHA we emit is a harmless no-op. *
source code/ink/log-update.ts:735
↓ 1 callersMethodnoSelect
* Mark a region as non-selectable (excluded from fullscreen text * selection copy + highlight). Used by <NoSelect> to fence off * gutters (line
source code/ink/output.ts:239
↓ 1 callersFunctionnodeTypeId
(nodeType: string | undefined)
source code/utils/bash/ast.ts:215
↓ 1 callersFunctionnormalizeAllowOnly
(paths: string[])
source code/tools/BashTool/prompt.ts:191
↓ 1 callersFunctionnormalizeAssistantMessageForSDK
* Normalizes tool inputs in assistant message content for SDK consumption. * Specifically injects plan content into ExitPlanModeV2 tool inputs since
source code/utils/messages/mappers.ts:262
↓ 1 callersFunctionnormalizeFileEditInput
({ file_path, edits, }: { file_path: string edits: EditInput[] })
source code/tools/FileEditTool/utils.ts:583
↓ 1 callersFunctionnormalizeGitRemoteUrl
(url: string)
source code/utils/git.ts:285
↓ 1 callersFunctionnormalizeImageBlocks
( blocks: Array<ContentBlockParam>, )
source code/bridge/inboundMessages.ts:54
↓ 1 callersFunctionnormalizePatternToPath
({ patternRoot, pattern, rootPath, }: { patternRoot: string pattern: string rootPath: string })
source code/utils/permissions/filesystem.ts:767
↓ 1 callersFunctionnormalizeToolInput
( tool: T, input: z.infer<T['inputSchema']>, agentId?: AgentId, )
source code/utils/api.ts:568
← previousnext →6,801–6,900 of 11,462, ranked by callers