MCPcopy Create free account

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

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

↓ 2 callersFunctionisEligibleForOverageCreditGrant
()
restored-src/src/components/LogoV2/OverageCreditUpsell.tsx:27
↓ 2 callersFunctionisEligibleForRemoteManagedSettings
()
restored-src/src/services/remoteManagedSettings/index.ts:144
↓ 2 callersFunctionisEmptyCellAt
(screen: Screen, x: number, y: number)
restored-src/src/ink/screen.ts:424
↓ 2 callersFunctionisEnhancedTelemetryEnabled
()
restored-src/src/utils/telemetry/sessionTracing.ts:126
↓ 2 callersFunctionisErrnoException
* Type guard narrowing an unknown error to a Node.js errno-style exception. * Uses `in` narrowing so no `as` cast is needed at call sites.
restored-src/src/services/teamMemorySync/index.ts:142
↓ 2 callersFunctionisEscFinal
(byte: number)
restored-src/src/ink/termio/ansi.ts:73
↓ 2 callersFunctionisEscaped
* Checks if a character at a given index is escaped (preceded by odd number of backslashes).
restored-src/src/utils/settings/permissionValidation.ts:15
↓ 2 callersMethodisExpired
()
package/cli.js:384
↓ 2 callersFunctionisExtraUsageAllowed
()
restored-src/src/commands/extra-usage/index.ts:6
↓ 2 callersFunctionisExtraUsageEnabled
* Check if extra usage is enabled based on the cached disabled reason. * Extra usage is considered enabled if there's no disabled reason, * or if th
restored-src/src/utils/model/check1mAccess.ts:11
↓ 2 callersFunctionisExtractModeActive
()
restored-src/src/memdir/paths.ts:69
↓ 2 callersFunctionisFileWithinReadSizeLimit
( filePath: string, maxSizeBytes: number = MAX_OUTPUT_SIZE, )
restored-src/src/utils/file.ts:547
↓ 2 callersFunctionisFoundationModel
(modelId: string)
restored-src/src/utils/model/bedrock.ts:181
↓ 2 callersFunctionisGateEnabled
()
restored-src/src/bridge/trustedDevice.ts:35
↓ 2 callersFunctionisGcpAuthRefreshFromProjectSettings
()
restored-src/src/utils/auth.ts:824
↓ 2 callersFunctionisGeneratedFile
(filePath: string)
restored-src/src/utils/generatedFiles.ts:85
↓ 2 callersFunctionisGitHubSshLikelyConfigured
* Check if SSH is likely to work for GitHub * This is a quick heuristic check that avoids the full clone timeout * * Uses StrictHostKeyChecking=yes
restored-src/src/utils/plugins/marketplaceManager.ts:723
↓ 2 callersFunctionisGitInternalPath
* Checks if a path is a git-internal path (HEAD, objects/, refs/, hooks/).
restored-src/src/tools/BashTool/readOnlyValidation.ts:1781
↓ 2 callersFunctionisHealthy
* Checks if the server is healthy and ready to handle requests. * * @returns true if state is 'running' AND the client has completed initializat
restored-src/src/services/lsp/LSPServerInstance.ts:338
↓ 2 callersFunctionisHookEqual
( a: HookCommand | { type: 'function'; timeout?: number }, b: HookCommand | { type: 'function'; timeout?:
restored-src/src/utils/hooks/hooksSettings.ts:33
↓ 2 callersFunctionisIDEExtensionInstalled
( ideType: IdeType, )
restored-src/src/utils/ide.ts:852
↓ 2 callersFunctionisIdleNotification
* Check if a command value is an idle notification that should be hidden. * Idle notifications are processed silently without showing to the user.
restored-src/src/components/PromptInput/PromptInputQueuedCommands.tsx:20
↓ 2 callersFunctionisIex
(name: string)
restored-src/src/tools/PowerShellTool/powershellSecurity.ts:229
↓ 2 callersFunctionisImageBlock
(block: ContentBlockParam)
restored-src/src/utils/mcpValidation.ts:55
↓ 2 callersFunctionisInTransientGitState
* Check if we're in a transient git state (merge, rebase, cherry-pick, or revert). * During these operations, we skip diff calculation since the work
restored-src/src/utils/gitDiff.ts:307
↓ 2 callersFunctionisInternalHook
(matched: MatchedHook)
restored-src/src/utils/hooks.ts:1440
↓ 2 callersFunctionisInvalidTypeIssue
* Helper type guards for specific Zod v4 issue types * In v4, issue types have different structures than v3
restored-src/src/utils/settings/validation.ts:15
↓ 2 callersFunctionisInvalidValueIssue
(issue: ZodIssue)
restored-src/src/utils/settings/validation.ts:23
↓ 2 callersFunctionisJsonLine
(line: string)
restored-src/src/utils/streamJsonStdoutGuard.ts:14
↓ 2 callersFunctionisJsonlTranscriptEnabled
()
restored-src/src/utils/permissions/yoloClassifier.ts:1379
↓ 2 callersFunctionisKeybindingBlockArray
* Type guard to check if an array contains only valid KeybindingBlocks.
restored-src/src/keybindings/loadUserBindings.ts:108
↓ 2 callersFunctionisLabeledHookSummary
( msg: RenderableMessage, )
restored-src/src/utils/collapseHookSummaries.ts:6
↓ 2 callersFunctionisLegacyModelRemapEnabled
()
restored-src/src/utils/model/model.ts:552
↓ 2 callersFunctionisLocalMcpServer
(config: ScopedMcpServerConfig)
restored-src/src/services/mcp/client.ts:563
↓ 2 callersFunctionisLocationLink
* Checks if an object is a LocationLink (has targetUri) vs Location (has uri)
restored-src/src/tools/LSPTool/formatters.ts:119
↓ 2 callersFunctionisMainSessionTask
( task: unknown, )
restored-src/src/tasks/LocalMainSessionTask.ts:307
↓ 2 callersFunctionisMainThreadSource
(querySource: QuerySource | undefined)
restored-src/src/services/compact/microCompact.ts:249
↓ 2 callersFunctionisMarketplacePluginRelevant
( pluginName: string, context: TipContext | undefined, signals: { filePath?: RegExp; cli?: string[] }, )
restored-src/src/services/tips/tipRegistry.ts:69
↓ 2 callersFunctionisMcpServerCommandEntry
( entry: AllowedMcpServerEntry | DeniedMcpServerEntry, )
restored-src/src/utils/settings/types.ts:1118
↓ 2 callersFunctionisMcpServerDenied
* Check if an MCP server is denied by enterprise policy * Checks name-based, command-based, and URL-based restrictions * @param serverName The name
restored-src/src/services/mcp/config.ts:364
↓ 2 callersFunctionisMcpServerUrlEntry
( entry: AllowedMcpServerEntry | DeniedMcpServerEntry, )
restored-src/src/utils/settings/types.ts:1127
↓ 2 callersFunctionisMcpSessionExpiredError
(error: Error)
restored-src/src/services/mcp/client.ts:193
↓ 2 callersFunctionisMemoryDirectory
(dirPath: string)
restored-src/src/utils/memoryFileDetection.ts:152
↓ 2 callersFunctionisMinimalSession
(sessionId: string)
restored-src/src/commands/insights.ts:2975
↓ 2 callersFunctionisModeSetRequest
( messageText: string, )
restored-src/src/utils/teammateMailbox.ts:1048
↓ 2 callersFunctionisModelCapabilitiesEligible
()
restored-src/src/utils/model/modelCapabilities.ts:46
↓ 2 callersFunctionisMouseTrackingEnabled
()
restored-src/src/utils/fullscreen.ts:140
↓ 2 callersFunctionisMultiSessionSpawnEnabled
* GrowthBook gate for multi-session spawn modes (--spawn / --capacity / --create-session-in-dir). * Sibling of tengu_ccr_bridge_multi_environment (mu
restored-src/src/bridge/bridgeMain.ts:96
↓ 2 callersFunctionisNormalizedCdCommand
(command: string)
restored-src/src/tools/BashTool/bashPermissions.ts:2603
↓ 2 callersFunctionisNormalizedGitCommand
(command: string)
restored-src/src/tools/BashTool/bashPermissions.ts:2567
↓ 2 callersFunctionisNotEmptyMessage
(message: Message)
restored-src/src/utils/messages.ts:689
↓ 2 callersFunctionisNullRenderingAttachment
( msg: Message | NormalizedMessage, )
restored-src/src/components/messages/nullRenderingAttachments.ts:63
↓ 2 callersFunctionisOfficialMarketplaceSkill
(command: PromptCommand)
restored-src/src/tools/SkillTool/SkillTool.ts:935
↓ 2 callersFunctionisOpeningContext
(chars: string[], index: number)
restored-src/src/tools/FileEditTool/utils.ts:138
↓ 2 callersFunctionisOverlyBroadBashAllowRule
( ruleValue: PermissionRuleValue, )
restored-src/src/utils/permissions/permissionSetup.ts:351
↓ 2 callersFunctionisOverlyBroadPowerShellAllowRule
( ruleValue: PermissionRuleValue, )
restored-src/src/utils/permissions/permissionSetup.ts:365
↓ 2 callersFunctionisPathAllowed
* Checks if a resolved path is allowed for the given operation type. * Mirrors the logic in BashTool/pathValidation.ts isPathAllowed.
restored-src/src/tools/PowerShellTool/pathValidation.ts:863
↓ 2 callersFunctionisPathGitignored
( filePath: string, cwd: string, )
restored-src/src/utils/git/gitignore.ts:23
↓ 2 callersFunctionisPathInSandboxWriteAllowlist
(resolvedPath: string)
restored-src/src/utils/permissions/pathValidation.ts:101
↓ 2 callersFunctionisPermissionExplainerEnabled
()
restored-src/src/utils/permissions/permissionExplainer.ts:139
↓ 2 callersFunctionisPermissionUpdateDestination
* Type guard to check if a PermissionRuleSource is a valid PermissionUpdateDestination. * Sources like 'flagSettings', 'policySettings', and 'command
restored-src/src/utils/permissions/permissionSetup.ts:456
↓ 2 callersFunctionisPlanModeRequired
()
restored-src/src/utils/teammate.ts:149
↓ 2 callersFunctionisPlatformInEnabledList
* Check if the current platform is in the enabledPlatforms list. * * This is an undocumented setting that allows restricting sandbox to specific pla
restored-src/src/utils/sandbox/sandbox-adapter.ts:505
↓ 2 callersFunctionisPluginAgent
( agent: AgentDefinition, )
restored-src/src/tools/AgentTool/loadAgentsDir.ts:180
↓ 2 callersFunctionisPrStatusEnabled
()
restored-src/src/components/PromptInput/PromptInputFooterLeftSide.tsx:514
↓ 2 callersFunctionisPreapprovedHost
(hostname: string, pathname: string)
restored-src/src/tools/WebFetchTool/preapproved.ts:154
↓ 2 callersFunctionisProcessRunning
* Check whether a process is still running (signal 0 probe). * * Note: there is a small window for PID reuse — if the owning process * exits and an
restored-src/src/utils/computerUse/computerUseLock.ts:65
↓ 2 callersFunctionisProjectOnboardingComplete
()
restored-src/src/projectOnboardingState.ts:43
↓ 2 callersFunctionisPromptTooLongMessage
(msg: AssistantMessage)
restored-src/src/services/api/errors.ts:64
↓ 2 callersMethodisProtectedKey
(q)
package/cli.js:277
↓ 2 callersFunctionisProvablySafeStatement
(stmt: ParsedStatement)
restored-src/src/tools/PowerShellTool/readOnlyValidation.ts:1072
↓ 2 callersFunctionisQueuedCommandEditable
(cmd: QueuedCommand)
restored-src/src/utils/messageQueueManager.ts:359
↓ 2 callersFunctionisReadOnlyCommand
( command: string, parsed?: ParsedPowerShellCommand, )
restored-src/src/tools/PowerShellTool/readOnlyValidation.ts:1168
↓ 2 callersFunctionisRealPathWithinTeamDir
* Check whether a real (symlink-resolved) path is within the real team * memory directory. Both sides are realpath'd so the comparison is between *
restored-src/src/memdir/teamMemPaths.ts:183
↓ 2 callersFunctionisRecord
* Type guard to check if a value is a record object
restored-src/src/utils/plugins/lspRecommendation.ts:108
↓ 2 callersMethodisRecording
()
package/cli.js:470
↓ 2 callersFunctionisRedirectLiteralStart
* Can the current position start a redirect destination literal? * Returns false at redirect ops, terminators, or file-descriptor-prefixed ops * so
restored-src/src/utils/bash/bashParser.ts:1588
↓ 2 callersMethodisRemoteEval
()
package/cli.js:119
↓ 2 callersFunctionisReverse
(dir: FlexDirection)
restored-src/src/native-ts/yoga-layout/index.ts:315
↓ 2 callersFunctionisRunningWithBun
()
restored-src/src/utils/bundledMode.ts:7
↓ 2 callersFunctionisSandboxPermissionRequest
( messageText: string, )
restored-src/src/utils/teammateMailbox.ts:650
↓ 2 callersFunctionisScratchpadPath
(absolutePath: string)
restored-src/src/utils/permissions/filesystem.ts:410
↓ 2 callersFunctionisSessionPlanFile
(absolutePath: string)
restored-src/src/utils/permissions/filesystem.ts:245
↓ 2 callersFunctionisSet
(value: any)
restored-src/src/types/generated/google/protobuf/timestamp.ts:178
↓ 2 callersFunctionisShutdownRejected
( messageText: string, )
restored-src/src/utils/teammateMailbox.ts:919
↓ 2 callersFunctionisShuttingDown
()
restored-src/src/utils/gracefulShutdown.ts:367
↓ 2 callersFunctionisSpeculationEnabled
()
restored-src/src/services/PromptSuggestion/speculation.ts:337
↓ 2 callersMethodisStatusCodeInList
(q,K)
package/cli.js:2090
↓ 2 callersFunctionisStructuredProtocolMessage
(messageText: string)
restored-src/src/utils/teammateMailbox.ts:1073
↓ 2 callersFunctionisSubstitutionCommand
* Pattern 2: Check if this is a substitution command * Allows: sed 's/pattern/replacement/flags' where flags are only: g, p, i, I, m, M, 1-9 * When
restored-src/src/tools/BashTool/sedValidation.ts:142
↓ 2 callersFunctionisSymlinkCreatingCommand
(cmd: { name: string args: string[] })
restored-src/src/tools/PowerShellTool/modeValidation.ts:82
↓ 2 callersFunctionisSynchronizedOutputSupported
()
restored-src/src/ink/terminal.ts:70
↓ 2 callersFunctionisTaskAssignment
( messageText: string, )
restored-src/src/utils/teammateMailbox.ts:965
↓ 2 callersFunctionisTeamMemFile
(filePath: string)
restored-src/src/memdir/teamMemPaths.ts:290
↓ 2 callersFunctionisTeamMemPath
(filePath: string)
restored-src/src/memdir/teamMemPaths.ts:214
↓ 2 callersFunctionisTeamMemoryEnabled
()
restored-src/src/memdir/teamMemPaths.ts:73
↓ 2 callersFunctionisTeamPermissionUpdate
( messageText: string, )
restored-src/src/utils/teammateMailbox.ts:1001
↓ 2 callersFunctionisTeammateShutdownAttachment
( msg: RenderableMessage, )
restored-src/src/utils/collapseTeammateShutdowns.ts:3
↓ 2 callersFunctionisTelemetryDisabled
()
restored-src/src/utils/privacyLevel.ts:42
↓ 2 callersFunctionisTerminalOutput
* Check if a message content string is terminal output rather than a user prompt. * Terminal output includes bash input/output tags and caveat messag
restored-src/src/utils/attribution.ts:104
← previousnext →9,701–9,800 of 35,398, ranked by callers