MCPcopy Create free account

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

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

↓ 2 callersFunctiondeduplicateLogsBySessionId
* Deduplicates logs by sessionId, keeping the entry with the newest * modified time. Returns sorted logs with sequential value indices.
src/utils/sessionStorage.ts:4955
↓ 2 callersFunctiondefaultStyle
()
src/native-ts/yoga-layout/index.ts:167
↓ 2 callersFunctiondeletePluginDataDir
(pluginId: string)
src/utils/plugins/pluginDirectories.ts:168
↓ 2 callersFunctiondeletePluginOptions
(pluginId: string)
src/utils/plugins/pluginOptionsStorage.ts:210
↓ 2 callersFunctiondeleteTask
( taskListId: string, taskId: string, )
src/utils/tasks.ts:393
↓ 2 callersMethoddeleteToLineEnd
()
src/utils/Cursor.ts:896
↓ 2 callersMethoddeleteToLineStart
()
src/utils/Cursor.ts:880
↓ 2 callersMethoddeleteWordAfter
()
src/utils/Cursor.ts:971
↓ 2 callersFunctiondenialsFor
src/components/permissions/rules/PermissionRuleList.tsx:798
↓ 2 callersFunctiondenyAutoMemTool
(tool: Tool, reason: string)
src/services/extractMemories/extractMemories.ts:154
↓ 2 callersMethoddequeue
()
web/lib/performance/worker-pool.ts:87
↓ 2 callersFunctionderiveTitle
* Quick placeholder title: strip display tags, take the first sentence, * collapse whitespace, truncate to 50 chars. Returns undefined if the result
src/bridge/initReplBridge.ts:555
↓ 2 callersFunctiondescribeAxiosError
(err: unknown)
src/bridge/debugUtils.ts:60
↓ 2 callersFunctiondescribeTeammateActivity
(t: DeepImmutable<InProcessTeammateTaskState>)
src/components/tasks/taskStatusUtils.tsx:77
↓ 2 callersFunctiondeserializeMessages
(serializedMessages: Message[])
src/utils/conversationRecovery.ts:154
↓ 2 callersFunctiondeserializeMessagesWithInterruptDetection
( serializedMessages: Message[], )
src/utils/conversationRecovery.ts:164
↓ 2 callersMethoddestroySession
* Force-kill a session immediately (used by the REST API).
src/server/web/session-manager.ts:321
↓ 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 callersFunctiondetectLanguage
(filePath: string)
web/lib/fileViewerStore.ts:53
↓ 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 callersMethoddisable
()
src/server/web/public/terminal.js:2017
↓ 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 callersMethoddisconnect
()
web/lib/collaboration/socket.ts:266
↓ 2 callersFunctiondismiss
(id: string)
web/components/ui/toast.tsx:51
↓ 2 callersMethoddispatch
(slot: WorkerSlot, task: WorkerTask<T>)
web/lib/performance/worker-pool.ts:58
↓ 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 callersFunctionemit
()
web/components/ui/toast.tsx:28
↓ 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 callersMethoderaseInDisplay
(e3, t3 = false)
src/server/web/public/terminal.js:2942
↓ 2 callersMethoderaseInLine
(e3, t3 = false)
src/server/web/public/terminal.js:2963
↓ 2 callersMethoderror
(message: string, ...args: unknown[])
src/utils/computerUse/hostAdapter.ts:25
↓ 2 callersFunctionescapeRegex
(str: string)
web/components/file-viewer/SearchBar.tsx:248
↓ 2 callersFunctionescapeXmlAttr
(s: string)
src/utils/xml.ts:14
↓ 2 callersFunctionestimateSkillFrontmatterTokens
(skill: Command)
src/skills/loadSkillsDir.ts:100
↓ 2 callersMethodevent
()
src/server/web/public/terminal.js:2651
↓ 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
← previousnext →3,201–3,300 of 13,048, ranked by callers