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
↓ 13 callers
Function
resolveOnce
(allow: boolean)
src/screens/REPL.tsx:2255
↓ 13 callers
Function
semanticBoolean
( inner: T = z.boolean() as unknown as T, )
src/utils/semanticBoolean.ts:22
↓ 13 callers
Function
showSetupDialog
(root: Root, renderer: (done: (result: T) => void) => React.ReactNode, options?: { onChangeAppState?: typeof
src/interactiveHelpers.tsx:86
↓ 13 callers
Function
uniq
(xs: Iterable<T>)
src/utils/array.ts:11
↓ 13 callers
Function
useRegisterOverlay
(id, t0)
src/context/overlayContext.tsx:38
↓ 13 callers
Function
useSettings
()
src/hooks/useSettings.ts:15
↓ 13 callers
Function
useWizard
()
src/components/wizard/useWizard.ts:5
↓ 12 callers
Method
active
()
src/bridge/flushGate.ts:20
↓ 12 callers
Function
asSessionId
(id: string)
src/types/ids.ts:23
↓ 12 callers
Function
cleanup
()
src/services/mcp/auth.ts:218
↓ 12 callers
Method
clear
()
src/bridge/bridgeMessaging.ts:456
↓ 12 callers
Method
connect
()
src/cli/transports/SSETransport.ts:231
↓ 12 callers
Function
createNavKey
(s: string, name: string, ctrl: boolean)
src/ink/parse-keypress.ts:787
↓ 12 callers
Function
enableConfigs
()
src/utils/config.ts:1334
↓ 12 callers
Function
executeHooksOutsideREPL
* Execute hooks outside of the REPL (e.g. notifications, session end) * * Unlike executeHooks() which yields messages that are exposed to the model
src/utils/hooks.ts:3003
↓ 12 callers
Function
formatDuration
Format a millisecond duration as a human-readable string (e.g. "5m 30s").
src/bridge/jwtUtils.ts:8
↓ 12 callers
Function
formatPathLink
* Format a file path as a clickable hyperlink. * * Paths containing spaces (e.g., "Application Support") are not clickable * in most terminals - th
src/commands/terminalSetup/terminalSetup.tsx:65
↓ 12 callers
Method
fromPartial
(object: I)
src/types/generated/google/protobuf/timestamp.ts:186
↓ 12 callers
Function
getAllowedChannels
()
src/bootstrap/state.ts:1676
↓ 12 callers
Function
getBranch
()
src/utils/git.ts:261
↓ 12 callers
Function
getDefaultMainLoopModel
()
src/utils/model/model.ts:206
↓ 12 callers
Function
getDirectoryForPath
(path: string)
src/utils/path.ts:109
↓ 12 callers
Function
getEmptyToolPermissionContext
()
src/Tool.ts:141
↓ 12 callers
Function
getPlan
(agentId?: AgentId)
src/utils/plans.ts:135
↓ 12 callers
Function
getPlanFilePath
(agentId?: AgentId)
src/utils/plans.ts:119
↓ 12 callers
Function
getPluginErrorMessage
(error: PluginError)
src/types/plugin.ts:295
↓ 12 callers
Function
getSessionIngressAuthToken
()
src/utils/sessionIngressAuth.ts:101
↓ 12 callers
Function
getTeammateContext
()
src/utils/teammateContext.ts:47
↓ 12 callers
Function
getTheme
()
src/server/web/public/terminal.js:8733
↓ 12 callers
Function
getTimestamp
* Get timestamp in microseconds relative to trace start
src/utils/telemetry/perfettoTracing.ts:172
↓ 12 callers
Function
isSet
(value: any)
src/types/generated/events_mono/growthbook/v1/growthbook_experiment_event.ts:214
↓ 12 callers
Function
isSimpleTarget
(target: ParseEntry | undefined)
src/utils/bash/commands.ts:798
↓ 12 callers
Function
isTodoV2Enabled
()
src/utils/tasks.ts:133
↓ 12 callers
Function
logAutoModeOutcome
* Telemetry helper for tengu_auto_mode_outcome. All string fields are * enum-like values (outcome, model name, classifier type, failure kind) — * ne
src/utils/permissions/yoloClassifier.ts:1425
↓ 12 callers
Function
logUnaryEvent
(event: LogEvent)
src/utils/unaryLogging.ts:23
↓ 12 callers
Function
memoizeWithLRU
( f: (...args: Args) => Result, cacheFn: (...args: Args) => string, maxCacheSize: number = 100, )
src/utils/memoize.ts:234
↓ 12 callers
Function
next
(generator: AsyncGenerator<A, void>)
src/utils/generators.ts:36
↓ 12 callers
Function
normalizeMessages
(messages: Message[])
src/utils/messages.ts:741
↓ 12 callers
Function
percentValue
(v: number)
src/native-ts/yoga-layout/index.ts:93
↓ 12 callers
Method
request
* Send an authenticated HTTP request to CCR. Handles auth headers, * 409 epoch mismatch, and error logging. Returns { ok: true } on 2xx. * On 42
src/cli/transports/ccrClient.ts:556
↓ 12 callers
Function
safeCallProgress
* Safely invoke a progress callback, catching and logging any errors. * Prevents callback errors from aborting marketplace operations. * * @param o
src/utils/plugins/marketplaceManager.ts:1007
↓ 12 callers
Method
setExecuteHandler
(e3, t3)
src/server/web/public/terminal.js:4891
↓ 12 callers
Function
setMainLoopModelOverride
( model: ModelSetting | undefined, )
src/bootstrap/state.ts:846
↓ 12 callers
Function
systemPromptSection
( name: string, compute: ComputeFn, )
src/constants/systemPromptSections.ts:20
↓ 12 callers
Function
updateValidationError
(fieldName_1: string, error?: string)
src/components/mcp/ElicitationDialog.tsx:345
↓ 11 callers
Method
_getCyclicIndex
(e3)
src/server/web/public/terminal.js:2423
↓ 11 callers
Function
boundAxis
( style: Style, isWidth: boolean, value: number, ownerWidth: number, ownerHeight: number, )
src/native-ts/yoga-layout/index.ts:2352
↓ 11 callers
Function
claim
()
src/hooks/toolPermission/PermissionContext.ts:88
↓ 11 callers
Function
clearServerCache
( name: string, serverRef: ScopedMcpServerConfig, )
src/services/mcp/client.ts:1648
↓ 11 callers
Function
colorize
(text: string, colorKey?: keyof Theme)
src/utils/treeify.ts:50
↓ 11 callers
Function
coworkOption
()
src/main.tsx:4145
↓ 11 callers
Function
createMockWs
()
src/server/web/__tests__/session-manager.test.ts:37
↓ 11 callers
Method
decode
(e3, t3)
src/server/web/public/terminal.js:4526
↓ 11 callers
Function
escapeXml
(s: string)
src/utils/xml.ts:6
↓ 11 callers
Function
exitTeammateView
( setAppState: (updater: (prev: AppState) => AppState) => void, )
src/state/teammateViewHelpers.ts:88
↓ 11 callers
Function
getActiveAgentsFromList
( allAgents: AgentDefinition[], )
src/tools/AgentTool/loadAgentsDir.ts:193
↓ 11 callers
Function
getAgentId
()
src/utils/teammate.ts:88
↓ 11 callers
Function
getAgentTranscriptPath
(agentId: AgentId)
src/utils/sessionStorage.ts:247
↓ 11 callers
Function
getAuthHeaders
* Get auth headers for policy limits without calling getSettings() * Supports both API key and OAuth authentication
src/services/policyLimits/index.ts:227
↓ 11 callers
Function
getDefaultMainLoopModelSetting
()
src/utils/model/model.ts:178
↓ 11 callers
Function
getDefaultOpusModel
()
src/utils/model/model.ts:105
↓ 11 callers
Function
getHookDisplayText
( hook: HookCommand | { type: 'callback' | 'function'; statusMessage?: string }, )
src/utils/hooks/hooksSettings.ts:68
↓ 11 callers
Method
getLine
(e3)
src/server/web/public/terminal.js:5273
↓ 11 callers
Function
getLoggingSafeMcpBaseUrl
( config: McpServerConfig, )
src/services/mcp/utils.ts:561
↓ 11 callers
Function
getRainbowColor
( charIndex: number, shimmer: boolean = false, )
src/utils/thinking.ts:80
↓ 11 callers
Function
getSdkBetas
()
src/bootstrap/state.ts:856
↓ 11 callers
Function
getTeammateColor
()
src/utils/teammate.ts:138
↓ 11 callers
Function
getTools
(permissionContext: ToolPermissionContext)
src/tools.ts:271
↓ 11 callers
Function
gte
(a: string, b: string)
src/utils/semver.ts:26
↓ 11 callers
Function
has1mContext
(model: string)
src/utils/context.ts:35
↓ 11 callers
Function
isAsyncHookJSONOutput
( json: HookJSONOutput, )
src/types/hooks.ts:189
↓ 11 callers
Function
isCompactBoundaryMessage
( message: Message | NormalizedMessage, )
src/utils/messages.ts:4608
↓ 11 callers
Function
isInProcessTeammateTask
( task: unknown, )
src/tasks/InProcessTeammateTask/types.ts:78
↓ 11 callers
Function
isLocalShellTask
(task: unknown)
src/tasks/LocalShellTask/guards.ts:34
↓ 11 callers
Function
isStale
()
src/hooks/useVoice.ts:359
↓ 11 callers
Function
listDir
(dir: string)
mcp-server/src/server.ts:53
↓ 11 callers
Method
loadAddon
(e3, t3)
src/server/web/public/terminal.js:5233
↓ 11 callers
Function
logBridgeSkip
( reason: string, debugMsg?: string, v2?: boolean, )
src/bridge/debugUtils.ts:128
↓ 11 callers
Function
logDebug
(message: string)
src/utils/filePersistence/outputsScanner.ts:17
↓ 11 callers
Function
logUnaryPermissionEvent
( completion_type: CompletionType, { assistantMessage: { message: { id: message_id }, }, }
src/components/permissions/utils.ts:5
↓ 11 callers
Function
n
(e3, t3, i3)
src/server/web/public/terminal.js:158
↓ 11 callers
Method
nextOffset
(offset: number)
src/utils/Cursor.ts:1496
↓ 11 callers
Function
normalizeModelStringForAPI
(model: string)
src/utils/model/model.ts:616
↓ 11 callers
Method
onError
(event: Event)
src/utils/mcpWebSocketTransport.ts:38
↓ 11 callers
Function
onScroll
()
web/lib/performance/metrics.ts:153
↓ 11 callers
Function
parseDimension
(v: number | string | undefined)
src/native-ts/yoga-layout/index.ts:2511
↓ 11 callers
Function
pathInWorkingPath
(path: string, workingPath: string)
src/utils/permissions/filesystem.ts:709
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
src/utils/permissions/permissionRuleParser.ts:93
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
src/utils/sandbox/sandbox-adapter.ts:63
↓ 11 callers
Function
platform
(options: { web: T; terminal: T })
web/lib/platform.ts:17
↓ 11 callers
Function
prepareUserContent
({ inputString, precedingInputBlocks, }: { inputString: string precedingInputBlocks: ContentBlockParam
src/utils/messages.ts:525
↓ 11 callers
Function
processMemoryFile
( filePath: string, type: MemoryType, processedPaths: Set<string>, includeExternal: boolean, depth:
src/utils/claudemd.ts:618
↓ 11 callers
Function
processSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', { sessionId, agentType, model, force
src/utils/sessionStart.ts:35
↓ 11 callers
Function
recordTranscript
( messages: Message[], teamInfo?: TeamInfo, startingParentUuidHint?: UUID, allMessages?: readonly Mess
src/utils/sessionStorage.ts:1408
↓ 11 callers
Method
reportState
Report worker state to CCR via PUT /sessions/{id}/worker.
src/cli/transports/ccrClient.ts:645
↓ 11 callers
Function
requireComputerUseInput
()
src/utils/computerUse/inputLoader.ts:22
↓ 11 callers
Function
resetSettingsCache
()
src/utils/settings/settingsCache.ts:55
↓ 11 callers
Function
resolveEdgeRaw
(edges: Value[], physicalEdge: number)
src/native-ts/yoga-layout/index.ts:233
↓ 11 callers
Function
safePath
Safely resolve a user-supplied relative path under SRC_ROOT (blocks path traversal).
mcp-server/src/server.ts:84
↓ 11 callers
Function
setNeedsAutoModeExitAttachment
(value: boolean)
src/bootstrap/state.ts:1369
← previous
next →
401–500 of 13,048, ranked by callers