MCPcopy Create free account

hub / github.com/tanbiralam/claude-code / functions

Functions11,484 in github.com/tanbiralam/claude-code

↓ 2 callersFunctionrestoreHeredocs
( parts: string[], heredocs: Map<string, HeredocInfo>, )
src/utils/bash/heredoc.ts:711
↓ 2 callersFunctionrestoreRemoteAgentTasks
(context: TaskContext)
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:477
↓ 2 callersFunctionrestoreSessionToOriginalCwd
* Restore session state to reflect the original directory. * This is the inverse of the session-level mutations in EnterWorktreeTool.call(). * * ke
src/tools/ExitWorktreeTool/ExitWorktreeTool.ts:122
↓ 2 callersFunctionrestoreWorktreeSession
(session: WorktreeSession | null)
src/utils/worktree.ts:167
↓ 2 callersFunctionresumeHelpMessage
(result: ResumeResult)
src/commands/resume/resume.tsx:31
↓ 2 callersMethodresumeStdin
()
src/ink/ink.tsx:1396
↓ 2 callersMethodretryFailedEvents
()
src/services/analytics/firstPartyEventLoggingExporter.ts:469
↓ 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
src/services/mcp/auth.ts:381
↓ 2 callersFunctionrgb
(c: Color)
src/ink/termio/osc.ts:478
↓ 2 callersFunctionripGrepRaw
( args: string[], target: string, abortSignal: AbortSignal, callback: ( error: ExecFileException |
src/utils/ripgrep.ts:108
↓ 2 callersFunctionrollFrom
(rng: () => number)
src/buddy/companion.ts:91
↓ 2 callersFunctionrollbackConsolidationLock
( priorMtime: number, )
src/services/autoDream/consolidationLock.ts:91
↓ 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"
src/services/teamMemorySync/secretScanner.ts:243
↓ 2 callersFunctionruleMatches
(ruleContent: string)
src/tools/SkillTool/SkillTool.ts:451
↓ 2 callersFunctionrunAsyncAgentLifecycle
({ taskId, abortController, makeStream, metadata, description, toolUseContext, rootSetAppState,
src/tools/AgentTool/agentToolUtils.ts:508
↓ 2 callersFunctionrunBridgeLoop
( config: BridgeConfig, environmentId: string, environmentSecret: string, api: BridgeApiClient, spaw
src/bridge/bridgeMain.ts:141
↓ 2 callersFunctionrunExtraUsage
()
src/commands/extra-usage/extra-usage-core.ts:18
↓ 2 callersFunctionrunSideQuestion
({ question, cacheSafeParams, }: { question: string cacheSafeParams: CacheSafeParams })
src/utils/sideQuestion.ts:53
↓ 2 callersFunctionrunTools
( toolUseMessages: ToolUseBlock[], assistantMessages: AssistantMessage[], canUseTool: CanUseToolFn, to
src/services/tools/toolOrchestration.ts:19
↓ 2 callersFunctionrunWithCwdOverride
(cwd: string, fn: () => T)
src/utils/cwd.ts:12
↓ 2 callersFunctionrunWithWorkload
( workload: string | undefined, fn: () => T, )
src/utils/workloadContext.ts:52
↓ 2 callersFunctionsanitize
(str: string)
src/utils/dxt/helpers.ts:71
↓ 2 callersFunctionsanitizeCore
* Length cap + trim + dedupe + sort. `applyCharFilter` — skip for trusted * bundle IDs (Apple/Google/MS; a localized "Réglages Système" with unusual
src/utils/computerUse/appNames.ts:132
↓ 2 callersFunctionsanitizeModelName
(shortName: string)
src/utils/commitAttribution.ts:154
↓ 2 callersFunctionsanitizeName
(name: string)
src/utils/swarm/teamHelpers.ts:100
↓ 2 callersFunctionsanitizePath
(name: string)
src/utils/sessionStoragePortable.ts:311
↓ 2 callersFunctionsatisfies
(version: string, range: string)
src/utils/semver.ts:47
↓ 2 callersFunctionsaveAgentColor
( sessionId: UUID, agentColor: string, fullPath?: string, )
src/utils/sessionStorage.ts:2838
↓ 2 callersFunctionsaveAgentName
( sessionId: UUID, agentName: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
src/utils/sessionStorage.ts:2819
↓ 2 callersFunctionsaveAgentSetting
(agentSetting: string)
src/utils/sessionStorage.ts:2861
↓ 2 callersFunctionsaveConfig
( file: string, config: A, defaultConfig: A, )
src/utils/config.ts:1116
↓ 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
src/utils/config.ts:1153
↓ 2 callersFunctionsaveCurrentSessionCosts
(fpsMetrics?: FpsMetrics)
src/cost-tracker.ts:143
↓ 2 callersMethodsaveEventsToFile
( filePath: string, events: FirstPartyEventLoggingEvent[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:171
↓ 2 callersFunctionsaveIdpIdToken
( idpIssuer: string, idToken: string, expiresAt: number, )
src/services/mcp/xaaIdpLogin.ts:109
↓ 2 callersFunctionsavePluginOptions
( pluginId: string, values: PluginOptionValues, schema: PluginOptionSchema, )
src/utils/plugins/pluginOptionsStorage.ts:90
↓ 2 callersFunctionsaveTag
(sessionId: UUID, tag: string, fullPath?: string)
src/utils/sessionStorage.ts:2690
↓ 2 callersFunctionscanForContext
( handle: FileHandle, needle: string, contextLines: number, )
src/utils/readEditContext.ts:60
↓ 2 callersFunctionscanForSecrets
(content: string)
src/services/teamMemorySync/secretScanner.ts:277
↓ 2 callersFunctionscanMemoryFiles
( memoryDir: string, signal: AbortSignal, )
src/memdir/memoryScan.ts:35
↓ 2 callersFunctionschedule
(sessionId: string, token: string)
src/bridge/jwtUtils.ts:102
↓ 2 callersMethodscheduleBackoffRetry
()
src/services/analytics/firstPartyEventLoggingExporter.ts:445
↓ 2 callersFunctionscheduleNext
()
src/services/AgentSummary/agentSummary.ts:157
↓ 2 callersMethodscheduleReconnect
(delay: number, label: string)
src/remote/SessionsWebSocket.ts:290
↓ 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]).
src/native-ts/file-index/index.ts:297
↓ 2 callersFunctionsdkCompatToolName
(name: string)
src/utils/messages/systemInit.ts:23
↓ 2 callersFunctionsegmentGraphemes
(str: string)
src/ink/termio/parser.ts:71
↓ 2 callersFunctionselectionChangeHandler
(data: SelectionData)
src/hooks/useIdeSelection.ts:91
↓ 2 callersMethodsendCommandToPane
* Sends a command to a specific pane.
src/utils/swarm/backends/TmuxBackend.ts:151
↓ 2 callersFunctionsendIdleNotification
* Sends idle notification to the leader via file-based mailbox. * Uses agentName (not agentId) for consistency with process-based teammates.
src/utils/swarm/inProcessRunner.ts:569
↓ 2 callersMethodsendInterrupt
* Send an interrupt signal to cancel the current request
src/server/directConnectManager.ts:172
↓ 2 callersMethodsendLine
(line: string)
src/cli/transports/WebSocketTransport.ts:331
↓ 2 callersMethodsendMessage
* Send a user message to the remote session via HTTP POST
src/remote/RemoteSessionManager.ts:219
↓ 2 callersMethodsendMessage
(content: RemoteMessageContent)
src/server/directConnectManager.ts:125
↓ 2 callersFunctionsendPermissionRequestViaMailbox
( request: SwarmPermissionRequest, )
src/utils/swarm/permissionSync.ts:676
↓ 2 callersFunctionsendShutdownRequestToMailbox
( targetName: string, teamName?: string, reason?: string, )
src/utils/teammateMailbox.ts:831
↓ 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
src/utils/plugins/mcpbHandler.ts:124
↓ 2 callersFunctionsessionIdExists
(sessionId: string)
src/utils/sessionStorage.ts:401
↓ 2 callersFunctionsetAdditionalDirectoriesForClaudeMd
( directories: string[], )
src/bootstrap/state.ts:1670
↓ 2 callersMethodsetAltScreenActive
* Called by the <AlternateScreen> component on mount/unmount. * Controls cursor.y clamping in the renderer and gates alt-screen-aware * behavior
src/ink/ink.tsx:861
↓ 2 callersFunctionsetAttribute
( node: DOMElement, key: string, value: DOMNodeAttribute, )
src/ink/dom.ts:247
↓ 2 callersFunctionsetAvailable
( ctx: ToolPermissionContext, available: boolean, )
src/utils/permissions/permissionSetup.ts:1142
↓ 2 callersFunctionsetAwaitingPlanApproval
( taskId: string, setAppState: SetAppState, awaiting: boolean, )
src/utils/inProcessTeammateHelpers.ts:55
↓ 2 callersFunctionsetClassifierChecking
(toolUseID: string)
src/utils/classifierApprovals.ts:62
↓ 2 callersFunctionsetClaudeSocketInfo
(path: string, pid: number)
src/utils/tmuxSocket.ts:110
↓ 2 callersFunctionsetCostStateForRestore
({ totalCostUSD, totalAPIDuration, totalAPIDurationWithoutRetries, totalToolDuration, totalLinesAdde
src/bootstrap/state.ts:881
↓ 2 callersFunctionsetEnvHookNotifier
( cb: ((text: string, isError: boolean) => void) | null, )
src/utils/hooks/fileChangedWatcher.ts:22
↓ 2 callersMethodsetError
(error: string)
src/utils/awsAuthStatusManager.ts:53
↓ 2 callersFunctionsetEventHandler
(node: DOMElement, key: string, value: unknown)
src/ink/reconciler.ts:114
↓ 2 callersFunctionsetEventLogger
( logger: ReturnType<typeof logs.getLogger> | null, )
src/bootstrap/state.ts:1037
↓ 2 callersMethodsetFlexBasis
(value: number)
src/ink/layout/yoga.ts:193
↓ 2 callersFunctionsetHasDevChannels
(value: boolean)
src/bootstrap/state.ts:1688
↓ 2 callersFunctionsetIsRemoteMode
(value: boolean)
src/bootstrap/state.ts:1635
↓ 2 callersFunctionsetKairosActive
(value: boolean)
src/bootstrap/state.ts:1089
↓ 2 callersFunctionsetLastApiCompletionTimestamp
(timestamp: number)
src/bootstrap/state.ts:765
↓ 2 callersFunctionsetLoggerProvider
(provider: LoggerProvider | null)
src/bootstrap/state.ts:1029
↓ 2 callersMethodsetMeasureFunc
(fn: LayoutMeasureFunc)
src/ink/layout/yoga.ts:86
↓ 2 callersFunctionsetMemberActive
( teamName: string, memberName: string, isActive: boolean, )
src/utils/swarm/teamHelpers.ts:454
↓ 2 callersFunctionsetMeterProvider
(provider: MeterProvider | null)
src/bootstrap/state.ts:1047
↓ 2 callersFunctionsetMockBillingAccessOverride
(value: boolean | null)
src/utils/billing.ts:49
↓ 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
src/cli/structuredIO.ts:327
↓ 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
src/cli/structuredIO.ts:316
↓ 2 callersMethodsetOnEvent
(callback: (event: StreamClientEvent) => void)
src/cli/transports/SSETransport.ts:675
↓ 2 callersMethodsetPaneBorderColor
* Sets the border color for a specific pane.
src/utils/swarm/backends/TmuxBackend.ts:169
↓ 2 callersMethodsetPaneTitle
* Sets the title for a pane (shown in pane border if pane-border-status is set).
src/utils/swarm/backends/TmuxBackend.ts:208
↓ 2 callersFunctionsetPlanSlug
(sessionId: SessionId, slug: string)
src/utils/plans.ts:54
↓ 2 callersMethodsetPosition
(edge: LayoutEdge, value: number)
src/ink/layout/yoga.ts:259
↓ 2 callersFunctionsetProjectRoot
(cwd: string)
src/bootstrap/state.ts:523
↓ 2 callersFunctionsetPromptId
(id: string | null)
src/bootstrap/state.ts:1755
↓ 2 callersFunctionsetQuestionPreviewFormat
(format: 'markdown' | 'html')
src/bootstrap/state.ts:1124
↓ 2 callersFunctionsetRawMode
()
src/ink/components/StdinContext.ts:39
↓ 2 callersMethodsetRemoteIngressUrl
(url: string)
src/utils/sessionStorage.ts:1345
↓ 2 callersFunctionsetReplBridgeHandle
(h: ReplBridgeHandle | null)
src/bridge/replBridgeHandle.ts:18
↓ 2 callersFunctionsetScheduledTasksEnabled
(enabled: boolean)
src/bootstrap/state.ts:1272
↓ 2 callersMethodsetSelectionBg
(bg: AnsiCode | null)
src/ink/screen.ts:239
↓ 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
src/ink/ink.tsx:1131
↓ 2 callersFunctionsetSessionTrustAccepted
(accepted: boolean)
src/bootstrap/state.ts:1317
↓ 2 callersFunctionsetStyle
(node: DOMNode, style: Styles)
src/ink/dom.ts:266
↓ 2 callersFunctionsetTeleportedSessionInfo
(info: { sessionId: string | null })
src/bootstrap/state.ts:1477
↓ 2 callersFunctionsetTerminalFocused
(v: boolean)
src/ink/terminal-focus-state.ts:12
← previousnext →3,901–4,000 of 11,484, ranked by callers