MCPcopy Create free account

hub / github.com/ChinaSiro/claude-code-sourcemap / functions

Functions35,398 in github.com/ChinaSiro/claude-code-sourcemap

↓ 2 callersMethodcountTokens
(q,K)
package/cli.js:39
↓ 2 callersFunctioncountToolCalls
( messages: Message[], toolName: string, maxCount?: number, )
restored-src/src/utils/messages.ts:4691
↓ 2 callersFunctioncountWorktreeChanges
* Returns null when state cannot be reliably determined — callers that use * this as a safety gate must treat null as "unknown, assume unsafe" * (fa
restored-src/src/tools/ExitWorktreeTool/ExitWorktreeTool.ts:79
↓ 2 callersMethodcounts
()
package/cli.js:2044
↓ 2 callersFunctioncp8
(q,K)
package/cli.js:4541
↓ 2 callersFunctioncq1
(q,K)
package/cli.js:128
↓ 2 callersFunctioncr7
(q=[],{useFipsEndpoint:K,useDualstackEndpoint:_})
package/cli.js:291
↓ 2 callersFunctioncreateAbortedCommand
( backgroundTaskId?: string, opts?: { stderr?: string; code?: number }, )
restored-src/src/utils/ShellCommand.ts:437
↓ 2 callersFunctioncreateAgentWorktree
(slug: string)
restored-src/src/utils/worktree.ts:902
↓ 2 callersFunctioncreateAndUploadGitBundle
( config: FilesApiConfig, opts?: { cwd?: string; signal?: AbortSignal }, )
restored-src/src/utils/teleport/gitBundle.ts:152
↓ 2 callersFunctioncreateAsyncAgentAttachmentsIfNeeded
( context: ToolUseContext, )
restored-src/src/services/compact/compact.ts:1568
↓ 2 callersMethodcreateAttributeNS
(j,H)
package/cli.js:2161
↓ 2 callersFunctioncreateAuthFetch
* Creates a fetch function with a fresh 30-second timeout for each OAuth request. * Used by ClaudeAuthProvider for metadata discovery and token refre
restored-src/src/services/mcp/auth.ts:198
↓ 2 callersFunctioncreateAutoMemCanUseTool
(memoryDir: string)
restored-src/src/services/extractMemories/extractMemories.ts:171
↓ 2 callersFunctioncreateBackup
* Creates a backup of the file at filePath. If the file does not exist * (ENOENT), records a null backup (file-did-not-exist marker). All IO is * as
restored-src/src/utils/fileHistory.ts:748
↓ 2 callersFunctioncreateBedrockClient
()
restored-src/src/utils/model/bedrock.ts:50
↓ 2 callersMethodcreateCancellationTokenSource
(q)
package/cli.js:2494
↓ 2 callersFunctioncreateCapacityWake
(outerSignal: AbortSignal)
restored-src/src/bridge/capacityWake.ts:28
↓ 2 callersFunctioncreateCategorySquares
( category: (typeof categorySquares)[0], )
restored-src/src/utils/analyzeContext.ts:1206
↓ 2 callersFunctioncreateChromeContext
( env?: Record<string, string>, )
restored-src/src/utils/claudeInChrome/mcpServer.ts:85
↓ 2 callersMethodcreateCommand
(q)
package/cli.js:7936
↓ 2 callersFunctioncreateComputerUseMcpServerForCli
()
restored-src/src/utils/computerUse/mcpServer.ts:60
↓ 2 callersMethodcreateCounter
(q,K)
package/cli.js:470
↓ 2 callersMethodcreateCursorWithColumn
(q,K,_)
package/cli.js:5205
↓ 2 callersMethodcreateCursorWithColumn
( lineStart: number, lineEnd: number, targetColumn: number, )
restored-src/src/utils/Cursor.ts:483
↓ 2 callersFunctioncreateDefaultGlobalConfig
* Factory for a fresh default GlobalConfig. Used instead of deep-cloning a * shared constant — the nested containers (arrays, records) are all empty,
restored-src/src/utils/config.ts:585
↓ 2 callersFunctioncreateDenialTrackingState
()
restored-src/src/utils/permissions/denialTracking.ts:17
↓ 2 callersFunctioncreateDiagnosticKey
* Creates a unique key for a diagnostic based on its content. * Used for both within-batch and cross-turn deduplication.
restored-src/src/services/lsp/LSPDiagnosticRegistry.ts:110
↓ 2 callersFunctioncreateDirectConnectSession
({ serverUrl, authToken, cwd, dangerouslySkipPermissions, }: { serverUrl: string authToken?: strin
restored-src/src/server/createDirectConnectSession.ts:26
↓ 2 callersFunctioncreateEmptyGroup
()
restored-src/src/utils/collapseReadSearch.ts:625
↓ 2 callersFunctioncreateEmptyToolCounts
()
restored-src/src/utils/streamlinedTransform.ts:60
↓ 2 callersMethodcreateEvent
(j)
package/cli.js:2161
↓ 2 callersFunctioncreateFallbackTitle
(description: string)
restored-src/src/components/Feedback.tsx:475
↓ 2 callersMethodcreateGToken
()
package/cli.js:439
↓ 2 callersMethodcreateHTMLDocument
(_)
package/cli.js:2160
↓ 2 callersMethodcreateHttp2Server
(Y)
package/cli.js:2092
↓ 2 callersFunctioncreateITermBackend
* Creates an ITermBackend instance. * Throws if ITermBackend hasn't been registered.
restored-src/src/utils/swarm/backends/registry.ts:119
↓ 2 callersFunctioncreateIdleNotification
( agentId: string, options?: { idleReason?: IdleNotificationMessage['idleReason'] summary?: string
restored-src/src/utils/teammateMailbox.ts:410
↓ 2 callersMethodcreateInsecure
()
package/cli.js:2072
↓ 2 callersFunctioncreateLinkedTransportPair
()
restored-src/src/services/mcp/InProcessTransport.ts:57
↓ 2 callersFunctioncreateMcpAuthTool
( serverName: string, config: ScopedMcpServerConfig, )
restored-src/src/tools/McpAuthTool/McpAuthTool.ts:49
↓ 2 callersFunctioncreateMemoryFileCanUseTool
(memoryPath: string)
restored-src/src/services/SessionMemory/sessionMemory.ts:460
↓ 2 callersFunctioncreateMemorySavedMessage
( writtenPaths: string[], )
restored-src/src/utils/messages.ts:4460
↓ 2 callersMethodcreateMessage
(q,K,_,{logger:z}={})
package/cli.js:16
↓ 2 callersMethodcreateMockScopeDispatchData
({statusCode:q,data:K,responseOptions:_})
package/cli.js:237
↓ 2 callersFunctioncreateModeSetRequestMessage
(params: { mode: string from: string })
restored-src/src/utils/teammateMailbox.ts:1034
↓ 2 callersFunctioncreateMovedToPluginCommand
({ name, description, progressMessage, pluginName, pluginCommand, getPromptWhileMarketplaceIsPriva
restored-src/src/commands/createMovedToPluginCommand.ts:22
↓ 2 callersFunctioncreateNode
(nodeName: ElementNames)
restored-src/src/ink/dom.ts:110
↓ 2 callersFunctioncreateNodeWsClient
* Create a ws.WebSocket client with the MCP protocol. * Bun's ws shim types lack the 3-arg constructor (url, protocols, options) * that the real ws
restored-src/src/services/mcp/client.ts:436
↓ 2 callersFunctioncreateOperatorContext
( cursor: Cursor, isReplay: boolean = false, )
restored-src/src/hooks/useVimInput.ts:82
↓ 2 callersFunctioncreatePasteKey
(content: string)
restored-src/src/ink/parse-keypress.ts:67
↓ 2 callersFunctioncreatePathChecker
( command: PathCommand, operationTypeOverride?: FileOperationType, )
restored-src/src/tools/BashTool/pathValidation.ts:703
↓ 2 callersFunctioncreatePermissionRequest
(params: { toolName: string toolUseId: string input: Record<string, unknown> description: string per
restored-src/src/utils/swarm/permissionSync.ts:167
↓ 2 callersFunctioncreatePlanModeAttachmentIfNeeded
( context: ToolUseContext, )
restored-src/src/services/compact/compact.ts:1542
↓ 2 callersFunctioncreatePluginFromPath
( pluginPath: string, source: string, enabled: boolean, fallbackName: string, strict = true, )
restored-src/src/utils/plugins/pluginLoader.ts:1348
↓ 2 callersFunctioncreatePostCompactFileAttachments
( readFileState: Record<string, { content: string; timestamp: number }>, toolUseContext: ToolUseContext,
restored-src/src/services/compact/compact.ts:1415
↓ 2 callersFunctioncreateProgressMessage
(message: AssistantMessage | NormalizedUserMessage)
restored-src/src/utils/processUserInput/processSlashCommand.tsx:194
↓ 2 callersFunctioncreatePromptRuleContent
(description: string)
restored-src/src/utils/permissions/bashClassifier.ts:20
↓ 2 callersMethodcreateRedirectUriNotSupportedError
()
package/cli.js:382
↓ 2 callersFunctioncreateRemoteSessionConfig
( sessionId: string, getAccessToken: () => string, orgUuid: string, hasInitialPrompt = false, viewer
restored-src/src/remote/RemoteSessionManager.ts:329
↓ 2 callersFunctioncreateResolveOnce
(resolve: (value: T) => void)
restored-src/src/hooks/toolPermission/PermissionContext.ts:75
↓ 2 callersFunctioncreateSessionSpawner
(deps: SessionSpawnerDeps)
restored-src/src/bridge/sessionRunner.ts:248
↓ 2 callersFunctioncreateSingleEditDiffConfig
( filePath: string, oldString: string, newString: string, replaceAll?: boolean, )
restored-src/src/components/permissions/FilePermissionDialog/ideDiffConfig.ts:25
↓ 2 callersFunctioncreateSkillAttachmentIfNeeded
( agentId?: string, )
restored-src/src/services/compact/compact.ts:1494
↓ 2 callersFunctioncreateSkillCommand
({ skillName, displayName, description, hasUserSpecifiedDescription, markdownContent, allowedTools
restored-src/src/skills/loadSkillsDir.ts:270
↓ 2 callersMethodcreateStateNotFoundError
()
package/cli.js:382
↓ 2 callersFunctioncreateStatsStore
()
restored-src/src/context/stats.tsx:28
↓ 2 callersMethodcreateStringToSign
(K,_,z)
package/cli.js:321
↓ 2 callersMethodcreateSyntheticErrorMessage
(q,K,_)
package/cli.js:4102
↓ 2 callersMethodcreateSyntheticErrorMessage
( toolUseId: string, reason: 'sibling_error' | 'user_interrupted' | 'streaming_fallback', assistan
restored-src/src/services/tools/StreamingToolExecutor.ts:153
↓ 2 callersFunctioncreateSyntheticOutputTool
( jsonSchema: Record<string, unknown>, )
restored-src/src/tools/SyntheticOutputTool/SyntheticOutputTool.ts:116
↓ 2 callersFunctioncreateSystemAPIErrorMessage
( error: APIError, retryInMs: number, retryAttempt: number, maxRetries: number, )
restored-src/src/utils/messages.ts:4585
↓ 2 callersMethodcreateTeammatePaneInSwarmView
(q,K)
package/cli.js:2184
↓ 2 callersMethodcreateTeammatePaneInSwarmView
* Creates a new teammate pane in the swarm view. * Uses a lock to prevent race conditions when multiple teammates are spawned in parallel.
restored-src/src/utils/swarm/backends/TmuxBackend.ts:129
↓ 2 callersFunctioncreateTokenRefreshScheduler
({ getAccessToken, onRefresh, label, refreshBufferMs = TOKEN_REFRESH_BUFFER_MS, }: { getAccessToken:
restored-src/src/bridge/jwtUtils.ts:72
↓ 2 callersFunctioncreateToolResultStopMessage
( toolUseID: string, )
restored-src/src/utils/messages.ts:622
↓ 2 callersFunctioncreateTurnDurationMessage
( durationMs: number, budget?: { tokens: number; limit: number; nudges: number }, messageCount?: number,
restored-src/src/utils/messages.ts:4428
↓ 2 callersFunctioncreateWorktreeForSession
( sessionId: string, slug: string, tmuxSessionName?: string, options?: { prNumber?: number }, )
restored-src/src/utils/worktree.ts:702
↓ 2 callersFunctioncreateWrapperScript
* Create a wrapper script in ~/.claude/chrome/ that invokes the given command. This is * necessary because Chrome's native host manifest "path" field
restored-src/src/utils/claudeInChrome/setup.ts:308
↓ 2 callersFunctioncreateWriteStream
(path: string)
restored-src/src/utils/fsOperations.ts:574
↓ 2 callersFunctioncu1
(q,K)
package/cli.js:1570
↓ 2 callersFunctioncursorPosition
(row: number, col: number)
restored-src/src/ink/termio/csi.ts:157
↓ 2 callersFunctioncursorUp
(n = 1)
restored-src/src/ink/termio/csi.ts:129
↓ 2 callersFunctioncvq
(q,K,_)
package/cli.js:384
↓ 2 callersFunctioncw4
(q,K,_,z)
package/cli.js:861
↓ 2 callersFunctioncyq
(q,K)
package/cli.js:427
↓ 2 callersFunctiond$8
(q,K=G41)
package/cli.js:144
↓ 2 callersFunctiond14
(q)
package/cli.js:604
↓ 2 callersFunctiond2K
(q,K,_)
package/cli.js:3109
↓ 2 callersFunctiond41
(q,K,_=Jp6.DEFAULT)
package/cli.js:167
↓ 2 callersFunctiond47
()
package/cli.js:6088
↓ 2 callersFunctiond57
(q,K,_)
package/cli.js:6300
↓ 2 callersFunctiond5K
(q)
package/cli.js:2424
↓ 2 callersFunctiond81
(q,K,_)
package/cli.js:98
↓ 2 callersFunctiond98
(q)
package/cli.js:67
↓ 2 callersFunctiondA4
(q,K,_)
package/cli.js:848
↓ 2 callersFunctiondE4
(q,K)
package/cli.js:1754
↓ 2 callersFunctiondI7
(q)
package/cli.js:237
↓ 2 callersFunctiondI8
(q,K,_)
package/cli.js:3988
↓ 2 callersFunctiondJ4
(q)
package/cli.js:1485
← previousnext →8,501–8,600 of 35,398, ranked by callers