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
↓ 26 callers
Method
off
(type: T["type"], handler: EventHandler<T>)
web/lib/collaboration/socket.ts:294
↓ 26 callers
Function
p
(e3, t3)
src/server/web/public/terminal.js:2347
↓ 26 callers
Function
useExitOnCtrlCDWithKeybindings
( onExit?: () => void, onInterrupt?: () => boolean, isActive?: boolean, )
src/hooks/useExitOnCtrlCDWithKeybindings.ts:18
↓ 25 callers
Function
getTaskOutputPath
(taskId: string)
src/utils/task/diskOutput.ts:72
↓ 25 callers
Function
isEnvDefinedFalsy
( envVar: string | boolean | undefined, )
src/utils/envUtils.ts:39
↓ 25 callers
Function
rm
(fsPath, options)
src/utils/fsOperations.ts:410
↓ 25 callers
Function
s2
(e3, t3)
src/server/web/public/terminal.js:152
↓ 24 callers
Method
add
(uuid: string)
src/bridge/bridgeMessaging.ts:440
↓ 24 callers
Method
debug
(e3, ...t3)
src/server/web/public/terminal.js:5682
↓ 24 callers
Function
isDigit
(c: string)
src/utils/bash/bashParser.ts:234
↓ 24 callers
Function
sendControlResponseError
( message: SDKControlRequest, errorMessage: string, )
src/cli/print.ts:2750
↓ 23 callers
Method
close
()
src/services/oauth/auth-code-listener.ts:199
↓ 23 callers
Function
envBool
(key: string, fallback: boolean)
src/shims/bun-bundle.ts:33
↓ 23 callers
Function
getAppState
()
src/tools/SkillTool/SkillTool.ts:784
↓ 23 callers
Function
getCanonicalName
(fullModelName: ModelName)
src/utils/model/model.ts:279
↓ 23 callers
Function
getProjectDir
(cwd: string)
src/utils/cachePaths.ts:21
↓ 23 callers
Function
isOperator
(part: ParseEntry | undefined, op: string)
src/utils/bash/commands.ts:792
↓ 23 callers
Function
open
(sock)
src/upstreamproxy/relay.ts:193
↓ 23 callers
Method
resize
(e3, t3)
src/server/web/public/terminal.js:1933
↓ 23 callers
Function
resolveValue
(v: Value, ownerSize: number)
src/native-ts/yoga-layout/index.ts:97
↓ 23 callers
Function
tooComplex
(node: Node)
src/utils/bash/ast.ts:2033
↓ 22 callers
Function
checkAndRefreshOAuthTokenIfNeeded
( retryCount = 0, force = false, )
src/utils/auth.ts:1427
↓ 22 callers
Function
checkHasTrustDialogAccepted
()
src/utils/config.ts:697
↓ 22 callers
Function
createSystemMessage
( content: string, level: SystemMessageLevel, toolUseID?: string, preventContinuation?: boolean, )
src/utils/messages.ts:4335
↓ 22 callers
Function
getProjectRoot
()
src/bootstrap/state.ts:511
↓ 22 callers
Function
getSpanId
(span: Span)
src/utils/telemetry/sessionTracing.ts:81
↓ 22 callers
Function
isTeammate
()
src/utils/teammate.ts:125
↓ 22 callers
Function
onSelect
(value: string)
src/components/ClaudeCodeHint/PluginHintMenu.tsx:26
↓ 22 callers
Method
status
()
src/utils/ShellCommand.ts:182
↓ 22 callers
Function
v
(e3, t3, i3)
src/server/web/public/terminal.js:1498
↓ 21 callers
Function
applyPermissionUpdate
( context: ToolPermissionContext, update: PermissionUpdate, )
src/utils/permissions/PermissionUpdate.ts:55
↓ 21 callers
Function
checkStatsigFeatureGate_CACHED_MAY_BE_STALE
( gate: string, )
src/services/analytics/growthbook.ts:804
↓ 21 callers
Method
clone
()
src/server/web/public/terminal.js:4183
↓ 21 callers
Function
enqueuePendingNotification
(command: QueuedCommand)
src/utils/messageQueueManager.ts:142
↓ 21 callers
Function
exitWithError
(message: string)
src/utils/process.ts:38
↓ 21 callers
Function
extractLastJsonStringField
( text: string, key: string, )
src/utils/sessionStoragePortable.ts:82
↓ 21 callers
Method
getComputedHeight
()
src/ink/layout/yoga.ts:120
↓ 21 callers
Function
getServerKey
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:325
↓ 21 callers
Function
getSessionIdFromLog
(log: LogOption)
src/utils/sessionStorage.ts:2927
↓ 21 callers
Function
normalize
(p: string)
src/utils/plugins/pluginOptionsStorage.ts:330
↓ 21 callers
Function
safeResolvePath
( fs: FsOperations, filePath: string, )
src/utils/fsOperations.ts:138
↓ 21 callers
Function
tryParseShellCommand
( cmd: string, env?: | Record<string, string | undefined> | ((key: string) => string | undefined),
src/utils/bash/shellQuote.ts:24
↓ 21 callers
Function
v
(prop: string)
src/server/web/terminal.ts:72
↓ 21 callers
Method
warn
(e3, ...t3)
src/server/web/public/terminal.js:5690
↓ 20 callers
Method
clearSelection
()
src/server/web/public/terminal.js:1601
↓ 20 callers
Function
createSignal
()
src/utils/signal.ts:27
↓ 20 callers
Method
enqueueWrite
(filePath: string, entry: Entry)
src/utils/sessionStorage.ts:606
↓ 20 callers
Function
fileHistoryEnabled
()
src/utils/fileHistory.ts:63
↓ 20 callers
Function
getAllCommands
* Gets all commands including MCP skills/prompts from AppState. * SkillTool needs this because getCommands() only returns local/bundled skills.
src/tools/SkillTool/SkillTool.ts:81
↓ 20 callers
Function
getTranscriptPath
()
src/utils/sessionStorage.ts:202
↓ 20 callers
Function
isPlanModeInterviewPhaseEnabled
()
src/utils/planModeV2.ts:50
↓ 20 callers
Function
logOTelEvent
( eventName: string, metadata: { [key: string]: string | undefined } = {}, )
src/utils/telemetry/events.ts:21
↓ 20 callers
Method
resolve
(authorizationCode: string)
src/services/oauth/auth-code-listener.ts:183
↓ 20 callers
Function
setStatus
(s: string)
src/screens/REPL.tsx:4302
↓ 20 callers
Method
trimStart
(e3)
src/server/web/public/terminal.js:2409
↓ 19 callers
Function
ansiIdx
(index: number)
src/native-ts/color-diff/index.ts:88
↓ 19 callers
Function
asAgentId
(id: string)
src/types/ids.ts:31
↓ 19 callers
Function
countCharInString
( str: { indexOf(search: string, start?: number): number }, char: string, start = 0, )
src/utils/stringUtils.ts:54
↓ 19 callers
Method
end
(e3, t3 = true)
src/server/web/public/terminal.js:5124
↓ 19 callers
Function
evictTaskOutput
(taskId: string)
src/utils/task/diskOutput.ts:288
↓ 19 callers
Function
getClaudeCodeUserAgent
()
src/utils/userAgent.ts:8
↓ 19 callers
Function
getSettingsFilePathForSource
( source: SettingSource, )
src/utils/settings/settings.ts:274
↓ 19 callers
Method
has
(uuid: string)
src/bridge/bridgeMessaging.ts:452
↓ 19 callers
Method
next
()
src/utils/stream.ts:19
↓ 19 callers
Function
normalizePathForComparison
(filePath: string)
src/utils/file.ts:565
↓ 19 callers
Function
readFileSync
(fsPath, options)
src/utils/fsOperations.ts:445
↓ 19 callers
Function
saveCurrentProjectConfig
( updater: (currentConfig: ProjectConfig) => ProjectConfig, )
src/utils/config.ts:1625
↓ 19 callers
Function
toCSSSize
* Convert an Ink dimension (number = character cells, or `"50%"` percent string) * to a CSS value. We use `ch` for character-width units so the layo
web/lib/ink-compat/prop-mapping.ts:13
↓ 19 callers
Function
useAppStateStore
()
src/state/AppState.tsx:177
↓ 18 callers
Function
_
(e3, t3)
src/server/web/public/terminal.js:2443
↓ 18 callers
Method
append
(content: string)
src/utils/task/diskOutput.ts:110
↓ 18 callers
Function
enqueue
(command: QueuedCommand)
src/utils/messageQueueManager.ts:128
↓ 18 callers
Method
error
(e3, ...t3)
src/server/web/public/terminal.js:5694
↓ 18 callers
Function
getAnthropicApiKeyWithSource
( opts: { skipRetrievingKeyFromApiKeyHelper?: boolean } = {}, )
src/utils/auth.ts:226
↓ 18 callers
Function
getTracer
()
src/utils/telemetry/sessionTracing.ts:152
↓ 18 callers
Function
isPolicyAllowed
(policy: string)
src/services/policyLimits/index.ts:510
↓ 18 callers
Function
normalizeNameForMCP
(name: string)
src/services/mcp/normalization.ts:17
↓ 18 callers
Function
onChange
()
src/ink/hooks/use-interval.ts:22
↓ 18 callers
Function
onResponse
(requestId_3, handler_0)
src/hooks/useReplBridge.tsx:576
↓ 18 callers
Function
onSubmit
(selectedServers)
src/components/MCPServerDesktopImportDialog.tsx:72
↓ 18 callers
Function
pass
(name: string, detail?: string)
scripts/test-services.ts:13
↓ 18 callers
Function
release
()
src/utils/computerUse/drainRunLoop.ts:32
↓ 18 callers
Method
segment
(highlights: TextHighlight[])
src/utils/textHighlighting.ts:76
↓ 18 callers
Function
setCwd
(path: string, relativeTo?: string)
src/utils/Shell.ts:447
↓ 17 callers
Method
_eraseAttrData
()
src/server/web/public/terminal.js:3450
↓ 17 callers
Method
_restrictCursor
(e3 = this._bufferService.cols - 1)
src/server/web/public/terminal.js:2864
↓ 17 callers
Function
appendEntryToFile
( fullPath: string, entry: Record<string, unknown>, )
src/utils/sessionStorage.ts:2572
↓ 17 callers
Method
end
* End a query. Returns true if this generation is still current * (meaning the caller should perform cleanup). Returns false if a * newer query
src/utils/QueryGuard.ts:74
↓ 17 callers
Function
getCurrentProjectConfig
()
src/utils/config.ts:1602
↓ 17 callers
Function
getMcpConfigsByScope
( scope: 'project' | 'user' | 'local' | 'enterprise', )
src/services/mcp/config.ts:888
↓ 17 callers
Function
headlessProfilerCheckpoint
(name: string)
src/utils/headlessProfiler.ts:83
↓ 17 callers
Method
markDirty
(e3)
src/server/web/public/terminal.js:3481
↓ 17 callers
Function
matchingRuleForInput
( path: string, toolPermissionContext: ToolPermissionContext, toolType: 'edit' | 'read', behavior: 'al
src/utils/permissions/filesystem.ts:955
↓ 17 callers
Function
normalizeCaseForComparison
(path: string)
src/utils/permissions/filesystem.ts:90
↓ 17 callers
Function
onProgress
(progress: { data: ShellProgress; })
src/utils/processUserInput/processBashCommand.tsx:55
↓ 17 callers
Function
onReject
(feedback)
src/hooks/useSSHSession.ts:143
↓ 17 callers
Function
osc
(...parts: (string | number)[])
src/ink/termio/osc.ts:18
↓ 17 callers
Function
prepareApiRequest
()
src/utils/teleport/api.ts:181
↓ 17 callers
Method
right
()
src/utils/Cursor.ts:311
↓ 17 callers
Method
setService
(e3, t3)
src/server/web/public/terminal.js:5631
← previous
next →
201–300 of 13,048, ranked by callers