MCPcopy Create free account

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

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

↓ 9 callersFunctiongetAgentMemoryDir
( agentType: string, scope: AgentMemoryScope, )
source code/tools/AgentTool/agentMemory.ts:54
↓ 9 callersFunctiongetCacheControl
({ scope, querySource, }: { scope?: CacheScope querySource?: QuerySource } = {})
source code/services/api/claude.ts:360
↓ 9 callersFunctiongetCommonDir
(gitDir: string)
source code/utils/git/gitFilesystem.ts:275
↓ 9 callersFunctiongetDefaultBranch
()
source code/utils/git.ts:267
↓ 9 callersFunctiongetDefaultSonnetModel
()
source code/utils/model/model.ts:121
↓ 9 callersFunctiongetFileModificationTime
(filePath: string)
source code/utils/file.ts:68
↓ 9 callersFunctiongetHeaders
(accessToken: string)
source code/bridge/bridgeApi.ts:78
↓ 9 callersFunctiongetIsInteractive
()
source code/bootstrap/state.ts:1063
↓ 9 callersFunctiongetMacOsKeychainStorageServiceName
( serviceSuffix: string = '', )
source code/utils/secureStorage/macOsKeychainHelpers.ts:31
↓ 9 callersFunctiongetManagedPluginNames
()
source code/utils/plugins/managedPlugins.ts:11
↓ 9 callersFunctiongetMcpConfigByName
(name: string)
source code/services/mcp/config.ts:1035
↓ 9 callersFunctiongetPluginGitTimeoutMs
()
source code/utils/plugins/marketplaceManager.ts:519
↓ 9 callersFunctiongetProxyUrl
(env: EnvLike = process.env)
source code/utils/proxy.ts:66
↓ 9 callersFunctiongetTask
( taskListId: string, taskId: string, )
source code/utils/tasks.ts:312
↓ 9 callersFunctiongetTaskListId
()
source code/utils/tasks.ts:201
↓ 9 callersFunctiongetTokenUsage
(message: Message)
source code/utils/tokens.ts:9
↓ 9 callersFunctiongetTotalAPIDuration
()
source code/bootstrap/state.ts:572
↓ 9 callersFunctiongetTotalInputTokens
()
source code/bootstrap/state.ts:706
↓ 9 callersFunctiongetValueFromInput
(input: string)
source code/components/PromptInput/inputModes.ts:25
↓ 9 callersFunctiongetWebSocketTLSOptions
()
source code/utils/mtls.ts:102
↓ 9 callersFunctiongt
(a: string, b: string)
source code/utils/semver.ts:21
↓ 9 callersFunctionhandleErrorStatus
( status: number, data: unknown, context: string, )
source code/bridge/bridgeApi.ts:456
↓ 9 callersFunctionhasProfileScope
()
source code/utils/auth.ts:1582
↓ 9 callersFunctionhold
Hold a pose for n frames (60ms each).
source code/components/LogoV2/AnimatedClawd.tsx:15
↓ 9 callersMethodinitialize
(sandboxAskCallback?: SandboxAskCallback)
source code/utils/sandbox/sandbox-adapter.ts:883
↓ 9 callersMethodinsert
(insertString: string)
source code/utils/Cursor.ts:863
↓ 9 callersMethodisAutoAllowBashIfSandboxedEnabled
()
source code/utils/sandbox/sandbox-adapter.ts:890
↓ 9 callersFunctionisAutoCompactEnabled
()
source code/services/compact/autoCompact.ts:149
↓ 9 callersFunctionisAutoModeGateEnabled
()
source code/utils/permissions/permissionSetup.ts:1285
↓ 9 callersFunctionisBackgroundTask
(task: TaskState)
source code/tasks/types.ts:39
↓ 9 callersFunctionisCoordinatorMode
()
source code/coordinator/coordinatorMode.ts:38
↓ 9 callersFunctionisEnumSchema
( schema: PrimitiveSchemaDefinition, )
source code/utils/mcp/elicitationValidation.ts:45
↓ 9 callersFunctionisGrowthBookEnabled
* Check if GrowthBook operations should be enabled
source code/services/analytics/growthbook.ts:424
↓ 9 callersFunctionisInProcessTeammate
()
source code/utils/teammateContext.ts:72
↓ 9 callersFunctionisPolicyLimitsEligible
()
source code/services/policyLimits/index.ts:169
↓ 9 callersFunctionisRemoteManagedSettingsEligible
()
source code/services/remoteManagedSettings/syncCache.ts:51
↓ 9 callersFunctionisRunningOnHomespace
()
source code/utils/envUtils.ts:120
↓ 9 callersFunctionisSyncHookJSONOutput
( json: HookJSONOutput, )
source code/types/hooks.ts:184
↓ 9 callersFunctionjumpBy
(s: ScrollBoxHandle, delta: number)
source code/components/ScrollKeybindingHandler.tsx:836
↓ 9 callersFunctionmaybeRedirect
( P: ParseState, node: TsNode, allowHerestring = false, )
source code/utils/bash/bashParser.ts:1408
↓ 9 callersFunctionmaybeResizeAndDownsampleImageBuffer
( imageBuffer: Buffer, originalSize: number, ext: string, )
source code/utils/imageResizer.ts:171
↓ 9 callersFunctionmcpInfoFromString
(toolString: string)
source code/services/mcp/mcpStringUtils.ts:21
↓ 9 callersFunctionmcpToolDetailsForAnalytics
( toolName: string, mcpServerType: string | undefined, mcpServerBaseUrl: string | undefined, )
source code/services/analytics/metadata.ts:147
↓ 9 callersFunctiononChange
()
source code/ink/hooks/use-interval.ts:24
↓ 9 callersFunctionparseDollarLike
(P: ParseState)
source code/utils/bash/bashParser.ts:2431
↓ 9 callersFunctionparseDoubleQuoted
(P: ParseState)
source code/utils/bash/bashParser.ts:2341
↓ 9 callersFunctionquoteWithEvalStdinRedirect
* Quotes a command and adds `< /dev/null` as a shell redirect on eval, rather than * as an eval argument. This is critical for pipe commands where we
source code/utils/bash/bashPipeCommand.ts:264
↓ 9 callersFunctionrejectOnce
(error: Error)
source code/services/mcp/auth.ts:1038
↓ 9 callersFunctionremoveRemoteAgentMetadata
* Remove a remote-agent metadata entry from the session sidecar. * Called on task completion/kill so restored sessions don't resurrect * tasks that
source code/tasks/RemoteAgentTask/RemoteAgentTask.tsx:107
↓ 9 callersMethodreset
()
source code/utils/sandbox/sandbox-adapter.ts:923
↓ 9 callersMethodrespondToPermissionRequest
* Respond to a permission request from CCR
source code/remote/RemoteSessionManager.ts:249
↓ 9 callersFunctionrunAgent
({ agentDefinition, promptMessages, toolUseContext, canUseTool, isAsync, canShowPermissionPrompts,
source code/tools/AgentTool/runAgent.ts:250
↓ 9 callersFunctionrunForkedAgent
({ promptMessages, cacheSafeParams, canUseTool, querySource, forkLabel, overrides, maxOutputToke
source code/utils/forkedAgent.ts:491
↓ 9 callersFunctionsaveKnownMarketplacesConfig
( config: KnownMarketplacesConfig, )
source code/utils/plugins/marketplaceManager.ts:329
↓ 9 callersMethodsend
(message: JSONRPCMessage)
source code/services/mcp/InProcessTransport.ts:28
↓ 9 callersMethodsendRequest
( request: SDKControlRequest['request'], schema: z.Schema, signal?: AbortSignal, requestId: st
source code/cli/structuredIO.ts:471
↓ 9 callersFunctionsideQuery
(opts: SideQueryOptions)
source code/utils/sideQuery.ts:109
↓ 9 callersFunctionskipNewlines
(P: ParseState)
source code/utils/bash/bashParser.ts:923
↓ 9 callersFunctionswitchSession
( sessionId: SessionId, projectDir: string | null = null, )
source code/bootstrap/state.ts:470
↓ 9 callersFunctiontoComparable
(p: string)
source code/utils/memoryFileDetection.ts:33
↓ 9 callersFunctiontoDateString
(date: Date)
source code/utils/statsCache.ts:405
↓ 9 callersFunctiontoInkColor
(color: string | undefined)
source code/utils/ink.ts:17
↓ 9 callersFunctiontranslateSelectionForJump
(s: ScrollBoxHandle, delta: number)
source code/components/ScrollKeybindingHandler.tsx:415
↓ 9 callersFunctiontryRmdir
(dirPath: string, fsImpl: FsOperations)
source code/utils/cleanup.ts:149
↓ 9 callersFunctionupdateState
(newState: VoiceState)
source code/hooks/useVoice.ts:277
↓ 9 callersFunctionuseMainLoopModel
()
source code/hooks/useMainLoopModel.ts:15
↓ 9 callersFunctionuseVoiceState
(selector)
source code/context/voice.tsx:57
↓ 9 callersFunctionwalkArgument
* Convert an argument node to its literal string value. Quotes are resolved. * This function implements the argument-position allowlist.
source code/utils/bash/ast.ts:1401
↓ 9 callersMethodwriteBatch
(messages: StdoutMessage[])
source code/cli/transports/HybridTransport.ts:137
↓ 8 callersFunctionaddToken
(result: string, token: string, noSpace = false)
source code/utils/bash/commands.ts:1192
↓ 8 callersFunctionallWorkingDirectories
( context: ToolPermissionContext, )
source code/utils/permissions/filesystem.ts:669
↓ 8 callersMethodappendEntry
(entry: Entry, sessionId: UUID = getSessionId() as UUID)
source code/utils/sessionStorage.ts:1130
↓ 8 callersFunctionapplyPermissionUpdates
( context: ToolPermissionContext, updates: PermissionUpdate[], )
source code/utils/permissions/PermissionUpdate.ts:198
↓ 8 callersFunctionblockedConstraintMatches
* Check if a blocked ref/path constraint matches a source. * If the blocklist entry has no ref/path, it matches ALL refs/paths (wildcard). * If the
source code/utils/plugins/marketplaceHelpers.ts:373
↓ 8 callersFunctionbucket
(min: number, max?: number)
source code/components/Stats.tsx:398
↓ 8 callersFunctionbuildPendingClassifierCheck
* Builds the pending classifier check metadata if classifier is enabled and has allow descriptions. * Returns undefined if classifier is disabled, in
source code/tools/BashTool/bashPermissions.ts:1461
↓ 8 callersFunctioncellAtCI
* Write cell data into an existing Cell object to avoid allocation. * Caller must ensure index is valid.
source code/ink/screen.ts:658
↓ 8 callersFunctionclassifyFetchError
(error: unknown)
source code/utils/plugins/fetchTelemetry.ts:110
↓ 8 callersFunctioncreateAssistantMessage
({ content, usage, isVirtual, }: { content: string | BetaContentBlock[] usage?: Usage isVirtual?:
source code/utils/messages.ts:413
↓ 8 callersFunctioncwd
()
source code/utils/fsOperations.ts:387
↓ 8 callersFunctionemitTaskTerminatedSdk
( taskId: string, status: 'completed' | 'failed' | 'stopped', opts?: { toolUseId?: string summar
source code/utils/sdkEventQueue.ts:116
↓ 8 callersFunctionenterTeammateView
( taskId: string, setAppState: (updater: (prev: AppState) => AppState) => void, )
source code/state/teammateViewHelpers.ts:48
↓ 8 callersFunctionexecSyncWithDefaults_DEPRECATED
( command: string, optionsOrAbortSignal?: ExecSyncOptions | AbortSignal, timeout = 10 * SECONDS_IN_MINUT
source code/utils/execFileNoThrowPortable.ts:43
↓ 8 callersFunctionformatAgentId
(agentName: string, teamName: string)
source code/utils/agentId.ts:40
↓ 8 callersFunctionformatNum
(n: number)
source code/utils/mcp/elicitationValidation.ts:189
↓ 8 callersFunctiongetAdditionalDirectoriesForClaudeMd
()
source code/bootstrap/state.ts:1668
↓ 8 callersFunctiongetAnthropicClient
({ apiKey, maxRetries, model, fetchOverride, source, }: { apiKey?: string maxRetries: number m
source code/services/api/client.ts:90
↓ 8 callersFunctiongetAttributionRepoRoot
()
source code/utils/commitAttribution.ts:85
↓ 8 callersFunctiongetAuthTokenSource
()
source code/utils/auth.ts:155
↓ 8 callersFunctiongetConfiguredApiKeyHelper
()
source code/utils/auth.ts:357
↓ 8 callersFunctiongetConnectedIdeClient
( mcpClients?: MCPServerConnection[], )
source code/utils/ide.ts:1253
↓ 8 callersFunctiongetCutoffDate
()
source code/utils/cleanup.ts:27
↓ 8 callersFunctiongetDynamicConfig_CACHED_MAY_BE_STALE
( configName: string, defaultValue: T, )
source code/services/analytics/growthbook.ts:1152
↓ 8 callersFunctiongetEffectiveContextWindowSize
(model: string)
source code/services/compact/autoCompact.ts:35
↓ 8 callersFunctiongetFastModeState
( model: ModelSetting, fastModeUserEnabled: boolean | undefined, )
source code/utils/fastMode.ts:321
↓ 8 callersFunctiongetHooksConfigFromSnapshot
()
source code/utils/hooks/hooksConfigSnapshot.ts:121
↓ 8 callersMethodgetLastSequenceNum
* High-water mark of sequence numbers seen on this stream. Callers that * recreate the transport (e.g. replBridge onWorkReceived) read this before
source code/cli/transports/SSETransport.ts:229
↓ 8 callersFunctiongetModelUsage
()
source code/bootstrap/state.ts:828
↓ 8 callersMethodgetOffset
(position: Position)
source code/utils/Cursor.ts:1052
↓ 8 callersFunctiongetPatchForDisplay
({ filePath, fileContents, edits, ignoreWhitespace = false, }: { filePath: string fileContents: st
source code/utils/diff.ts:130
← previousnext →501–600 of 11,462, ranked by callers