MCPcopy Create free account

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

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

↓ 1 callersMethodsetWidthPercent
(value: number)
source code/ink/layout/yoga.ts:139
↓ 1 callersFunctionsetXtversionName
(name: string)
source code/ink/terminal.ts:136
↓ 1 callersFunctionsetsEqual
(a: Set<T>, b: Set<T>)
source code/components/Messages.tsx:736
↓ 1 callersFunctionsettingSourceToScope
( source: EditableSettingSource, )
source code/utils/plugins/pluginIdentifier.ts:121
↓ 1 callersFunctionsettingsJsonToRules
* Converts permissions JSON to an array of PermissionRule objects * @param data The parsed permissions data * @param source The source of these rule
source code/utils/permissions/permissionsLoader.ts:93
↓ 1 callersFunctionsetupComputerUseMCP
()
source code/utils/computerUse/setup.ts:25
↓ 1 callersFunctionsetupGitHubActions
( repoName: string, apiKeyOrOAuthToken: string | null, secretName: string, updateProgress: () => void,
source code/commands/install-github-app/setupGitHubActions.ts:114
↓ 1 callersFunctionsetupPeriodicGrowthBookRefresh
()
source code/services/analytics/growthbook.ts:1089
↓ 1 callersFunctionsetupPluginHookHotReload
()
source code/utils/plugins/loadPluginHooks.ts:257
↓ 1 callersFunctionsetupSdkMcpClients
( sdkMcpConfigs: Record<string, McpSdkServerConfig>, sendMcpMessage: ( serverName: string, message
source code/services/mcp/client.ts:3264
↓ 1 callersFunctionsetupShellCompletion
(theme: ThemeName)
source code/utils/completionCache.ts:77
↓ 1 callersFunctionsetupTokenHandler
(root: Root)
source code/cli/handlers/util.tsx:22
↓ 1 callersFunctionsetupVscodeSdkMcp
(sdkClients: MCPServerConnection[])
source code/services/mcp/vscodeSdkMcp.ts:66
↓ 1 callersFunctionshellQuote
* POSIX single-quote escaping. Single-quoted strings have zero * interpretation except for the closing single quote itself. * Only used by buildShel
source code/utils/deepLink/terminalLauncher.ts:521
↓ 1 callersFunctionshiftSelection
( s: SelectionState, dRow: number, minRow: number, maxRow: number, width: number, )
source code/ink/selection.ts:472
↓ 1 callersFunctionshiftSelectionForFollow
( s: SelectionState, dRow: number, minRow: number, maxRow: number, )
source code/ink/selection.ts:627
↓ 1 callersMethodshiftSelectionForScroll
* Shift anchor AND focus by dRow, clamped to [minRow, maxRow]. Used by * keyboard scroll handlers (PgUp/PgDn etc.) so the highlight tracks the *
source code/ink/ink.tsx:1170
↓ 1 callersFunctionshortRequestId
(toolUseID: string)
source code/services/mcp/channelPermissions.ts:142
↓ 1 callersFunctionshould1hCacheTTL
* Determines if 1h TTL should be used for prompt caching. * * Only applied when: * 1. User is eligible (ant or subscriber within rate limits) * 2.
source code/services/api/claude.ts:395
↓ 1 callersFunctionshouldAddStdinRedirect
(command: string)
source code/utils/bash/shellQuoting.ts:95
↓ 1 callersFunctionshouldAllowManagedMcpServersOnly
()
source code/services/mcp/config.ts:1487
↓ 1 callersFunctionshouldAllowManagedReadPathsOnly
()
source code/utils/sandbox/sandbox-adapter.ts:161
↓ 1 callersFunctionshouldAutoCompact
( messages: Message[], model: string, querySource?: QuerySource, // Snip removes messages but the surv
source code/services/compact/autoCompact.ts:162
↓ 1 callersFunctionshouldAutoRunIssue
(reason: AutoRunIssueReason)
source code/utils/autoRunIssue.tsx:84
↓ 1 callersFunctionshouldClearSelectionOnKey
(key: Key)
source code/components/ScrollKeybindingHandler.tsx:117
↓ 1 callersFunctionshouldDeferLspTool
* Determines if an LSP tool should be deferred (tool appears with defer_loading: true) * because LSP initialization is not yet complete.
source code/services/api/claude.ts:788
↓ 1 callersFunctionshouldExcludeFromPostCompactRestore
( filename: string, agentId?: AgentId, )
source code/services/compact/compact.ts:1676
↓ 1 callersFunctionshouldExtractMemory
(messages: Message[])
source code/services/SessionMemory/sessionMemory.ts:136
↓ 1 callersFunctionshouldFallbackToPrompting
(state: DenialTrackingState)
source code/utils/permissions/denialTracking.ts:42
↓ 1 callersFunctionshouldIncludeFileReadMitigation
()
source code/tools/FileReadTool/FileReadTool.ts:737
↓ 1 callersFunctionshouldLogDebugMessage
(message: string)
source code/utils/debug.ts:106
↓ 1 callersFunctionshouldMaintainProjectWorkingDir
()
source code/utils/envUtils.ts:113
↓ 1 callersFunctionshouldNotify
(threshold: number)
source code/hooks/useNotifyAfterTimeout.ts:21
↓ 1 callersFunctionshouldRenderStatically
(message: RenderableMessage, streamingToolUseIDs: Set<string>, inProgressToolUseIDs: Set<string>, siblingToolU
source code/components/Messages.tsx:781
↓ 1 callersFunctionshouldRetry
(error: APIError)
source code/services/api/withRetry.ts:698
↓ 1 callersFunctionshouldRetry529
(querySource: QuerySource | undefined)
source code/services/api/withRetry.ts:86
↓ 1 callersFunctionshouldRetryInstallation
* Determine if installation should be retried based on failure reason and retry state
source code/utils/plugins/officialMarketplaceStartupCheck.ts:78
↓ 1 callersFunctionshouldSampleEvent
(eventName: string)
source code/services/analytics/firstPartyEventLogger.ts:59
↓ 1 callersFunctionshouldShowAppUpgradeMessage
()
source code/bridge/envLessBridgeConfig.ts:163
↓ 1 callersFunctionshouldShowAutoConnectDialog
()
source code/components/IdeAutoConnectDialog.tsx:75
↓ 1 callersFunctionshouldShowClaudeMdExternalIncludesWarning
()
source code/utils/claudemd.ts:1422
↓ 1 callersFunctionshouldShowDebugCategories
( categories: string[], filter: DebugFilter | null, )
source code/utils/debugFilter.ts:118
↓ 1 callersFunctionshouldShowDebugMessage
( message: string, filter: DebugFilter | null, )
source code/utils/debugFilter.ts:147
↓ 1 callersFunctionshouldShowDesktopUpsellStartup
()
source code/components/DesktopUpsell/DesktopUpsellStartup.tsx:27
↓ 1 callersFunctionshouldShowDisableAutoConnectDialog
()
source code/components/IdeAutoConnectDialog.tsx:152
↓ 1 callersFunctionshouldShowEffortCallout
(model: string)
source code/components/EffortCallout.tsx:221
↓ 1 callersFunctionshouldShowGuestPassesUpsell
()
source code/components/LogoV2/GuestPassesUpsell.tsx:24
↓ 1 callersFunctionshouldShowOpus1mMergeNotice
()
source code/components/LogoV2/Opus1mMergeNotice.tsx:12
↓ 1 callersFunctionshouldShowRemoteCallout
()
source code/components/RemoteCallout.tsx:70
↓ 1 callersFunctionshouldShowUndercoverAutoNotice
()
source code/utils/undercover.ts:82
↓ 1 callersFunctionshouldShowUserMessage
( message: NormalizedMessage, isTranscriptMode: boolean, )
source code/utils/messages.ts:4660
↓ 1 callersFunctionshouldSkipMessage
* Check if a message should be skipped (not break the group, just passed through). * This includes thinking blocks, redacted thinking, attachments, e
source code/utils/collapseReadSearch.ts:386
↓ 1 callersFunctionshouldStopAtArg
( arg: string, args: string[], spec: CommandSpec | null, )
source code/utils/shell/specPrefix.ts:213
↓ 1 callersFunctionshouldTrackDatadog
* Check if Datadog tracking is enabled. * Falls back to cached value from previous session if not yet initialized.
source code/services/analytics/sink.ts:31
↓ 1 callersFunctionshouldUseMockSubscription
()
source code/services/mockRateLimits.ts:827
↓ 1 callersFunctionshowCopiedToast
(text: string)
source code/components/ScrollKeybindingHandler.tsx:375
↓ 1 callersFunctionshowCurrentEffort
(appStateEffort: EffortValue | undefined, model: string)
source code/commands/effort/effort.tsx:64
↓ 1 callersFunctionshowDialog
(root: Root, renderer: (done: (result: T) => void) => React.ReactNode)
source code/interactiveHelpers.tsx:41
↓ 1 callersFunctionshowDiff
()
source code/hooks/useDiffInIDE.ts:79
↓ 1 callersFunctionshowDiffInIDE
* Done if: * * 1. Tab is closed in IDE * 2. Tab is saved in IDE (we then close the tab) * 3. User selected an option in IDE * 4. User selected an
source code/hooks/useDiffInIDE.ts:218
↓ 1 callersFunctionshowDuration
()
source code/components/Spinner.tsx:146
↓ 1 callersFunctionshowSetupScreens
(root: Root, permissionMode: PermissionMode, allowDangerouslySkipPermissions: boolean, commands?: Command[], c
source code/interactiveHelpers.tsx:106
↓ 1 callersMethodshowShell
()
source code/utils/terminalPanel.ts:156
↓ 1 callersMethodshutdown
()
source code/services/diagnosticTracking.ts:63
↓ 1 callersFunctionsiblingSharesY
(node: DOMElement, yogaNode: LayoutNode)
source code/ink/render-node-to-output.ts:1311
↓ 1 callersFunctionsimpleHash
(str: string)
source code/utils/sessionStoragePortable.ts:297
↓ 1 callersFunctionskillDefinitionToCommand
(definition: BundledSkillDefinition)
source code/plugins/builtinPlugins.ts:134
↓ 1 callersFunctionskillHasOnlySafeProperties
(command: Command)
source code/tools/SkillTool/SkillTool.ts:912
↓ 1 callersFunctionskipEnvFlags
* Parse env's VAR=val and safe flags (-i/-0/-v/-u NAME). Returns argv index * of wrapped COMMAND, or -1 if unparseable/no wrapped cmd. Rejects -S (ar
source code/tools/BashTool/pathValidation.ts:1246
↓ 1 callersFunctionskipStdbufFlags
* Parse stdbuf's flags (-i/-o/-e in fused/space-separated/long-= forms). * Returns argv index of wrapped COMMAND, or -1 if unparseable or no flags *
source code/tools/BashTool/pathValidation.ts:1227
↓ 1 callersFunctionskipTimeoutFlags
* Parse timeout's GNU flags (long + short, fused + space-separated) and * return the argv index of the DURATION token, or -1 if flags are unparseable
source code/tools/BashTool/bashPermissions.ts:635
↓ 1 callersFunctionskipTimeoutFlags
* Parse timeout's GNU flags (long + short, fused + space-separated) and * return the argv index of the DURATION token, or -1 if flags are unparseable
source code/tools/BashTool/pathValidation.ts:1185
↓ 1 callersMethodsleep
(ms: number)
source code/cli/transports/SerialBatchEventUploader.ts:263
↓ 1 callersFunctionsliceContext
* Given an absolute match offset, read ±contextLines around it and return * the decoded slice with its starting line number. Reuses `scratch` (the *
source code/utils/readEditContext.ts:173
↓ 1 callersMethodsnapToGraphemeBoundary
* Snap an arbitrary code-unit offset to the start of the containing grapheme. * If offset is already on a boundary, returns it unchanged.
source code/utils/Cursor.ts:1518
↓ 1 callersFunctionsortForMatching
(models: ModelCapability[])
source code/utils/model/modelCapabilities.ts:56
↓ 1 callersFunctionsortKeysDeep
* Recursively sort all keys in an object to match Python's json.dumps(sort_keys=True)
source code/services/remoteManagedSettings/index.ts:114
↓ 1 callersFunctionsortKeysDeep
* Recursively sort all keys in an object for consistent hashing
source code/services/policyLimits/index.ts:135
↓ 1 callersFunctionsortMatchersByPriority
( matchers: string[], hooksByEventAndMatcher: Record< string, Record<string, IndividualHookConfig[
source code/utils/hooks/hooksSettings.ts:232
↓ 1 callersFunctionsourceToString
( source: PermissionApprovalSource | PermissionRejectionSource, )
source code/hooks/toolPermission/permissionLogging.ts:70
↓ 1 callersFunctionspawnTeammate
( config: SpawnTeammateConfig, context: ToolUseContext, )
source code/tools/shared/spawnMultiAgent.ts:1090
↓ 1 callersMethodspillToDisk
Force all buffered content to disk. Call when backgrounding.
source code/utils/task/TaskOutput.ts:364
↓ 1 callersFunctionsplitTabStatusPairs
Split `k=v;k=v` honoring `\;` and `\\` escapes. Yields [key, unescapedValue].
source code/ink/termio/osc.ts:370
↓ 1 callersFunctionspriteFrameCount
(species: Species)
source code/buddy/sprites.ts:473
↓ 1 callersFunctionsquashTextNodes
* Squash text nodes into a plain string (without styles). * Used for text measurement in layout calculations.
source code/ink/squash-text-nodes.ts:71
↓ 1 callersFunctionsquashTextNodesToSegments
( node: DOMElement, inheritedStyles: TextStyles = {}, inheritedHyperlink?: string, out: StyledSegment[
source code/ink/squash-text-nodes.ts:20
↓ 1 callersFunctionstart
(dir_0: -1 | 1)
source code/components/ScrollKeybindingHandler.tsx:717
↓ 1 callersFunctionstart
* Starts the LSP server and initializes it with workspace information. * * If the server is already running or starting, this method returns imm
source code/services/lsp/LSPServerInstance.ts:137
↓ 1 callersMethodstart
()
source code/utils/git/gitFilesystem.ts:355
↓ 1 callersMethodstart
()
source code/utils/claudeInChrome/chromeNativeHost.ts:112
↓ 1 callersFunctionstartArecordRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, )
source code/services/voice.ts:470
↓ 1 callersFunctionstartBackgroundHousekeeping
()
source code/utils/backgroundHousekeeping.ts:33
↓ 1 callersFunctionstartBackgroundPolling
()
source code/services/remoteManagedSettings/index.ts:614
↓ 1 callersFunctionstartBackgroundPolling
()
source code/services/policyLimits/index.ts:637
↓ 1 callersFunctionstartBackgroundSession
({ messages, queryParams, description, setAppState, agentDefinition, }: { messages: Message[] qu
source code/tasks/LocalMainSessionTask.ts:340
↓ 1 callersFunctionstartBunRelay
( wsUrl: string, authHeader: string, wsAuthHeader: string, )
source code/upstreamproxy/relay.ts:178
↓ 1 callersFunctionstartCapturingEarlyInput
()
source code/utils/earlyInput.ts:31
↓ 1 callersFunctionstartConnecting
Start the connecting spinner. Stopped by first updateIdleStatus().
source code/bridge/bridgeUI.ts:172
↓ 1 callersFunctionstartDetachedPoll
(taskId: string, sessionId: string, url: string, getAppState: () => AppState, setAppState: (f: (prev: AppState
source code/commands/ultraplan.tsx:76
↓ 1 callersFunctionstartGlobalConfigFreshnessWatcher
()
source code/utils/config.ts:999
← previousnext →7,601–7,700 of 11,462, ranked by callers