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
↓ 2 callers
Function
verifyAutoModeGateAccess
( currentContext: ToolPermissionContext, // Runtime AppState.fastMode — passed from callers with AppState
src/utils/permissions/permissionSetup.ts:1078
↓ 2 callers
Function
verifyIt2Setup
()
src/utils/swarm/backends/it2Setup.ts:152
↓ 2 callers
Function
versionIsAvailable
(version: string)
src/utils/nativeInstaller/installer.ts:490
↓ 2 callers
Function
visitNodes
(node: Node, visitor: (node: Node) => void)
src/utils/bash/ParsedCommand.ts:106
↓ 2 callers
Function
w
(e3, t3)
src/server/web/public/terminal.js:2687
↓ 2 callers
Function
waitForPaneShellReady
()
src/utils/swarm/backends/TmuxBackend.ts:35
↓ 2 callers
Function
waitForRemoteManagedSettingsToLoad
()
src/services/remoteManagedSettings/index.ts:155
↓ 2 callers
Function
waitForScrollIdle
()
src/bootstrap/state.ts:818
↓ 2 callers
Function
walk
(node: TreeSitterNode)
src/utils/bash/treeSitterAnalysis.ts:424
↓ 2 callers
Function
walkArithmetic
* Recursively validate an arithmetic_expansion node. Allows only literal * numeric expressions — no variables, no substitutions. Returns null if * s
src/utils/bash/ast.ts:1675
↓ 2 callers
Function
walkFileRedirect
* Extract operator + target from a `file_redirect` node. The target must be * a static word or string.
src/utils/bash/ast.ts:1071
↓ 2 callers
Function
walkHeredocRedirect
* Heredoc redirect. Only quoted-delimiter heredocs (<<'EOF') are safe — * their bodies are literal text. Unquoted-delimiter heredocs (<<EOF) * under
src/utils/bash/ast.ts:1143
↓ 2 callers
Function
walkString
* Extract literal content from a double-quoted string node. A `string` node's * children are `"` delimiters, `string_content` literals, and possibly
src/utils/bash/ast.ts:1508
↓ 2 callers
Method
warmUp
()
src/server/web/public/terminal.js:7620
↓ 2 callers
Method
warn
(message: string, ...args: unknown[])
src/utils/claudeInChrome/mcpServer.ts:287
↓ 2 callers
Method
watchCurrentBranchRef
* Watch the loose ref file for the current branch. * Called on startup and whenever HEAD changes (branch switch).
src/utils/git/gitFilesystem.ts:391
↓ 2 callers
Function
widestLine
(string: string)
src/ink/widest-line.ts:3
↓ 2 callers
Function
willDefer
(t: Tool)
src/services/api/claude.ts:1208
↓ 2 callers
Function
windowsCommandValue
(claudePath: string)
src/utils/deepLink/registerProtocol.ts:59
↓ 2 callers
Function
wireTransport
(newTransport: ReplBridgeTransport)
src/bridge/replBridge.ts:1208
↓ 2 callers
Function
wireTransportCallbacks
()
src/bridge/remoteBridgeCore.ts:380
↓ 2 callers
Method
wireWsEvents
* Wire WebSocket → PTY (input, resize, ping). * On close/error, start the grace period instead of immediately destroying * the session — this ke
src/server/web/session-manager.ts:273
↓ 2 callers
Method
withCache
(key: string, compute: () => T)
src/utils/Cursor.ts:1487
↓ 2 callers
Method
withInverse
(baseId: number)
src/ink/screen.ts:170
↓ 2 callers
Function
withResolvers
()
src/utils/withResolvers.ts:5
↓ 2 callers
Function
withStreamingVCR
( messages: Message[], f: () => AsyncGenerator< StreamEvent | AssistantMessage | SystemAPIErrorMessage
src/services/vcr.ts:349
↓ 2 callers
Function
withTheme
(node: ReactNode)
src/ink.ts:14
↓ 2 callers
Function
wordBoundsAt
* Find the bounds of the same-class character run at (col, row). Returns * null if the click is out of bounds or lands on a noSelect cell. Used by *
src/ink/selection.ts:162
↓ 2 callers
Function
worktreePathFor
(repoRoot: string, slug: string)
src/utils/worktree.ts:225
↓ 2 callers
Function
wrapCommandText
( raw: string, origin: MessageOrigin | undefined, )
src/utils/messages.ts:5496
↓ 2 callers
Function
wrapFetchWithStepUpDetection
( baseFetch: FetchLike, provider: ClaudeAuthProvider, )
src/services/mcp/auth.ts:1354
↓ 2 callers
Function
wrapSpawn
( childProcess: ChildProcess, abortSignal: AbortSignal, timeout: number, taskOutput: TaskOutput, sho
src/utils/ShellCommand.ts:387
↓ 2 callers
Function
wrapText
(h: Highlight, width: number, theme: Theme)
src/native-ts/color-diff/index.ts:663
↓ 2 callers
Function
wrapWithCwd
(fn: () => T)
src/tools/AgentTool/AgentTool.tsx:641
↓ 2 callers
Method
wrapWithSandbox
( command: string, binShell?: string, customConfig?: Partial<SandboxRuntimeConfig>, abortSigna
src/utils/sandbox/sandbox-adapter.ts:910
↓ 2 callers
Function
wrapWithSoftWrap
* Wrap text and record which output lines are soft-wrap continuations * (i.e. the `\n` before them was inserted by word-wrap, not in the * source).
src/ink/render-node-to-output.ts:335
↓ 2 callers
Function
writeAgentMetadata
( agentId: AgentId, metadata: AgentMetadata, )
src/utils/sessionStorage.ts:283
↓ 2 callers
Function
writeCellWithStyleStr
* Write a cell with a pre-serialized style transition string (from * StylePool.transition). Inlines the txn logic to avoid closure/tuple/delta * all
src/ink/log-update.ts:638
↓ 2 callers
Function
writeClipboardViaPbcopy
(text: string)
src/utils/computerUse/executor.ts:80
↓ 2 callers
Function
writeDiffToTerminal
( terminal: Terminal, diff: Diff, skipSyncMarkers = false, )
src/ink/terminal.ts:190
↓ 2 callers
Function
writeFileAndFlush
( filePath: string, content: string, flag: 'w' | 'wx' = 'w', )
src/components/agents/agentFileUtils.ts:260
↓ 2 callers
Function
writeFileLines
( filePath: string, lines: string[], )
src/utils/shellConfig.ts:96
↓ 2 callers
Function
writeHighWaterMark
( taskListId: string, value: number, )
src/utils/tasks.ts:125
↓ 2 callers
Function
writeIfMissing
* Write `content` to `path` only if the file does not already exist. * Uses O_EXCL ('wx') for atomic create-if-missing.
src/utils/localInstaller.ts:38
↓ 2 callers
Function
writeMcpjsonFile
* Internal utility: Write MCP config to .mcp.json file. * Preserves file permissions and flushes to disk before rename. * Uses the original path for
src/services/mcp/config.ts:88
↓ 2 callers
Function
writeOut
(stream: NodeJS.WriteStream, data: string)
src/utils/process.ts:17
↓ 2 callers
Function
writePerfettoTrace
* Final async write: close open spans and write the complete trace. * Idempotent — sets `traceWritten` on success so subsequent calls are no-ops.
src/utils/telemetry/perfettoTracing.ts:1011
↓ 2 callers
Function
writeRules
(rules: AutoModeRules)
src/cli/handlers/autoMode.ts:20
↓ 2 callers
Function
writeToFile
(text: string, filename: string)
src/commands/copy/copy.tsx:73
↓ 2 callers
Function
yankPop
()
src/utils/Cursor.ts:91
↓ 1 callers
Method
#createResultPromise
()
src/utils/ShellCommand.ts:263
↓ 1 callers
Method
#drain
()
src/utils/task/diskOutput.ts:207
↓ 1 callers
Method
#queueToBuffers
Keep this in a separate method so that GC doesn't keep it alive for any longer than it should.
src/utils/task/diskOutput.ts:189
↓ 1 callers
Method
#readStdoutFromFile
()
src/utils/task/TaskOutput.ts:297
↓ 1 callers
Method
#rewatch
* Point the file watcher at the current tasks directory. Called on start * and whenever #fetch detects the task list ID has changed (e.g. when *
src/hooks/useTasksV2.ts:90
↓ 1 callers
Method
#startSizeWatchdog
()
src/utils/ShellCommand.ts:239
↓ 1 callers
Method
#stop
* Tear down the watcher, timers, and in-process subscription. Called when * the last subscriber unsubscribes. Preserves #tasks/#hidden cache so a
src/hooks/useTasksV2.ts:186
↓ 1 callers
Method
#updateProgress
* Single backward pass: count all newlines (for totalLines) and extract * the last few lines as flat copies (for the CircularBuffer / progress).
src/utils/task/TaskOutput.ts:207
↓ 1 callers
Method
#writeAllChunks
()
src/utils/task/diskOutput.ts:178
↓ 1 callers
Function
AUTO_REJECT_MESSAGE
(toolName: string)
src/utils/messages.ts:234
↓ 1 callers
Function
DANGEROUS_uncachedSystemPromptSection
( name: string, compute: ComputeFn, _reason: string, )
src/constants/systemPromptSections.ts:32
↓ 1 callers
Function
DONT_ASK_REJECT_MESSAGE
(toolName: string)
src/utils/messages.ts:237
↓ 1 callers
Function
LOCAL_REVIEW_PROMPT
(args: string)
src/commands/review.ts:9
↓ 1 callers
Function
__copyProps
(to, from, except, desc)
src/server/web/public/terminal.js:10
↓ 1 callers
Method
_addCallbacks
(e3)
src/server/web/public/terminal.js:6216
↓ 1 callers
Method
_addLineToZone
(e3, t3)
src/server/web/public/terminal.js:1018
↓ 1 callers
Method
_addMouseDownListeners
()
src/server/web/public/terminal.js:2115
↓ 1 callers
Method
_addRectangle
(e3, t3, i3, s3, r2, o2, n2, a2, h2, l2)
src/server/web/public/terminal.js:6998
↓ 1 callers
Method
_afterResize
(e3, t3)
src/server/web/public/terminal.js:749
↓ 1 callers
Method
_announceCharacters
()
src/server/web/public/terminal.js:85
↓ 1 callers
Method
_batchedMemoryCleanup
()
src/server/web/public/terminal.js:3931
↓ 1 callers
Method
_bindAtlasPageTexture
(e3, t3, i3)
src/server/web/public/terminal.js:6907
↓ 1 callers
Method
_bindKeys
()
src/server/web/public/terminal.js:554
↓ 1 callers
Method
_bufferColsToStringOffset
(e3, t3)
src/server/web/public/terminal.js:6562
↓ 1 callers
Function
_bundleWithFallback
( gitRoot: string, bundlePath: string, maxBytes: number, hasStash: boolean, signal: AbortSignal | un
src/utils/teleport/gitBundle.ts:50
↓ 1 callers
Method
_checkReadonlyOptions
(e3)
src/server/web/public/terminal.js:5949
↓ 1 callers
Method
_clipCell
(e3, t3, i3)
src/server/web/public/terminal.js:7251
↓ 1 callers
Method
_convertViewportColToCharacterIndex
(e3, t3)
src/server/web/public/terminal.js:2181
↓ 1 callers
Method
_createDeadline
(e3)
src/server/web/public/terminal.js:3669
↓ 1 callers
Method
_createDeadline
(e3)
src/server/web/public/terminal.js:8220
↓ 1 callers
Method
_createElement
(e3)
src/server/web/public/terminal.js:960
↓ 1 callers
Method
_createHyperlink
(e3, t3)
src/server/web/public/terminal.js:3370
↓ 1 callers
Method
_createLinkUnderlineEvent
(e3, t3, i3, s3, r2)
src/server/web/public/terminal.js:352
↓ 1 callers
Method
_createResultDecoration
(e3, t3)
src/server/web/public/terminal.js:6616
↓ 1 callers
Method
_deletePage
(e3)
src/server/web/public/terminal.js:7667
↓ 1 callers
Method
_doRefresh
( refreshToken: string, )
src/services/mcp/auth.ts:2177
↓ 1 callers
Method
_doWarmUp
()
src/server/web/public/terminal.js:7623
↓ 1 callers
Method
_dragScroll
()
src/server/web/public/terminal.js:2152
↓ 1 callers
Method
_enableWindowsWrappingHeuristics
()
src/server/web/public/terminal.js:2636
↓ 1 callers
Method
_equalEvents
(e3, t3, i3)
src/server/web/public/terminal.js:5509
↓ 1 callers
Function
_executeApiKeyHelper
( isNonInteractiveSession: boolean, )
src/utils/auth.ts:538
↓ 1 callers
Method
_extractColor
(e3, t3, i3)
src/server/web/public/terminal.js:3232
↓ 1 callers
Method
_findGlyphBoundingBox
(e3, t3, i3, s3, r2, o2)
src/server/web/public/terminal.js:7879
↓ 1 callers
Method
_findNextAndSelect
(e3, t3)
src/server/web/public/terminal.js:6458
↓ 1 callers
Method
_findPreviousAndSelect
(e3, t3)
src/server/web/public/terminal.js:6497
↓ 1 callers
Method
_getBackgroundColor
(e3, t3, i3, s3)
src/server/web/public/terminal.js:7688
↓ 1 callers
Method
_getContrastCache
(e3)
src/server/web/public/terminal.js:1487
↓ 1 callers
Method
_getContrastCache
(e3)
src/server/web/public/terminal.js:7754
↓ 1 callers
Method
_getFont
(e3, t3, i3)
src/server/web/public/terminal.js:7254
↓ 1 callers
Method
_getForegroundColor
(e3, t3, i3, r2, o2, a2, h2, l2, d2, _2)
src/server/web/public/terminal.js:7705
← previous
next →
4,701–4,800 of 13,048, ranked by callers