MCPcopy Create free account

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

Functions11,484 in github.com/tanbiralam/claude-code

↓ 2 callersFunctionwireTransport
(newTransport: ReplBridgeTransport)
src/bridge/replBridge.ts:1208
↓ 2 callersFunctionwireTransportCallbacks
()
src/bridge/remoteBridgeCore.ts:380
↓ 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_bundleWithFallback
( gitRoot: string, bundlePath: string, maxBytes: number, hasStash: boolean, signal: AbortSignal | un
src/utils/teleport/gitBundle.ts:50
↓ 1 callersMethod_doRefresh
( refreshToken: string, )
src/services/mcp/auth.ts:2177
↓ 1 callersFunction_executeApiKeyHelper
( isNonInteractiveSession: boolean, )
src/utils/auth.ts:538
↓ 1 callersMethod_isImmediatePropagationStopped
@internal
src/ink/events/terminal-event.ts:93
↓ 1 callersMethod_isPropagationStopped
@internal
src/ink/events/terminal-event.ts:88
↓ 1 callersMethod_prepareForTarget
* Hook for subclasses to do per-node setup before each handler fires. * Default is a no-op.
src/ink/events/terminal-event.ts:101
↓ 1 callersMethod_resetFlushState
@internal Reset flush/queue state for testing.
src/utils/sessionStorage.ts:573
↓ 1 callersMethod_setTarget
@internal
src/ink/events/terminal-event.ts:73
↓ 1 callersFunctionabortPromptSuggestion
()
src/services/PromptSuggestion/promptSuggestion.ts:96
↓ 1 callersFunctionacceptSpeculation
( state: SpeculationState, setAppState: (f: (prev: AppState) => AppState) => void, cleanMessageCount: nu
src/services/PromptSuggestion/speculation.ts:717
↓ 1 callersFunctionaccumulateStreamEvents
( buffer: SDKPartialAssistantMessage[], state: StreamAccumulatorState, )
src/cli/transports/ccrClient.ts:141
↓ 1 callersFunctionaccumulateToolUses
* Count tool uses in an assistant message and add to existing counts.
src/utils/streamlinedTransform.ts:109
↓ 1 callersFunctionacquireLock
* Attempts to acquire a lock for auto-updater * @returns true if lock was acquired, false if another process holds the lock
src/utils/autoUpdater.ts:176
↓ 1 callersFunctionacquirePaneCreationLock
* Acquires a lock for pane creation, ensuring sequential execution. * Returns a release function that must be called when done.
src/utils/swarm/backends/ITermBackend.ts:21
↓ 1 callersFunctionacquirePaneCreationLock
* Acquires a lock for pane creation, ensuring sequential execution. * Returns a release function that must be called when done.
src/utils/swarm/backends/TmuxBackend.ts:43
↓ 1 callersFunctionacquireProcessLifetimeLock
( versionPath: string, lockFilePath: string, )
src/utils/nativeInstaller/pidLock.ts:299
↓ 1 callersMethodaddAll
* Add multiple items to the buffer at once.
src/utils/CircularBuffer.ts:29
↓ 1 callersFunctionaddApiRequestToCache
(requestData: unknown)
src/services/api/dumpPrompts.ts:48
↓ 1 callersFunctionaddBetaInteractionAttributes
( span: Span, userPrompt: string, )
src/utils/telemetry/betaSessionTracing.ts:223
↓ 1 callersFunctionaddBetaLLMRequestAttributes
( span: Span, newContext?: LLMRequestNewContext, messagesForAPI?: APIMessage[], )
src/utils/telemetry/betaSessionTracing.ts:247
↓ 1 callersFunctionaddBetaLLMResponseAttributes
( endAttributes: Record<string, string | number | boolean>, metadata?: { modelOutput?: string thin
src/utils/telemetry/betaSessionTracing.ts:406
↓ 1 callersFunctionaddBetaToolInputAttributes
( span: Span, toolName: string, toolInput: string, )
src/utils/telemetry/betaSessionTracing.ts:449
↓ 1 callersFunctionaddBetaToolResultAttributes
( endAttributes: Record<string, string | number | boolean>, toolName: string | number | boolean, toolRes
src/utils/telemetry/betaSessionTracing.ts:474
↓ 1 callersFunctionaddCacheBreakpoints
( messages: (UserMessage | AssistantMessage)[], enablePromptCaching: boolean, querySource?: QuerySource,
src/services/api/claude.ts:3063
↓ 1 callersFunctionaddCleanupResults
( a: CleanupResult, b: CleanupResult, )
src/utils/cleanup.ts:38
↓ 1 callersFunctionaddCronTask
( cron: string, prompt: string, recurring: boolean, durable: boolean, agentId?: string, )
src/utils/cronTasks.ts:194
↓ 1 callersFunctionaddDreamTurn
( taskId: string, turn: DreamTurn, touchedPaths: string[], setAppState: SetAppState, )
src/tasks/DreamTask/DreamTask.ts:76
↓ 1 callersFunctionaddFileGlobRuleToGitignore
( filename: string, cwd: string = getCwd(), )
src/utils/git/gitignore.ts:53
↓ 1 callersFunctionaddFlaggedPlugin
(pluginId: string)
src/utils/plugins/pluginFlagging.ts:151
↓ 1 callersFunctionaddItemToJSONCArray
(content: string, newItem: unknown)
src/utils/json.ts:228
↓ 1 callersFunctionaddMarker
(h: Highlight, theme: Theme)
src/native-ts/color-diff/index.ts:747
↓ 1 callersFunctionaddPendingClear
( parent: DOMElement, rect: Rectangle, isAbsolute: boolean, )
src/ink/node-cache.ts:34
↓ 1 callersFunctionaddPermissionRulesToSettings
( { ruleValues, ruleBehavior, }: { ruleValues: PermissionRuleValue[] ruleBehavior: Permiss
src/utils/permissions/permissionsLoader.ts:229
↓ 1 callersFunctionaddSessionCronTask
(task: SessionCronTask)
src/bootstrap/state.ts:1298
↓ 1 callersFunctionaddSlowOperation
(operation: string, durationMs: number)
src/bootstrap/state.ts:1569
↓ 1 callersFunctionaddToExcludedCommands
( command: string, permissionUpdates?: Array<{ type: string rules: Array<{ toolName: string; ruleC
src/utils/sandbox/sandbox-adapter.ts:828
↓ 1 callersFunctionaddToInMemoryErrorLog
(errorInfo: { error: string timestamp: string })
src/utils/log.ts:69
↓ 1 callersFunctionaddToNeverSuggest
(pluginId: string)
src/utils/plugins/lspRecommendation.ts:316
↓ 1 callersFunctionaddToPromptHistory
( command: HistoryEntry | string, )
src/history.ts:355
↓ 1 callersFunctionaddToTotalCostState
( cost: number, modelUsage: ModelUsage, model: string, )
src/bootstrap/state.ts:557
↓ 1 callersFunctionaddToTotalDurationState
( duration: number, durationWithoutRetries: number, )
src/bootstrap/state.ts:543
↓ 1 callersFunctionaddToTotalLinesChanged
(added: number, removed: number)
src/bootstrap/state.ts:691
↓ 1 callersFunctionaddToTotalModelUsage
( cost: number, usage: Usage, model: string, )
src/cost-tracker.ts:250
↓ 1 callersFunctionaddToTurnClassifierDuration
(duration: number)
src/bootstrap/state.ts:627
↓ 1 callersMethodaddTool
* Add a tool to the execution queue. Will start executing immediately if conditions allow.
src/services/tools/StreamingToolExecutor.ts:76
↓ 1 callersFunctionaddToolContentEvent
( eventName: string, attributes: Record<string, string | number | boolean>, )
src/utils/telemetry/sessionTracing.ts:747
↓ 1 callersFunctionadjustParamsForNonStreaming
(params: T, maxTokensCap: number)
src/services/api/claude.ts:3364
↓ 1 callersFunctionadvanceScan
(target: number)
src/utils/bash/heredoc.ts:231
↓ 1 callersFunctionagentsHandler
()
src/cli/handlers/agents.ts:32
↓ 1 callersFunctionaggregateClaudeCodeStats
()
src/utils/stats.ts:640
↓ 1 callersFunctionaggregateData
( sessions: SessionMeta[], facets: Map<string, SessionFacets>, )
src/commands/insights.ts:1145
↓ 1 callersFunctionaliasesOf
(targets: ReadonlySet<string>)
src/utils/powershell/dangerousCmdlets.ts:72
↓ 1 callersFunctionallToolsResolved
(msg: RenderableMessage, resolvedToolUseIDs: Set<string>)
src/components/MessageRow.tsx:315
↓ 1 callersFunctionanalyzeCommand
( rootNode: unknown, command: string, )
src/utils/bash/treeSitterAnalysis.ts:496
↓ 1 callersFunctionanalyzeContext
(messages: Message[])
src/utils/contextAnalysis.ts:27
↓ 1 callersFunctionanalyzeSectionSizes
* Parse the session memory file and analyze section sizes
src/services/SessionMemory/prompts.ts:134
↓ 1 callersFunctionanimatedMove
* Port of Cowork's `animateMouseMovement` + `animatedMove`. Ease-out-cubic at * 60fps; distance-proportional duration at 2000 px/sec, capped at 0.5s.
src/utils/computerUse/executor.ts:217
← previousnext →4,201–4,300 of 11,484, ranked by callers