MCPcopy Create free account

hub / github.com/AnukarOP/claude-code-leaked / functions

Functions11,462 in github.com/AnukarOP/claude-code-leaked

↓ 2 callersMethodwithInverse
(baseId: number)
source code/ink/screen.ts:172
↓ 2 callersFunctionwithResolvers
()
source code/utils/withResolvers.ts:7
↓ 2 callersFunctionwithStreamingVCR
( messages: Message[], f: () => AsyncGenerator< StreamEvent | AssistantMessage | SystemAPIErrorMessage
source code/services/vcr.ts:351
↓ 2 callersFunctionwithTheme
(node: ReactNode)
source code/ink.ts:16
↓ 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 *
source code/ink/selection.ts:164
↓ 2 callersFunctionworktreePathFor
(repoRoot: string, slug: string)
source code/utils/worktree.ts:227
↓ 2 callersFunctionwrapCommandText
( raw: string, origin: MessageOrigin | undefined, )
source code/utils/messages.ts:5498
↓ 2 callersFunctionwrapFetchWithStepUpDetection
( baseFetch: FetchLike, provider: ClaudeAuthProvider, )
source code/services/mcp/auth.ts:1356
↓ 2 callersFunctionwrapSpawn
( childProcess: ChildProcess, abortSignal: AbortSignal, timeout: number, taskOutput: TaskOutput, sho
source code/utils/ShellCommand.ts:389
↓ 2 callersFunctionwrapText
(h: Highlight, width: number, theme: Theme)
source code/native-ts/color-diff/index.ts:665
↓ 2 callersFunctionwrapWithCwd
(fn: () => T)
source code/tools/AgentTool/AgentTool.tsx:643
↓ 2 callersMethodwrapWithSandbox
( command: string, binShell?: string, customConfig?: Partial<SandboxRuntimeConfig>, abortSigna
source code/utils/sandbox/sandbox-adapter.ts:912
↓ 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).
source code/ink/render-node-to-output.ts:337
↓ 2 callersFunctionwriteAgentMetadata
( agentId: AgentId, metadata: AgentMetadata, )
source code/utils/sessionStorage.ts:285
↓ 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
source code/ink/log-update.ts:640
↓ 2 callersFunctionwriteClipboardViaPbcopy
(text: string)
source code/utils/computerUse/executor.ts:82
↓ 2 callersFunctionwriteDiffToTerminal
( terminal: Terminal, diff: Diff, skipSyncMarkers = false, )
source code/ink/terminal.ts:192
↓ 2 callersFunctionwriteFileAndFlush
( filePath: string, content: string, flag: 'w' | 'wx' = 'w', )
source code/components/agents/agentFileUtils.ts:262
↓ 2 callersFunctionwriteFileLines
( filePath: string, lines: string[], )
source code/utils/shellConfig.ts:98
↓ 2 callersFunctionwriteHighWaterMark
( taskListId: string, value: number, )
source code/utils/tasks.ts:127
↓ 2 callersFunctionwriteIfMissing
* Write `content` to `path` only if the file does not already exist. * Uses O_EXCL ('wx') for atomic create-if-missing.
source code/utils/localInstaller.ts:40
↓ 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
source code/services/mcp/config.ts:90
↓ 2 callersFunctionwriteOut
(stream: NodeJS.WriteStream, data: string)
source code/utils/process.ts:19
↓ 2 callersFunctionwritePerfettoTrace
* Final async write: close open spans and write the complete trace. * Idempotent — sets `traceWritten` on success so subsequent calls are no-ops.
source code/utils/telemetry/perfettoTracing.ts:1013
↓ 2 callersFunctionwriteRules
(rules: AutoModeRules)
source code/cli/handlers/autoMode.ts:22
↓ 2 callersFunctionwriteToFile
(text: string, filename: string)
source code/commands/copy/copy.tsx:75
↓ 2 callersFunctionyankPop
()
source code/utils/Cursor.ts:93
↓ 1 callersMethod#createResultPromise
()
source code/utils/ShellCommand.ts:265
↓ 1 callersMethod#drain
()
source code/utils/task/diskOutput.ts:209
↓ 1 callersMethod#queueToBuffers
Keep this in a separate method so that GC doesn't keep it alive for any longer than it should.
source code/utils/task/diskOutput.ts:191
↓ 1 callersMethod#readStdoutFromFile
()
source code/utils/task/TaskOutput.ts:299
↓ 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 *
source code/hooks/useTasksV2.ts:92
↓ 1 callersMethod#startSizeWatchdog
()
source code/utils/ShellCommand.ts:241
↓ 1 callersMethod#stop
* Tear down the watcher, timers, and in-process subscription. Called when * the last subscriber unsubscribes. Preserves #tasks/#hidden cache so a
source code/hooks/useTasksV2.ts:188
↓ 1 callersMethod#updateProgress
* Single backward pass: count all newlines (for totalLines) and extract * the last few lines as flat copies (for the CircularBuffer / progress).
source code/utils/task/TaskOutput.ts:209
↓ 1 callersMethod#writeAllChunks
()
source code/utils/task/diskOutput.ts:180
↓ 1 callersFunctionAUTO_REJECT_MESSAGE
(toolName: string)
source code/utils/messages.ts:236
↓ 1 callersFunctionDANGEROUS_uncachedSystemPromptSection
( name: string, compute: ComputeFn, _reason: string, )
source code/constants/systemPromptSections.ts:34
↓ 1 callersFunctionDONT_ASK_REJECT_MESSAGE
(toolName: string)
source code/utils/messages.ts:239
↓ 1 callersFunctionLOCAL_REVIEW_PROMPT
(args: string)
source code/commands/review.ts:11
↓ 1 callersFunction_bundleWithFallback
( gitRoot: string, bundlePath: string, maxBytes: number, hasStash: boolean, signal: AbortSignal | un
source code/utils/teleport/gitBundle.ts:52
↓ 1 callersMethod_doRefresh
( refreshToken: string, )
source code/services/mcp/auth.ts:2179
↓ 1 callersFunction_executeApiKeyHelper
( isNonInteractiveSession: boolean, )
source code/utils/auth.ts:540
↓ 1 callersMethod_isImmediatePropagationStopped
@internal
source code/ink/events/terminal-event.ts:95
↓ 1 callersMethod_isPropagationStopped
@internal
source code/ink/events/terminal-event.ts:90
↓ 1 callersMethod_prepareForTarget
* Hook for subclasses to do per-node setup before each handler fires. * Default is a no-op.
source code/ink/events/terminal-event.ts:103
↓ 1 callersMethod_resetFlushState
@internal Reset flush/queue state for testing.
source code/utils/sessionStorage.ts:575
↓ 1 callersMethod_setTarget
@internal
source code/ink/events/terminal-event.ts:75
↓ 1 callersFunctionabortPromptSuggestion
()
source code/services/PromptSuggestion/promptSuggestion.ts:98
↓ 1 callersFunctionacceptSpeculation
( state: SpeculationState, setAppState: (f: (prev: AppState) => AppState) => void, cleanMessageCount: nu
source code/services/PromptSuggestion/speculation.ts:719
↓ 1 callersFunctionaccumulateStreamEvents
( buffer: SDKPartialAssistantMessage[], state: StreamAccumulatorState, )
source code/cli/transports/ccrClient.ts:143
↓ 1 callersFunctionaccumulateToolUses
* Count tool uses in an assistant message and add to existing counts.
source code/utils/streamlinedTransform.ts:111
↓ 1 callersFunctionacquireLock
* Attempts to acquire a lock for auto-updater * @returns true if lock was acquired, false if another process holds the lock
source code/utils/autoUpdater.ts:178
↓ 1 callersFunctionacquirePaneCreationLock
* Acquires a lock for pane creation, ensuring sequential execution. * Returns a release function that must be called when done.
source code/utils/swarm/backends/ITermBackend.ts:23
↓ 1 callersFunctionacquirePaneCreationLock
* Acquires a lock for pane creation, ensuring sequential execution. * Returns a release function that must be called when done.
source code/utils/swarm/backends/TmuxBackend.ts:45
↓ 1 callersFunctionacquireProcessLifetimeLock
( versionPath: string, lockFilePath: string, )
source code/utils/nativeInstaller/pidLock.ts:301
↓ 1 callersMethodaddAll
* Add multiple items to the buffer at once.
source code/utils/CircularBuffer.ts:31
↓ 1 callersFunctionaddApiRequestToCache
(requestData: unknown)
source code/services/api/dumpPrompts.ts:50
↓ 1 callersFunctionaddBetaInteractionAttributes
( span: Span, userPrompt: string, )
source code/utils/telemetry/betaSessionTracing.ts:225
↓ 1 callersFunctionaddBetaLLMRequestAttributes
( span: Span, newContext?: LLMRequestNewContext, messagesForAPI?: APIMessage[], )
source code/utils/telemetry/betaSessionTracing.ts:249
↓ 1 callersFunctionaddBetaLLMResponseAttributes
( endAttributes: Record<string, string | number | boolean>, metadata?: { modelOutput?: string thin
source code/utils/telemetry/betaSessionTracing.ts:408
↓ 1 callersFunctionaddBetaToolInputAttributes
( span: Span, toolName: string, toolInput: string, )
source code/utils/telemetry/betaSessionTracing.ts:451
↓ 1 callersFunctionaddBetaToolResultAttributes
( endAttributes: Record<string, string | number | boolean>, toolName: string | number | boolean, toolRes
source code/utils/telemetry/betaSessionTracing.ts:476
↓ 1 callersFunctionaddCacheBreakpoints
( messages: (UserMessage | AssistantMessage)[], enablePromptCaching: boolean, querySource?: QuerySource,
source code/services/api/claude.ts:3065
↓ 1 callersFunctionaddCleanupResults
( a: CleanupResult, b: CleanupResult, )
source code/utils/cleanup.ts:40
↓ 1 callersFunctionaddCronTask
( cron: string, prompt: string, recurring: boolean, durable: boolean, agentId?: string, )
source code/utils/cronTasks.ts:196
↓ 1 callersFunctionaddDreamTurn
( taskId: string, turn: DreamTurn, touchedPaths: string[], setAppState: SetAppState, )
source code/tasks/DreamTask/DreamTask.ts:78
↓ 1 callersFunctionaddFileGlobRuleToGitignore
( filename: string, cwd: string = getCwd(), )
source code/utils/git/gitignore.ts:55
↓ 1 callersFunctionaddFlaggedPlugin
(pluginId: string)
source code/utils/plugins/pluginFlagging.ts:153
↓ 1 callersFunctionaddItemToJSONCArray
(content: string, newItem: unknown)
source code/utils/json.ts:230
↓ 1 callersFunctionaddMarker
(h: Highlight, theme: Theme)
source code/native-ts/color-diff/index.ts:749
↓ 1 callersFunctionaddPendingClear
( parent: DOMElement, rect: Rectangle, isAbsolute: boolean, )
source code/ink/node-cache.ts:36
↓ 1 callersFunctionaddPermissionRulesToSettings
( { ruleValues, ruleBehavior, }: { ruleValues: PermissionRuleValue[] ruleBehavior: Permiss
source code/utils/permissions/permissionsLoader.ts:231
↓ 1 callersFunctionaddSessionCronTask
(task: SessionCronTask)
source code/bootstrap/state.ts:1300
↓ 1 callersFunctionaddSlowOperation
(operation: string, durationMs: number)
source code/bootstrap/state.ts:1571
↓ 1 callersFunctionaddToExcludedCommands
( command: string, permissionUpdates?: Array<{ type: string rules: Array<{ toolName: string; ruleC
source code/utils/sandbox/sandbox-adapter.ts:830
↓ 1 callersFunctionaddToInMemoryErrorLog
(errorInfo: { error: string timestamp: string })
source code/utils/log.ts:71
↓ 1 callersFunctionaddToNeverSuggest
(pluginId: string)
source code/utils/plugins/lspRecommendation.ts:318
↓ 1 callersFunctionaddToPromptHistory
( command: HistoryEntry | string, )
source code/history.ts:357
↓ 1 callersFunctionaddToTotalCostState
( cost: number, modelUsage: ModelUsage, model: string, )
source code/bootstrap/state.ts:559
↓ 1 callersFunctionaddToTotalDurationState
( duration: number, durationWithoutRetries: number, )
source code/bootstrap/state.ts:545
↓ 1 callersFunctionaddToTotalLinesChanged
(added: number, removed: number)
source code/bootstrap/state.ts:693
↓ 1 callersFunctionaddToTotalModelUsage
( cost: number, usage: Usage, model: string, )
source code/cost-tracker.ts:252
↓ 1 callersFunctionaddToTurnClassifierDuration
(duration: number)
source code/bootstrap/state.ts:629
↓ 1 callersMethodaddTool
* Add a tool to the execution queue. Will start executing immediately if conditions allow.
source code/services/tools/StreamingToolExecutor.ts:78
↓ 1 callersFunctionaddToolContentEvent
( eventName: string, attributes: Record<string, string | number | boolean>, )
source code/utils/telemetry/sessionTracing.ts:749
↓ 1 callersFunctionadjustParamsForNonStreaming
(params: T, maxTokensCap: number)
source code/services/api/claude.ts:3366
↓ 1 callersFunctionadvanceScan
(target: number)
source code/utils/bash/heredoc.ts:233
↓ 1 callersFunctionagentsHandler
()
source code/cli/handlers/agents.ts:34
↓ 1 callersFunctionaggregateClaudeCodeStats
()
source code/utils/stats.ts:642
↓ 1 callersFunctionaggregateData
( sessions: SessionMeta[], facets: Map<string, SessionFacets>, )
source code/commands/insights.ts:1147
↓ 1 callersFunctionaliasesOf
(targets: ReadonlySet<string>)
source code/utils/powershell/dangerousCmdlets.ts:74
↓ 1 callersFunctionallToolsResolved
(msg: RenderableMessage, resolvedToolUseIDs: Set<string>)
source code/components/MessageRow.tsx:317
↓ 1 callersFunctionanalyzeCommand
( rootNode: unknown, command: string, )
source code/utils/bash/treeSitterAnalysis.ts:498
↓ 1 callersFunctionanalyzeContext
(messages: Message[])
source code/utils/contextAnalysis.ts:29
↓ 1 callersFunctionanalyzeSectionSizes
* Parse the session memory file and analyze section sizes
source code/services/SessionMemory/prompts.ts:136
↓ 1 callersFunctionanimatedMove
* Port of Cowork's `animateMouseMovement` + `animatedMove`. Ease-out-cubic at * 60fps; distance-proportional duration at 2000 px/sec, capped at 0.5s.
source code/utils/computerUse/executor.ts:219
↓ 1 callersMethodannotateStderrWithSandboxFailures
(command: string, stderr: string)
source code/utils/sandbox/sandbox-adapter.ts:920
↓ 1 callersFunctionansi256FromRgb
(r: number, g: number, b: number)
source code/native-ts/color-diff/index.ts:107
↓ 1 callersFunctionansiToPng
( ansiText: string, options: AnsiToPngOptions = {}, )
source code/utils/ansiToPng.ts:93
← previousnext →4,201–4,300 of 11,462, ranked by callers