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
categorizeRetryableAPIError
( error: APIError, )
source code/services/api/errors.ts:1165
↓ 1 callers
Function
categorizeToolName
(toolName: string)
source code/utils/streamlinedTransform.ts:54
↓ 1 callers
Function
cellContentToToolResult
(cell: NotebookCellSource)
source code/utils/notebook.ts:121
↓ 1 callers
Function
charInCellAt
( screen: Screen, x: number, y: number, )
source code/ink/screen.ts:668
↓ 1 callers
Function
charWidth
(ch: string)
source code/native-ts/color-diff/index.ts:661
↓ 1 callers
Function
check
(file: string, options?: CheckOptions)
source code/utils/lockfile.ts:43
↓ 1 callers
Function
checkAdminRequestEligibility
( requestType: AdminRequestType, )
source code/services/api/adminRequests.ts:104
↓ 1 callers
Function
checkAgentDescriptions
* Check agent descriptions token count
source code/utils/doctorContextWarnings.ts:75
↓ 1 callers
Function
checkAgentMemorySnapshot
( agentType: string, scope: AgentMemoryScope, )
source code/tools/AgentTool/agentMemorySnapshot.ts:100
↓ 1 callers
Function
checkAndDisableBypassPermissions
( currentContext: ToolPermissionContext, )
source code/utils/permissions/permissionSetup.ts:1413
↓ 1 callers
Function
checkAndInstall
()
source code/commands/thinkback/thinkback.tsx:166
↓ 1 callers
Function
checkAndInstallOfficialMarketplace
()
source code/utils/plugins/officialMarketplaceStartupCheck.ts:149
↓ 1 callers
Function
checkAndRestoreITerm2Backup
()
source code/utils/iTermBackup.ts:45
↓ 1 callers
Function
checkAutoCompactDisabled
( data: ContextData, suggestions: ContextSuggestion[], )
source code/utils/contextSuggestions.ts:221
↓ 1 callers
Function
checkAutoThreshold
* Check whether deferred tools exceed the auto-threshold for enabling TST. * Tries exact token count first; falls back to character-based heuristic.
source code/utils/toolSearch.ts:714
↓ 1 callers
Function
checkBackgroundRemoteSessionEligibility
({ skipBundle = false, }: { skipBundle?: boolean } = {})
source code/utils/background/remote/remoteSession.ts:47
↓ 1 callers
Function
checkBridgePrerequisites
()
source code/commands/bridge/bridge.tsx:469
↓ 1 callers
Function
checkBudget
(P: ParseState)
source code/utils/bash/bashParser.ts:649
↓ 1 callers
Function
checkClaudeMdFiles
()
source code/utils/doctorContextWarnings.ts:45
↓ 1 callers
Function
checkCommandOperatorPermissions
( input: z.infer<typeof BashTool.inputSchema>, bashToolHasPermissionFn: ( input: z.infer<typeof BashTo
source code/tools/BashTool/bashCommandHelpers.ts:183
↓ 1 callers
Function
checkComputerUseLock
()
source code/utils/computerUse/computerUseLock.ts:112
↓ 1 callers
Function
checkContextWarnings
( tools: Tool[], agentInfo: AgentDefinitionsResult | null, getToolPermissionContext: () => Promise<ToolP
source code/utils/doctorContextWarnings.ts:248
↓ 1 callers
Function
checkDangerousRemovalPaths
* Checks if an rm/rmdir command targets dangerous paths that should always * require explicit user approval, even if allowlist rules exist. * This p
source code/tools/BashTool/pathValidation.ts:72
↓ 1 callers
Function
checkDomainBlocklist
( domain: string, )
source code/tools/WebFetchTool/utils.ts:178
↓ 1 callers
Function
checkDuplicates
( blocks: KeybindingBlock[], )
source code/keybindings/validate.ts:338
↓ 1 callers
Function
checkEndpoints
()
source code/utils/preflightChecks.tsx:19
↓ 1 callers
Function
checkExistingWorkflowFile
(repoName_0: string)
source code/commands/install-github-app/install-github-app.tsx:216
↓ 1 callers
Function
checkForAsyncHookResponses
()
source code/utils/hooks/AsyncHookRegistry.ts:115
↓ 1 callers
Function
checkForLSPDiagnostics
()
source code/services/lsp/LSPDiagnosticRegistry.ts:195
↓ 1 callers
Function
checkForReleaseNotes
( lastSeenVersion: string | null | undefined, currentVersion: string = MACRO.VERSION, )
source code/utils/releaseNotes.ts:289
↓ 1 callers
Function
checkForReleaseNotesSync
( lastSeenVersion: string | null | undefined, currentVersion: string = MACRO.VERSION, )
source code/utils/releaseNotes.ts:337
↓ 1 callers
Function
checkGcpCredentialsValid
()
source code/utils/auth.ts:849
↓ 1 callers
Function
checkGithubTokenSynced
()
source code/utils/background/remote/preconditions.ts:166
↓ 1 callers
Function
checkGroveForNonInteractive
()
source code/services/api/grove.ts:325
↓ 1 callers
Function
checkGroveSettings
()
source code/components/grove/Grove.tsx:159
↓ 1 callers
Function
checkHasRemoteEnvironment
()
source code/utils/background/remote/preconditions.ts:47
↓ 1 callers
Function
checkIfLocalPlugin
* Check if a plugin is from a local source and cannot be remotely updated * @returns Error message if local, null if remote/updatable
source code/commands/plugin/ManagePlugins.tsx:378
↓ 1 callers
Function
checkInstallation
()
source code/components/AutoUpdaterWrapper.tsx:37
↓ 1 callers
Function
checkIsGitClean
()
source code/utils/background/remote/preconditions.ts:38
↓ 1 callers
Function
checkIsInGitRepo
()
source code/utils/background/remote/preconditions.ts:61
↓ 1 callers
Function
checkLargeToolResults
( data: ContextData, suggestions: ContextSuggestion[], )
source code/utils/contextSuggestions.ts:72
↓ 1 callers
Function
checkLoginState
()
source code/commands/remote-setup/remote-setup.tsx:25
↓ 1 callers
Function
checkManagedSettingsSecurity
(cachedSettings: SettingsJson | null, newSettings: SettingsJson | null)
source code/services/remoteManagedSettings/securityCheck.tsx:24
↓ 1 callers
Function
checkMcpTools
* Check MCP tools token count
source code/utils/doctorContextWarnings.ts:121
↓ 1 callers
Function
checkMcpbChanged
( source: string, pluginPath: string, )
source code/utils/plugins/mcpbHandler.ts:624
↓ 1 callers
Function
checkMemoryBloat
( data: ContextData, suggestions: ContextSuggestion[], )
source code/utils/contextSuggestions.ts:189
↓ 1 callers
Function
checkMetricsEnabled
()
source code/services/api/metricsOptOut.ts:130
↓ 1 callers
Function
checkMockFastModeRateLimit
( isFastModeActive?: boolean, )
source code/services/mockRateLimits.ts:849
↓ 1 callers
Function
checkMockRateLimitError
( currentModel: string, isFastModeActive?: boolean, )
source code/services/rateLimitMocking.ts:44
↓ 1 callers
Function
checkNearCapacity
( data: ContextData, suggestions: ContextSuggestion[], )
source code/utils/contextSuggestions.ts:57
↓ 1 callers
Function
checkOverageGate
()
source code/commands/review/reviewRemote.ts:54
↓ 1 callers
Function
checkPathConstraints
( input: { command: string }, parsed: ParsedPowerShellCommand, toolPermissionContext: ToolPermissionCont
source code/tools/PowerShellTool/pathValidation.ts:1530
↓ 1 callers
Function
checkPathConstraintsForStatement
( statement: ParsedPowerShellCommand['statements'][number], toolPermissionContext: ToolPermissionContext,
source code/tools/PowerShellTool/pathValidation.ts:1571
↓ 1 callers
Function
checkPermissionMode
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, )
source code/tools/BashTool/modeValidation.ts:74
↓ 1 callers
Function
checkPermissionsAndCallTool
( tool: Tool, toolUseID: string, input: { [key: string]: boolean | string | number }, toolUseContext:
source code/services/tools/toolExecution.ts:601
↓ 1 callers
Function
checkQuotaStatus
()
source code/services/claudeAiLimits.ts:222
↓ 1 callers
Function
checkReadResultBloat
( data: ContextData, suggestions: ContextSuggestion[], )
source code/utils/contextSuggestions.ts:153
↓ 1 callers
Function
checkRepoForRemoteAccess
( owner: string, repo: string, )
source code/utils/background/remote/preconditions.ts:223
↓ 1 callers
Function
checkRepositoryPermissions
(repoName: string)
source code/commands/install-github-app/install-github-app.tsx:189
↓ 1 callers
Function
checkReservedShortcuts
( bindings: ParsedBinding[], )
source code/keybindings/validate.ts:375
↓ 1 callers
Function
checkResponseForCacheBreak
( querySource: QuerySource, cacheReadTokens: number, cacheCreationTokens: number, messages: Message[],
source code/services/api/promptCacheBreakDetection.ts:439
↓ 1 callers
Function
checkResumeConsistency
(chain: Message[])
source code/utils/sessionStorage.ts:2226
↓ 1 callers
Function
checkRuleBasedPermissions
( tool: Tool, input: { [key: string]: unknown }, context: ToolUseContext, )
source code/utils/permissions/permissions.ts:1073
↓ 1 callers
Function
checkSandboxAutoAllow
* Checks if a command should be auto-allowed when sandboxed. * Returns early if there are explicit deny/ask rules that should be respected. * * NOT
source code/tools/BashTool/bashPermissions.ts:1272
↓ 1 callers
Function
checkSecurityRestrictionGate
( gate: string, )
source code/services/analytics/growthbook.ts:853
↓ 1 callers
Function
checkSedConstraints
( input: { command: string }, toolPermissionContext: ToolPermissionContext, )
source code/tools/BashTool/sedValidation.ts:646
↓ 1 callers
Function
checkSemanticsDeny
* checkSemantics-path deny enforcement. Calls checkEarlyExitDeny (exact-match * + full-command prefix deny), then checks each individual SimpleComman
source code/tools/BashTool/bashPermissions.ts:1433
↓ 1 callers
Method
checkTmux
()
source code/utils/terminalPanel.ts:64
↓ 1 callers
Function
checkTmuxAvailable
()
source code/utils/tmuxSocket.ts:153
↓ 1 callers
Function
checkTokenBudget
( tracker: BudgetTracker, agentId: string | undefined, budget: number | null, globalTurnTokens: number
source code/query/tokenBudget.ts:47
↓ 1 callers
Function
checkUnreachableRules
* Check for unreachable permission rules (e.g., specific allow rules shadowed by tool-wide ask rules)
source code/utils/doctorContextWarnings.ts:214
↓ 1 callers
Function
checkWSLDistroMatch
( windowsPath: string, wslDistroName: string, )
source code/utils/idePathConversion.ts:81
↓ 1 callers
Function
checkoutBranch
* Checks out a specific branch
source code/utils/teleport.tsx:253
↓ 1 callers
Function
chordExactlyMatches
* Check if a full chord matches a binding's chord.
source code/keybindings/resolver.ts:142
↓ 1 callers
Function
chordPrefixMatches
* Check if a chord prefix matches the beginning of a binding's chord.
source code/keybindings/resolver.ts:125
↓ 1 callers
Function
claimTaskWithBusyCheck
* Claims a task with an atomic check for agent busy status. * Uses a task-list-level lock to ensure the busy check and claim are atomic.
source code/utils/tasks.ts:620
↓ 1 callers
Function
clampChalkLevelForTmux
* tmux parses truecolor SGR (\e[48;2;r;g;bm) into its cell buffer correctly, * but its client-side emitter only re-emits truecolor to the outer termi
source code/ink/colorize.ts:49
↓ 1 callers
Function
classifyAPIError
(error: unknown)
source code/services/api/errors.ts:967
↓ 1 callers
Function
classifyGcsError
(e: unknown)
source code/utils/plugins/officialMarketplaceGcs.ts:198
↓ 1 callers
Function
classifyMcpToolForCollapse
( _serverName: string, toolName: string, )
source code/tools/MCPTool/classifyForCollapse.ts:597
↓ 1 callers
Function
classifyPluginCommandError
( error: unknown, )
source code/utils/telemetry/pluginTelemetry.ts:240
↓ 1 callers
Function
classifyToolError
(error: unknown)
source code/services/tools/toolExecution.ts:152
↓ 1 callers
Function
classifyYoloActionXml
* XML classifier for auto mode security decisions. Supports three modes: * * 'both' (default): Stage 1 ("fast") runs first with max_tokens=64 and *
source code/utils/permissions/yoloClassifier.ts:713
↓ 1 callers
Function
claudeInChromeToolRendering
()
source code/services/mcp/client.ts:238
↓ 1 callers
Function
cleanWord
(word: string)
source code/utils/suggestions/commandSuggestions.ts:544
↓ 1 callers
Function
cleanup
()
source code/screens/REPL.tsx:2302
↓ 1 callers
Function
cleanupAgentTracking
(agentId: AgentId)
source code/services/api/promptCacheBreakDetection.ts:702
↓ 1 callers
Function
cleanupNpmInstallations
()
source code/utils/nativeInstaller/installer.ts:1658
↓ 1 callers
Function
cleanupOldDebugLogs
()
source code/utils/cleanup.ts:398
↓ 1 callers
Function
cleanupOldFileHistoryBackups
()
source code/utils/cleanup.ts:307
↓ 1 callers
Function
cleanupOldImageCaches
()
source code/utils/imageStore.ts:131
↓ 1 callers
Function
cleanupOldMessageFiles
()
source code/utils/cleanup.ts:95
↓ 1 callers
Function
cleanupOldMessageFilesInBackground
()
source code/utils/cleanup.ts:577
↓ 1 callers
Function
cleanupOldPastes
(cutoffDate: Date)
source code/utils/pasteStore.ts:78
↓ 1 callers
Function
cleanupOldPlanFiles
()
source code/utils/cleanup.ts:302
↓ 1 callers
Function
cleanupOldSessionEnvDirs
()
source code/utils/cleanup.ts:352
↓ 1 callers
Function
cleanupOldSessionFiles
()
source code/utils/cleanup.ts:157
↓ 1 callers
Function
cleanupOldVersionsThrottled
()
source code/utils/cleanup.ts:545
↓ 1 callers
Function
cleanupSessionTeams
()
source code/utils/swarm/teamHelpers.ts:578
↓ 1 callers
Function
cleanupShellAliases
()
source code/utils/nativeInstaller/installer.ts:1494
← previous
next →
4,501–4,600 of 11,462, ranked by callers