MCPcopy Create free account

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

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

↓ 2 callersFunctionrestoreSessionToOriginalCwd
* Restore session state to reflect the original directory. * This is the inverse of the session-level mutations in EnterWorktreeTool.call(). * * ke
source code/tools/ExitWorktreeTool/ExitWorktreeTool.ts:124
↓ 2 callersFunctionrestoreWorktreeSession
(session: WorktreeSession | null)
source code/utils/worktree.ts:169
↓ 2 callersFunctionresumeHelpMessage
(result: ResumeResult)
source code/commands/resume/resume.tsx:33
↓ 2 callersMethodresumeStdin
()
source code/ink/ink.tsx:1398
↓ 2 callersMethodretryFailedEvents
()
source code/services/analytics/firstPartyEventLoggingExporter.ts:471
↓ 2 callersFunctionrevokeToken
* Revokes a single token on the OAuth server. * * Per RFC 7009, public clients (like Claude Code) should authenticate by including * client_id in t
source code/services/mcp/auth.ts:383
↓ 2 callersFunctionrgb
(c: Color)
source code/ink/termio/osc.ts:480
↓ 2 callersFunctionripGrepRaw
( args: string[], target: string, abortSignal: AbortSignal, callback: ( error: ExecFileException |
source code/utils/ripgrep.ts:110
↓ 2 callersFunctionrollFrom
(rng: () => number)
source code/buddy/companion.ts:93
↓ 2 callersFunctionrollbackConsolidationLock
( priorMtime: number, )
source code/services/autoDream/consolidationLock.ts:93
↓ 2 callersFunctionruleIdToLabel
* Convert a gitleaks rule ID (kebab-case) to a human-readable label. * e.g., "github-pat" → "GitHub PAT", "aws-access-token" → "AWS Access Token"
source code/services/teamMemorySync/secretScanner.ts:245
↓ 2 callersFunctionruleMatches
(ruleContent: string)
source code/tools/SkillTool/SkillTool.ts:453
↓ 2 callersFunctionrunAsyncAgentLifecycle
({ taskId, abortController, makeStream, metadata, description, toolUseContext, rootSetAppState,
source code/tools/AgentTool/agentToolUtils.ts:510
↓ 2 callersFunctionrunBridgeLoop
( config: BridgeConfig, environmentId: string, environmentSecret: string, api: BridgeApiClient, spaw
source code/bridge/bridgeMain.ts:143
↓ 2 callersFunctionrunExtraUsage
()
source code/commands/extra-usage/extra-usage-core.ts:20
↓ 2 callersFunctionrunSideQuestion
({ question, cacheSafeParams, }: { question: string cacheSafeParams: CacheSafeParams })
source code/utils/sideQuestion.ts:55
↓ 2 callersFunctionrunTools
( toolUseMessages: ToolUseBlock[], assistantMessages: AssistantMessage[], canUseTool: CanUseToolFn, to
source code/services/tools/toolOrchestration.ts:21
↓ 2 callersFunctionrunWithCwdOverride
(cwd: string, fn: () => T)
source code/utils/cwd.ts:14
↓ 2 callersFunctionrunWithWorkload
( workload: string | undefined, fn: () => T, )
source code/utils/workloadContext.ts:54
↓ 2 callersFunctionsanitize
(str: string)
source code/utils/dxt/helpers.ts:73
↓ 2 callersFunctionsanitizeCore
* Length cap + trim + dedupe + sort. `applyCharFilter` — skip for trusted * bundle IDs (Apple/Google/MS; a localized "Réglages Système" with unusual
source code/utils/computerUse/appNames.ts:134
↓ 2 callersFunctionsanitizeModelName
(shortName: string)
source code/utils/commitAttribution.ts:156
↓ 2 callersFunctionsanitizeName
(name: string)
source code/utils/swarm/teamHelpers.ts:102
↓ 2 callersFunctionsanitizePath
(name: string)
source code/utils/sessionStoragePortable.ts:313
↓ 2 callersFunctionsatisfies
(version: string, range: string)
source code/utils/semver.ts:49
↓ 2 callersFunctionsaveAgentColor
( sessionId: UUID, agentColor: string, fullPath?: string, )
source code/utils/sessionStorage.ts:2840
↓ 2 callersFunctionsaveAgentName
( sessionId: UUID, agentName: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
source code/utils/sessionStorage.ts:2821
↓ 2 callersFunctionsaveAgentSetting
(agentSetting: string)
source code/utils/sessionStorage.ts:2863
↓ 2 callersFunctionsaveConfig
( file: string, config: A, defaultConfig: A, )
source code/utils/config.ts:1118
↓ 2 callersFunctionsaveConfigWithLock
* Returns true if a write was performed; false if the write was skipped * (no changes, or auth-loss guard tripped). Callers use this to decide * whe
source code/utils/config.ts:1155
↓ 2 callersFunctionsaveCurrentSessionCosts
(fpsMetrics?: FpsMetrics)
source code/cost-tracker.ts:145
↓ 2 callersMethodsaveEventsToFile
( filePath: string, events: FirstPartyEventLoggingEvent[], )
source code/services/analytics/firstPartyEventLoggingExporter.ts:173
↓ 2 callersFunctionsaveIdpIdToken
( idpIssuer: string, idToken: string, expiresAt: number, )
source code/services/mcp/xaaIdpLogin.ts:111
↓ 2 callersFunctionsavePluginOptions
( pluginId: string, values: PluginOptionValues, schema: PluginOptionSchema, )
source code/utils/plugins/pluginOptionsStorage.ts:92
↓ 2 callersFunctionsaveTag
(sessionId: UUID, tag: string, fullPath?: string)
source code/utils/sessionStorage.ts:2692
↓ 2 callersFunctionscanForContext
( handle: FileHandle, needle: string, contextLines: number, )
source code/utils/readEditContext.ts:62
↓ 2 callersFunctionscanForSecrets
(content: string)
source code/services/teamMemorySync/secretScanner.ts:279
↓ 2 callersFunctionscanMemoryFiles
( memoryDir: string, signal: AbortSignal, )
source code/memdir/memoryScan.ts:37
↓ 2 callersFunctionschedule
(sessionId: string, token: string)
source code/bridge/jwtUtils.ts:104
↓ 2 callersMethodscheduleBackoffRetry
()
source code/services/analytics/firstPartyEventLoggingExporter.ts:447
↓ 2 callersFunctionscheduleNext
()
source code/services/AgentSummary/agentSummary.ts:159
↓ 2 callersMethodscheduleReconnect
(delay: number, label: string)
source code/remote/SessionsWebSocket.ts:292
↓ 2 callersFunctionscoreBonusAt
* Boundary/camelCase bonus for a match at position `pos` in the original-case * path. `first` enables the start-of-string bonus (only for needle[0]).
source code/native-ts/file-index/index.ts:299
↓ 2 callersFunctionsdkCompatToolName
(name: string)
source code/utils/messages/systemInit.ts:25
↓ 2 callersFunctionsegmentGraphemes
(str: string)
source code/ink/termio/parser.ts:73
↓ 2 callersFunctionselectionChangeHandler
(data: SelectionData)
source code/hooks/useIdeSelection.ts:93
↓ 2 callersMethodsendCommandToPane
* Sends a command to a specific pane.
source code/utils/swarm/backends/TmuxBackend.ts:153
↓ 2 callersFunctionsendIdleNotification
* Sends idle notification to the leader via file-based mailbox. * Uses agentName (not agentId) for consistency with process-based teammates.
source code/utils/swarm/inProcessRunner.ts:571
↓ 2 callersMethodsendInterrupt
* Send an interrupt signal to cancel the current request
source code/server/directConnectManager.ts:174
↓ 2 callersMethodsendLine
(line: string)
source code/cli/transports/WebSocketTransport.ts:333
↓ 2 callersMethodsendMessage
* Send a user message to the remote session via HTTP POST
source code/remote/RemoteSessionManager.ts:221
↓ 2 callersMethodsendMessage
(content: RemoteMessageContent)
source code/server/directConnectManager.ts:127
↓ 2 callersFunctionsendPermissionRequestViaMailbox
( request: SwarmPermissionRequest, )
source code/utils/swarm/permissionSync.ts:678
↓ 2 callersFunctionsendShutdownRequestToMailbox
( targetName: string, teamName?: string, reason?: string, )
source code/utils/teammateMailbox.ts:833
↓ 2 callersFunctionserverSecretsKey
* Compose the secureStorage key for a per-server secret bucket. * `pluginSecrets` is a flat map — per-server secrets share it with top-level * plugi
source code/utils/plugins/mcpbHandler.ts:126
↓ 2 callersFunctionsessionIdExists
(sessionId: string)
source code/utils/sessionStorage.ts:403
↓ 2 callersFunctionsetAdditionalDirectoriesForClaudeMd
( directories: string[], )
source code/bootstrap/state.ts:1672
↓ 2 callersMethodsetAltScreenActive
* Called by the <AlternateScreen> component on mount/unmount. * Controls cursor.y clamping in the renderer and gates alt-screen-aware * behavior
source code/ink/ink.tsx:863
↓ 2 callersFunctionsetAttribute
( node: DOMElement, key: string, value: DOMNodeAttribute, )
source code/ink/dom.ts:249
↓ 2 callersFunctionsetAvailable
( ctx: ToolPermissionContext, available: boolean, )
source code/utils/permissions/permissionSetup.ts:1144
↓ 2 callersFunctionsetAwaitingPlanApproval
( taskId: string, setAppState: SetAppState, awaiting: boolean, )
source code/utils/inProcessTeammateHelpers.ts:57
↓ 2 callersFunctionsetClassifierChecking
(toolUseID: string)
source code/utils/classifierApprovals.ts:64
↓ 2 callersFunctionsetClaudeSocketInfo
(path: string, pid: number)
source code/utils/tmuxSocket.ts:112
↓ 2 callersFunctionsetCostStateForRestore
({ totalCostUSD, totalAPIDuration, totalAPIDurationWithoutRetries, totalToolDuration, totalLinesAdde
source code/bootstrap/state.ts:883
↓ 2 callersFunctionsetEnvHookNotifier
( cb: ((text: string, isError: boolean) => void) | null, )
source code/utils/hooks/fileChangedWatcher.ts:24
↓ 2 callersMethodsetError
(error: string)
source code/utils/awsAuthStatusManager.ts:55
↓ 2 callersFunctionsetEventHandler
(node: DOMElement, key: string, value: unknown)
source code/ink/reconciler.ts:116
↓ 2 callersFunctionsetEventLogger
( logger: ReturnType<typeof logs.getLogger> | null, )
source code/bootstrap/state.ts:1039
↓ 2 callersMethodsetFlexBasis
(value: number)
source code/ink/layout/yoga.ts:195
↓ 2 callersFunctionsetHasDevChannels
(value: boolean)
source code/bootstrap/state.ts:1690
↓ 2 callersFunctionsetIsRemoteMode
(value: boolean)
source code/bootstrap/state.ts:1637
↓ 2 callersFunctionsetKairosActive
(value: boolean)
source code/bootstrap/state.ts:1091
↓ 2 callersFunctionsetLastApiCompletionTimestamp
(timestamp: number)
source code/bootstrap/state.ts:767
↓ 2 callersFunctionsetLoggerProvider
(provider: LoggerProvider | null)
source code/bootstrap/state.ts:1031
↓ 2 callersMethodsetMeasureFunc
(fn: LayoutMeasureFunc)
source code/ink/layout/yoga.ts:88
↓ 2 callersFunctionsetMemberActive
( teamName: string, memberName: string, isActive: boolean, )
source code/utils/swarm/teamHelpers.ts:456
↓ 2 callersFunctionsetMeterProvider
(provider: MeterProvider | null)
source code/bootstrap/state.ts:1049
↓ 2 callersFunctionsetMockBillingAccessOverride
(value: boolean | null)
source code/utils/billing.ts:51
↓ 2 callersMethodsetOnControlRequestResolved
* Register a callback invoked when a can_use_tool control_response arrives * from the SDK consumer (via stdin). Used by the bridge to cancel the
source code/cli/structuredIO.ts:329
↓ 2 callersMethodsetOnControlRequestSent
* Register a callback invoked whenever a can_use_tool control_request * is written to stdout. Used by the bridge to forward permission * request
source code/cli/structuredIO.ts:318
↓ 2 callersMethodsetOnEvent
(callback: (event: StreamClientEvent) => void)
source code/cli/transports/SSETransport.ts:677
↓ 2 callersMethodsetPaneBorderColor
* Sets the border color for a specific pane.
source code/utils/swarm/backends/TmuxBackend.ts:171
↓ 2 callersMethodsetPaneTitle
* Sets the title for a pane (shown in pane border if pane-border-status is set).
source code/utils/swarm/backends/TmuxBackend.ts:210
↓ 2 callersFunctionsetPlanSlug
(sessionId: SessionId, slug: string)
source code/utils/plans.ts:56
↓ 2 callersMethodsetPosition
(edge: LayoutEdge, value: number)
source code/ink/layout/yoga.ts:261
↓ 2 callersFunctionsetProjectRoot
(cwd: string)
source code/bootstrap/state.ts:525
↓ 2 callersFunctionsetPromptId
(id: string | null)
source code/bootstrap/state.ts:1757
↓ 2 callersFunctionsetQuestionPreviewFormat
(format: 'markdown' | 'html')
source code/bootstrap/state.ts:1126
↓ 2 callersFunctionsetRawMode
()
source code/ink/components/StdinContext.ts:41
↓ 2 callersMethodsetRemoteIngressUrl
(url: string)
source code/utils/sessionStorage.ts:1347
↓ 2 callersFunctionsetReplBridgeHandle
(h: ReplBridgeHandle | null)
source code/bridge/replBridgeHandle.ts:20
↓ 2 callersFunctionsetScheduledTasksEnabled
(enabled: boolean)
source code/bootstrap/state.ts:1274
↓ 2 callersMethodsetSelectionBg
(bg: AnsiCode | null)
source code/ink/screen.ts:241
↓ 2 callersMethodsetSelectionBgColor
* Set the selection highlight background color. Replaces the per-cell * SGR-7 inverse with a solid theme-aware bg (matches native terminal * sel
source code/ink/ink.tsx:1133
↓ 2 callersFunctionsetSessionTrustAccepted
(accepted: boolean)
source code/bootstrap/state.ts:1319
↓ 2 callersFunctionsetStyle
(node: DOMNode, style: Styles)
source code/ink/dom.ts:268
↓ 2 callersFunctionsetTeleportedSessionInfo
(info: { sessionId: string | null })
source code/bootstrap/state.ts:1479
↓ 2 callersFunctionsetTerminalFocused
(v: boolean)
source code/ink/terminal-focus-state.ts:14
↓ 2 callersFunctionsetTracerProvider
(provider: BasicTracerProvider | null)
source code/bootstrap/state.ts:1055
↓ 2 callersFunctionsetYoloClassifierApproval
( toolUseID: string, reason: string, )
source code/utils/classifierApprovals.ts:43
← previousnext →3,901–4,000 of 11,462, ranked by callers