MCPcopy Create free account

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

Functions13,048 in github.com/codeaashu/claude-code

↓ 4 callersFunctionrunIt2
* Runs an it2 CLI command and returns the result.
src/utils/swarm/backends/ITermBackend.ts:36
↓ 4 callersFunctionrunTmuxInUserSession
* Runs a tmux command in the user's original tmux session (no socket override). * Use this for operations that interact with the user's tmux panes (s
src/utils/swarm/backends/TmuxBackend.ts:77
↓ 4 callersFunctionrunTypeahead
* Append a keystroke to the typeahead buffer (reset after 2s idle) and * call `onMatch` with the index of the first label that prefix-matches. *
src/components/mcp/ElicitationDialog.tsx:459
↓ 4 callersFunctionsameIf
(x: { if?: string }, y: { if?: string })
src/utils/hooks/hooksSettings.ts:43
↓ 4 callersFunctionsanitizeAndLogError
(err: unknown)
src/components/Feedback.tsx:502
↓ 4 callersMethodsaveCursor
(e3)
src/server/web/public/terminal.js:3339
↓ 4 callersFunctionsaveCustomTitle
( sessionId: UUID, customTitle: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
src/utils/sessionStorage.ts:2617
↓ 4 callersFunctionsaveStatsCache
( cache: PersistedStatsCache, )
src/utils/statsCache.ts:214
↓ 4 callersFunctionschedulePush
* Debounced push: waits for writes to settle, then pushes once.
src/services/teamMemorySync/watcher.ts:132
↓ 4 callersFunctionscopeKey
(m: { session_id: string parent_tool_use_id: string | null })
src/cli/transports/ccrClient.ts:120
↓ 4 callersMethodscroll
(e3, t3 = false)
src/server/web/public/terminal.js:5396
↓ 4 callersMethodscrollLines
(e3, t3, i3)
src/server/web/public/terminal.js:2597
↓ 4 callersFunctionsedCommandIsAllowedByAllowlist
( command: string, options?: { allowFileWrites?: boolean }, )
src/tools/BashTool/sedValidation.ts:247
↓ 4 callersFunctionselectionBounds
(s: SelectionState)
src/ink/selection.ts:684
↓ 4 callersFunctionsetAgentColor
( agentType: string, color: AgentColorName | undefined, )
src/tools/AgentTool/agentColorManager.ts:52
↓ 4 callersMethodsetAlignItems
(align: LayoutAlign)
src/ink/layout/yoga.ts:209
↓ 4 callersMethodsetAlignSelf
(align: LayoutAlign)
src/ink/layout/yoga.ts:220
↓ 4 callersMethodsetFlexDirection
(dir: LayoutFlexDirection)
src/ink/layout/yoga.ts:177
↓ 4 callersFunctionsetMcpServerEnabled
(name: string, enabled: boolean)
src/services/mcp/config.ts:1553
↓ 4 callersMethodsetSandboxSettings
(options: { enabled?: boolean autoAllowBashIfSandboxed?: boolean allowUnsandboxedCommands?: boolea
src/utils/sandbox/sandbox-adapter.ts:892
↓ 4 callersFunctionsetTextNodeValue
(node: TextNode, text: string)
src/ink/dom.ts:425
↓ 4 callersFunctionsetTheme
(t: Theme)
web/lib/theme.tsx:58
↓ 4 callersMethodsetgLevel
(e3)
src/server/web/public/terminal.js:5429
↓ 4 callersMethodsetupTabStops
(e3)
src/server/web/public/terminal.js:4021
↓ 4 callersFunctionshouldAllowManagedPermissionRulesOnly
()
src/utils/permissions/permissionsLoader.ts:31
↓ 4 callersFunctionshouldAllowManagedSandboxDomainsOnly
()
src/utils/sandbox/sandbox-adapter.ts:152
↓ 4 callersFunctionshouldDisableAllHooksIncludingManaged
()
src/utils/hooks/hooksConfigSnapshot.ts:83
↓ 4 callersFunctionshouldEmit
(hookEvent: string)
src/utils/hooks/hookEvents.ts:83
↓ 4 callersFunctionshouldEnableThinkingByDefault
()
src/utils/thinking.ts:146
↓ 4 callersFunctionshouldProcessRateLimits
(isSubscriber: boolean)
src/services/rateLimitMocking.ts:32
↓ 4 callersFunctionshouldSkipHookDueToTrust
()
src/utils/hooks.ts:286
↓ 4 callersMethodshutdown
()
src/services/analytics/firstPartyEventLoggingExporter.ts:764
↓ 4 callersFunctionshutdown1PEventLogging
()
src/services/analytics/firstPartyEventLogger.ts:116
↓ 4 callersFunctionshutdownDatadog
()
src/services/analytics/datadog.ts:151
↓ 4 callersFunctionsliceFit
(text: string, start: number, end: number)
src/ink/wrap-text.ts:10
↓ 4 callersMethodsnapOutOfImageRef
* If offset lands strictly inside an [Image #N] chip, snap it to the given * boundary. Used by word-movement methods so Ctrl+W / Alt+D never leave
src/utils/Cursor.ts:340
↓ 4 callersFunctionsplitCommandWithOperators
(command: string)
src/utils/bash/commands.ts:85
↓ 4 callersMethodstartOAuthFlow
( authURLHandler: (url: string, automaticUrl?: string) => Promise<void>, options?: { loginWithCl
src/services/oauth/index.ts:32
↓ 4 callersFunctionstoreImage
( content: PastedContent, )
src/utils/imageStore.ts:54
↓ 4 callersFunctionstoreOAuthAccountInfo
({ accountUuid, emailAddress, organizationUuid, displayName, hasExtraUsageEnabled, billingType,
src/services/oauth/client.ts:517
↓ 4 callersFunctionsuggestPathUnderCwd
( requestedPath: string, )
src/utils/file.ts:228
↓ 4 callersFunctionsupportsTabStatus
()
src/ink/termio/osc.ts:467
↓ 4 callersFunctiontailFile
( path: string, maxBytes: number, )
src/utils/fsOperations.ts:682
↓ 4 callersMethodtakeStreamEvents
Take ownership of buffered stream_events and clear the delay timer.
src/cli/transports/HybridTransport.ts:155
↓ 4 callersFunctionteleportResumeCodeSession
(sessionId: string, onProgress?: TeleportProgressCallback)
src/utils/teleport.tsx:430
↓ 4 callersFunctionthrowFault
(fault: BridgeFault, context: string)
src/bridge/bridgeDebug.ts:96
↓ 4 callersFunctiontoArray
(val: T | T[])
src/utils/bash/prefix.ts:14
↓ 4 callersFunctiontoPersistableEffort
( value: EffortValue | undefined, )
src/utils/effort.ts:95
↓ 4 callersFunctiontoThemeColor
( colorName: string | undefined, fallback: keyof Theme = 'cyan_FOR_SUBAGENTS_ONLY', )
src/components/PromptInput/useSwarmBanner.ts:148
↓ 4 callersMethodtoggle
()
src/utils/terminalPanel.ts:56
↓ 4 callersMethodtokens
()
src/services/mcp/auth.ts:1540
↓ 4 callersFunctiontrack
(p: Promise<T>)
src/utils/task/diskOutput.ts:83
↓ 4 callersFunctiontransformRedirection
(raw: RawRedirection)
src/utils/powershell/parser.ts:962
↓ 4 callersFunctiontransitionPermissionMode
( fromMode: string, toMode: string, context: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:597
↓ 4 callersFunctiontransitionStyle
( diff: Diff, stylePool: StylePool, currentId: number, targetId: number, )
src/ink/log-update.ts:482
↓ 4 callersFunctiontruncate
( str: string, maxWidth: number, singleLine: boolean = false, )
src/utils/truncate.ts:134
↓ 4 callersFunctiontruncateToWidthNoEllipsis
( text: string, maxWidth: number, )
src/utils/truncate.ts:108
↓ 4 callersFunctiontryReadFileForSync
* Try to read a file for sync, with size limit and error handling. * Returns null if file doesn't exist, is empty, or exceeds size limit.
src/services/settingsSync/index.ts:398
↓ 4 callersFunctiontryRemove
(filePath: string, description: string)
src/utils/nativeInstaller/installer.ts:1549
↓ 4 callersFunctionunassignTeammateTasks
( teamName: string, teammateId: string, teammateName: string, reason: 'terminated' | 'shutdown', )
src/utils/tasks.ts:818
↓ 4 callersMethodunclip
()
src/ink/output.ts:262
↓ 4 callersFunctionunsetField
(fieldName_2: string)
src/components/mcp/ElicitationDialog.tsx:358
↓ 4 callersFunctionunzipFile
( zipData: Buffer, )
src/utils/dxt/zip.ts:113
↓ 4 callersFunctionupdatePidFile
* Update this session's name in its PID registry file so ListPeers * can surface it. Best-effort: silently no-op if name is falsy, the * file doesn'
src/utils/concurrentSessions.ts:116
↓ 4 callersFunctionupdateSdkMcp
()
src/cli/print.ts:1389
↓ 4 callersFunctionuseClaudeAiLimits
()
src/services/claudeAiLimitsHook.ts:8
↓ 4 callersFunctionuseCollaborationContextOptional
()
web/components/collaboration/CollaborationProvider.tsx:137
↓ 4 callersFunctionuseIsModalOverlayActive
()
src/context/overlayContext.tsx:140
↓ 4 callersFunctionuseMcpToggleEnabled
()
src/services/mcp/MCPConnectionManager.tsx:24
↓ 4 callersFunctionuseStats
()
src/context/stats.tsx:157
↓ 4 callersFunctionuseVoiceEnabled
()
src/hooks/useVoiceEnabled.ts:19
↓ 4 callersFunctionvalidateAuthToken
(req: IncomingMessage)
src/server/web/auth.ts:7
↓ 4 callersFunctionvalidateBoundedIntEnvVar
( name: string, value: string | undefined, defaultValue: number, upperLimit: number, )
src/utils/envValidation.ts:9
↓ 4 callersFunctionvalidateElicitationInput
( stringValue: string, schema: PrimitiveSchemaDefinition, )
src/utils/mcp/elicitationValidation.ts:225
↓ 4 callersFunctionvalidateFlags
( tokens: string[], startIndex: number, config: ExternalCommandConfig, options?: { commandName?: s
src/utils/shell/readOnlyCommandValidation.ts:1684
↓ 4 callersFunctionvalidateWorktreeSlug
(slug: string)
src/utils/worktree.ts:66
↓ 4 callersFunctionwaitForPolicyLimitsToLoad
()
src/services/policyLimits/index.ts:217
↓ 4 callersMethodwcwidth
(e3)
src/server/web/public/terminal.js:5902
↓ 4 callersFunctionwithDiagnosticsTiming
( event: string, fn: () => Promise<T>, getData?: (result: T) => Record<string, unknown>, )
src/utils/diagLogs.ts:72
↓ 4 callersFunctionwithRetry
Retry an async init call with exponential backoff + jitter.
src/bridge/remoteBridgeCore.ts:892
↓ 4 callersFunctionwrapWithOsc8Link
(text: string, url: string)
src/ink/render-node-to-output.ts:184
↓ 4 callersMethodwriteEvent
* Write a StdoutMessage as a client event via POST /sessions/{id}/worker/events. * These events are visible to frontend clients via the SSE stream.
src/cli/transports/ccrClient.ts:735
↓ 4 callersFunctionwriteFileForSync
( filePath: string, content: string, )
src/services/settingsSync/index.ts:461
↓ 4 callersFunctionwriteFileSyncAndFlush_DEPRECATED
( filePath: string, content: string, options: { encoding: BufferEncoding; mode?: number } = { encoding:
src/utils/file.ts:362
↓ 4 callersFunctionwriteFn
(content: string)
src/utils/asciicast.ts:173
↓ 4 callersFunctionwriteTextContent
( filePath: string, content: string, encoding: BufferEncoding, endings: LineEndingType, )
src/utils/file.ts:84
↓ 4 callersFunctionwriteThroughGlobalConfigCache
(config: GlobalConfig)
src/utils/config.ts:1039
↓ 4 callersFunctionwriteToDisk
( plugins: Record<string, FlaggedPlugin>, )
src/utils/plugins/pluginFlagging.ts:86
↓ 4 callersMethodwriteln
(e3, t3)
src/server/web/public/terminal.js:6120
↓ 3 callersMethod#cleanupListeners
()
src/utils/ShellCommand.ts:218
↓ 3 callersMethod#doKill
(code?: number)
src/utils/ShellCommand.ts:337
↓ 3 callersMethod#resolveExitCode
(code: number)
src/utils/ShellCommand.ts:209
↓ 3 callersMethod_addStyle
(e3, t3)
src/server/web/public/terminal.js:1490
↓ 3 callersMethod_applyMinimumContrast
(e3, t3, i3, s3, r2, n2)
src/server/web/public/terminal.js:1477
↓ 3 callersMethod_askForLink
(e3, t3)
src/server/web/public/terminal.js:244
↓ 3 callersMethod_clearCells
(e3, t3, i3, s3)
src/server/web/public/terminal.js:7245
↓ 3 callersMethod_clearSmoothScrollState
()
src/server/web/public/terminal.js:870
↓ 3 callersMethod_createNewPage
()
src/server/web/public/terminal.js:7641
↓ 3 callersMethod_fireEventIfSelectionChanged
()
src/server/web/public/terminal.js:2171
↓ 3 callersMethod_fireUnderlineEvent
(e3, t3)
src/server/web/public/terminal.js:336
← previousnext →1,801–1,900 of 13,048, ranked by callers