Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tanbiralam/claude-code
/ functions
Functions
11,484 in github.com/tanbiralam/claude-code
⨍
Functions
11,484
◇
Types & classes
506
↓ 2 callers
Function
setTracerProvider
(provider: BasicTracerProvider | null)
src/bootstrap/state.ts:1053
↓ 2 callers
Function
setYoloClassifierApproval
( toolUseID: string, reason: string, )
src/utils/classifierApprovals.ts:41
↓ 2 callers
Function
settingSourceToConfigChangeSource
( source: SettingSource, )
src/utils/settings/changeDetector.ts:252
↓ 2 callers
Function
setupClaudeInChrome
()
src/utils/claudeInChrome/setup.ts:91
↓ 2 callers
Function
setupSessionMemoryFile
( toolUseContext: ToolUseContext, )
src/services/SessionMemory/sessionMemory.ts:183
↓ 2 callers
Function
setupTerminal
(theme: ThemeName)
src/commands/terminalSetup/terminalSetup.tsx:79
↓ 2 callers
Function
severityToNumber
* Maps severity string to numeric value for sorting. * Error=1, Warning=2, Info=3, Hint=4
src/services/lsp/LSPDiagnosticRegistry.ts:91
↓ 2 callers
Function
shallowEqual
( a: T | undefined, b: T | undefined, )
src/ink/dom.ts:295
↓ 2 callers
Function
shiftAnchor
( s: SelectionState, dRow: number, minRow: number, maxRow: number, )
src/ink/selection.ts:573
↓ 2 callers
Function
shiftRows
( screen: Screen, top: number, bottom: number, n: number, )
src/ink/screen.ts:1057
↓ 2 callers
Function
shouldCheckForPasses
* Prechecks for if user can access guest passes feature
src/services/api/referral.ts:71
↓ 2 callers
Function
shouldDisableBypassPermissions
()
src/utils/permissions/permissionSetup.ts:1265
↓ 2 callers
Function
shouldEnableClaudeInChrome
(chromeFlag?: boolean)
src/utils/claudeInChrome/setup.ts:39
↓ 2 callers
Function
shouldEnablePromptSuggestion
()
src/services/PromptSuggestion/promptSuggestion.ts:37
↓ 2 callers
Function
shouldFilterSuggestion
( suggestion: string | null, promptId: PromptVariant, source?: 'cli' | 'sdk', )
src/services/PromptSuggestion/promptSuggestion.ts:354
↓ 2 callers
Function
shouldIncludeGitInstructions
()
src/utils/gitSettings.ts:13
↓ 2 callers
Function
shouldInjectAgentListInMessages
()
src/tools/AgentTool/prompt.ts:59
↓ 2 callers
Function
shouldKillTask
(task: AppState['tasks'][string])
src/commands/clear/conversation.ts:95
↓ 2 callers
Function
shouldPlanUseAutoMode
()
src/utils/permissions/permissionSetup.ts:1446
↓ 2 callers
Function
shouldShowDevBar
()
src/components/DevBar.tsx:8
↓ 2 callers
Function
shouldShowOverageCreditUpsell
()
src/components/LogoV2/OverageCreditUpsell.tsx:32
↓ 2 callers
Function
shouldSkip
(id: string)
src/utils/toolResultStorage.ts:780
↓ 2 callers
Method
shouldSkipPersistence
* True when test env / cleanupPeriodDays=0 / --no-session-persistence / * CLAUDE_CODE_SKIP_PROMPT_HISTORY should suppress all transcript writes.
src/utils/sessionStorage.ts:960
↓ 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
src/components/teams/TeamsDialog.tsx:639
↓ 2 callers
Function
shutdown
()
src/main.tsx:4026
↓ 2 callers
Function
shutdownAndExit
()
src/utils/computerUse/mcpServer.ts:93
↓ 2 callers
Function
shutdownAndExit
()
src/utils/claudeInChrome/mcpServer.ts:259
↓ 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
src/utils/bash/bashPipeCommand.ts:273
↓ 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: * -
src/utils/messages.ts:1835
↓ 2 callers
Function
sortKeys
(o: T | undefined)
src/utils/plugins/loadPluginHooks.ts:239
↓ 2 callers
Function
sp
(p: Point)
src/ink/selection.ts:553
↓ 2 callers
Method
spawn
* Spawns an in-process teammate. * * Uses spawnInProcessTeammate() to: * 1. Create TeammateContext via createTeammateContext() * 2. Create
src/utils/swarm/backends/InProcessBackend.ts:72
↓ 2 callers
Function
spawnBackgroundTask
()
src/tools/PowerShellTool/PowerShellTool.tsx:766
↓ 2 callers
Function
spawnBackgroundTask
()
src/tools/BashTool/BashTool.tsx:904
↓ 2 callers
Function
spawnCaffeinate
()
src/services/preventSleep.ts:101
↓ 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,
src/utils/deepLink/terminalLauncher.ts:476
↓ 2 callers
Function
spawnInProcessTeammate
( config: InProcessSpawnConfig, context: SpawnContext, )
src/utils/swarm/spawnInProcess.ts:104
↓ 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
src/bridge/bridgeMain.ts:119
↓ 2 callers
Function
spawnSecurity
(serviceName: string)
src/utils/secureStorage/keychainPrefetch.ts:45
↓ 2 callers
Function
spawnShellTask
(input: LocalShellSpawnInput & { shellCommand: ShellCommand; }, context: TaskContext)
src/tasks/LocalShellTask/LocalShellTask.tsx:180
↓ 2 callers
Function
splitIdentifier
(name: string)
src/services/voiceKeyterms.ts:40
↓ 2 callers
Function
splitNumericParams
(params: string)
src/ink/parse-keypress.ts:177
↓ 2 callers
Function
splitPathInFrontmatter
(input: string | string[])
src/utils/frontmatterParser.ts:189
↓ 2 callers
Function
splitSysPromptPrefix
( systemPrompt: SystemPrompt, options?: { skipGlobalCacheForSystemPrompt?: boolean }, )
src/utils/api.ts:321
↓ 2 callers
Function
spriteColWidth
(nameWidth: number)
src/buddy/CompanionSprite.tsx:158
↓ 2 callers
Function
ssrfError
(hostname: string, address: string)
src/utils/hooks/ssrfGuard.ts:285
↓ 2 callers
Method
startAuthentication
()
src/utils/awsAuthStatusManager.ts:40
↓ 2 callers
Function
startBackgrounding
(eventName: string, backgroundFn?: (shellId: string) => void)
src/tools/BashTool/BashTool.tsx:924
↓ 2 callers
Function
startDeferredPrefetches
()
src/main.tsx:388
↓ 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
src/services/teamMemorySync/watcher.ts:167
↓ 2 callers
Function
startHeartbeatTimer
()
src/utils/sessionActivity.ts:30
↓ 2 callers
Function
startHookProgressInterval
(params: { hookId: string hookName: string hookEvent: string getOutput: () => Promise<{ stdout: string
src/utils/hooks/hookEvents.ts:124
↓ 2 callers
Function
startInProcessTeammate
(config: InProcessRunnerConfig)
src/utils/swarm/inProcessRunner.ts:1544
↓ 2 callers
Function
startOfDay
(d: Date)
src/utils/formatBriefTimestamp.ts:79
↓ 2 callers
Method
startOfFirstLine
()
src/utils/Cursor.ts:1004
↓ 2 callers
Method
startPingInterval
()
src/remote/SessionsWebSocket.ts:301
↓ 2 callers
Method
startPolling
* Begin polling the output file for progress. Called from React * useEffect when the progress component mounts.
src/utils/task/TaskOutput.ts:81
↓ 2 callers
Function
startRemoteSessionPolling
* Start polling for remote session updates. * Returns a cleanup function to stop polling.
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:538
↓ 2 callers
Function
startSelection
( s: SelectionState, col: number, row: number, )
src/ink/selection.ts:79
↓ 2 callers
Function
startSessionActivity
(reason: SessionActivityReason)
src/utils/sessionActivity.ts:92
↓ 2 callers
Function
startSpeculation
( suggestionText: string, context: REPLHookContext, setAppState: (f: (prev: AppState) => AppState) => vo
src/services/PromptSuggestion/speculation.ts:402
↓ 2 callers
Function
startWatching
(paths: string[])
src/utils/hooks/fileChangedWatcher.ts:67
↓ 2 callers
Function
statusLineShouldDisplay
(settings: ReadonlySettings)
src/components/StatusLine.tsx:30
↓ 2 callers
Function
stdErrAppendShellResetMessage
(stderr: string)
src/tools/BashTool/utils.ts:167
↓ 2 callers
Function
step
(delta: 1 | -1)
src/components/VirtualMessageList.tsx:650
↓ 2 callers
Function
step
(delta: 1 | -1)
src/components/design-system/FuzzyPicker.tsx:105
↓ 2 callers
Function
stopBackgroundPolling
()
src/services/remoteManagedSettings/index.ts:633
↓ 2 callers
Method
stopHeartbeat
Stop heartbeat timer.
src/cli/transports/ccrClient.ts:698
↓ 2 callers
Function
stopPeriodicGrowthBookRefresh
()
src/services/analytics/growthbook.ts:1115
↓ 2 callers
Function
stopRestartInterval
()
src/services/preventSleep.ts:94
↓ 2 callers
Function
stopSessionActivity
(reason: SessionActivityReason)
src/utils/sessionActivity.ts:121
↓ 2 callers
Function
stopTask
( taskId: string, context: StopTaskContext, )
src/tasks/stopTask.ts:38
↓ 2 callers
Function
stopUltraplan
(taskId: string, sessionId: string, setAppState: (f: (prev: AppState) => AppState) => void)
src/commands/ultraplan.tsx:203
↓ 2 callers
Method
stopWatching
()
src/utils/git/gitFilesystem.ts:446
↓ 2 callers
Function
strStartsWith
(str: string, prefix: string)
src/tools/PowerShellTool/powershellPermissions.ts:181
↓ 2 callers
Function
streamCompactSummary
({ messages, summaryRequest, appState, context, preCompactTokenCount, cacheSafeParams, }: { mess
src/services/compact/compact.ts:1136
↓ 2 callers
Method
stringIndexToDisplayWidth
(text: string, index: number)
src/utils/Cursor.ts:1233
↓ 2 callers
Function
stringToNumericHash
* Convert a string to a numeric hash for use as thread ID
src/utils/telemetry/perfettoTracing.ts:128
↓ 2 callers
Function
stripAllLeadingEnvVars
( command: string, blocklist?: RegExp, )
src/tools/BashTool/bashPermissions.ts:733
↓ 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
src/utils/imagePaste.ts:293
↓ 2 callers
Function
stripCacheControl
( items: ReadonlyArray<Record<string, unknown>>, )
src/services/api/promptCacheBreakDetection.ts:160
↓ 2 callers
Function
stripDisplayTags
(text: string)
src/utils/displayTags.ts:26
↓ 2 callers
Function
stripEmptyLines
(content: string)
src/tools/BashTool/utils.ts:22
↓ 2 callers
Function
stripHtmlCommentsFromTokens
(tokens: ReturnType<Lexer['lex']>)
src/utils/claudemd.ts:303
↓ 2 callers
Function
stripPort
(host: string)
src/utils/teleport.tsx:400
↓ 2 callers
Function
stripProtoFields
( metadata: Record<string, V>, )
src/services/analytics/index.ts:45
↓ 2 callers
Function
stripRawString
(text: string)
src/utils/bash/ast.ts:2029
↓ 2 callers
Function
stripSafeHeredocSubstitutions
(command: string)
src/tools/BashTool/bashSecurity.ts:521
↓ 2 callers
Function
stripSafeRedirections
(content: string)
src/tools/BashTool/bashSecurity.ts:176
↓ 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.
src/utils/permissions/yoloClassifier.ts:567
↓ 2 callers
Function
stripToolReferenceBlocksFromUserMessage
( message: UserMessage, )
src/utils/messages.ts:1677
↓ 2 callers
Function
stripTrailingWhitespace
(str: string)
src/tools/FileEditTool/utils.ts:44
↓ 2 callers
Function
stripWww
(hostname: string)
src/tools/WebFetchTool/utils.ts:236
↓ 2 callers
Function
submitTranscriptShare
( messages: Message[], trigger: TranscriptShareTrigger, appearanceId: string, )
src/components/FeedbackSurvey/submitTranscriptShare.ts:29
↓ 2 callers
Function
substituteUserConfigInContent
( content: string, options: PluginOptionValues, schema: PluginOptionSchema, )
src/utils/plugins/pluginOptionsStorage.ts:385
↓ 2 callers
Function
suggestionForPrefix
(prefix: string)
src/tools/BashTool/bashPermissions.ts:339
↓ 2 callers
Function
supportsPersistence
( destination: PermissionUpdateDestination, )
src/utils/permissions/PermissionUpdate.ts:208
↓ 2 callers
Method
suspendStdin
()
src/ink/ink.tsx:1366
↓ 2 callers
Function
syncRemoteEvalToDisk
* Write the complete remoteEvalFeatureValues map to disk. Called exactly * once per successful processRemoteEvalPayload — never from a failure path,
src/services/analytics/growthbook.ts:407
↓ 2 callers
Function
tagMessagesWithToolUseID
( messages: (UserMessage | AttachmentMessage | SystemMessage)[], toolUseID: string | undefined, )
src/tools/utils.ts:12
← previous
next →
4,001–4,100 of 11,484, ranked by callers