MCPcopy Create free account

hub / github.com/codeaashu/claude-code / functions

Functions13,048 in github.com/codeaashu/claude-code

↓ 2 callersFunctionverifyAutoModeGateAccess
( currentContext: ToolPermissionContext, // Runtime AppState.fastMode — passed from callers with AppState
src/utils/permissions/permissionSetup.ts:1078
↓ 2 callersFunctionverifyIt2Setup
()
src/utils/swarm/backends/it2Setup.ts:152
↓ 2 callersFunctionversionIsAvailable
(version: string)
src/utils/nativeInstaller/installer.ts:490
↓ 2 callersFunctionvisitNodes
(node: Node, visitor: (node: Node) => void)
src/utils/bash/ParsedCommand.ts:106
↓ 2 callersFunctionw
(e3, t3)
src/server/web/public/terminal.js:2687
↓ 2 callersFunctionwaitForPaneShellReady
()
src/utils/swarm/backends/TmuxBackend.ts:35
↓ 2 callersFunctionwaitForRemoteManagedSettingsToLoad
()
src/services/remoteManagedSettings/index.ts:155
↓ 2 callersFunctionwaitForScrollIdle
()
src/bootstrap/state.ts:818
↓ 2 callersFunctionwalk
(node: TreeSitterNode)
src/utils/bash/treeSitterAnalysis.ts:424
↓ 2 callersFunctionwalkArithmetic
* 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 callersFunctionwalkFileRedirect
* Extract operator + target from a `file_redirect` node. The target must be * a static word or string.
src/utils/bash/ast.ts:1071
↓ 2 callersFunctionwalkHeredocRedirect
* 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 callersFunctionwalkString
* 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 callersMethodwarmUp
()
src/server/web/public/terminal.js:7620
↓ 2 callersMethodwarn
(message: string, ...args: unknown[])
src/utils/claudeInChrome/mcpServer.ts:287
↓ 2 callersMethodwatchCurrentBranchRef
* 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 callersFunctionwidestLine
(string: string)
src/ink/widest-line.ts:3
↓ 2 callersFunctionwillDefer
(t: Tool)
src/services/api/claude.ts:1208
↓ 2 callersFunctionwindowsCommandValue
(claudePath: string)
src/utils/deepLink/registerProtocol.ts:59
↓ 2 callersFunctionwireTransport
(newTransport: ReplBridgeTransport)
src/bridge/replBridge.ts:1208
↓ 2 callersFunctionwireTransportCallbacks
()
src/bridge/remoteBridgeCore.ts:380
↓ 2 callersMethodwireWsEvents
* 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 callersMethodwithCache
(key: string, compute: () => T)
src/utils/Cursor.ts:1487
↓ 2 callersMethodwithInverse
(baseId: number)
src/ink/screen.ts:170
↓ 2 callersFunctionwithResolvers
()
src/utils/withResolvers.ts:5
↓ 2 callersFunctionwithStreamingVCR
( messages: Message[], f: () => AsyncGenerator< StreamEvent | AssistantMessage | SystemAPIErrorMessage
src/services/vcr.ts:349
↓ 2 callersFunctionwithTheme
(node: ReactNode)
src/ink.ts:14
↓ 2 callersFunctionwordBoundsAt
* 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 callersFunctionworktreePathFor
(repoRoot: string, slug: string)
src/utils/worktree.ts:225
↓ 2 callersFunctionwrapCommandText
( raw: string, origin: MessageOrigin | undefined, )
src/utils/messages.ts:5496
↓ 2 callersFunctionwrapFetchWithStepUpDetection
( baseFetch: FetchLike, provider: ClaudeAuthProvider, )
src/services/mcp/auth.ts:1354
↓ 2 callersFunctionwrapSpawn
( childProcess: ChildProcess, abortSignal: AbortSignal, timeout: number, taskOutput: TaskOutput, sho
src/utils/ShellCommand.ts:387
↓ 2 callersFunctionwrapText
(h: Highlight, width: number, theme: Theme)
src/native-ts/color-diff/index.ts:663
↓ 2 callersFunctionwrapWithCwd
(fn: () => T)
src/tools/AgentTool/AgentTool.tsx:641
↓ 2 callersMethodwrapWithSandbox
( command: string, binShell?: string, customConfig?: Partial<SandboxRuntimeConfig>, abortSigna
src/utils/sandbox/sandbox-adapter.ts:910
↓ 2 callersFunctionwrapWithSoftWrap
* 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 callersFunctionwriteAgentMetadata
( agentId: AgentId, metadata: AgentMetadata, )
src/utils/sessionStorage.ts:283
↓ 2 callersFunctionwriteCellWithStyleStr
* 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 callersFunctionwriteClipboardViaPbcopy
(text: string)
src/utils/computerUse/executor.ts:80
↓ 2 callersFunctionwriteDiffToTerminal
( terminal: Terminal, diff: Diff, skipSyncMarkers = false, )
src/ink/terminal.ts:190
↓ 2 callersFunctionwriteFileAndFlush
( filePath: string, content: string, flag: 'w' | 'wx' = 'w', )
src/components/agents/agentFileUtils.ts:260
↓ 2 callersFunctionwriteFileLines
( filePath: string, lines: string[], )
src/utils/shellConfig.ts:96
↓ 2 callersFunctionwriteHighWaterMark
( taskListId: string, value: number, )
src/utils/tasks.ts:125
↓ 2 callersFunctionwriteIfMissing
* 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 callersFunctionwriteMcpjsonFile
* 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 callersFunctionwriteOut
(stream: NodeJS.WriteStream, data: string)
src/utils/process.ts:17
↓ 2 callersFunctionwritePerfettoTrace
* 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 callersFunctionwriteRules
(rules: AutoModeRules)
src/cli/handlers/autoMode.ts:20
↓ 2 callersFunctionwriteToFile
(text: string, filename: string)
src/commands/copy/copy.tsx:73
↓ 2 callersFunctionyankPop
()
src/utils/Cursor.ts:91
↓ 1 callersMethod#createResultPromise
()
src/utils/ShellCommand.ts:263
↓ 1 callersMethod#drain
()
src/utils/task/diskOutput.ts:207
↓ 1 callersMethod#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 callersMethod#readStdoutFromFile
()
src/utils/task/TaskOutput.ts:297
↓ 1 callersMethod#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 callersMethod#startSizeWatchdog
()
src/utils/ShellCommand.ts:239
↓ 1 callersMethod#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 callersMethod#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 callersMethod#writeAllChunks
()
src/utils/task/diskOutput.ts:178
↓ 1 callersFunctionAUTO_REJECT_MESSAGE
(toolName: string)
src/utils/messages.ts:234
↓ 1 callersFunctionDANGEROUS_uncachedSystemPromptSection
( name: string, compute: ComputeFn, _reason: string, )
src/constants/systemPromptSections.ts:32
↓ 1 callersFunctionDONT_ASK_REJECT_MESSAGE
(toolName: string)
src/utils/messages.ts:237
↓ 1 callersFunctionLOCAL_REVIEW_PROMPT
(args: string)
src/commands/review.ts:9
↓ 1 callersFunction__copyProps
(to, from, except, desc)
src/server/web/public/terminal.js:10
↓ 1 callersMethod_addCallbacks
(e3)
src/server/web/public/terminal.js:6216
↓ 1 callersMethod_addLineToZone
(e3, t3)
src/server/web/public/terminal.js:1018
↓ 1 callersMethod_addMouseDownListeners
()
src/server/web/public/terminal.js:2115
↓ 1 callersMethod_addRectangle
(e3, t3, i3, s3, r2, o2, n2, a2, h2, l2)
src/server/web/public/terminal.js:6998
↓ 1 callersMethod_afterResize
(e3, t3)
src/server/web/public/terminal.js:749
↓ 1 callersMethod_announceCharacters
()
src/server/web/public/terminal.js:85
↓ 1 callersMethod_batchedMemoryCleanup
()
src/server/web/public/terminal.js:3931
↓ 1 callersMethod_bindAtlasPageTexture
(e3, t3, i3)
src/server/web/public/terminal.js:6907
↓ 1 callersMethod_bindKeys
()
src/server/web/public/terminal.js:554
↓ 1 callersMethod_bufferColsToStringOffset
(e3, t3)
src/server/web/public/terminal.js:6562
↓ 1 callersFunction_bundleWithFallback
( gitRoot: string, bundlePath: string, maxBytes: number, hasStash: boolean, signal: AbortSignal | un
src/utils/teleport/gitBundle.ts:50
↓ 1 callersMethod_checkReadonlyOptions
(e3)
src/server/web/public/terminal.js:5949
↓ 1 callersMethod_clipCell
(e3, t3, i3)
src/server/web/public/terminal.js:7251
↓ 1 callersMethod_convertViewportColToCharacterIndex
(e3, t3)
src/server/web/public/terminal.js:2181
↓ 1 callersMethod_createDeadline
(e3)
src/server/web/public/terminal.js:3669
↓ 1 callersMethod_createDeadline
(e3)
src/server/web/public/terminal.js:8220
↓ 1 callersMethod_createElement
(e3)
src/server/web/public/terminal.js:960
↓ 1 callersMethod_createHyperlink
(e3, t3)
src/server/web/public/terminal.js:3370
↓ 1 callersMethod_createLinkUnderlineEvent
(e3, t3, i3, s3, r2)
src/server/web/public/terminal.js:352
↓ 1 callersMethod_createResultDecoration
(e3, t3)
src/server/web/public/terminal.js:6616
↓ 1 callersMethod_deletePage
(e3)
src/server/web/public/terminal.js:7667
↓ 1 callersMethod_doRefresh
( refreshToken: string, )
src/services/mcp/auth.ts:2177
↓ 1 callersMethod_doWarmUp
()
src/server/web/public/terminal.js:7623
↓ 1 callersMethod_dragScroll
()
src/server/web/public/terminal.js:2152
↓ 1 callersMethod_enableWindowsWrappingHeuristics
()
src/server/web/public/terminal.js:2636
↓ 1 callersMethod_equalEvents
(e3, t3, i3)
src/server/web/public/terminal.js:5509
↓ 1 callersFunction_executeApiKeyHelper
( isNonInteractiveSession: boolean, )
src/utils/auth.ts:538
↓ 1 callersMethod_extractColor
(e3, t3, i3)
src/server/web/public/terminal.js:3232
↓ 1 callersMethod_findGlyphBoundingBox
(e3, t3, i3, s3, r2, o2)
src/server/web/public/terminal.js:7879
↓ 1 callersMethod_findNextAndSelect
(e3, t3)
src/server/web/public/terminal.js:6458
↓ 1 callersMethod_findPreviousAndSelect
(e3, t3)
src/server/web/public/terminal.js:6497
↓ 1 callersMethod_getBackgroundColor
(e3, t3, i3, s3)
src/server/web/public/terminal.js:7688
↓ 1 callersMethod_getContrastCache
(e3)
src/server/web/public/terminal.js:1487
↓ 1 callersMethod_getContrastCache
(e3)
src/server/web/public/terminal.js:7754
↓ 1 callersMethod_getFont
(e3, t3, i3)
src/server/web/public/terminal.js:7254
↓ 1 callersMethod_getForegroundColor
(e3, t3, i3, r2, o2, a2, h2, l2, d2, _2)
src/server/web/public/terminal.js:7705
← previousnext →4,701–4,800 of 13,048, ranked by callers