MCPcopy Create free account

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

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

↓ 13 callersFunctionensureArray
* Ensure a value is an array. PowerShell 5.1's ConvertTo-Json may unwrap * single-element arrays into plain objects.
source code/utils/powershell/parser.ts:705
↓ 13 callersFunctionexecuteHooks
* Common logic for executing hooks * @param hookInput The structured hook input that will be validated and converted to JSON * @param toolUseID The
source code/utils/hooks.ts:1954
↓ 13 callersFunctionfirstPartyNameToCanonical
(name: ModelName)
source code/utils/model/model.ts:219
↓ 13 callersMethodgetComputedWidth
()
source code/ink/layout/yoga.ts:118
↓ 13 callersFunctiongetKairosActive
()
source code/bootstrap/state.ts:1087
↓ 13 callersFunctiongetMessagesAfterCompactBoundary
(messages: T[], options?: { includeSnipped?: boolean })
source code/utils/messages.ts:4645
↓ 13 callersMethodgetPosition
()
source code/utils/Cursor.ts:1048
↓ 13 callersFunctiongetRemoteSessionUrl
( sessionId: string, ingressUrl?: string, )
source code/constants/product.ts:67
↓ 13 callersFunctiongetSmallFastModel
()
source code/utils/model/model.ts:38
↓ 13 callersFunctiongetTranscriptPathForSession
(sessionId: string)
source code/utils/sessionStorage.ts:209
↓ 13 callersFunctionhasCommand
(cmd: string)
source code/services/voice.ts:51
↓ 13 callersFunctionisAnyTracingEnabled
* Check if any tracing is enabled (either standard enhanced telemetry OR beta tracing)
source code/utils/telemetry/sessionTracing.ts:150
↓ 13 callersFunctionisInBundledMode
()
source code/utils/bundledMode.ts:18
↓ 13 callersFunctionisUndercover
()
source code/utils/undercover.ts:30
↓ 13 callersMethodleft
()
source code/utils/Cursor.ts:303
↓ 13 callersFunctionloadAllPlugins
()
source code/commands/plugin/DiscoverPlugins.tsx:126
↓ 13 callersFunctionloadInstalledPluginsFromDisk
()
source code/utils/plugins/installedPluginsManager.ts:504
↓ 13 callersFunctionlogDebug
(message: string)
source code/services/api/filesApi.ts:46
↓ 13 callersFunctionmarkDirty
(node?: DOMNode)
source code/ink/dom.ts:395
↓ 13 callersMethodmodifyText
(end: Cursor, insertString: string = '')
source code/utils/Cursor.ts:847
↓ 13 callersFunctionnormalizeLegacyToolName
(name: string)
source code/utils/permissions/permissionRuleParser.ts:33
↓ 13 callersFunctiononProgress
(lastLines, allLines, totalLines, totalBytes, isIncomplete)
source code/tools/BashTool/BashTool.tsx:885
↓ 13 callersFunctionreadFileSync
(fsPath, options)
source code/utils/fsOperations.ts:447
↓ 13 callersFunctionresolveGitDir
( startPath?: string, )
source code/utils/git/gitFilesystem.ts:42
↓ 13 callersFunctionresolveOnce
(allow: boolean)
source code/screens/REPL.tsx:2257
↓ 13 callersFunctionsemanticBoolean
( inner: T = z.boolean() as unknown as T, )
source code/utils/semanticBoolean.ts:24
↓ 13 callersFunctionshowSetupDialog
(root: Root, renderer: (done: (result: T) => void) => React.ReactNode, options?: { onChangeAppState?: typeof
source code/interactiveHelpers.tsx:88
↓ 13 callersFunctionuniq
(xs: Iterable<T>)
source code/utils/array.ts:13
↓ 13 callersFunctionuseRegisterOverlay
(id, t0)
source code/context/overlayContext.tsx:40
↓ 13 callersFunctionuseSettings
()
source code/hooks/useSettings.ts:17
↓ 13 callersFunctionuseWizard
()
source code/components/wizard/useWizard.ts:7
↓ 12 callersMethodactive
()
source code/bridge/flushGate.ts:22
↓ 12 callersFunctionasSessionId
(id: string)
source code/types/ids.ts:25
↓ 12 callersFunctioncleanup
()
source code/services/mcp/auth.ts:220
↓ 12 callersMethodclear
()
source code/bridge/bridgeMessaging.ts:458
↓ 12 callersFunctioncreateNavKey
(s: string, name: string, ctrl: boolean)
source code/ink/parse-keypress.ts:789
↓ 12 callersFunctionenableConfigs
()
source code/utils/config.ts:1336
↓ 12 callersFunctionexecuteHooksOutsideREPL
* Execute hooks outside of the REPL (e.g. notifications, session end) * * Unlike executeHooks() which yields messages that are exposed to the model
source code/utils/hooks.ts:3005
↓ 12 callersFunctionformatDuration
Format a millisecond duration as a human-readable string (e.g. "5m 30s").
source code/bridge/jwtUtils.ts:10
↓ 12 callersFunctionformatPathLink
* Format a file path as a clickable hyperlink. * * Paths containing spaces (e.g., "Application Support") are not clickable * in most terminals - th
source code/commands/terminalSetup/terminalSetup.tsx:67
↓ 12 callersMethodfromPartial
(object: I)
source code/types/generated/google/protobuf/timestamp.ts:188
↓ 12 callersFunctiongetAllowedChannels
()
source code/bootstrap/state.ts:1678
↓ 12 callersFunctiongetBranch
()
source code/utils/git.ts:263
↓ 12 callersFunctiongetCommands
(cwd: string)
source code/commands.ts:478
↓ 12 callersFunctiongetDefaultMainLoopModel
()
source code/utils/model/model.ts:208
↓ 12 callersFunctiongetDirectoryForPath
(path: string)
source code/utils/path.ts:111
↓ 12 callersFunctiongetEmptyToolPermissionContext
()
source code/Tool.ts:143
↓ 12 callersFunctiongetPlan
(agentId?: AgentId)
source code/utils/plans.ts:137
↓ 12 callersFunctiongetPlanFilePath
(agentId?: AgentId)
source code/utils/plans.ts:121
↓ 12 callersFunctiongetPluginErrorMessage
(error: PluginError)
source code/types/plugin.ts:297
↓ 12 callersFunctiongetSessionIngressAuthToken
()
source code/utils/sessionIngressAuth.ts:103
↓ 12 callersFunctiongetTeammateContext
()
source code/utils/teammateContext.ts:49
↓ 12 callersFunctiongetTimestamp
* Get timestamp in microseconds relative to trace start
source code/utils/telemetry/perfettoTracing.ts:174
↓ 12 callersFunctionisSet
(value: any)
source code/types/generated/events_mono/growthbook/v1/growthbook_experiment_event.ts:216
↓ 12 callersFunctionisSimpleTarget
(target: ParseEntry | undefined)
source code/utils/bash/commands.ts:800
↓ 12 callersFunctionisTodoV2Enabled
()
source code/utils/tasks.ts:135
↓ 12 callersFunctionlogAutoModeOutcome
* Telemetry helper for tengu_auto_mode_outcome. All string fields are * enum-like values (outcome, model name, classifier type, failure kind) — * ne
source code/utils/permissions/yoloClassifier.ts:1427
↓ 12 callersFunctionlogUnaryEvent
(event: LogEvent)
source code/utils/unaryLogging.ts:25
↓ 12 callersFunctionmemoizeWithLRU
( f: (...args: Args) => Result, cacheFn: (...args: Args) => string, maxCacheSize: number = 100, )
source code/utils/memoize.ts:236
↓ 12 callersFunctionnormalizeMessages
(messages: Message[])
source code/utils/messages.ts:743
↓ 12 callersFunctionpercentValue
(v: number)
source code/native-ts/yoga-layout/index.ts:95
↓ 12 callersMethodreject
(error: Error)
source code/services/oauth/auth-code-listener.ts:193
↓ 12 callersFunctionsafeCallProgress
* Safely invoke a progress callback, catching and logging any errors. * Prevents callback errors from aborting marketplace operations. * * @param o
source code/utils/plugins/marketplaceManager.ts:1009
↓ 12 callersFunctionsetMainLoopModelOverride
( model: ModelSetting | undefined, )
source code/bootstrap/state.ts:848
↓ 12 callersFunctionsystemPromptSection
( name: string, compute: ComputeFn, )
source code/constants/systemPromptSections.ts:22
↓ 12 callersFunctionupdateValidationError
(fieldName_1: string, error?: string)
source code/components/mcp/ElicitationDialog.tsx:347
↓ 11 callersFunctionboundAxis
( style: Style, isWidth: boolean, value: number, ownerWidth: number, ownerHeight: number, )
source code/native-ts/yoga-layout/index.ts:2354
↓ 11 callersFunctionclaim
()
source code/hooks/toolPermission/PermissionContext.ts:90
↓ 11 callersFunctionclearServerCache
( name: string, serverRef: ScopedMcpServerConfig, )
source code/services/mcp/client.ts:1650
↓ 11 callersFunctioncolorize
(text: string, colorKey?: keyof Theme)
source code/utils/treeify.ts:52
↓ 11 callersMethodconnect
()
source code/cli/transports/SSETransport.ts:233
↓ 11 callersFunctioncoworkOption
()
source code/main.tsx:4147
↓ 11 callersMethodcreate
(base?: I)
source code/types/generated/google/protobuf/timestamp.ts:187
↓ 11 callersFunctionescapeXml
(s: string)
source code/utils/xml.ts:8
↓ 11 callersFunctionexitTeammateView
( setAppState: (updater: (prev: AppState) => AppState) => void, )
source code/state/teammateViewHelpers.ts:90
↓ 11 callersFunctiongetActiveAgentsFromList
( allAgents: AgentDefinition[], )
source code/tools/AgentTool/loadAgentsDir.ts:195
↓ 11 callersFunctiongetAgentId
()
source code/utils/teammate.ts:90
↓ 11 callersFunctiongetAgentTranscriptPath
(agentId: AgentId)
source code/utils/sessionStorage.ts:249
↓ 11 callersFunctiongetAuthHeaders
* Get auth headers for policy limits without calling getSettings() * Supports both API key and OAuth authentication
source code/services/policyLimits/index.ts:229
↓ 11 callersFunctiongetDefaultMainLoopModelSetting
()
source code/utils/model/model.ts:180
↓ 11 callersFunctiongetDefaultOpusModel
()
source code/utils/model/model.ts:107
↓ 11 callersFunctiongetHookDisplayText
( hook: HookCommand | { type: 'callback' | 'function'; statusMessage?: string }, )
source code/utils/hooks/hooksSettings.ts:70
↓ 11 callersFunctiongetLoggingSafeMcpBaseUrl
( config: McpServerConfig, )
source code/services/mcp/utils.ts:563
↓ 11 callersFunctiongetRainbowColor
( charIndex: number, shimmer: boolean = false, )
source code/utils/thinking.ts:82
↓ 11 callersFunctiongetSdkBetas
()
source code/bootstrap/state.ts:858
↓ 11 callersFunctiongetTeammateColor
()
source code/utils/teammate.ts:140
↓ 11 callersFunctiongetTools
(permissionContext: ToolPermissionContext)
source code/tools.ts:273
↓ 11 callersFunctiongte
(a: string, b: string)
source code/utils/semver.ts:28
↓ 11 callersFunctionhas1mContext
(model: string)
source code/utils/context.ts:37
↓ 11 callersFunctionisAsyncHookJSONOutput
( json: HookJSONOutput, )
source code/types/hooks.ts:191
↓ 11 callersFunctionisCompactBoundaryMessage
( message: Message | NormalizedMessage, )
source code/utils/messages.ts:4610
↓ 11 callersFunctionisInProcessTeammateTask
( task: unknown, )
source code/tasks/InProcessTeammateTask/types.ts:80
↓ 11 callersFunctionisLocalShellTask
(task: unknown)
source code/tasks/LocalShellTask/guards.ts:36
↓ 11 callersFunctionisStale
()
source code/hooks/useVoice.ts:361
↓ 11 callersFunctionlogBridgeSkip
( reason: string, debugMsg?: string, v2?: boolean, )
source code/bridge/debugUtils.ts:130
↓ 11 callersFunctionlogDebug
(message: string)
source code/utils/filePersistence/outputsScanner.ts:19
↓ 11 callersFunctionlogUnaryPermissionEvent
( completion_type: CompletionType, { assistantMessage: { message: { id: message_id }, }, }
source code/components/permissions/utils.ts:7
↓ 11 callersMethodnextOffset
(offset: number)
source code/utils/Cursor.ts:1498
↓ 11 callersFunctionnormalizeModelStringForAPI
(model: string)
source code/utils/model/model.ts:618
↓ 11 callersFunctionparseDimension
(v: number | string | undefined)
source code/native-ts/yoga-layout/index.ts:2513
← previousnext →301–400 of 11,462, ranked by callers