MCPcopy Create free account

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

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

↓ 6 callersFunctionnormalizeFilePath
(filePath: string)
source code/utils/commitAttribution.ts:254
↓ 6 callersFunctionnormalizePathForConfigKey
(path: string)
source code/utils/path.ts:151
↓ 6 callersMethodnotifySelectionChange
()
source code/ink/ink.tsx:1250
↓ 6 callersFunctionparseAddress
(to: string)
source code/utils/peerAddress.ts:10
↓ 6 callersFunctionparseAgentToolsFromFrontmatter
( toolsValue: unknown, )
source code/utils/markdownConfigLoader.ts:115
↓ 6 callersFunctionparseCommand
Parse a single command: simple, compound, or control structure.
source code/utils/bash/bashParser.ts:997
↓ 6 callersFunctionparseGitRemote
(input: string)
source code/utils/detectRepository.ts:89
↓ 6 callersFunctionparseRGB
(colorStr: string)
source code/components/Spinner/utils.ts:72
↓ 6 callersFunctionpersistDenialState
* Persist denial tracking state. For async subagents with localDenialTracking, * mutate the local state in place (since setAppState is a no-op). Othe
source code/utils/permissions/permissions.ts:965
↓ 6 callersFunctionpersistPermissionUpdate
(update: PermissionUpdate)
source code/utils/permissions/PermissionUpdate.ts:224
↓ 6 callersFunctionpersistPermissionUpdates
(updates: PermissionUpdate[])
source code/utils/permissions/PermissionUpdate.ts:351
↓ 6 callersFunctionpick
(rng: () => number, arr: readonly T[])
source code/buddy/companion.ts:41
↓ 6 callersFunctionpoll
()
source code/hooks/usePrStatus.ts:51
↓ 6 callersFunctionprocessMdRules
({ rulesDir, type, processedPaths, includeExternal, conditionalRule, visitedDirs = new Set(), }: {
source code/utils/claudemd.ts:699
↓ 6 callersFunctionpsExeHasParamAbbreviation
* Wrapper around commandHasArgAbbreviation that also matches alternative * parameter prefixes (`/`, en-dash, em-dash, horizontal-bar). PowerShell's
source code/tools/PowerShellTool/powershellSecurity.ts:85
↓ 6 callersFunctionreadFileSyncWithMetadata
(filePath: string)
source code/utils/fileRead.ts:77
↓ 6 callersFunctionreadLockContent
( lockFilePath: string, )
source code/utils/nativeInstaller/pidLock.ts:139
↓ 6 callersFunctionrecordSidechainTranscript
( messages: Message[], agentId?: string, startingParentUuid?: UUID | null, )
source code/utils/sessionStorage.ts:1453
↓ 6 callersMethodrender
()
source code/components/SentryErrorBoundary.ts:23
↓ 6 callersFunctionresetSessionFilePointer
()
source code/utils/sessionStorage.ts:1507
↓ 6 callersFunctionresolveColor
* Resolves a color value that may be a theme key to a raw Color.
source code/components/design-system/ThemedBox.tsx:44
↓ 6 callersFunctionresolveThemeSetting
(setting: ThemeSetting)
source code/utils/systemTheme.ts:44
↓ 6 callersMethodresume
()
source code/ink/ink.tsx:799
↓ 6 callersFunctionrgb
(r: number, g: number, b: number)
source code/ink/hooks/use-tab-status.ts:15
↓ 6 callersFunctionripgrepCommand
()
source code/utils/ripgrep.ts:69
↓ 6 callersFunctionroundValue
( v: number, scale: number, forceCeil: boolean, forceFloor: boolean, )
source code/native-ts/yoga-layout/index.ts:2485
↓ 6 callersFunctionrow
(l1: string, v1: string, l2: string, v2: string)
source code/components/Stats.tsx:1108
↓ 6 callersFunctionrunWithAgentContext
(context: AgentContext, fn: () => T)
source code/utils/agentContext.ts:110
↓ 6 callersFunctionsafeEntries
( obj: Record<string, V> | undefined | null, )
source code/commands/insights.ts:3027
↓ 6 callersFunctionsaveInstalledPluginsV2
* Save installed plugins in V2 format to installed_plugins.json. * This is the single source of truth after V1/V2 consolidation.
source code/utils/plugins/installedPluginsManager.ts:372
↓ 6 callersFunctionscopeToSettingSource
( scope: PluginScope, )
source code/utils/plugins/pluginIdentifier.ts:106
↓ 6 callersFunctionsendNotification
( notif: NotificationOptions, terminal: TerminalNotification, )
source code/services/notifier.ts:20
↓ 6 callersMethodsetJustifyContent
(justify: LayoutJustify)
source code/ink/layout/yoga.ts:233
↓ 6 callersFunctionshift
(p: Point, vRow: number)
source code/ink/selection.ts:542
↓ 6 callersFunctionshouldBypassProxy
( urlString: string, noProxy: string | undefined = getNoProxy(), )
source code/utils/proxy.ts:90
↓ 6 callersMethodshutdown
()
source code/utils/telemetry/bigqueryExporter.ts:217
↓ 6 callersMethodstart
Mark flush as in-progress. enqueue() will start queuing items.
source code/bridge/flushGate.ts:31
↓ 6 callersMethodstartOfLine
()
source code/utils/Cursor.ts:428
↓ 6 callersFunctionstopConnecting
Stop the connecting spinner.
source code/bridge/bridgeUI.ts:182
↓ 6 callersFunctionstrEquals
(a: string, b: string)
source code/tools/PowerShellTool/powershellPermissions.ts:180
↓ 6 callersFunctionstyleBorderLine
( line: string, color: Color | undefined, dim: boolean | undefined, )
source code/ink/render-border.ts:72
↓ 6 callersFunctionsubstitutePluginVariables
( value: string, plugin: { path: string; source?: string }, )
source code/utils/plugins/pluginOptionsStorage.ts:328
↓ 6 callersFunctionsuggestionForExactCommand
(command: string)
source code/tools/BashTool/bashPermissions.ts:268
↓ 6 callersFunctionsymbolKindToString
* Maps SymbolKind enum to readable string
source code/tools/LSPTool/formatters.ts:274
↓ 6 callersFunctiontoArray
(val: T | T[])
source code/utils/shell/specPrefix.ts:38
↓ 6 callersFunctiontoSDKMessages
(messages: Message[])
source code/utils/messages/mappers.ts:117
↓ 6 callersMethodtrackWrite
(fn: () => Promise<T>)
source code/utils/sessionStorage.ts:599
↓ 6 callersFunctiontransitionHyperlink
( diff: Diff, current: Hyperlink, target: Hyperlink, )
source code/ink/log-update.ts:472
↓ 6 callersMethodtxn
(fn: (prev: Point) => [patches: Diff, next: Delta])
source code/ink/log-update.ts:767
↓ 6 callersFunctionuninstallPluginOp
( plugin: string, scope: InstallableScope = 'user', deleteDataDir = true, )
source code/services/plugins/pluginOperations.ts:429
↓ 6 callersFunctionunmount
()
source code/ink/root.ts:101
↓ 6 callersMethodunmount
(error?: Error | number | null)
source code/ink/ink.tsx:1457
↓ 6 callersFunctionupdateActiveSpeculationState
( setAppState: SetAppState, updater: (state: ActiveSpeculationState) => Partial<ActiveSpeculationState>, )
source code/services/PromptSuggestion/speculation.ts:312
↓ 6 callersFunctionupdateUsage
( usage: Readonly<NonNullableUsage>, partUsage: BetaMessageDeltaUsage | undefined, )
source code/services/api/claude.ts:2926
↓ 6 callersFunctionuseElapsedTime
( startTime: number, isRunning: boolean, ms: number = 1000, pausedMs: number = 0, endTime?: number,
source code/hooks/useElapsedTime.ts:19
↓ 6 callersFunctionusePermissionRequestLogging
( toolUseConfirm: ToolUseConfirm, unaryEvent: UnaryEvent, )
source code/components/permissions/hooks.ts:103
↓ 6 callersFunctionuseStartupNotification
( compute: () => Result | Promise<Result>, )
source code/hooks/notifs/useStartupNotification.ts:21
↓ 6 callersFunctionvalidatePath
* Validates a file system path, handling tilde expansion.
source code/tools/PowerShellTool/pathValidation.ts:1015
↓ 6 callersFunctionwithOAuth401Retry
( request: () => Promise<T>, opts?: { also403Revoked?: boolean }, )
source code/utils/http.ts:117
↓ 6 callersFunctionwriteBridgePointer
( dir: string, pointer: BridgePointer, )
source code/bridge/bridgePointer.ts:64
↓ 6 callersFunctionzodToJsonSchema
(schema: ZodTypeAny)
source code/utils/zodToJsonSchema.ts:19
↓ 5 callersMethod_notify
()
source code/utils/QueryGuard.ts:120
↓ 5 callersFunctionackWork
()
source code/bridge/bridgeMain.ts:839
↓ 5 callersFunctionaction
(a: { key: K; label: string | ((s: MessageActionsState) => string); types: readonly T[]; applies?: (s:
source code/components/messageActions.tsx:150
↓ 5 callersFunctionaddMarketplaceSource
( source: MarketplaceSource, onProgress?: MarketplaceProgressCallback, )
source code/utils/plugins/marketplaceManager.ts:1784
↓ 5 callersFunctionaddMcpConfig
( name: string, config: unknown, scope: ConfigScope, )
source code/services/mcp/config.ts:627
↓ 5 callersFunctionaddScopeToServers
* Internal utility: Add scope to server configs
source code/services/mcp/config.ts:71
↓ 5 callersFunctionappendCappedMessage
( prev: readonly T[] | undefined, item: T, )
source code/tasks/InProcessTeammateTask/types.ts:110
↓ 5 callersFunctionappendFileSync
(path, data, options)
source code/utils/fsOperations.ts:470
↓ 5 callersFunctionapplyOperator
( op: Operator, from: number, to: number, ctx: OperatorContext, linewise: boolean = false, )
source code/vim/operators.ts:495
↓ 5 callersFunctionapplyTextStyles
(text: string, styles: TextStyles)
source code/ink/colorize.ts:178
↓ 5 callersFunctionassembleToolPool
( permissionContext: ToolPermissionContext, mcpTools: Tools, )
source code/tools.ts:347
↓ 5 callersFunctionbashToolCheckExactMatchPermission
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, )
source code/tools/BashTool/bashPermissions.ts:993
↓ 5 callersFunctionbuildBridgeConnectUrl
( environmentId: string, ingressUrl?: string, )
source code/bridge/bridgeStatusUtil.ts:41
↓ 5 callersFunctionbuildPluginCommandTelemetryFields
( pluginInfo: { pluginManifest: PluginManifest; repository: string }, managedNames: Set<string> | null = n
source code/utils/telemetry/pluginTelemetry.ts:175
↓ 5 callersFunctionbuildPostCompactMessages
(result: CompactionResult)
source code/services/compact/compact.ts:332
↓ 5 callersFunctioncalculateUSDCost
(resolvedModel: string, usage: Usage)
source code/utils/modelCost.ts:179
↓ 5 callersMethodcaptureScrolledRows
* Capture text from rows about to scroll out of the viewport during * drag-to-scroll. Must be called BEFORE the ScrollBox scrolls so the * scree
source code/ink/ink.tsx:1159
↓ 5 callersMethodcheckDependencies
()
source code/utils/sandbox/sandbox-adapter.ts:889
↓ 5 callersFunctioncheckPathTraversal
* Check for parent-directory segments ('..') in a path string. * * For plugin.json component paths this is a security concern (escaping the plugin d
source code/utils/plugins/validatePlugin.ts:94
↓ 5 callersFunctioncheckStartFailed
()
source code/services/lsp/LSPClient.ts:75
↓ 5 callersFunctionclassifyBashCommand
( _command: string, _cwd: string, _descriptions: string[], _behavior: ClassifierBehavior, _signal: A
source code/utils/permissions/bashClassifier.ts:42
↓ 5 callersFunctionclearCommandsCache
()
source code/commands.ts:536
↓ 5 callersFunctionclearOAuthTokenCache
()
source code/utils/auth.ts:1310
↓ 5 callersFunctioncomputeHash
(data: unknown)
source code/services/api/promptCacheBreakDetection.ts:172
↓ 5 callersMethodconnect
()
source code/server/directConnectManager.ts:52
↓ 5 callersFunctionconsumeKeyword
(P: ParseState, name: string, kids: TsNode[])
source code/utils/bash/bashParser.ts:3690
↓ 5 callersFunctioncontainsPathTraversal
(path: string)
source code/utils/path.ts:135
↓ 5 callersFunctionconvertEffortValueToLevel
(value: EffortValue)
source code/utils/effort.ts:204
↓ 5 callersFunctioncountTokensWithFallback
( messages: Anthropic.Beta.Messages.BetaMessageParam[], tools: Anthropic.Beta.Messages.BetaToolUnion[], )
source code/utils/analyzeContext.ts:79
↓ 5 callersFunctioncreateCompressedImageResult
( buffer: Buffer, mediaType: string, originalSize: number, )
source code/utils/imageResizer.ts:634
↓ 5 callersFunctioncreateHyperlink
( url: string, content?: string, options?: HyperlinkOptions, )
source code/utils/hyperlink.ts:26
↓ 5 callersFunctioncreatePluginCommand
* Create a Command from a plugin markdown file
source code/utils/plugins/loadPluginCommands.ts:220
↓ 5 callersFunctioncreateSortedHelpConfig
()
source code/main.tsx:892
↓ 5 callersFunctioncreateToolResultMessage
( tool: Tool<AnyObject, Output>, toolUseResult: Output, )
source code/utils/messages.ts:4290
↓ 5 callersFunctioncreateToolUseMessage
( toolName: string, input: { [key: string]: string | number }, )
source code/utils/messages.ts:4327
↓ 5 callersFunctioncreateUserInterruptionMessage
({ toolUse = false, }: { toolUse?: boolean })
source code/utils/messages.ts:547
↓ 5 callersFunctiondangerousRemovalDeny
(path: string)
source code/tools/PowerShellTool/pathValidation.ts:850
↓ 5 callersFunctiondebugBody
(data: unknown)
source code/bridge/debugUtils.ts:48
↓ 5 callersFunctiondecisionReasonToString
( decisionReason: PermissionDecisionReason | undefined, )
source code/components/permissions/hooks.ts:63
← previousnext →901–1,000 of 11,462, ranked by callers