MCPcopy Create free account

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

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

↓ 2 callersFunctionsettingSourceToConfigChangeSource
( source: SettingSource, )
source code/utils/settings/changeDetector.ts:254
↓ 2 callersFunctionsetupClaudeInChrome
()
source code/utils/claudeInChrome/setup.ts:93
↓ 2 callersFunctionsetupSessionMemoryFile
( toolUseContext: ToolUseContext, )
source code/services/SessionMemory/sessionMemory.ts:185
↓ 2 callersFunctionsetupTerminal
(theme: ThemeName)
source code/commands/terminalSetup/terminalSetup.tsx:81
↓ 2 callersFunctionseverityToNumber
* Maps severity string to numeric value for sorting. * Error=1, Warning=2, Info=3, Hint=4
source code/services/lsp/LSPDiagnosticRegistry.ts:93
↓ 2 callersFunctionshallowEqual
( a: T | undefined, b: T | undefined, )
source code/ink/dom.ts:297
↓ 2 callersFunctionshiftAnchor
( s: SelectionState, dRow: number, minRow: number, maxRow: number, )
source code/ink/selection.ts:575
↓ 2 callersFunctionshiftRows
( screen: Screen, top: number, bottom: number, n: number, )
source code/ink/screen.ts:1059
↓ 2 callersFunctionshouldCheckForPasses
* Prechecks for if user can access guest passes feature
source code/services/api/referral.ts:73
↓ 2 callersFunctionshouldDisableBypassPermissions
()
source code/utils/permissions/permissionSetup.ts:1267
↓ 2 callersFunctionshouldEnableClaudeInChrome
(chromeFlag?: boolean)
source code/utils/claudeInChrome/setup.ts:41
↓ 2 callersFunctionshouldEnablePromptSuggestion
()
source code/services/PromptSuggestion/promptSuggestion.ts:39
↓ 2 callersFunctionshouldFilterSuggestion
( suggestion: string | null, promptId: PromptVariant, source?: 'cli' | 'sdk', )
source code/services/PromptSuggestion/promptSuggestion.ts:356
↓ 2 callersFunctionshouldIncludeGitInstructions
()
source code/utils/gitSettings.ts:15
↓ 2 callersFunctionshouldInjectAgentListInMessages
()
source code/tools/AgentTool/prompt.ts:61
↓ 2 callersFunctionshouldKillTask
(task: AppState['tasks'][string])
source code/commands/clear/conversation.ts:97
↓ 2 callersFunctionshouldPlanUseAutoMode
()
source code/utils/permissions/permissionSetup.ts:1448
↓ 2 callersFunctionshouldShowDevBar
()
source code/components/DevBar.tsx:10
↓ 2 callersFunctionshouldShowOverageCreditUpsell
()
source code/components/LogoV2/OverageCreditUpsell.tsx:34
↓ 2 callersFunctionshouldSkip
(id: string)
source code/utils/toolResultStorage.ts:782
↓ 2 callersMethodshouldSkipPersistence
* True when test env / cleanupPeriodDays=0 / --no-session-persistence / * CLAUDE_CODE_SKIP_PROMPT_HISTORY should suppress all transcript writes.
source code/utils/sessionStorage.ts:962
↓ 2 callersFunctionshowTeammate
* Show a previously hidden teammate pane using the backend abstraction. * Only available for ant users (gated for dead code elimination in external b
source code/components/teams/TeamsDialog.tsx:641
↓ 2 callersFunctionshutdown
()
source code/main.tsx:4028
↓ 2 callersFunctionshutdownAndExit
()
source code/utils/computerUse/mcpServer.ts:95
↓ 2 callersFunctionshutdownAndExit
()
source code/utils/claudeInChrome/mcpServer.ts:261
↓ 2 callersFunctionsingleQuoteForEval
* Single-quote a string for use as an eval argument. Escapes embedded single * quotes via '"'"' (close-sq, literal-sq-in-dq, reopen-sq). Used instead
source code/utils/bash/bashPipeCommand.ts:275
↓ 2 callersFunctionsmooshSystemReminderSiblings
* Final pass: smoosh any `<system-reminder>`-prefixed text siblings into the * last tool_result of the same user message. Catches siblings from: * -
source code/utils/messages.ts:1837
↓ 2 callersFunctionsortKeys
(o: T | undefined)
source code/utils/plugins/loadPluginHooks.ts:241
↓ 2 callersFunctionsp
(p: Point)
source code/ink/selection.ts:555
↓ 2 callersMethodspawn
* Spawns an in-process teammate. * * Uses spawnInProcessTeammate() to: * 1. Create TeammateContext via createTeammateContext() * 2. Create
source code/utils/swarm/backends/InProcessBackend.ts:74
↓ 2 callersFunctionspawnBackgroundTask
()
source code/tools/PowerShellTool/PowerShellTool.tsx:768
↓ 2 callersFunctionspawnBackgroundTask
()
source code/tools/BashTool/BashTool.tsx:906
↓ 2 callersFunctionspawnCaffeinate
()
source code/services/preventSleep.ts:103
↓ 2 callersFunctionspawnDetached
* Spawn a terminal detached so the handler process can exit without * waiting for the terminal to close. Resolves false on spawn failure * (ENOENT,
source code/utils/deepLink/terminalLauncher.ts:478
↓ 2 callersFunctionspawnInProcessTeammate
( config: InProcessSpawnConfig, context: SpawnContext, )
source code/utils/swarm/spawnInProcess.ts:106
↓ 2 callersFunctionspawnScriptArgs
* Returns the args that must precede CLI flags when spawning a child claude * process. In compiled binaries, process.execPath is the claude binary it
source code/bridge/bridgeMain.ts:121
↓ 2 callersFunctionspawnSecurity
(serviceName: string)
source code/utils/secureStorage/keychainPrefetch.ts:47
↓ 2 callersFunctionspawnShellTask
(input: LocalShellSpawnInput & { shellCommand: ShellCommand; }, context: TaskContext)
source code/tasks/LocalShellTask/LocalShellTask.tsx:182
↓ 2 callersFunctionsplitIdentifier
(name: string)
source code/services/voiceKeyterms.ts:42
↓ 2 callersFunctionsplitNumericParams
(params: string)
source code/ink/parse-keypress.ts:179
↓ 2 callersFunctionsplitPathInFrontmatter
(input: string | string[])
source code/utils/frontmatterParser.ts:191
↓ 2 callersFunctionsplitSysPromptPrefix
( systemPrompt: SystemPrompt, options?: { skipGlobalCacheForSystemPrompt?: boolean }, )
source code/utils/api.ts:323
↓ 2 callersFunctionspriteColWidth
(nameWidth: number)
source code/buddy/CompanionSprite.tsx:160
↓ 2 callersFunctionssrfError
(hostname: string, address: string)
source code/utils/hooks/ssrfGuard.ts:287
↓ 2 callersMethodstartAuthentication
()
source code/utils/awsAuthStatusManager.ts:42
↓ 2 callersFunctionstartBackgrounding
(eventName: string, backgroundFn?: (shellId: string) => void)
source code/tools/BashTool/BashTool.tsx:926
↓ 2 callersFunctionstartDeferredPrefetches
()
source code/main.tsx:390
↓ 2 callersFunctionstartFileWatcher
* Start watching the team memory directory for changes. * * Uses `fs.watch({recursive: true})` on the directory (not chokidar). * chokidar 4+ dropp
source code/services/teamMemorySync/watcher.ts:169
↓ 2 callersFunctionstartHeartbeatTimer
()
source code/utils/sessionActivity.ts:32
↓ 2 callersFunctionstartHookProgressInterval
(params: { hookId: string hookName: string hookEvent: string getOutput: () => Promise<{ stdout: string
source code/utils/hooks/hookEvents.ts:126
↓ 2 callersFunctionstartInProcessTeammate
(config: InProcessRunnerConfig)
source code/utils/swarm/inProcessRunner.ts:1546
↓ 2 callersFunctionstartOfDay
(d: Date)
source code/utils/formatBriefTimestamp.ts:81
↓ 2 callersMethodstartOfFirstLine
()
source code/utils/Cursor.ts:1006
↓ 2 callersMethodstartPingInterval
()
source code/remote/SessionsWebSocket.ts:303
↓ 2 callersMethodstartPolling
* Begin polling the output file for progress. Called from React * useEffect when the progress component mounts.
source code/utils/task/TaskOutput.ts:83
↓ 2 callersFunctionstartRemoteSessionPolling
* Start polling for remote session updates. * Returns a cleanup function to stop polling.
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:540
↓ 2 callersFunctionstartSelection
( s: SelectionState, col: number, row: number, )
source code/ink/selection.ts:81
↓ 2 callersFunctionstartSessionActivity
(reason: SessionActivityReason)
source code/utils/sessionActivity.ts:94
↓ 2 callersFunctionstartSpeculation
( suggestionText: string, context: REPLHookContext, setAppState: (f: (prev: AppState) => AppState) => vo
source code/services/PromptSuggestion/speculation.ts:404
↓ 2 callersFunctionstartWatching
(paths: string[])
source code/utils/hooks/fileChangedWatcher.ts:69
↓ 2 callersFunctionstatusLineShouldDisplay
(settings: ReadonlySettings)
source code/components/StatusLine.tsx:32
↓ 2 callersFunctionstdErrAppendShellResetMessage
(stderr: string)
source code/tools/BashTool/utils.ts:169
↓ 2 callersFunctionstep
(delta: 1 | -1)
source code/components/VirtualMessageList.tsx:652
↓ 2 callersFunctionstep
(delta: 1 | -1)
source code/components/design-system/FuzzyPicker.tsx:107
↓ 2 callersFunctionstopBackgroundPolling
()
source code/services/remoteManagedSettings/index.ts:635
↓ 2 callersMethodstopHeartbeat
Stop heartbeat timer.
source code/cli/transports/ccrClient.ts:700
↓ 2 callersFunctionstopPeriodicGrowthBookRefresh
()
source code/services/analytics/growthbook.ts:1117
↓ 2 callersFunctionstopRestartInterval
()
source code/services/preventSleep.ts:96
↓ 2 callersFunctionstopSessionActivity
(reason: SessionActivityReason)
source code/utils/sessionActivity.ts:123
↓ 2 callersFunctionstopTask
( taskId: string, context: StopTaskContext, )
source code/tasks/stopTask.ts:40
↓ 2 callersFunctionstopUltraplan
(taskId: string, sessionId: string, setAppState: (f: (prev: AppState) => AppState) => void)
source code/commands/ultraplan.tsx:205
↓ 2 callersMethodstopWatching
()
source code/utils/git/gitFilesystem.ts:448
↓ 2 callersFunctionstrStartsWith
(str: string, prefix: string)
source code/tools/PowerShellTool/powershellPermissions.ts:183
↓ 2 callersFunctionstreamCompactSummary
({ messages, summaryRequest, appState, context, preCompactTokenCount, cacheSafeParams, }: { mess
source code/services/compact/compact.ts:1138
↓ 2 callersMethodstringIndexToDisplayWidth
(text: string, index: number)
source code/utils/Cursor.ts:1235
↓ 2 callersFunctionstringToNumericHash
* Convert a string to a numeric hash for use as thread ID
source code/utils/telemetry/perfettoTracing.ts:130
↓ 2 callersFunctionstripAllLeadingEnvVars
( command: string, blocklist?: RegExp, )
source code/tools/BashTool/bashPermissions.ts:735
↓ 2 callersFunctionstripBackslashEscapes
* Remove shell escape backslashes from a path (for macOS/Linux/WSL) * On Windows systems, this function returns the path unchanged * @param path Pat
source code/utils/imagePaste.ts:295
↓ 2 callersFunctionstripCacheControl
( items: ReadonlyArray<Record<string, unknown>>, )
source code/services/api/promptCacheBreakDetection.ts:162
↓ 2 callersFunctionstripDisplayTags
(text: string)
source code/utils/displayTags.ts:28
↓ 2 callersFunctionstripEmptyLines
(content: string)
source code/tools/BashTool/utils.ts:24
↓ 2 callersFunctionstripHtmlCommentsFromTokens
(tokens: ReturnType<Lexer['lex']>)
source code/utils/claudemd.ts:305
↓ 2 callersFunctionstripPort
(host: string)
source code/utils/teleport.tsx:402
↓ 2 callersFunctionstripProtoFields
( metadata: Record<string, V>, )
source code/services/analytics/index.ts:47
↓ 2 callersFunctionstripRawString
(text: string)
source code/utils/bash/ast.ts:2031
↓ 2 callersFunctionstripSafeHeredocSubstitutions
(command: string)
source code/tools/BashTool/bashSecurity.ts:523
↓ 2 callersFunctionstripSafeRedirections
(content: string)
source code/tools/BashTool/bashSecurity.ts:178
↓ 2 callersFunctionstripThinking
* Strip thinking content so that <block>/<reason> tags inside * the model's chain-of-thought don't get matched by parsers.
source code/utils/permissions/yoloClassifier.ts:569
↓ 2 callersFunctionstripToolReferenceBlocksFromUserMessage
( message: UserMessage, )
source code/utils/messages.ts:1679
↓ 2 callersFunctionstripTrailingWhitespace
(str: string)
source code/tools/FileEditTool/utils.ts:46
↓ 2 callersFunctionstripWww
(hostname: string)
source code/tools/WebFetchTool/utils.ts:238
↓ 2 callersFunctionsubmitTranscriptShare
( messages: Message[], trigger: TranscriptShareTrigger, appearanceId: string, )
source code/components/FeedbackSurvey/submitTranscriptShare.ts:31
↓ 2 callersFunctionsubstituteUserConfigInContent
( content: string, options: PluginOptionValues, schema: PluginOptionSchema, )
source code/utils/plugins/pluginOptionsStorage.ts:387
↓ 2 callersFunctionsuggestionForPrefix
(prefix: string)
source code/tools/BashTool/bashPermissions.ts:341
↓ 2 callersFunctionsupportsPersistence
( destination: PermissionUpdateDestination, )
source code/utils/permissions/PermissionUpdate.ts:210
↓ 2 callersMethodsuspendStdin
()
source code/ink/ink.tsx:1368
↓ 2 callersFunctionsyncRemoteEvalToDisk
* Write the complete remoteEvalFeatureValues map to disk. Called exactly * once per successful processRemoteEvalPayload — never from a failure path,
source code/services/analytics/growthbook.ts:409
↓ 2 callersFunctiontagMessagesWithToolUseID
( messages: (UserMessage | AttachmentMessage | SystemMessage)[], toolUseID: string | undefined, )
source code/tools/utils.ts:14
↓ 2 callersFunctiontallyInto
(stdout: string)
source code/utils/exampleCommands.ts:107
↓ 2 callersFunctiontargetFor
(i: number)
source code/components/VirtualMessageList.tsx:474
← previousnext →4,001–4,100 of 11,462, ranked by callers