Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnukarOP/claude-code-leaked
/ functions
Functions
11,462 in github.com/AnukarOP/claude-code-leaked
⨍
Functions
11,462
◇
Types & classes
340
↓ 1 callers
Function
toolResultSearchText
(r: unknown)
source code/utils/transcriptSearch.ts:173
↓ 1 callers
Function
toolResultText
(r: NormalizedUserMessage)
source code/components/messageActions.tsx:444
↓ 1 callers
Function
toolSummary
(name: string, input: Record<string, unknown>)
source code/bridge/sessionRunner.ts:93
↓ 1 callers
Function
toolUseSearchText
(input: unknown)
source code/utils/transcriptSearch.ts:136
↓ 1 callers
Function
trackClaudeInChromeTabId
(tabId: number)
source code/utils/claudeInChrome/common.ts:420
↓ 1 callers
Function
trackDatadogEvent
( eventName: string, properties: { [key: string]: boolean | number | undefined }, )
source code/services/analytics/datadog.ts:162
↓ 1 callers
Function
trackFileModification
( state: AttributionState, filePath: string, oldContent: string, newContent: string, _userModified:
source code/utils/commitAttribution.ts:404
↓ 1 callers
Function
trackReceivedMessageUuid
(uuid: UUID)
source code/cli/print.ts:400
↓ 1 callers
Function
trackSessionBranchingAnalytics
( logs: LogOption[], )
source code/utils/sessionStorage.ts:2528
↓ 1 callers
Function
trackUnknownModelCost
(model: string, shortName: ModelShortName)
source code/utils/modelCost.ts:168
↓ 1 callers
Function
transform
(id: number)
source code/ink/render-to-screen.ts:225
↓ 1 callers
Function
transformCommandAst
( raw: RawPipelineElement, )
source code/utils/powershell/parser.ts:832
↓ 1 callers
Function
transformExpressionElement
( raw: RawPipelineElement, )
source code/utils/powershell/parser.ts:941
↓ 1 callers
Function
transformLinesToObjects
(lines: string[])
source code/components/StructuredDiff/Fallback.tsx:127
↓ 1 callers
Method
transformLogsToEvents
( logs: ReadableLogRecord[], )
source code/services/analytics/firstPartyEventLoggingExporter.ts:637
↓ 1 callers
Function
transformMCPResult
( result: unknown, tool: string, // Tool name for validation (e.g., "search") name: string, // Server na
source code/services/mcp/client.ts:2664
↓ 1 callers
Function
transformMessagesForExternalTranscript
* For external users, make REPL invisible in the persisted transcript: strip * REPL tool_use/tool_result pairs and promote isVirtual messages to real
source code/utils/sessionStorage.ts:4398
↓ 1 callers
Method
transformMetricsForInternal
( metrics: ResourceMetrics, )
source code/utils/telemetry/bigqueryExporter.ts:152
↓ 1 callers
Function
transformPluginSkillFiles
* Transforms plugin markdown files to handle skill directories
source code/utils/plugins/loadPluginCommands.ts:137
↓ 1 callers
Function
transformRawOutput
Transform the complete raw PS output into ParsedPowerShellCommand
source code/utils/powershell/parser.ts:1108
↓ 1 callers
Function
transformSkillFiles
* Transforms markdown files to handle "skill" commands in legacy /commands/ folder. * When a SKILL.md file exists in a directory, only that file is l
source code/skills/loadSkillsDir.ts:495
↓ 1 callers
Function
transition
( state: CommandState, input: string, ctx: TransitionContext, )
source code/vim/transitions.ts:61
↓ 1 callers
Function
traverse
(node, depth, parentId)
source code/components/ui/TreeSelect.tsx:162
↓ 1 callers
Function
treeify
(obj: TreeNode, options: TreeifyOptions = {})
source code/utils/treeify.ts:41
↓ 1 callers
Function
triggerFastModeCooldown
( resetTimestamp: number, reason: CooldownReason, )
source code/utils/fastMode.ts:216
↓ 1 callers
Function
trimTrailingWhitespace
(s: string)
source code/utils/git/gitConfigParser.ts:188
↓ 1 callers
Function
truncateCommand
(command: string)
source code/tools/TaskStopTool/UI.tsx:14
↓ 1 callers
Function
truncateContentBlocks
( blocks: ContentBlockParam[], maxChars: number, )
source code/utils/mcpValidation.ts:96
↓ 1 callers
Function
truncateForPreview
(input: unknown)
source code/services/mcp/channelPermissions.ts:162
↓ 1 callers
Function
truncateLine
(text: string, maxLen: number)
source code/commands/copy/copy.tsx:97
↓ 1 callers
Function
truncateMcpContent
( content: MCPToolResult, )
source code/utils/mcpValidation.ts:182
↓ 1 callers
Function
truncateSessionMemoryForCompact
(content: string)
source code/services/SessionMemory/prompts.ts:258
↓ 1 callers
Function
truncateString
(content: string, maxChars: number)
source code/utils/mcpValidation.ts:89
↓ 1 callers
Function
truncateTag
* Truncate a tag to fit within maxWidth, accounting for padding and hash prefix
source code/components/TagTabs.tsx:45
↓ 1 callers
Function
truncateToLines
(text: string, maxLines: number)
source code/utils/stringUtils.ts:231
↓ 1 callers
Function
truncateToTokens
* Truncate content to roughly maxTokens, keeping the head. roughTokenCountEstimation * uses ~4 chars/token (its default bytesPerToken), so char budge
source code/services/compact/compact.ts:1668
↓ 1 callers
Function
truncateToolInputValue
(value: unknown, depth = 0)
source code/services/analytics/metadata.ts:244
↓ 1 callers
Function
tryAcquireComputerUseLock
()
source code/utils/computerUse/computerUseLock.ts:150
↓ 1 callers
Function
tryAcquireConsolidationLock
()
source code/services/autoDream/consolidationLock.ts:48
↓ 1 callers
Function
tryFlattenJson
(content: string)
source code/tools/MCPTool/UI.tsx:300
↓ 1 callers
Function
tryGetInstalledAppNames
* Enumerate installed apps, timed. Fails soft — if Spotlight is slow or * claude-swift throws, the tool description just omits the list. Resolution
source code/utils/computerUse/mcpServer.ts:27
↓ 1 callers
Function
tryGetPDFReference
( filename: string, )
source code/utils/attachments.ts:2988
↓ 1 callers
Function
tryJPEGConversion
( context: ImageCompressionContext, quality: number, sharp: SharpFunction, )
source code/utils/imageResizer.ts:727
↓ 1 callers
Function
tryJsonFormatContent
(content: string)
source code/components/shell/OutputLine.tsx:35
↓ 1 callers
Function
tryPalettePNG
( context: ImageCompressionContext, sharp: SharpFunction, )
source code/utils/imageResizer.ts:704
↓ 1 callers
Function
tryParseBraceExpr
(P: ParseState)
source code/utils/bash/bashParser.ts:2217
↓ 1 callers
Function
tryParseBraceLikeCat
(P: ParseState)
source code/utils/bash/bashParser.ts:2270
↓ 1 callers
Function
tryProgressiveResizing
( context: ImageCompressionContext, sharp: SharpFunction, )
source code/utils/imageResizer.ts:648
↓ 1 callers
Function
tryQuoteShellArgs
(args: unknown[])
source code/utils/bash/shellQuote.ts:49
↓ 1 callers
Function
tryReadImageFromPath
( text: string, )
source code/utils/imagePaste.ts:353
↓ 1 callers
Function
tryRenderShutdownMessage
(content: string)
source code/components/messages/ShutdownMessage.tsx:97
↓ 1 callers
Function
tryRenderTaskAssignmentMessage
(content: string)
source code/components/messages/TaskAssignmentMessage.tsx:60
↓ 1 callers
Function
trySlackSendCompact
(output: string | MCPToolResult, input: unknown)
source code/tools/MCPTool/UI.tsx:374
↓ 1 callers
Method
tryStart
* Start a query. Returns the generation number on success, * or null if a query is already running (concurrent guard). * Accepts transitions fro
source code/utils/QueryGuard.ts:63
↓ 1 callers
Function
tryUnwrapTextPayload
(content: string)
source code/tools/MCPTool/UI.tsx:329
↓ 1 callers
Function
turnDiffToDiffData
(turn: TurnDiff)
source code/components/diff/DiffDialog.tsx:32
↓ 1 callers
Function
typeViaClipboard
* Port of Cowork's `typeViaClipboard`. Sequence: * 1. Save the user's clipboard. * 2. Write our text. * 3. READ-BACK VERIFY — clipboard write
source code/utils/computerUse/executor.ts:182
↓ 1 callers
Function
unescapeRuleContent
(content: string)
source code/utils/permissions/permissionRuleParser.ts:76
↓ 1 callers
Function
unhideComputerUseApps
( bundleIds: readonly string[], )
source code/utils/computerUse/executor.ts:654
↓ 1 callers
Function
uninstallPlugin
( plugin: string, scope: InstallableScope = 'user', keepData = false, )
source code/services/plugins/pluginCliCommands.ts:155
↓ 1 callers
Function
unlinkSync
(path: string)
source code/utils/fsOperations.ts:496
↓ 1 callers
Function
unregisterAgentForeground
(taskId: string, setAppState: SetAppState)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:659
↓ 1 callers
Function
unregisterEscHotkey
()
source code/utils/computerUse/escHotkey.ts:42
↓ 1 callers
Function
unregisterLeaderSetToolPermissionContext
()
source code/utils/swarm/leaderPermissionBridge.ts:54
↓ 1 callers
Function
unregisterLeaderToolUseConfirmQueue
()
source code/utils/swarm/leaderPermissionBridge.ts:40
↓ 1 callers
Function
unregisterPermissionCallback
(requestId: string)
source code/hooks/useSwarmPermissionPoller.ts:96
↓ 1 callers
Function
unregisterTeamForSessionCleanup
(teamName: string)
source code/utils/swarm/teamHelpers.ts:570
↓ 1 callers
Function
unsetEffortLevel
()
source code/commands/effort/effort.tsx:78
↓ 1 callers
Method
unsetMeasureFunc
()
source code/ink/layout/yoga.ts:100
↓ 1 callers
Function
unwrapCcrProxyUrl
(url: string)
source code/services/mcp/config.ts:184
↓ 1 callers
Function
unwrapResults
(text: string)
source code/utils/suggestions/slackChannelSuggestions.ts:75
↓ 1 callers
Function
upOrHistoryUp
()
source code/hooks/useTextInput.ts:271
↓ 1 callers
Function
update
()
source code/components/PromptInput/PromptInputFooterLeftSide.tsx:88
↓ 1 callers
Function
update
()
source code/cli/update.ts:32
↓ 1 callers
Function
updateAgentFile
( agent: AgentDefinition, newWhenToUse: string, newTools: string[] | undefined, newSystemPrompt: strin
source code/components/agents/agentFileUtils.ts:210
↓ 1 callers
Function
updateAgentSummary
(taskId: string, summary: string, setAppState: SetAppState)
source code/tasks/LocalAgentTask/LocalAgentTask.tsx:361
↓ 1 callers
Function
updateDeepLinkTerminalPreference
()
source code/utils/deepLink/terminalPreference.ts:40
↓ 1 callers
Function
updateGithubRepoPathMapping
()
source code/utils/githubRepoPathMapping.ts:25
↓ 1 callers
Function
updateInstallationPathOnDisk
( pluginId: string, scope: PersistableScope, projectPath: string | undefined, newPath: string, newVe
source code/utils/plugins/installedPluginsManager.ts:539
↓ 1 callers
Function
updateLatest
( channelOrVersion: string, forceReinstall: boolean = false, )
source code/utils/nativeInstaller/installer.ts:497
↓ 1 callers
Function
updateMagicDoc
* Update a single Magic Doc
source code/services/MagicDocs/magicDocs.ts:116
↓ 1 callers
Function
updatePlugin
* Update a single plugin's installations. * Returns the plugin ID if any installation was updated, null otherwise.
source code/utils/plugins/pluginAutoupdate.ts:110
↓ 1 callers
Function
updatePluginCli
( plugin: string, scope: PluginScope, )
source code/services/plugins/pluginCliCommands.ts:302
↓ 1 callers
Function
updatePlugins
* Update plugins from marketplaces that have autoUpdate enabled. * Returns the list of plugin IDs that were updated.
source code/utils/plugins/pluginAutoupdate.ts:208
↓ 1 callers
Function
updateSelection
( s: SelectionState, col: number, row: number, )
source code/ink/selection.ts:102
↓ 1 callers
Function
updateSessionActivity
(sessionId: string, activity: SessionActivity)
source code/bridge/bridgeUI.ts:500
↓ 1 callers
Function
updateSessionTitle
( sessionId: string, title: string, )
source code/utils/teleport/api.ts:427
↓ 1 callers
Function
updateStatusDisplay
Refresh the inline status display. Shows idle or active depending on state.
source code/bridge/bridgeMain.ts:374
↓ 1 callers
Function
updateSymlink
( symlinkPath: string, targetPath: string, )
source code/utils/nativeInstaller/installer.ts:641
↓ 1 callers
Function
uploadBriefAttachment
( fullPath: string, size: number, ctx: BriefUploadContext, )
source code/tools/BriefTool/upload.ts:94
↓ 1 callers
Function
uploadSessionFiles
( files: Array<{ path: string; relativePath: string }>, config: FilesApiConfig, concurrency: number = DE
source code/services/api/filesApi.ts:572
↓ 1 callers
Function
uploadTeamMemory
( state: SyncState, repoSlug: string, entries: Record<string, string>, ifMatchChecksum?: string | null
source code/services/teamMemorySync/index.ts:464
↓ 1 callers
Function
uploadUserSettings
( entries: Record<string, string>, )
source code/services/settingsSync/index.ts:349
↓ 1 callers
Function
uploadsDir
()
source code/bridge/inboundAttachments.ts:62
↓ 1 callers
Function
uriToFilePath
* Extracts a file path from a file:// URI, decoding percent-encoded characters.
source code/tools/LSPTool/LSPTool.ts:540
↓ 1 callers
Function
urlMatchesPattern
* Match a URL against a pattern with * as a wildcard (any characters). * Same semantics as the MCP server allowlist patterns.
source code/utils/hooks/execHttpHook.ts:66
↓ 1 callers
Function
urlPatternToRegex
* Convert a URL pattern with wildcards to a RegExp * Supports * as wildcard matching any characters * Examples: * "https://example.com/*" matches
source code/services/mcp/config.ts:322
↓ 1 callers
Function
useAfterFirstRender
()
source code/hooks/useAfterFirstRender.ts:6
↓ 1 callers
Function
useApiKeyVerification
()
source code/hooks/useApiKeyVerification.ts:26
↓ 1 callers
Function
useArrowKeyHistory
(onSetInput: (value: string, mode: HistoryMode, pastedContents: Record<number, PastedContent>) => void, curren
source code/hooks/useArrowKeyHistory.tsx:65
← previous
next →
7,801–7,900 of 11,462, ranked by callers