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
↓ 2 callers
Function
settingSourceToConfigChangeSource
( source: SettingSource, )
source code/utils/settings/changeDetector.ts:254
↓ 2 callers
Function
setupClaudeInChrome
()
source code/utils/claudeInChrome/setup.ts:93
↓ 2 callers
Function
setupSessionMemoryFile
( toolUseContext: ToolUseContext, )
source code/services/SessionMemory/sessionMemory.ts:185
↓ 2 callers
Function
setupTerminal
(theme: ThemeName)
source code/commands/terminalSetup/terminalSetup.tsx:81
↓ 2 callers
Function
severityToNumber
* Maps severity string to numeric value for sorting. * Error=1, Warning=2, Info=3, Hint=4
source code/services/lsp/LSPDiagnosticRegistry.ts:93
↓ 2 callers
Function
shallowEqual
( a: T | undefined, b: T | undefined, )
source code/ink/dom.ts:297
↓ 2 callers
Function
shiftAnchor
( s: SelectionState, dRow: number, minRow: number, maxRow: number, )
source code/ink/selection.ts:575
↓ 2 callers
Function
shiftRows
( screen: Screen, top: number, bottom: number, n: number, )
source code/ink/screen.ts:1059
↓ 2 callers
Function
shouldCheckForPasses
* Prechecks for if user can access guest passes feature
source code/services/api/referral.ts:73
↓ 2 callers
Function
shouldDisableBypassPermissions
()
source code/utils/permissions/permissionSetup.ts:1267
↓ 2 callers
Function
shouldEnableClaudeInChrome
(chromeFlag?: boolean)
source code/utils/claudeInChrome/setup.ts:41
↓ 2 callers
Function
shouldEnablePromptSuggestion
()
source code/services/PromptSuggestion/promptSuggestion.ts:39
↓ 2 callers
Function
shouldFilterSuggestion
( suggestion: string | null, promptId: PromptVariant, source?: 'cli' | 'sdk', )
source code/services/PromptSuggestion/promptSuggestion.ts:356
↓ 2 callers
Function
shouldIncludeGitInstructions
()
source code/utils/gitSettings.ts:15
↓ 2 callers
Function
shouldInjectAgentListInMessages
()
source code/tools/AgentTool/prompt.ts:61
↓ 2 callers
Function
shouldKillTask
(task: AppState['tasks'][string])
source code/commands/clear/conversation.ts:97
↓ 2 callers
Function
shouldPlanUseAutoMode
()
source code/utils/permissions/permissionSetup.ts:1448
↓ 2 callers
Function
shouldShowDevBar
()
source code/components/DevBar.tsx:10
↓ 2 callers
Function
shouldShowOverageCreditUpsell
()
source code/components/LogoV2/OverageCreditUpsell.tsx:34
↓ 2 callers
Function
shouldSkip
(id: string)
source code/utils/toolResultStorage.ts:782
↓ 2 callers
Method
shouldSkipPersistence
* True when test env / cleanupPeriodDays=0 / --no-session-persistence / * CLAUDE_CODE_SKIP_PROMPT_HISTORY should suppress all transcript writes.
source code/utils/sessionStorage.ts:962
↓ 2 callers
Function
showTeammate
* Show a previously hidden teammate pane using the backend abstraction. * Only available for ant users (gated for dead code elimination in external b
source code/components/teams/TeamsDialog.tsx:641
↓ 2 callers
Function
shutdown
()
source code/main.tsx:4028
↓ 2 callers
Function
shutdownAndExit
()
source code/utils/computerUse/mcpServer.ts:95
↓ 2 callers
Function
shutdownAndExit
()
source code/utils/claudeInChrome/mcpServer.ts:261
↓ 2 callers
Function
singleQuoteForEval
* Single-quote a string for use as an eval argument. Escapes embedded single * quotes via '"'"' (close-sq, literal-sq-in-dq, reopen-sq). Used instead
source code/utils/bash/bashPipeCommand.ts:275
↓ 2 callers
Function
smooshSystemReminderSiblings
* Final pass: smoosh any `<system-reminder>`-prefixed text siblings into the * last tool_result of the same user message. Catches siblings from: * -
source code/utils/messages.ts:1837
↓ 2 callers
Function
sortKeys
(o: T | undefined)
source code/utils/plugins/loadPluginHooks.ts:241
↓ 2 callers
Function
sp
(p: Point)
source code/ink/selection.ts:555
↓ 2 callers
Method
spawn
* Spawns an in-process teammate. * * Uses spawnInProcessTeammate() to: * 1. Create TeammateContext via createTeammateContext() * 2. Create
source code/utils/swarm/backends/InProcessBackend.ts:74
↓ 2 callers
Function
spawnBackgroundTask
()
source code/tools/PowerShellTool/PowerShellTool.tsx:768
↓ 2 callers
Function
spawnBackgroundTask
()
source code/tools/BashTool/BashTool.tsx:906
↓ 2 callers
Function
spawnCaffeinate
()
source code/services/preventSleep.ts:103
↓ 2 callers
Function
spawnDetached
* Spawn a terminal detached so the handler process can exit without * waiting for the terminal to close. Resolves false on spawn failure * (ENOENT,
source code/utils/deepLink/terminalLauncher.ts:478
↓ 2 callers
Function
spawnInProcessTeammate
( config: InProcessSpawnConfig, context: SpawnContext, )
source code/utils/swarm/spawnInProcess.ts:106
↓ 2 callers
Function
spawnScriptArgs
* Returns the args that must precede CLI flags when spawning a child claude * process. In compiled binaries, process.execPath is the claude binary it
source code/bridge/bridgeMain.ts:121
↓ 2 callers
Function
spawnSecurity
(serviceName: string)
source code/utils/secureStorage/keychainPrefetch.ts:47
↓ 2 callers
Function
spawnShellTask
(input: LocalShellSpawnInput & { shellCommand: ShellCommand; }, context: TaskContext)
source code/tasks/LocalShellTask/LocalShellTask.tsx:182
↓ 2 callers
Function
splitIdentifier
(name: string)
source code/services/voiceKeyterms.ts:42
↓ 2 callers
Function
splitNumericParams
(params: string)
source code/ink/parse-keypress.ts:179
↓ 2 callers
Function
splitPathInFrontmatter
(input: string | string[])
source code/utils/frontmatterParser.ts:191
↓ 2 callers
Function
splitSysPromptPrefix
( systemPrompt: SystemPrompt, options?: { skipGlobalCacheForSystemPrompt?: boolean }, )
source code/utils/api.ts:323
↓ 2 callers
Function
spriteColWidth
(nameWidth: number)
source code/buddy/CompanionSprite.tsx:160
↓ 2 callers
Function
ssrfError
(hostname: string, address: string)
source code/utils/hooks/ssrfGuard.ts:287
↓ 2 callers
Method
startAuthentication
()
source code/utils/awsAuthStatusManager.ts:42
↓ 2 callers
Function
startBackgrounding
(eventName: string, backgroundFn?: (shellId: string) => void)
source code/tools/BashTool/BashTool.tsx:926
↓ 2 callers
Function
startDeferredPrefetches
()
source code/main.tsx:390
↓ 2 callers
Function
startFileWatcher
* Start watching the team memory directory for changes. * * Uses `fs.watch({recursive: true})` on the directory (not chokidar). * chokidar 4+ dropp
source code/services/teamMemorySync/watcher.ts:169
↓ 2 callers
Function
startHeartbeatTimer
()
source code/utils/sessionActivity.ts:32
↓ 2 callers
Function
startHookProgressInterval
(params: { hookId: string hookName: string hookEvent: string getOutput: () => Promise<{ stdout: string
source code/utils/hooks/hookEvents.ts:126
↓ 2 callers
Function
startInProcessTeammate
(config: InProcessRunnerConfig)
source code/utils/swarm/inProcessRunner.ts:1546
↓ 2 callers
Function
startOfDay
(d: Date)
source code/utils/formatBriefTimestamp.ts:81
↓ 2 callers
Method
startOfFirstLine
()
source code/utils/Cursor.ts:1006
↓ 2 callers
Method
startPingInterval
()
source code/remote/SessionsWebSocket.ts:303
↓ 2 callers
Method
startPolling
* Begin polling the output file for progress. Called from React * useEffect when the progress component mounts.
source code/utils/task/TaskOutput.ts:83
↓ 2 callers
Function
startRemoteSessionPolling
* Start polling for remote session updates. * Returns a cleanup function to stop polling.
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:540
↓ 2 callers
Function
startSelection
( s: SelectionState, col: number, row: number, )
source code/ink/selection.ts:81
↓ 2 callers
Function
startSessionActivity
(reason: SessionActivityReason)
source code/utils/sessionActivity.ts:94
↓ 2 callers
Function
startSpeculation
( suggestionText: string, context: REPLHookContext, setAppState: (f: (prev: AppState) => AppState) => vo
source code/services/PromptSuggestion/speculation.ts:404
↓ 2 callers
Function
startWatching
(paths: string[])
source code/utils/hooks/fileChangedWatcher.ts:69
↓ 2 callers
Function
statusLineShouldDisplay
(settings: ReadonlySettings)
source code/components/StatusLine.tsx:32
↓ 2 callers
Function
stdErrAppendShellResetMessage
(stderr: string)
source code/tools/BashTool/utils.ts:169
↓ 2 callers
Function
step
(delta: 1 | -1)
source code/components/VirtualMessageList.tsx:652
↓ 2 callers
Function
step
(delta: 1 | -1)
source code/components/design-system/FuzzyPicker.tsx:107
↓ 2 callers
Function
stopBackgroundPolling
()
source code/services/remoteManagedSettings/index.ts:635
↓ 2 callers
Method
stopHeartbeat
Stop heartbeat timer.
source code/cli/transports/ccrClient.ts:700
↓ 2 callers
Function
stopPeriodicGrowthBookRefresh
()
source code/services/analytics/growthbook.ts:1117
↓ 2 callers
Function
stopRestartInterval
()
source code/services/preventSleep.ts:96
↓ 2 callers
Function
stopSessionActivity
(reason: SessionActivityReason)
source code/utils/sessionActivity.ts:123
↓ 2 callers
Function
stopTask
( taskId: string, context: StopTaskContext, )
source code/tasks/stopTask.ts:40
↓ 2 callers
Function
stopUltraplan
(taskId: string, sessionId: string, setAppState: (f: (prev: AppState) => AppState) => void)
source code/commands/ultraplan.tsx:205
↓ 2 callers
Method
stopWatching
()
source code/utils/git/gitFilesystem.ts:448
↓ 2 callers
Function
strStartsWith
(str: string, prefix: string)
source code/tools/PowerShellTool/powershellPermissions.ts:183
↓ 2 callers
Function
streamCompactSummary
({ messages, summaryRequest, appState, context, preCompactTokenCount, cacheSafeParams, }: { mess
source code/services/compact/compact.ts:1138
↓ 2 callers
Method
stringIndexToDisplayWidth
(text: string, index: number)
source code/utils/Cursor.ts:1235
↓ 2 callers
Function
stringToNumericHash
* Convert a string to a numeric hash for use as thread ID
source code/utils/telemetry/perfettoTracing.ts:130
↓ 2 callers
Function
stripAllLeadingEnvVars
( command: string, blocklist?: RegExp, )
source code/tools/BashTool/bashPermissions.ts:735
↓ 2 callers
Function
stripBackslashEscapes
* Remove shell escape backslashes from a path (for macOS/Linux/WSL) * On Windows systems, this function returns the path unchanged * @param path Pat
source code/utils/imagePaste.ts:295
↓ 2 callers
Function
stripCacheControl
( items: ReadonlyArray<Record<string, unknown>>, )
source code/services/api/promptCacheBreakDetection.ts:162
↓ 2 callers
Function
stripDisplayTags
(text: string)
source code/utils/displayTags.ts:28
↓ 2 callers
Function
stripEmptyLines
(content: string)
source code/tools/BashTool/utils.ts:24
↓ 2 callers
Function
stripHtmlCommentsFromTokens
(tokens: ReturnType<Lexer['lex']>)
source code/utils/claudemd.ts:305
↓ 2 callers
Function
stripPort
(host: string)
source code/utils/teleport.tsx:402
↓ 2 callers
Function
stripProtoFields
( metadata: Record<string, V>, )
source code/services/analytics/index.ts:47
↓ 2 callers
Function
stripRawString
(text: string)
source code/utils/bash/ast.ts:2031
↓ 2 callers
Function
stripSafeHeredocSubstitutions
(command: string)
source code/tools/BashTool/bashSecurity.ts:523
↓ 2 callers
Function
stripSafeRedirections
(content: string)
source code/tools/BashTool/bashSecurity.ts:178
↓ 2 callers
Function
stripThinking
* Strip thinking content so that <block>/<reason> tags inside * the model's chain-of-thought don't get matched by parsers.
source code/utils/permissions/yoloClassifier.ts:569
↓ 2 callers
Function
stripToolReferenceBlocksFromUserMessage
( message: UserMessage, )
source code/utils/messages.ts:1679
↓ 2 callers
Function
stripTrailingWhitespace
(str: string)
source code/tools/FileEditTool/utils.ts:46
↓ 2 callers
Function
stripWww
(hostname: string)
source code/tools/WebFetchTool/utils.ts:238
↓ 2 callers
Function
submitTranscriptShare
( messages: Message[], trigger: TranscriptShareTrigger, appearanceId: string, )
source code/components/FeedbackSurvey/submitTranscriptShare.ts:31
↓ 2 callers
Function
substituteUserConfigInContent
( content: string, options: PluginOptionValues, schema: PluginOptionSchema, )
source code/utils/plugins/pluginOptionsStorage.ts:387
↓ 2 callers
Function
suggestionForPrefix
(prefix: string)
source code/tools/BashTool/bashPermissions.ts:341
↓ 2 callers
Function
supportsPersistence
( destination: PermissionUpdateDestination, )
source code/utils/permissions/PermissionUpdate.ts:210
↓ 2 callers
Method
suspendStdin
()
source code/ink/ink.tsx:1368
↓ 2 callers
Function
syncRemoteEvalToDisk
* Write the complete remoteEvalFeatureValues map to disk. Called exactly * once per successful processRemoteEvalPayload — never from a failure path,
source code/services/analytics/growthbook.ts:409
↓ 2 callers
Function
tagMessagesWithToolUseID
( messages: (UserMessage | AttachmentMessage | SystemMessage)[], toolUseID: string | undefined, )
source code/tools/utils.ts:14
↓ 2 callers
Function
tallyInto
(stdout: string)
source code/utils/exampleCommands.ts:107
↓ 2 callers
Function
targetFor
(i: number)
source code/components/VirtualMessageList.tsx:474
← previous
next →
4,001–4,100 of 11,462, ranked by callers