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
getUserPromptPreview
(message: Message)
src/hooks/useTurnDiffs.ts:70
↓ 1 callers
Function
getUserPromptSubmitHookBlockingMessage
( blockingError: HookBlockingError, )
src/utils/hooks.ts:1936
↓ 1 callers
Function
getUserSettingsFilePath
* Get the user settings filename based on cowork mode. * Returns 'cowork_settings.json' when in cowork mode, 'settings.json' otherwise. * * Priorit
src/utils/settings/settings.ts:264
↓ 1 callers
Function
getUserSnapshotContent
* Generates user-specific snapshot content (functions, options, aliases) * This content is derived from the user's shell configuration file
src/utils/bash/ShellSnapshot.ts:197
↓ 1 callers
Function
getUsingOverageText
(limits: ClaudeAILimits)
src/services/rateLimitMessages.ts:303
↓ 1 callers
Function
getUsingYourToolsSection
(enabledTools: Set<string>)
src/constants/prompts.ts:269
↓ 1 callers
Function
getVSCodeIDECommandByParentProcess
()
src/utils/ide.ts:951
↓ 1 callers
Function
getValidationTip
(context: TipContext)
src/utils/settings/validationTips.ts:140
↓ 1 callers
Function
getVariablesByScope
( parsed: ParsedPowerShellCommand, scope: string, )
src/utils/powershell/parser.ts:1533
↓ 1 callers
Function
getVerifyPlanReminderAttachment
* Get verify plan reminder attachment if the model hasn't called VerifyPlanExecution yet.
src/utils/attachments.ts:3894
↓ 1 callers
Function
getVerifyPlanReminderTurnCount
(messages: Message[])
src/utils/attachments.ts:3872
↓ 1 callers
Function
getVersionFromPath
(installPath: string)
src/utils/plugins/pluginVersioning.ts:127
↓ 1 callers
Function
getVersionFromSymlink
( symlinkPath: string, )
src/utils/nativeInstaller/installer.ts:1018
↓ 1 callers
Method
getViewportCharEnd
(maxVisibleLines?: number)
src/utils/Cursor.ts:193
↓ 1 callers
Method
getViewportCharOffset
(maxVisibleLines?: number)
src/utils/Cursor.ts:186
↓ 1 callers
Function
getWarningUpsellText
* Get the upsell command text for warning messages based on subscription and limit type. * Returns null if no upsell should be shown. * Only used fo
src/services/rateLimitMessages.ts:261
↓ 1 callers
Function
getWatchTargets
* Collect settings file paths and their deduplicated parent directories to watch. * Returns all potential settings file paths for watched directories
src/utils/settings/changeDetector.ts:180
↓ 1 callers
Function
getWatchablePaths
()
src/utils/skills/skillChangeDetector.ts:171
↓ 1 callers
Function
getWebFetchUserAgent
()
src/utils/http.ts:56
↓ 1 callers
Function
getWebSearchPrompt
()
src/tools/WebSearchTool/prompt.ts:5
↓ 1 callers
Function
getWithPermittedRedirects
( url: string, signal: AbortSignal, redirectChecker: (originalUrl: string, redirectUrl: string) => boole
src/tools/WebFetchTool/utils.ts:262
↓ 1 callers
Function
getWordSegmenter
()
src/utils/intl.ts:46
↓ 1 callers
Method
getWorkerState
()
src/cli/transports/ccrClient.ts:530
↓ 1 callers
Function
getWorktreeCountFromFs
()
src/utils/git/gitFilesystem.ts:686
↓ 1 callers
Function
getWriteToolDescription
()
src/tools/FileWriteTool/prompt.ts:10
↓ 1 callers
Function
getXDGCacheHome
(options?: XDGOptions)
src/utils/xdg.ts:42
↓ 1 callers
Function
getYesterdayDateString
()
src/utils/statsCache.ts:422
↓ 1 callers
Function
getYoloClassifierApproval
( toolUseID: string, )
src/utils/classifierApprovals.ts:51
↓ 1 callers
Function
getZipCacheMarketplacesDir
()
src/utils/plugins/zipCache.ts:97
↓ 1 callers
Function
getZipCachePluginsDir
()
src/utils/plugins/zipCache.ts:108
↓ 1 callers
Function
getZodSchema
(schema: PrimitiveSchemaDefinition)
src/utils/mcp/elicitationValidation.ts:135
↓ 1 callers
Function
getZshCompletionCommand
* Generate zsh completion command using native zsh commands
src/utils/bash/shellCompletion.ts:163
↓ 1 callers
Function
gitClone
( gitUrl: string, targetPath: string, ref?: string, sha?: string, )
src/utils/plugins/pluginLoader.ts:534
↓ 1 callers
Function
gitClone
( gitUrl: string, targetPath: string, ref?: string, sparsePaths?: string[], )
src/utils/plugins/marketplaceManager.ts:803
↓ 1 callers
Function
gitPull
( cwd: string, ref?: string, options?: { disableCredentialHelper?: boolean; sparsePaths?: string[] }, )
src/utils/plugins/marketplaceManager.ts:528
↓ 1 callers
Function
glob
( filePattern: string, cwd: string, { limit, offset }: { limit: number; offset: number }, abortSignal:
src/utils/glob.ts:66
↓ 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
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
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
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
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
Function
handleMouseEvent
(app: App, m: ParsedMouse)
src/ink/components/App.tsx:515
↓ 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
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
handleSelectOption
(value: string)
src/components/ExportDialog.tsx:43
↓ 1 callers
Function
handleSetPermissionMode
( request: { mode: InternalPermissionMode }, requestId: string, toolPermissionContext: ToolPermissionCon
src/cli/print.ts:4568
↓ 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
← previous
next →
6,101–6,200 of 11,484, ranked by callers