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
↓ 1 callers
Function
handleSpawn
* Handle spawn operation - creates a new Claude Code instance. * Uses in-process mode when enabled, otherwise uses tmux/iTerm2 split-pane view. * Fa
src/tools/shared/spawnMultiAgent.ts:1040
↓ 1 callers
Function
handleSpawnSeparateWindow
* Handle spawn operation using separate windows (legacy behavior). * Creates each teammate in its own tmux window.
src/tools/shared/spawnMultiAgent.ts:545
↓ 1 callers
Function
handleSpawnSplitPane
* Handle spawn operation using split-pane view (default). * When inside tmux: Creates teammates in a shared window with leader on left, teammates on
src/tools/shared/spawnMultiAgent.ts:305
↓ 1 callers
Function
handleSpeculationAccept
( speculationState: ActiveSpeculationState, speculationSessionTimeSavedMs: number, setAppState: SetAppSt
src/services/PromptSuggestion/speculation.ts:835
↓ 1 callers
Function
handleStash
()
src/components/TeleportStash.tsx:42
↓ 1 callers
Function
handleStopHooks
( messagesForQuery: Message[], assistantMessages: AssistantMessage[], systemPrompt: SystemPrompt, user
src/query/stopHooks.ts:65
↓ 1 callers
Function
handleSubmit
()
src/commands/install-github-app/install-github-app.tsx:268
↓ 1 callers
Function
handleSubmitCode
(value: string, url: string)
src/components/ConsoleOAuthFlow.tsx:155
↓ 1 callers
Function
handleSubmitCode
(value: string, url: string)
src/commands/install-github-app/OAuthFlowStep.tsx:67
↓ 1 callers
Method
handleSuccessRedirect
* Completes the OAuth flow by redirecting the user's browser to a success page. * Different success pages are shown based on the granted scopes.
src/services/oauth/auth-code-listener.ts:80
↓ 1 callers
Function
handleSwarmWorkerPermission
* Handles the swarm worker permission flow. * * When running as a swarm worker: * 1. Tries classifier auto-approval for bash commands * 2. Forward
src/hooks/toolPermission/handlers/swarmWorkerHandler.ts:40
↓ 1 callers
Function
handleTeleport
()
src/components/tasks/RemoteSessionDetailDialog.tsx:831
↓ 1 callers
Function
handleTeleportPrerequisites
* Helper function to handle teleport prerequisites (authentication and git state) * Shows TeleportError dialog rendered into the existing root if nee
src/utils/teleport.tsx:509
↓ 1 callers
Function
handleToggleAutoUpdate
(marketplace: MarketplaceState)
src/commands/plugin/ManageMarketplaces.tsx:391
↓ 1 callers
Function
handleTransportPermanentClose
* Body of the transport's setOnClose callback, hoisted to initBridgeCore * scope so /bridge-kick can fire it directly. setOnClose wraps this with
src/bridge/replBridge.ts:887
↓ 1 callers
Function
handleUrlSchemeLaunch
()
src/utils/deepLink/protocolHandler.ts:84
↓ 1 callers
Function
handleValidationError
( error: unknown, modelName: string, )
src/utils/model/validateModel.ts:84
↓ 1 callers
Function
handleWrapper
( command: string, args: string[], recursionDepth: number, wrapperCount: number, )
src/utils/bash/prefix.ts:72
↓ 1 callers
Function
handleWrite
(selected_1)
src/commands/copy/copy.tsx:222
↓ 1 callers
Function
hasActualOperatorNodes
(rootNode: unknown)
src/utils/bash/treeSitterAnalysis.ts:421
↓ 1 callers
Function
hasAnthropicApiKeyAuth
()
src/utils/auth.ts:219
↓ 1 callers
Function
hasAnyProps
(props: SpanProps)
src/ink/Ansi.tsx:215
↓ 1 callers
Function
hasAnyTextProps
(props: SpanProps)
src/ink/Ansi.tsx:218
↓ 1 callers
Function
hasBackslashEscapedOperator
(command: string)
src/tools/BashTool/bashSecurity.ts:1631
↓ 1 callers
Function
hasBackslashEscapedWhitespace
* Detects backslash-escaped whitespace characters (space, tab) outside of quotes. * * In bash, `echo\ test` is a single token (command named "echo t
src/tools/BashTool/bashSecurity.ts:1549
↓ 1 callers
Function
hasCommandArgs
(input: string)
src/utils/suggestions/commandSuggestions.ts:208
↓ 1 callers
Method
hasCompletedResults
* Check if there are any completed results ready to yield
src/services/tools/StreamingToolExecutor.ts:495
↓ 1 callers
Function
hasContentAfterIndex
(messages: RenderableMessage[], index: number, tools: Tools, streamingToolUseIDs: Set<string>)
src/components/MessageRow.tsx:50
↓ 1 callers
Function
hasCursorUpViewportYankBug
()
src/ink/terminal.ts:177
↓ 1 callers
Function
hasDangerousSettingsChanged
( oldSettings: SettingsJson | null | undefined, newSettings: SettingsJson | null | undefined, )
src/components/ManagedSettingsSecurityDialog/utils.ts:87
↓ 1 callers
Method
hasExecutingTools
* Check if there are any tools still executing
src/services/tools/StreamingToolExecutor.ts:502
↓ 1 callers
Function
hasExistingEnvironment
()
src/commands/remote-setup/api.ts:102
↓ 1 callers
Function
hasFileArgs
(command: string)
src/tools/BashTool/sedValidation.ts:307
↓ 1 callers
Function
hasForegroundTasks
(state: AppState)
src/tasks/LocalShellTask/LocalShellTask.tsx:378
↓ 1 callers
Function
hasFrictionSignal
(messages: Message[])
src/hooks/useIssueFlagBanner.ts:74
↓ 1 callers
Function
hasGlobs
(path: string)
src/utils/sandbox/sandbox-adapter.ts:616
↓ 1 callers
Function
hasGrowthBookEnvOverride
(feature: string)
src/services/analytics/growthbook.ts:199
↓ 1 callers
Function
hasIdeOnboardingDialogBeenShown
()
src/components/IdeOnboardingDialog.tsx:149
↓ 1 callers
Function
hasImageInClipboard
()
src/utils/imagePaste.ts:96
↓ 1 callers
Function
hasManagedSettingsFile
* Check if file-based managed settings (managed-settings.json or any * managed-settings.d/*.json) exist and have content. Cheap sync check * used to
src/utils/settings/mdm/settings.ts:280
↓ 1 callers
Function
hasMarkdownSyntax
(s: string)
src/components/Markdown.tsx:32
↓ 1 callers
Function
hasMcpDiscoveryButNoToken
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:349
↓ 1 callers
Function
hasMeasureFuncInSubtree
(node: Node)
src/native-ts/yoga-layout/index.ts:2174
↓ 1 callers
Function
hasMemoryFileRead
(messages: Message[])
src/components/FeedbackSurvey/useMemorySurvey.tsx:24
↓ 1 callers
Function
hasMemoryWritesSince
* Returns true if any assistant message after the cursor UUID contains a * Write/Edit tool_use block targeting an auto-memory path. * * The main ag
src/services/extractMemories/extractMemories.ts:121
↓ 1 callers
Function
hasMessageAfterBoundary
(messages: Message[], boundaryUuid: string)
src/components/FeedbackSurvey/usePostCompactSurvey.tsx:17
↓ 1 callers
Function
hasMetInitializationThreshold
( currentTokenCount: number, )
src/services/SessionMemory/sessionMemoryUtils.ts:173
↓ 1 callers
Function
hasMetUpdateThreshold
(currentTokenCount: number)
src/services/SessionMemory/sessionMemoryUtils.ts:184
↓ 1 callers
Function
hasMultipleCodepoints
(str: string)
src/ink/termio/parser.ts:54
↓ 1 callers
Function
hasNestedError
(value: unknown)
src/services/api/errorUtils.ts:151
↓ 1 callers
Function
hasOnlyWhitespaceTextContent
* Check if an assistant message has only whitespace-only text content blocks. * Returns true if all content blocks are text blocks with only whitespa
src/utils/messages.ts:4835
↓ 1 callers
Function
hasParentPath
( entry: object, )
src/utils/filePersistence/outputsScanner.ts:33
↓ 1 callers
Function
hasPath
(entry: object)
src/utils/filePersistence/outputsScanner.ts:39
↓ 1 callers
Method
hasPendingProgress
* Check if any tool has pending progress messages
src/services/tools/StreamingToolExecutor.ts:445
↓ 1 callers
Method
hasPendingResponse
()
src/services/oauth/auth-code-listener.ts:58
↓ 1 callers
Function
hasPendingUpdates
()
src/utils/plugins/installedPluginsManager.ts:595
↓ 1 callers
Function
hasPermissionCallback
(requestId: string)
src/hooks/useSwarmPermissionPoller.ts:104
↓ 1 callers
Function
hasPermissionsToUseToolInner
( tool: Tool, input: { [key: string]: unknown }, context: ToolUseContext, )
src/utils/permissions/permissions.ts:1158
↓ 1 callers
Function
hasProfileScope
()
src/bridge/bridgeEnabled.ts:101
↓ 1 callers
Function
hasRTLCharacters
* Quick check for RTL characters (Hebrew, Arabic, and related scripts). * Avoids running the full bidi algorithm on pure-LTR text.
src/ink/bidi.ts:131
↓ 1 callers
Function
hasRecentInteraction
(threshold: number)
src/hooks/useNotifyAfterTimeout.ts:15
↓ 1 callers
Function
hasRequiredSubscription
()
src/utils/computerUse/gates.ts:39
↓ 1 callers
Function
hasRootNode
(emitter: unknown)
src/native-ts/color-diff/index.ts:491
↓ 1 callers
Function
hasRules
(updates: PermissionUpdate[] | undefined)
src/utils/permissions/PermissionUpdate.ts:45
↓ 1 callers
Function
hasSandboxPermissionCallback
(requestId: string)
src/hooks/useSwarmPermissionPoller.ts:191
↓ 1 callers
Function
hasSession
* Checks if a tmux session exists
src/tools/shared/spawnMultiAgent.ts:159
↓ 1 callers
Method
hasSession
()
src/utils/terminalPanel.ts:74
↓ 1 callers
Method
hasSessionInSwarm
* Checks if a tmux session exists in the swarm socket.
src/utils/swarm/backends/TmuxBackend.ts:459
↓ 1 callers
Function
hasShownHintThisSession
()
src/utils/claudeCodeHints.ts:180
↓ 1 callers
Function
hasShownLspRecommendationThisSession
()
src/bootstrap/state.ts:1402
↓ 1 callers
Function
hasStdinRedirect
(command: string)
src/utils/bash/shellQuoting.ts:81
↓ 1 callers
Function
hasStringFormat
( schema: PrimitiveSchemaDefinition, )
src/utils/mcp/elicitationValidation.ts:245
↓ 1 callers
Function
hasSuccessfulToolCall
( messages: Message[], toolName: string, )
src/utils/messages.ts:4719
↓ 1 callers
Function
hasSummarySinceLastUserTurn
(messages: readonly Message[])
src/hooks/useAwaySummary.ts:16
↓ 1 callers
Function
hasSyncSecurityConcerns
(command: string)
src/tools/PowerShellTool/readOnlyValidation.ts:1112
↓ 1 callers
Method
hasTextSelection
Whether there is an active text selection.
src/ink/ink.tsx:1236
↓ 1 callers
Function
hasTmuxToolBeenUsed
()
src/utils/tmuxSocket.ts:195
↓ 1 callers
Function
hasToolUseWithIds
* Check if a message contains tool_use blocks with any of the given ids
src/services/compact/sessionMemoryCompact.ts:175
↓ 1 callers
Function
hasUltraplanKeyword
(text: string)
src/utils/ultraplan/keyword.ts:107
↓ 1 callers
Function
hasUltrathinkKeyword
(text: string)
src/utils/thinking.ts:29
↓ 1 callers
Function
hasUnescapedChar
* Checks if content contains an unescaped occurrence of a single character. * Handles bash escape sequences correctly where a backslash escapes the f
src/tools/BashTool/bashSecurity.ts:209
↓ 1 callers
Function
hasUnescapedEmptyParens
* Checks if a string contains unescaped empty parentheses "()". * Returns true only if both the "(" and ")" are unescaped and adjacent.
src/utils/settings/permissionValidation.ts:43
↓ 1 callers
Method
hasUnfinishedTools
* Check if there are any unfinished tools
src/services/tools/StreamingToolExecutor.ts:509
↓ 1 callers
Function
hasUnknownModelCost
()
src/bootstrap/state.ts:749
↓ 1 callers
Function
hasUnresolvedHooksFromLookup
( toolUseID: string, hookEvent: HookEvent, lookups: MessageLookups, )
src/utils/messages.ts:1449
↓ 1 callers
Function
hasUsedBackslashReturn
()
src/commands/terminalSetup/terminalSetup.tsx:130
↓ 1 callers
Function
hasValidDates
(log: LogOption)
src/commands/insights.ts:730
↓ 1 callers
Function
hasVisibleAssistantContent
* Checks if an assistant message has visible text content (not just tool_use blocks). * Tool uses are displayed as grouped/collapsed UI elements, not
src/utils/sessionStorage.ts:2430
↓ 1 callers
Function
hasVisibleSpaceEffect
(styles: AnsiCode[])
src/ink/screen.ts:271
↓ 1 callers
Function
hasVisibleUserContent
* Checks if a user message has visible content (text or image, not just tool_result). * Tool results are displayed as part of collapsed groups, not a
src/utils/sessionStorage.ts:2399
↓ 1 callers
Function
hasVoiceAuth
()
src/voice/voiceModeEnabled.ts:32
↓ 1 callers
Function
hasWildcards
(pattern: string)
src/utils/permissions/shellRuleMatching.ts:54
↓ 1 callers
Function
hasWorkingInProcessTeammates
(appState: AppState)
src/utils/teammate.ts:220
↓ 1 callers
Function
hasWorktreeChanges
( worktreePath: string, headCommit: string, )
src/utils/worktree.ts:1144
↓ 1 callers
Function
hashContent
(content: string)
src/utils/hash.ts:19
↓ 1 callers
Function
hashContent
(content: string)
src/services/teamMemorySync/index.ts:134
↓ 1 callers
Function
hashFileContent
* Creates a full SHA256 hash (64 chars) for file contents * Used for deduplication and change detection analytics
src/utils/fileOperationAnalytics.ts:22
↓ 1 callers
Function
hashFilePath
* Creates a truncated SHA256 hash (16 chars) for file paths * Used for privacy-preserving analytics on file operations
src/utils/fileOperationAnalytics.ts:9
↓ 1 callers
Function
hashPair
(a: string, b: string)
src/utils/hash.ts:34
↓ 1 callers
Function
hashPastedText
(content: string)
src/utils/pasteStore.ts:21
← previous
next →
6,201–6,300 of 11,484, ranked by callers