MCPcopy Create free account

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

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

↓ 3 callersFunctionshouldOfferTerminalSetup
()
source code/commands/terminalSetup/terminalSetup.tsx:75
↓ 3 callersFunctionshouldSkipPluginAutoupdate
()
source code/utils/config.ts:1712
↓ 3 callersFunctionshouldSkipVersion
(targetVersion: string)
source code/utils/autoUpdater.ts:147
↓ 3 callersFunctionshouldUseGlobalCacheScope
()
source code/utils/betas.ts:229
↓ 3 callersFunctionshouldUseSessionMemoryCompaction
()
source code/services/compact/sessionMemoryCompact.ts:405
↓ 3 callersFunctionshouldUseVCR
()
source code/services/vcr.ts:25
↓ 3 callersFunctionsmooshIntoToolResult
* Fold content blocks into a tool_result's content. Returns the updated * tool_result, or `null` if smoosh is impossible (tool_reference constraint).
source code/utils/messages.ts:2536
↓ 3 callersFunctionsnapshotOutputTokensForTurn
(budget: number | null)
source code/bootstrap/state.ts:735
↓ 3 callersMethodstart
* Starts listening on an OS-assigned port and returns the port number. * This avoids race conditions by keeping the server open until it's used.
source code/services/oauth/auth-code-listener.ts:39
↓ 3 callersFunctionstartAgentSummarization
( taskId: string, agentId: AgentId, cacheSafeParams: CacheSafeParams, setAppState: TaskContext['setApp
source code/services/AgentSummary/agentSummary.ts:48
↓ 3 callersFunctionstartBackgroundCacheRefresh
()
source code/hooks/fileSuggestions.ts:638
↓ 3 callersFunctionstartBackgrounding
(eventName: string, backgroundFn?: (shellId: string) => void)
source code/tools/PowerShellTool/PowerShellTool.tsx:786
↓ 3 callersMethodstartCLIActivity
* Starts tracking CLI activity (tool execution, AI response, etc.)
source code/utils/activityManager.ts:88
↓ 3 callersMethodstartOfLastLine
()
source code/utils/Cursor.ts:1011
↓ 3 callersMethodstartOfLogicalLine
()
source code/utils/Cursor.ts:501
↓ 3 callersFunctionstartQueryProfile
()
source code/utils/queryProfiler.ts:52
↓ 3 callersFunctionstartRecordingSession
()
source code/hooks/useVoice.ts:635
↓ 3 callersFunctionstartStallWatchdog
(taskId: string, description: string, kind: BashTaskKind | undefined, toolUseId?: string, agentId?: AgentId)
source code/tasks/LocalShellTask/LocalShellTask.tsx:48
↓ 3 callersFunctionstartStatusUpdates
Start the status display update ticker.
source code/bridge/bridgeMain.ts:425
↓ 3 callersFunctionstopBackgroundPolling
()
source code/services/policyLimits/index.ts:660
↓ 3 callersMethodstopKeepaliveInterval
()
source code/cli/transports/WebSocketTransport.ts:796
↓ 3 callersMethodstopPingInterval
* Stop ping interval
source code/remote/SessionsWebSocket.ts:320
↓ 3 callersMethodstopPingInterval
()
source code/cli/transports/WebSocketTransport.ts:762
↓ 3 callersMethodstopPolling
* Stop polling the output file. Called from React useEffect cleanup * when the progress component unmounts.
source code/utils/task/TaskOutput.ts:99
↓ 3 callersFunctionstopStatusUpdates
Stop the status display update ticker.
source code/bridge/bridgeMain.ts:437
↓ 3 callersFunctionstopWriteInterval
* Stop the periodic write timer.
source code/utils/telemetry/perfettoTracing.ts:953
↓ 3 callersFunctionstripCommentLines
* Strips full-line comments from a command. * This handles cases where Claude adds comments in bash commands, e.g.: * "# Check the logs directory\
source code/tools/BashTool/bashPermissions.ts:510
↓ 3 callersFunctionstripDisplayTagsAllowEmpty
(text: string)
source code/utils/displayTags.ts:39
↓ 3 callersFunctionstripModulePrefix
(name: string)
source code/utils/powershell/parser.ts:816
↓ 3 callersFunctionstripModulePrefixForRule
(name: string)
source code/tools/PowerShellTool/powershellPermissions.ts:191
↓ 3 callersFunctionstripSystemReminders
(text: string)
source code/components/messageActions.tsx:401
↓ 3 callersFunctionstripUnderlineAnsi
(content: string)
source code/components/shell/OutputLine.tsx:115
↓ 3 callersFunctionsubstituteArguments
( content: string, args: string | undefined, appendIfNoPlaceholder = true, argumentNames: string[] = [
source code/utils/argumentSubstitution.ts:96
↓ 3 callersFunctionsubstituteUserConfigVariables
( value: string, userConfig: PluginOptionValues, )
source code/utils/plugins/pluginOptionsStorage.ts:358
↓ 3 callersFunctionsummarizeRecentActivities
( activities: readonly { activityDescription?: string isSearch?: boolean isRead?: boolean }[],
source code/utils/collapseReadSearch.ts:1076
↓ 3 callersFunctionsupportsExtendedKeys
()
source code/ink/terminal.ts:169
↓ 3 callersFunctiontelemetryTimeout
(ms: number, message: string)
source code/utils/telemetry/instrumentation.ts:77
↓ 3 callersFunctionthemeColorToAnsi
(themeColor: string)
source code/utils/theme.ts:628
↓ 3 callersMethodtoArray
* Get all items currently in the buffer, in order from oldest to newest.
source code/utils/CircularBuffer.ts:57
↓ 3 callersFunctiontoGB
(bytes: number)
source code/utils/heapDumpService.ts:234
↓ 3 callersFunctiontoSDKCompactMetadata
( meta: CompactMetadata, )
source code/utils/messages/mappers.ts:80
↓ 3 callersFunctiontoScopedConfig
* Converts a process transport config to a scoped config. * The types are structurally compatible, so we just add the scope.
source code/cli/print.ts:5318
↓ 3 callersFunctiontoolCallOf
(msg: NavigableMessage)
source code/components/messageActions.tsx:124
↓ 3 callersFunctiontoolMatchesRule
* Check if the entire tool matches a rule * For example, this matches "Bash" but not "Bash(prefix:*)" for BashTool * This also matches MCP tools wit
source code/utils/permissions/permissions.ts:240
↓ 3 callersMethodtrackResolvedToolUseId
* Records a tool_use ID as resolved so that late/duplicate control_response * messages for the same tool are ignored by the orphan handler.
source code/cli/structuredIO.ts:178
↓ 3 callersFunctiontrailingEdge
(dir: FlexDirection)
source code/native-ts/yoga-layout/index.ts:335
↓ 3 callersMethodtransition
* Returns the pre-serialized ANSI string to transition from one style to * another. Cached by (fromId, toId) — zero allocations after first call
source code/ink/screen.ts:155
↓ 3 callersFunctiontransitionPlanAutoMode
( context: ToolPermissionContext, )
source code/utils/permissions/permissionSetup.ts:1504
↓ 3 callersFunctiontruncatePath
(path: string, maxLength: number)
source code/utils/logoV2Utils.ts:110
↓ 3 callersFunctiontruncateStartToWidth
(text: string, maxWidth: number)
source code/utils/truncate.ts:84
↓ 3 callersFunctiontryCreateExclusive
* Attempt to create the lock file atomically with O_EXCL. * Returns true on success, false if the file already exists. * Throws for other errors.
source code/utils/computerUse/computerUseLock.ts:81
↓ 3 callersFunctiontryParseRedirect
* Parse a redirect operator + destination(s). * @param greedy When true, file_redirect consumes repeat1($._literal) per * grammar's prec.left — `c
source code/utils/bash/bashParser.ts:1625
↓ 3 callersFunctiontxtRequire
(mod: string | { default: string })
source code/utils/permissions/yoloClassifier.ts:52
↓ 3 callersFunctionunregisterSessionActivityCallback
()
source code/utils/sessionActivity.ts:70
↓ 3 callersFunctionupdateBridgeSessionTitle
( sessionId: string, title: string, opts?: { baseUrl?: string; getAccessToken?: () => string | undefined
source code/bridge/createSession.ts:329
↓ 3 callersFunctionupdateGroveSettings
( groveEnabled: boolean, )
source code/services/api/grove.ts:122
↓ 3 callersFunctionupdateHooksConfigSnapshot
()
source code/utils/hooks/hooksConfigSnapshot.ts:106
↓ 3 callersMethodupdateInterruptibleState
()
source code/services/tools/StreamingToolExecutor.ts:256
↓ 3 callersFunctionupdateInterval
()
source code/ink/components/ClockContext.tsx:26
↓ 3 callersFunctionupdateLastInteractionTime
(immediate?: boolean)
source code/bootstrap/state.ts:669
↓ 3 callersFunctionupdateMarketplaceStatus
* Update marketplace installation status in app state
source code/services/plugins/PluginInstallationManager.ts:32
↓ 3 callersFunctionupdatePluginOp
( plugin: string, scope: PluginScope, )
source code/services/plugins/pluginOperations.ts:831
↓ 3 callersFunctionupdateSessionIngressAuthToken
(token: string)
source code/utils/sessionIngressAuth.ts:140
↓ 3 callersFunctionuseAppStateMaybeOutsideOfProvider
(selector)
source code/state/AppState.tsx:188
↓ 3 callersFunctionuseAppStore
()
source code/state/AppState.tsx:119
↓ 3 callersFunctionuseDebouncedDigitInput
({ inputValue, setInputValue, isValidDigit, onDigit, enabled = true, once = false, debounceMs =
source code/components/FeedbackSurvey/useDebouncedDigitInput.ts:20
↓ 3 callersFunctionuseDeclaredCursor
({ line, column, active, }: { line: number column: number active: boolean })
source code/ink/hooks/use-declared-cursor.ts:27
↓ 3 callersFunctionuseDynamicConfig
(configName: string, defaultValue: T)
source code/hooks/useDynamicConfig.ts:10
↓ 3 callersFunctionuseIdeConnectionStatus
( mcpClients?: MCPServerConnection[], )
source code/hooks/useIdeConnectionStatus.ts:13
↓ 3 callersFunctionuseMcpReconnect
()
source code/services/mcp/MCPConnectionManager.tsx:19
↓ 3 callersFunctionuseNotifyAfterTimeout
( message: string, notificationType: string, )
source code/hooks/useNotifyAfterTimeout.ts:40
↓ 3 callersFunctionusePagination
({ totalItems, maxVisible = DEFAULT_MAX_VISIBLE, selectedIndex = 0, }: UsePaginationOptions)
source code/commands/plugin/usePagination.ts:50
↓ 3 callersFunctionuseSettingsChange
( onChange: (source: SettingSource, settings: SettingsJson) => void, )
source code/hooks/useSettingsChange.ts:9
↓ 3 callersFunctionuseSmoothCount
(target: number, time: number, snap: boolean)
source code/components/tasks/RemoteSessionProgress.tsx:78
↓ 3 callersFunctionuseStdin
()
source code/ink/hooks/use-stdin.ts:9
↓ 3 callersFunctionuseSurveyState
({ hideThanksAfterMs, onOpen, onSelect, shouldShowTranscriptPrompt, onTranscriptPromptShown, onTra
source code/components/FeedbackSurvey/useSurveyState.tsx:16
↓ 3 callersFunctionuseTasksV2
()
source code/hooks/useTasksV2.ts:220
↓ 3 callersFunctionuseTerminalViewport
()
source code/ink/hooks/use-terminal-viewport.ts:31
↓ 3 callersFunctionuseVoiceStore
()
source code/context/voice.tsx:45
↓ 3 callersFunctionvalidateDirectoryForWorkspace
( directoryPath: string, permissionContext: ToolPermissionContext, )
source code/commands/add-dir/validation.ts:33
↓ 3 callersFunctionvalidateManifest
( manifestJson: unknown, )
source code/utils/dxt/helpers.ts:15
↓ 3 callersFunctionvalidateMarketplaceManifest
( filePath: string, )
source code/utils/plugins/validatePlugin.ts:312
↓ 3 callersFunctionvalidateModel
( model: string, )
source code/utils/model/validateModel.ts:22
↓ 3 callersFunctionvalidateMultiSelect
(fieldName: string, schema_0: PrimitiveSchemaDefinition)
source code/components/mcp/ElicitationDialog.tsx:276
↓ 3 callersFunctionvalidatePathWithinBase
( basePath: string, relativePath: string, )
source code/utils/plugins/pluginInstallationHelpers.ts:89
↓ 3 callersFunctionvalidatePluginManifest
( filePath: string, )
source code/utils/plugins/validatePlugin.ts:131
↓ 3 callersMethodwaitUntilExit
()
source code/ink/ink.tsx:1536
↓ 3 callersFunctionwalkPluginMarkdown
( rootDir: string, onFile: (fullPath: string, namespace: string[]) => Promise<void>, opts: { stopAtSkill
source code/utils/plugins/walkPluginMarkdown.ts:23
↓ 3 callersFunctionwalkVariableAssignment
( node: Node, innerCommands: SimpleCommand[], varScope: Map<string, string>, )
source code/utils/bash/ast.ts:1779
↓ 3 callersMethodwatchPath
(path: string, callback: () => void)
source code/utils/git/gitFilesystem.ts:384
↓ 3 callersFunctionwithMemoryCorrectionHint
(message: string)
source code/utils/messages.ts:187
↓ 3 callersFunctionwithRetry
( getClient: () => Promise<Anthropic>, operation: ( client: Anthropic, attempt: number, contex
source code/services/api/withRetry.ts:172
↓ 3 callersFunctionwithVCR
( messages: Message[], f: () => Promise<(AssistantMessage | StreamEvent | SystemAPIErrorMessage)[]>, )
source code/services/vcr.ts:90
↓ 3 callersFunctionwithoutTerminal
(allowed: readonly string[])
source code/utils/computerUse/executor.ts:285
↓ 3 callersFunctionworktreesDir
(repoRoot: string)
source code/utils/worktree.ts:206
↓ 3 callersFunctionwouldLoseAuthState
* Detect whether writing `fresh` would lose auth/onboarding state that the * in-memory cache still has. This happens when `getConfig` hits a corrupte
source code/utils/config.ts:785
↓ 3 callersFunctionwrapChannelMessage
( serverName: string, content: string, meta?: Record<string, string>, )
source code/services/mcp/channelNotification.ts:108
↓ 3 callersFunctionwrapFetchWithTimeout
(baseFetch: FetchLike)
source code/services/mcp/client.ts:494
↓ 3 callersFunctionwrapText
( text: string, maxWidth: number, wrapType: Styles['textWrap'], )
source code/ink/wrap-text.ts:42
↓ 3 callersFunctionwriteCronTasks
( tasks: CronTask[], dir?: string, )
source code/utils/cronTasks.ts:167
← previousnext →2,401–2,500 of 11,462, ranked by callers