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
↓ 4 callers
Function
runIt2
* Runs an it2 CLI command and returns the result.
src/utils/swarm/backends/ITermBackend.ts:36
↓ 4 callers
Function
runTmuxInUserSession
* Runs a tmux command in the user's original tmux session (no socket override). * Use this for operations that interact with the user's tmux panes (s
src/utils/swarm/backends/TmuxBackend.ts:77
↓ 4 callers
Function
runTypeahead
* Append a keystroke to the typeahead buffer (reset after 2s idle) and * call `onMatch` with the index of the first label that prefix-matches. *
src/components/mcp/ElicitationDialog.tsx:459
↓ 4 callers
Function
sameIf
(x: { if?: string }, y: { if?: string })
src/utils/hooks/hooksSettings.ts:43
↓ 4 callers
Function
sanitizeAndLogError
(err: unknown)
src/components/Feedback.tsx:502
↓ 4 callers
Method
saveCursor
(e3)
src/server/web/public/terminal.js:3339
↓ 4 callers
Function
saveCustomTitle
( sessionId: UUID, customTitle: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
src/utils/sessionStorage.ts:2617
↓ 4 callers
Function
saveStatsCache
( cache: PersistedStatsCache, )
src/utils/statsCache.ts:214
↓ 4 callers
Function
schedulePush
* Debounced push: waits for writes to settle, then pushes once.
src/services/teamMemorySync/watcher.ts:132
↓ 4 callers
Function
scopeKey
(m: { session_id: string parent_tool_use_id: string | null })
src/cli/transports/ccrClient.ts:120
↓ 4 callers
Method
scroll
(e3, t3 = false)
src/server/web/public/terminal.js:5396
↓ 4 callers
Method
scrollLines
(e3, t3, i3)
src/server/web/public/terminal.js:2597
↓ 4 callers
Function
sedCommandIsAllowedByAllowlist
( command: string, options?: { allowFileWrites?: boolean }, )
src/tools/BashTool/sedValidation.ts:247
↓ 4 callers
Function
selectionBounds
(s: SelectionState)
src/ink/selection.ts:684
↓ 4 callers
Function
setAgentColor
( agentType: string, color: AgentColorName | undefined, )
src/tools/AgentTool/agentColorManager.ts:52
↓ 4 callers
Method
setAlignItems
(align: LayoutAlign)
src/ink/layout/yoga.ts:209
↓ 4 callers
Method
setAlignSelf
(align: LayoutAlign)
src/ink/layout/yoga.ts:220
↓ 4 callers
Method
setFlexDirection
(dir: LayoutFlexDirection)
src/ink/layout/yoga.ts:177
↓ 4 callers
Function
setMcpServerEnabled
(name: string, enabled: boolean)
src/services/mcp/config.ts:1553
↓ 4 callers
Method
setSandboxSettings
(options: { enabled?: boolean autoAllowBashIfSandboxed?: boolean allowUnsandboxedCommands?: boolea
src/utils/sandbox/sandbox-adapter.ts:892
↓ 4 callers
Function
setTextNodeValue
(node: TextNode, text: string)
src/ink/dom.ts:425
↓ 4 callers
Function
setTheme
(t: Theme)
web/lib/theme.tsx:58
↓ 4 callers
Method
setgLevel
(e3)
src/server/web/public/terminal.js:5429
↓ 4 callers
Method
setupTabStops
(e3)
src/server/web/public/terminal.js:4021
↓ 4 callers
Function
shouldAllowManagedPermissionRulesOnly
()
src/utils/permissions/permissionsLoader.ts:31
↓ 4 callers
Function
shouldAllowManagedSandboxDomainsOnly
()
src/utils/sandbox/sandbox-adapter.ts:152
↓ 4 callers
Function
shouldDisableAllHooksIncludingManaged
()
src/utils/hooks/hooksConfigSnapshot.ts:83
↓ 4 callers
Function
shouldEmit
(hookEvent: string)
src/utils/hooks/hookEvents.ts:83
↓ 4 callers
Function
shouldEnableThinkingByDefault
()
src/utils/thinking.ts:146
↓ 4 callers
Function
shouldProcessRateLimits
(isSubscriber: boolean)
src/services/rateLimitMocking.ts:32
↓ 4 callers
Function
shouldSkipHookDueToTrust
()
src/utils/hooks.ts:286
↓ 4 callers
Method
shutdown
()
src/services/analytics/firstPartyEventLoggingExporter.ts:764
↓ 4 callers
Function
shutdown1PEventLogging
()
src/services/analytics/firstPartyEventLogger.ts:116
↓ 4 callers
Function
shutdownDatadog
()
src/services/analytics/datadog.ts:151
↓ 4 callers
Function
sliceFit
(text: string, start: number, end: number)
src/ink/wrap-text.ts:10
↓ 4 callers
Method
snapOutOfImageRef
* If offset lands strictly inside an [Image #N] chip, snap it to the given * boundary. Used by word-movement methods so Ctrl+W / Alt+D never leave
src/utils/Cursor.ts:340
↓ 4 callers
Function
splitCommandWithOperators
(command: string)
src/utils/bash/commands.ts:85
↓ 4 callers
Method
startOAuthFlow
( authURLHandler: (url: string, automaticUrl?: string) => Promise<void>, options?: { loginWithCl
src/services/oauth/index.ts:32
↓ 4 callers
Function
storeImage
( content: PastedContent, )
src/utils/imageStore.ts:54
↓ 4 callers
Function
storeOAuthAccountInfo
({ accountUuid, emailAddress, organizationUuid, displayName, hasExtraUsageEnabled, billingType,
src/services/oauth/client.ts:517
↓ 4 callers
Function
suggestPathUnderCwd
( requestedPath: string, )
src/utils/file.ts:228
↓ 4 callers
Function
supportsTabStatus
()
src/ink/termio/osc.ts:467
↓ 4 callers
Function
tailFile
( path: string, maxBytes: number, )
src/utils/fsOperations.ts:682
↓ 4 callers
Method
takeStreamEvents
Take ownership of buffered stream_events and clear the delay timer.
src/cli/transports/HybridTransport.ts:155
↓ 4 callers
Function
teleportResumeCodeSession
(sessionId: string, onProgress?: TeleportProgressCallback)
src/utils/teleport.tsx:430
↓ 4 callers
Function
throwFault
(fault: BridgeFault, context: string)
src/bridge/bridgeDebug.ts:96
↓ 4 callers
Function
toArray
(val: T | T[])
src/utils/bash/prefix.ts:14
↓ 4 callers
Function
toPersistableEffort
( value: EffortValue | undefined, )
src/utils/effort.ts:95
↓ 4 callers
Function
toThemeColor
( colorName: string | undefined, fallback: keyof Theme = 'cyan_FOR_SUBAGENTS_ONLY', )
src/components/PromptInput/useSwarmBanner.ts:148
↓ 4 callers
Method
toggle
()
src/utils/terminalPanel.ts:56
↓ 4 callers
Method
tokens
()
src/services/mcp/auth.ts:1540
↓ 4 callers
Function
track
(p: Promise<T>)
src/utils/task/diskOutput.ts:83
↓ 4 callers
Function
transformRedirection
(raw: RawRedirection)
src/utils/powershell/parser.ts:962
↓ 4 callers
Function
transitionPermissionMode
( fromMode: string, toMode: string, context: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:597
↓ 4 callers
Function
transitionStyle
( diff: Diff, stylePool: StylePool, currentId: number, targetId: number, )
src/ink/log-update.ts:482
↓ 4 callers
Function
truncate
( str: string, maxWidth: number, singleLine: boolean = false, )
src/utils/truncate.ts:134
↓ 4 callers
Function
truncateToWidthNoEllipsis
( text: string, maxWidth: number, )
src/utils/truncate.ts:108
↓ 4 callers
Function
tryReadFileForSync
* Try to read a file for sync, with size limit and error handling. * Returns null if file doesn't exist, is empty, or exceeds size limit.
src/services/settingsSync/index.ts:398
↓ 4 callers
Function
tryRemove
(filePath: string, description: string)
src/utils/nativeInstaller/installer.ts:1549
↓ 4 callers
Function
unassignTeammateTasks
( teamName: string, teammateId: string, teammateName: string, reason: 'terminated' | 'shutdown', )
src/utils/tasks.ts:818
↓ 4 callers
Method
unclip
()
src/ink/output.ts:262
↓ 4 callers
Function
unsetField
(fieldName_2: string)
src/components/mcp/ElicitationDialog.tsx:358
↓ 4 callers
Function
unzipFile
( zipData: Buffer, )
src/utils/dxt/zip.ts:113
↓ 4 callers
Function
updatePidFile
* Update this session's name in its PID registry file so ListPeers * can surface it. Best-effort: silently no-op if name is falsy, the * file doesn'
src/utils/concurrentSessions.ts:116
↓ 4 callers
Function
updateSdkMcp
()
src/cli/print.ts:1389
↓ 4 callers
Function
useClaudeAiLimits
()
src/services/claudeAiLimitsHook.ts:8
↓ 4 callers
Function
useCollaborationContextOptional
()
web/components/collaboration/CollaborationProvider.tsx:137
↓ 4 callers
Function
useIsModalOverlayActive
()
src/context/overlayContext.tsx:140
↓ 4 callers
Function
useMcpToggleEnabled
()
src/services/mcp/MCPConnectionManager.tsx:24
↓ 4 callers
Function
useStats
()
src/context/stats.tsx:157
↓ 4 callers
Function
useVoiceEnabled
()
src/hooks/useVoiceEnabled.ts:19
↓ 4 callers
Function
validateAuthToken
(req: IncomingMessage)
src/server/web/auth.ts:7
↓ 4 callers
Function
validateBoundedIntEnvVar
( name: string, value: string | undefined, defaultValue: number, upperLimit: number, )
src/utils/envValidation.ts:9
↓ 4 callers
Function
validateElicitationInput
( stringValue: string, schema: PrimitiveSchemaDefinition, )
src/utils/mcp/elicitationValidation.ts:225
↓ 4 callers
Function
validateFlags
( tokens: string[], startIndex: number, config: ExternalCommandConfig, options?: { commandName?: s
src/utils/shell/readOnlyCommandValidation.ts:1684
↓ 4 callers
Function
validateWorktreeSlug
(slug: string)
src/utils/worktree.ts:66
↓ 4 callers
Function
waitForPolicyLimitsToLoad
()
src/services/policyLimits/index.ts:217
↓ 4 callers
Method
wcwidth
(e3)
src/server/web/public/terminal.js:5902
↓ 4 callers
Function
withDiagnosticsTiming
( event: string, fn: () => Promise<T>, getData?: (result: T) => Record<string, unknown>, )
src/utils/diagLogs.ts:72
↓ 4 callers
Function
withRetry
Retry an async init call with exponential backoff + jitter.
src/bridge/remoteBridgeCore.ts:892
↓ 4 callers
Function
wrapWithOsc8Link
(text: string, url: string)
src/ink/render-node-to-output.ts:184
↓ 4 callers
Method
writeEvent
* Write a StdoutMessage as a client event via POST /sessions/{id}/worker/events. * These events are visible to frontend clients via the SSE stream.
src/cli/transports/ccrClient.ts:735
↓ 4 callers
Function
writeFileForSync
( filePath: string, content: string, )
src/services/settingsSync/index.ts:461
↓ 4 callers
Function
writeFileSyncAndFlush_DEPRECATED
( filePath: string, content: string, options: { encoding: BufferEncoding; mode?: number } = { encoding:
src/utils/file.ts:362
↓ 4 callers
Function
writeFn
(content: string)
src/utils/asciicast.ts:173
↓ 4 callers
Function
writeTextContent
( filePath: string, content: string, encoding: BufferEncoding, endings: LineEndingType, )
src/utils/file.ts:84
↓ 4 callers
Function
writeThroughGlobalConfigCache
(config: GlobalConfig)
src/utils/config.ts:1039
↓ 4 callers
Function
writeToDisk
( plugins: Record<string, FlaggedPlugin>, )
src/utils/plugins/pluginFlagging.ts:86
↓ 4 callers
Method
writeln
(e3, t3)
src/server/web/public/terminal.js:6120
↓ 3 callers
Method
#cleanupListeners
()
src/utils/ShellCommand.ts:218
↓ 3 callers
Method
#doKill
(code?: number)
src/utils/ShellCommand.ts:337
↓ 3 callers
Method
#resolveExitCode
(code: number)
src/utils/ShellCommand.ts:209
↓ 3 callers
Method
_addStyle
(e3, t3)
src/server/web/public/terminal.js:1490
↓ 3 callers
Method
_applyMinimumContrast
(e3, t3, i3, s3, r2, n2)
src/server/web/public/terminal.js:1477
↓ 3 callers
Method
_askForLink
(e3, t3)
src/server/web/public/terminal.js:244
↓ 3 callers
Method
_clearCells
(e3, t3, i3, s3)
src/server/web/public/terminal.js:7245
↓ 3 callers
Method
_clearSmoothScrollState
()
src/server/web/public/terminal.js:870
↓ 3 callers
Method
_createNewPage
()
src/server/web/public/terminal.js:7641
↓ 3 callers
Method
_fireEventIfSelectionChanged
()
src/server/web/public/terminal.js:2171
↓ 3 callers
Method
_fireUnderlineEvent
(e3, t3)
src/server/web/public/terminal.js:336
← previous
next →
1,801–1,900 of 13,048, ranked by callers