MCPcopy Create free account

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

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

↓ 2 callersFunctiondetectAndUninstallDelistedPlugins
()
src/utils/plugins/pluginBlocklist.ts:64
↓ 2 callersFunctiondetectAsdf
()
src/utils/nativeInstaller/packageManagers.ts:81
↓ 2 callersFunctiondetectColorMode
(theme: string)
src/native-ts/color-diff/index.ts:95
↓ 2 callersFunctiondetectCommandSubstitution
( prev: ParseEntry | undefined, kept: ParseEntry[], index: number, )
src/utils/bash/commands.ts:1143
↓ 2 callersFunctiondetectFileEncoding
(filePath: string)
src/utils/file.ts:100
↓ 2 callersFunctiondetectGateway
({ headers, baseUrl, }: { headers?: globalThis.Headers baseUrl?: string })
src/services/api/logging.ts:107
↓ 2 callersFunctiondetectJetBrainsIDEFromParentProcessAsync
()
src/utils/envDynamic.ts:64
↓ 2 callersFunctiondetectLanguage
( filePath: string, firstLine: string | null, )
src/native-ts/color-diff/index.ts:422
↓ 2 callersFunctiondetectLineEndingsForString
(content: string)
src/utils/fileRead.ts:51
↓ 2 callersFunctiondetectMagicDocHeader
( content: string, )
src/services/MagicDocs/magicDocs.ts:52
↓ 2 callersFunctiondetectMise
()
src/utils/nativeInstaller/packageManagers.ts:62
↓ 2 callersFunctiondetectPackageManager
()
src/services/voice.ts:151
↓ 2 callersFunctiondetectPromptTooLong
* Detect API 400 "prompt is too long: N tokens > M maximum" errors and * parse the token counts. Returns undefined for any other error. * These are
src/utils/permissions/yoloClassifier.ts:1463
↓ 2 callersFunctiondetectRunningIDEs
()
src/utils/ide.ts:1154
↓ 2 callersFunctiondetectShell
()
src/utils/completionCache.ts:24
↓ 2 callersFunctiondetectWinget
()
src/utils/nativeInstaller/packageManagers.ts:133
↓ 2 callersFunctiondiff
(before: AnyObject, after: AnyObject)
src/ink/reconciler.ts:62
↓ 2 callersFunctiondiffMarketplaces
( declared: Record<string, DeclaredMarketplace>, materialized: KnownMarketplacesFile, opts?: { projectRo
src/utils/plugins/reconciler.ts:50
↓ 2 callersFunctiondisableAudioBellForProfile
(profileName: string)
src/commands/terminalSetup/terminalSetup.tsx:289
↓ 2 callersMethoddiscard
* Discards all pending and in-progress tools. Called when streaming fallback * occurs and results from the failed attempt should be abandoned. *
src/services/tools/StreamingToolExecutor.ts:69
↓ 2 callersMethoddispatchDiscrete
* Dispatch with discrete (sync) priority. * For user-initiated events: keyboard, click, focus, paste.
src/ink/events/dispatcher.ts:207
↓ 2 callersFunctiondispose
()
src/utils/hooks/fileChangedWatcher.ts:177
↓ 2 callersMethoddoDisconnect
()
src/cli/transports/WebSocketTransport.ts:380
↓ 2 callersFunctiondoDownloadUserSettings
( maxRetries = DEFAULT_MAX_RETRIES, )
src/services/settingsSync/index.ts:157
↓ 2 callersFunctiondoRequest
()
src/services/mcp/client.ts:374
↓ 2 callersFunctiondoUninstall
(deleteDataDir: boolean)
src/commands/plugin/ManagePlugins.tsx:1556
↓ 2 callersFunctiondoesMostRecentAssistantMessageExceed200k
( messages: Message[], )
src/utils/tokens.ts:159
↓ 2 callersFunctiondone
(result: T)
src/interactiveHelpers.tsx:41
↓ 2 callersMethoddown
()
src/utils/Cursor.ts:377
↓ 2 callersMethoddownLogicalLine
()
src/utils/Cursor.ts:533
↓ 2 callersFunctiondownloadUserSettings
()
src/services/settingsSync/index.ts:129
↓ 2 callersFunctiondownloadVersionFromBinaryRepo
( version: string, stagingPath: string, baseUrl: string, authConfig?: { auth?: { username: string;
src/utils/nativeInstaller/download.ts:382
↓ 2 callersMethoddrain
* Drain loop. At most one instance runs at a time (guarded by this.draining). * Sends batches serially. On failure, backs off and retries indefinit
src/cli/transports/SerialBatchEventUploader.ts:156
↓ 2 callersFunctiondrainFlushGate
()
src/bridge/remoteBridgeCore.ts:607
↓ 2 callersFunctiondrainFlushGate
()
src/bridge/replBridge.ts:848
↓ 2 callersMethoddrainWriteQueue
()
src/utils/sessionStorage.ts:645
↓ 2 callersFunctiondropContainedSpans
* Drops spans that are fully contained within another span, keeping only the * outermost. Nested quotes (e.g., `"$(echo 'hi')"`) yield overlapping sp
src/utils/bash/treeSitterAnalysis.ts:159
↓ 2 callersFunctiondropSubtreeCache
(node: DOMElement)
src/ink/render-node-to-output.ts:1450
↓ 2 callersFunctiondumpErrorPrompts
* Dump classifier input prompts + context-comparison diagnostics on API error. * Written to a session-scoped file in the claude temp dir so /share ca
src/utils/permissions/yoloClassifier.ts:213
↓ 2 callersFunctioneagerParseCliFlag
( flagName: string, argv: string[] = process.argv, )
src/utils/cliArgs.ts:13
↓ 2 callersFunctionembedTextInBorder
( borderLine: string, text: string, align: 'start' | 'end' | 'center', offset: number = 0, borderCha
src/ink/render-border.ts:35
↓ 2 callersFunctionemitHookStarted
( hookId: string, hookName: string, hookEvent: string, )
src/utils/hooks/hookEvents.ts:93
↓ 2 callersFunctionemitProcessMetadata
* Emit metadata events for a process/agent
src/utils/telemetry/perfettoTracing.ts:340
↓ 2 callersFunctionenable
()
src/utils/cronScheduler.ts:396
↓ 2 callersFunctionenableOptionAsMetaForProfile
(profileName: string)
src/commands/terminalSetup/terminalSetup.tsx:270
↓ 2 callersFunctionendLLMRequestSpan
( span?: Span, metadata?: { inputTokens?: number outputTokens?: number cacheReadTokens?: numbe
src/utils/telemetry/sessionTracing.ts:353
↓ 2 callersMethodendOfVimWord
()
src/utils/Cursor.ts:691
↓ 2 callersMethodendOfWORD
()
src/utils/Cursor.ts:788
↓ 2 callersFunctionendToolBlockedOnUserSpan
( decision?: string, source?: string, )
src/utils/telemetry/sessionTracing.ts:577
↓ 2 callersFunctionendToolExecutionSpan
(metadata?: { success?: boolean error?: string })
src/utils/telemetry/sessionTracing.ts:657
↓ 2 callersMethodenqueue
(value: T)
src/utils/stream.ts:38
↓ 2 callersMethodenqueue
* If flush is active, queue the items and return true. * If flush is not active, return false (caller should send directly).
src/bridge/flushGate.ts:46
↓ 2 callersFunctionenqueueRemoteReviewFailureNotification
* Enqueue a remote-review failure notification.
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:347
↓ 2 callersFunctionenqueueResult
(value: string)
src/utils/processUserInput/processSlashCommand.tsx:126
↓ 2 callersFunctionensureModelStringsInitialized
()
src/utils/model/modelStrings.ts:152
↓ 2 callersFunctionensurePermissionDirsAsync
* Ensure the permissions directory structure exists (async)
src/utils/swarm/permissionSync.ts:133
↓ 2 callersFunctionensureServerStarted
* Ensure the appropriate LSP server is started for the given file. * Returns undefined if no server handles this file type. * * @throws {Erro
src/services/lsp/LSPServerManager.ts:215
↓ 2 callersFunctionenvSessionKind
* Kind override from env. Set by the spawner (`claude --bg`, daemon * supervisor) so the child can register without the parent having to * write the
src/utils/concurrentSessions.ts:31
↓ 2 callersMethoderror
(message: string, ...args: unknown[])
src/utils/computerUse/hostAdapter.ts:25
↓ 2 callersFunctionescapeXmlAttr
(s: string)
src/utils/xml.ts:14
↓ 2 callersFunctionestimateSkillFrontmatterTokens
(skill: Command)
src/skills/loadSkillsDir.ts:100
↓ 2 callersFunctionevictOldestEvents
* Drop the oldest half of events[] when over MAX_EVENTS. Called from the * stale-span cleanup interval (60s). The half-batch splice keeps this * amo
src/utils/telemetry/perfettoTracing.ts:232
↓ 2 callersFunctionevictOldestIfAtCap
()
src/utils/imageStore.ts:115
↓ 2 callersFunctionevictStaleSpans
* Evict pending spans older than STALE_SPAN_TTL_MS. * Mirrors the TTL cleanup pattern in sessionTracing.ts.
src/utils/telemetry/perfettoTracing.ts:187
↓ 2 callersFunctionexecHttpHook
( hook: HttpHook, _hookEvent: HookEvent, jsonInput: string, signal?: AbortSignal, )
src/utils/hooks/execHttpHook.ts:123
↓ 2 callersFunctionexecuteEnvHooks
( hookInput: HookInput, timeoutMs: number, )
src/utils/hooks.ts:4241
↓ 2 callersFunctionexecuteInBackground
({ processId, hookId, shellCommand, asyncResponse, hookEvent, hookName, command, asyncRewake,
src/utils/hooks.ts:184
↓ 2 callersFunctionexecuteIndent
( dir: '>' | '<', count: number, ctx: OperatorContext, )
src/vim/operators.ts:348
↓ 2 callersFunctionexecuteInstructionsLoadedHooks
( filePath: string, memoryType: InstructionsMemoryType, loadReason: InstructionsLoadReason, options?:
src/utils/hooks.ts:4335
↓ 2 callersFunctionexecuteJoin
(count: number, ctx: OperatorContext)
src/vim/operators.ts:258
↓ 2 callersFunctionexecuteLineOp
( op: Operator, count: number, ctx: OperatorContext, )
src/vim/operators.ts:102
↓ 2 callersFunctionexecuteNonStreamingRequest
( clientOptions: { model: string fetchOverride?: Options['fetchOverride'] source: string },
src/services/api/claude.ts:818
↓ 2 callersFunctionexecuteOperatorFind
( op: Operator, findType: FindType, char: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:59
↓ 2 callersFunctionexecuteOperatorTextObj
( op: Operator, scope: TextObjScope, objType: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:80
↓ 2 callersFunctionexecutePostCompactHooks
( compactData: { trigger: 'manual' | 'auto' compactSummary: string }, signal?: AbortSignal, ti
src/utils/hooks.ts:4034
↓ 2 callersFunctionexecuteReplace
( char: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:199
↓ 2 callersFunctionexecuteTaskCompletedHooks
( taskId: string, taskSubject: string, taskDescription?: string, teammateName?: string, teamName?: s
src/utils/hooks.ts:3789
↓ 2 callersFunctionexecuteToggleCase
(count: number, ctx: OperatorContext)
src/vim/operators.ts:222
↓ 2 callersFunctionexecuteUserInput
* Core logic for executing user input without UI side effects. * * All commands arrive as `queuedCommands`. First command gets full treatment * (at
src/utils/handlePromptSubmit.ts:396
↓ 2 callersFunctionexecuteWorktreeRemoveHook
( worktreePath: string, )
src/utils/hooks.ts:4967
↓ 2 callersFunctionexecuteX
(count: number, ctx: OperatorContext)
src/vim/operators.ts:171
↓ 2 callersFunctionexpandKey
Key for click-to-expand: tool_use_id where available (so tool_use + its * tool_result expand together), else uuid for groups/thinking.
src/components/Messages.tsx:725
↓ 2 callersFunctionexpandString
(str: string)
src/services/mcp/config.ts:562
↓ 2 callersFunctionextractAgentMentions
(content: string)
src/utils/attachments.ts:2802
↓ 2 callersFunctionextractBashCommentLabel
(command: string)
src/tools/BashTool/commentLabel.ts:8
↓ 2 callersFunctionextractBashToolsFromMessages
(messages: Message[])
src/utils/queryHelpers.ts:507
↓ 2 callersFunctionextractCommandName
* Extract the command name from a PowerShell command string. * Uses the parser to get the first command name from the AST.
src/tools/PowerShellTool/powershellPermissions.ts:118
↓ 2 callersFunctionextractConversationText
(messages: Message[])
src/utils/sessionTitle.ts:33
↓ 2 callersFunctionextractFromServerConfigRecord
( serverConfigs: Record<string, unknown>, )
src/utils/plugins/lspRecommendation.ts:112
↓ 2 callersFunctionextractFunctionHooks
( sessionMatchers: SessionHookMatcher[], )
src/utils/hooks/sessionHooks.ts:357
↓ 2 callersFunctionextractGitHubRepoFromGitUrl
* Extract GitHub owner/repo from a git URL if it's a GitHub URL. * Returns null if not a GitHub URL. * * Handles: * - git@github.com:owner/repo.gi
src/utils/plugins/marketplaceHelpers.ts:348
↓ 2 callersFunctionextractHostFromSource
( source: MarketplaceSource, )
src/utils/plugins/marketplaceHelpers.ts:235
↓ 2 callersFunctionextractInboundMessageFields
( msg: SDKMessage, )
src/bridge/inboundMessages.ts:21
↓ 2 callersFunctionextractJsonStringFieldPrefix
* Like extractJsonStringField but returns the first `maxLen` characters of the * value even when the closing quote is missing (truncated buffer). New
src/utils/sessionStorage.ts:4921
↓ 2 callersFunctionextractMcpToolDetails
(toolName: string)
src/services/analytics/metadata.ts:176
↓ 2 callersFunctionextractMcpToolDisplayName
(userFacingName: string)
src/services/mcp/mcpStringUtils.ts:88
↓ 2 callersFunctionextractPDFPages
( filePath: string, options?: { firstPage?: number; lastPage?: number }, )
src/utils/pdf.ts:179
↓ 2 callersFunctionextractPartialResult
( messages: MessageType[], )
src/tools/AgentTool/agentToolUtils.ts:488
↓ 2 callersFunctionextractPathsFromCommand
* Extract file paths from a parsed PowerShell command element. * Uses the AST args to find positional and named path parameters. * * If any path ar
src/tools/PowerShellTool/pathValidation.ts:1304
↓ 2 callersFunctionextractPathsFromText
(textContent: string)
src/utils/claudemd.ts:458
← previousnext →2,801–2,900 of 11,484, ranked by callers