Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ functions
Functions
13,048 in github.com/codeaashu/claude-code
⨍
Functions
13,048
◇
Types & classes
657
↓ 1 callers
Function
glob
( filePattern: string, cwd: string, { limit, offset }: { limit: number; offset: number }, abortSignal:
src/utils/glob.ts:66
↓ 1 callers
Function
goPrev
()
web/components/file-viewer/SearchBar.tsx:150
↓ 1 callers
Function
graphemeWidth
(grapheme: string)
src/ink/termio/parser.ts:63
↓ 1 callers
Function
groupHooksByEventAndMatcher
( appState: AppState, toolNames: string[], )
src/utils/hooks/hooksConfigManager.ts:270
↓ 1 callers
Function
groupLogsBySessionId
(filteredLogs: LogOption[])
src/components/LogSelector.tsx:1544
↓ 1 callers
Function
groupMessagesByApiRound
(messages: Message[])
src/services/compact/grouping.ts:22
↓ 1 callers
Function
groupServersByScope
(serverList: ServerInfo[])
src/components/mcp/MCPListPanel.tsx:77
↓ 1 callers
Function
growBranch
( node: TreeNode | string, prefix: string, _isLast: boolean, depth: number = 0, )
src/utils/treeify.ts:55
↓ 1 callers
Function
guessMimeType
(filename: string)
src/tools/BriefTool/upload.ts:51
↓ 1 callers
Function
guiGotoArgv
* Build goto-line argv for a GUI editor. VS Code family uses -g file:line; * subl uses bare file:line; others don't support goto-line.
src/utils/editor.ts:58
↓ 1 callers
Method
hPositionRelative
(e3)
src/server/web/public/terminal.js:2902
↓ 1 callers
Method
hVPosition
(e3)
src/server/web/public/terminal.js:2911
↓ 1 callers
Function
handleAdd
()
src/commands/plugin/AddMarketplace.tsx:45
↓ 1 callers
Method
handleAutoFocus
(node: DOMElement)
src/ink/focus.ts:84
↓ 1 callers
Function
handleAutoModeTransition
( fromMode: string, toMode: string, )
src/bootstrap/state.ts:1373
↓ 1 callers
Function
handleAwsCredentialError
* Clear AWS auth caches if appropriate. * @returns true if action was taken.
src/services/api/withRetry.ts:650
↓ 1 callers
Function
handleBroadcast
( content: string, summary: string | undefined, context: ToolUseContext, )
src/tools/SendMessageTool/SendMessageTool.ts:191
↓ 1 callers
Function
handleCancel
()
src/components/tasks/BackgroundTasksDialog.tsx:415
↓ 1 callers
Function
handleCancel
()
src/commands/remote-setup/remote-setup.tsx:121
↓ 1 callers
Function
handleChange
(path: string)
src/keybindings/loadUserBindings.ts:424
↓ 1 callers
Function
handleChange
(path: string)
src/utils/settings/changeDetector.ts:268
↓ 1 callers
Function
handleChannelEnable
* IDE-triggered channel enable. Derives the ChannelEntry from the connection's * pluginSource (IDE can't spoof kind/marketplace — we only take the se
src/cli/print.ts:4662
↓ 1 callers
Method
handleCharSizeChanged
()
src/server/web/public/terminal.js:1296
↓ 1 callers
Method
handleCharSizeChanged
()
src/server/web/public/terminal.js:7062
↓ 1 callers
Function
handleClearAuth
()
src/components/mcp/MCPRemoteServerMenu.tsx:303
↓ 1 callers
Method
handleClickFocus
(node: DOMElement)
src/ink/focus.ts:88
↓ 1 callers
Function
handleConfirm
(token: RedactedGithubToken)
src/commands/remote-setup/remote-setup.tsx:127
↓ 1 callers
Function
handleControlMessage
(msg: ServerMessage)
src/server/web/terminal.ts:247
↓ 1 callers
Function
handleControlMessage
(msg)
src/server/web/public/terminal.js:8865
↓ 1 callers
Method
handleControlRequest
* Handle control requests from CCR (e.g., permission requests)
src/remote/RemoteSessionManager.ts:189
↓ 1 callers
Function
handleCoordinatorPermission
* Handles the coordinator worker permission flow. * * For coordinator workers, automated checks (hooks and classifier) are * awaited sequentially b
src/hooks/toolPermission/handlers/coordinatorHandler.ts:26
↓ 1 callers
Function
handleDenialLimitExceeded
* Check if a denial limit was exceeded and return an 'ask' result * so the user can review. Returns null if no limit was hit.
src/utils/permissions/permissions.ts:984
↓ 1 callers
Method
handleDevicePixelRatioChange
()
src/server/web/public/terminal.js:1283
↓ 1 callers
Function
handleFastModeOverageRejection
(reason: string | null)
src/utils/fastMode.ts:295
↓ 1 callers
Function
handleFastModeRejectedByAPI
()
src/utils/fastMode.ts:244
↓ 1 callers
Function
handleFastModeShortcut
(enable: boolean, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
src/commands/fast/fast.tsx:226
↓ 1 callers
Function
handleGcpCredentialError
* Clear GCP auth caches if appropriate. * @returns true if action was taken.
src/services/api/withRetry.ts:688
↓ 1 callers
Function
handleInitializeRequest
( request: SDKControlInitializeRequest, requestId: string, initialized: boolean, output: Stream<Stdout
src/cli/print.ts:4336
↓ 1 callers
Function
handleInteractivePermission
* Handles the interactive (main-agent) permission flow. * * Pushes a ToolUseConfirm entry to the confirm queue with callbacks: * onAbort, onAllow,
src/hooks/toolPermission/handlers/interactiveHandler.ts:57
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
src/hooks/useSearchInput.ts:104
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
src/hooks/useBackgroundTaskNavigation.ts:147
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
src/hooks/useVoiceIntegration.tsx:468
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
src/hooks/useHistorySearch.ts:262
↓ 1 callers
Function
handleKeyDown
(e: KeyboardEvent)
src/hooks/useTypeahead.tsx:1294
↓ 1 callers
Method
handleMcpClient
(socket: Socket)
src/utils/claudeInChrome/chromeNativeHost.ts:354
↓ 1 callers
Function
handleMcpSetServers
( servers: Record<string, McpServerConfigForProcessTransport>, sdkState: SdkMcpState, dynamicState: Dyna
src/cli/print.ts:5353
↓ 1 callers
Function
handleMcpjsonServerApprovals
(root: Root)
src/services/mcpServerApproval.tsx:15
↓ 1 callers
Function
handleMemoryFileReadError
(error: unknown, filePath: string)
src/utils/claudemd.ts:402
↓ 1 callers
Function
handleMessage
( recipientName: string, content: string, summary: string | undefined, context: ToolUseContext, )
src/tools/SendMessageTool/SendMessageTool.ts:149
↓ 1 callers
Method
handleMessage
* Handle messages from WebSocket
src/remote/RemoteSessionManager.ts:146
↓ 1 callers
Method
handleMessage
(messageJson: string)
src/utils/claudeInChrome/chromeNativeHost.ts:245
↓ 1 callers
Function
handleModelChange
()
src/commands/model/model.tsx:143
↓ 1 callers
Method
handleMouseDown
(e3)
src/server/web/public/terminal.js:2106
↓ 1 callers
Function
handleMouseEvent
(app: App, m: ParsedMouse)
src/ink/components/App.tsx:515
↓ 1 callers
Function
handleNetwork
(args: string)
src/commands/x402/x402.ts:160
↓ 1 callers
Function
handleOAuth401ErrorImpl
( failedAccessToken: string, )
src/utils/auth.ts:1373
↓ 1 callers
Function
handleOrphanedPermission
( orphanedPermission: OrphanedPermission, tools: Tools, mutableMessages: Message[], processUserInputCo
src/utils/queryHelpers.ts:224
↓ 1 callers
Function
handleOrphanedPermissionResponse
({ message, setAppState, onEnqueued, handledToolUseIds, }: { message: SDKControlResponse setAppSta
src/cli/print.ts:5241
↓ 1 callers
Function
handlePlanApproval
( recipientName: string, requestId: string, context: ToolUseContext, )
src/tools/SendMessageTool/SendMessageTool.ts:434
↓ 1 callers
Function
handlePlanApprovalResponse
( taskId: string, _response: PlanApprovalResponseMessage, setAppState: SetAppState, )
src/utils/inProcessTeammateHelpers.ts:77
↓ 1 callers
Function
handlePlanRejection
( recipientName: string, requestId: string, feedback: string, context: ToolUseContext, )
src/tools/SendMessageTool/SendMessageTool.ts:478
↓ 1 callers
Method
handleQueryStart
* Handle the start of a new query. This method: * - Initializes the diagnostic tracker if not already initialized * - Resets the tracker if alre
src/services/diagnosticTracking.ts:330
↓ 1 callers
Function
handleRedirection
( part: ParseEntry, prev: ParseEntry | undefined, next: ParseEntry | undefined, nextNext: ParseEntry |
src/utils/bash/commands.ts:860
↓ 1 callers
Method
handleResize
()
src/server/web/public/terminal.js:6885
↓ 1 callers
Function
handleResult
( error: ExecFileException | null, stdout: string, stderr: string, isRetry: boolean,
src/utils/ripgrep.ts:358
↓ 1 callers
Function
handleRetry
()
src/components/ResumeTask.tsx:81
↓ 1 callers
Method
handleSSEFrame
* Handle a single SSE frame. The event: field names the variant; data: * carries the inner proto JSON directly (no envelope). * * Worker subs
src/cli/transports/SSETransport.ts:425
↓ 1 callers
Function
handleScreenshot
(stats: ClaudeCodeStats, activeTab: 'Overview' | 'Models', setStatus: (status: string | null) => void)
src/components/Stats.tsx:1059
↓ 1 callers
Function
handleSecurityCheckResult
(result: SecurityCheckResult)
src/services/remoteManagedSettings/securityCheck.tsx:67
↓ 1 callers
Function
handleSelect
(value: string)
src/components/WorktreeExitDialog.tsx:97
↓ 1 callers
Function
handleSelect
(log: LogOption)
src/commands/resume/resume.tsx:136
↓ 1 callers
Function
handleSelect
(cmd: Command)
web/components/command-palette/CommandPalette.tsx:139
↓ 1 callers
Function
handleSelectOption
(value: string)
src/components/ExportDialog.tsx:43
↓ 1 callers
Function
handleSetLimit
(args: string)
src/commands/x402/x402.ts:128
↓ 1 callers
Function
handleSetPermissionMode
( request: { mode: InternalPermissionMode }, requestId: string, toolPermissionContext: ToolPermissionCon
src/cli/print.ts:4568
↓ 1 callers
Function
handleSetSession
(args: string)
src/commands/x402/x402.ts:144
↓ 1 callers
Function
handleSetup
(args: string)
src/commands/x402/x402.ts:68
↓ 1 callers
Function
handleShutdownApproval
( requestId: string, context: ToolUseContext, )
src/tools/SendMessageTool/SendMessageTool.ts:305
↓ 1 callers
Function
handleShutdownRejection
( requestId: string, reason: string, )
src/tools/SendMessageTool/SendMessageTool.ts:401
↓ 1 callers
Function
handleShutdownRequest
( targetName: string, reason: string | undefined, context: ToolUseContext, )
src/tools/SendMessageTool/SendMessageTool.ts:268
↓ 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
handleStatus
()
src/commands/x402/x402.ts:98
↓ 1 callers
Function
handleStopHooks
( messagesForQuery: Message[], assistantMessages: AssistantMessage[], systemPrompt: SystemPrompt, user
src/query/stopHooks.ts:65
↓ 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
handleTabClick
(id: SidebarTab)
web/components/layout/Sidebar.tsx:76
↓ 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
handleThemeChange
(t: "light" | "dark" | "system")
web/components/settings/GeneralSettings.tsx:19
↓ 1 callers
Function
handleToggleAutoUpdate
(marketplace: MarketplaceState)
src/commands/plugin/ManageMarketplaces.tsx:391
↓ 1 callers
Method
handleTouchMove
(e3)
src/server/web/public/terminal.js:919
↓ 1 callers
Method
handleTouchStart
(e3)
src/server/web/public/terminal.js:916
↓ 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
Method
handleTrim
(e3)
src/server/web/public/terminal.js:1625
← previous
next →
6,901–7,000 of 13,048, ranked by callers