MCPcopy Create free account

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

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

↓ 1 callersFunctiongetDirectoriesToProcess
( targetPath: string, originalCwd: string, )
src/utils/attachments.ts:1656
↓ 1 callersFunctiongetDisableExtglobCommand
* Returns a shell command to disable extended glob patterns for security. * Extended globs (bash extglob, zsh EXTENDED_GLOB) can be exploited via *
src/utils/shell/bashProvider.ts:39
↓ 1 callersFunctiongetDisabledReasonMessage
( disabledReason: FastModeDisabledReason, authType: AuthType, )
src/utils/fastMode.ts:51
↓ 1 callersFunctiongetDisplayMessageFromCollapsed
( message: CollapsedReadSearchGroup, )
src/utils/collapseReadSearch.ts:500
↓ 1 callersFunctiongetDisplayName
(teammateId: string)
src/components/messages/UserTeammateMessage.tsx:49
↓ 1 callersFunctiongetDownloadUrl
()
src/components/DesktopHandoff.tsx:13
↓ 1 callersFunctiongetDynamicSkillAttachments
* Processes skill directories that were discovered during file operations. * Uses dynamicSkillDirTriggers field from ToolUseContext
src/utils/attachments.ts:2547
↓ 1 callersFunctiongetDynamicSkills
()
src/skills/loadSkillsDir.ts:981
↓ 1 callersFunctiongetEarlyWarningFromHeaders
* Get early warning limits using header-based detection with time-relative fallback. * 1. First checks for surpassed-threshold header (new server-sid
src/services/claudeAiLimits.ts:347
↓ 1 callersFunctiongetEarlyWarningText
(limits: ClaudeAILimits)
src/services/rateLimitMessages.ts:199
↓ 1 callersFunctiongetEditToolDescription
()
src/tools/FileEditTool/prompt.ts:8
↓ 1 callersFunctiongetEditionSection
* Version-specific syntax guidance. The model's training data covers both * editions but it can't tell which one it's targeting, so it either emits
src/tools/PowerShellTool/prompt.ts:51
↓ 1 callersFunctiongetEditsForPatch
(patch: StructuredPatchHunk[])
src/tools/FileEditTool/utils.ts:495
↓ 1 callersFunctiongetEffortLevelDescription
(level: EffortLevel)
src/utils/effort.ts:224
↓ 1 callersFunctiongetEffortNotificationText
( effortValue: EffortValue | undefined, model: string, )
src/components/EffortIndicator.ts:18
↓ 1 callersFunctiongetElicitationMode
(params: ElicitRequestParams)
src/services/mcp/elicitationHandler.ts:49
↓ 1 callersFunctiongetEmail
()
src/utils/user.ts:137
↓ 1 callersFunctiongetEmailAsync
()
src/utils/user.ts:162
↓ 1 callersFunctiongetEmojiWidth
(grapheme: string)
src/ink/stringWidth.ts:106
↓ 1 callersFunctiongetEmptyPermissionSettingsJson
()
src/utils/permissions/permissionsLoader.ts:218
↓ 1 callersFunctiongetEnabledPluginIdsForScope
( settingSource: EditableSettingSource, )
src/utils/plugins/dependencyResolver.ts:275
↓ 1 callersFunctiongetEnabledVia
( plugin: LoadedPlugin, managedNames: Set<string> | null, seedDirs: string[], )
src/utils/telemetry/pluginTelemetry.ts:110
↓ 1 callersFunctiongetEnhancedPRAttribution
( getAppState: () => AppState, )
src/utils/attribution.ts:297
↓ 1 callersFunctiongetEnterPlanModeToolPrompt
()
src/tools/EnterPlanModeTool/prompt.ts:166
↓ 1 callersFunctiongetEnterPlanModeToolPromptAnt
()
src/tools/EnterPlanModeTool/prompt.ts:101
↓ 1 callersFunctiongetEnterPlanModeToolPromptExternal
()
src/tools/EnterPlanModeTool/prompt.ts:16
↓ 1 callersFunctiongetEnterWorktreeToolPrompt
()
src/tools/EnterWorktreeTool/prompt.ts:1
↓ 1 callersFunctiongetEntryParentPath
(entry: object, fallback: string)
src/utils/filePersistence/outputsScanner.ts:43
↓ 1 callersFunctiongetEntrypoint
()
src/utils/sessionStorage.ts:423
↓ 1 callersFunctiongetEnumLabels
(schema: EnumSchema)
src/utils/mcp/elicitationValidation.ts:117
↓ 1 callersFunctiongetEnvMaxTokens
* Env var override for max output tokens. Returns undefined when unset/invalid * so the caller can fall through to the next precedence tier.
src/tools/FileReadTool/limits.ts:24
↓ 1 callersFunctiongetEnvironmentForGrowthBook
()
src/services/analytics/firstPartyEventLogger.ts:245
↓ 1 callersFunctiongetEnvironmentSelectionInfo
()
src/utils/teleport/environmentSelection.ts:24
↓ 1 callersFunctiongetErrnoPath
(e: unknown)
src/utils/errors.ts:148
↓ 1 callersFunctiongetErrorMessage
* Extracts a human-readable error message from an execa result. * * Priority order: * 1. shortMessage - execa's human-readable error (e.g., "Comman
src/utils/execFileNoThrow.ts:73
↓ 1 callersFunctiongetErrorMessageIfRefusal
( stopReason: BetaStopReason | null, model: string, )
src/services/api/errors.ts:1184
↓ 1 callersFunctiongetErrorType
* Categorize error messages for analytics
src/components/NativeAutoUpdater.tsx:19
↓ 1 callersFunctiongetErrorsPath
()
src/utils/errorLogSink.ts:29
↓ 1 callersFunctiongetEssentialTrafficOnlyReason
()
src/utils/privacyLevel.ts:50
↓ 1 callersFunctiongetEventLogger
()
src/bootstrap/state.ts:1033
↓ 1 callersFunctiongetEventPriority
* Map terminal event types to React scheduling priorities. * Mirrors react-dom's getEventPriority() switch.
src/ink/events/dispatcher.ts:122
↓ 1 callersFunctiongetEventSamplingConfig
()
src/services/analytics/firstPartyEventLogger.ts:43
↓ 1 callersMethodgetExcludedCommands
()
src/utils/sandbox/sandbox-adapter.ts:904
↓ 1 callersFunctiongetExistingClaudeSubscription
()
src/hooks/notifs/useCanSwitchToExistingSubscription.tsx:43
↓ 1 callersMethodgetExistingSessionFile
( sessionId: UUID, )
src/utils/sessionStorage.ts:1285
↓ 1 callersFunctiongetExitWorktreeToolPrompt
()
src/tools/ExitWorktreeTool/prompt.ts:1
↓ 1 callersFunctiongetExperimentAdvisorModels
()
src/utils/advisor.ts:75
↓ 1 callersFunctiongetExploreSystemPrompt
()
src/tools/AgentTool/built-in/exploreAgent.ts:13
↓ 1 callersFunctiongetExtensionIds
()
src/utils/claudeInChrome/setupPortable.ts:14
↓ 1 callersFunctiongetExtraCertsPathFromConfig
* Read NODE_EXTRA_CA_CERTS from settings/config as a fallback. * * NODE_EXTRA_CA_CERTS is categorized as a non-safe env var (it allows * trusting a
src/utils/caCertsConfig.ts:59
↓ 1 callersFunctiongetFastModeHeaderLatched
()
src/bootstrap/state.ts:1716
↓ 1 callersFunctiongetFeatureValue_DEPRECATED
( feature: string, defaultValue: T, )
src/services/analytics/growthbook.ts:719
↓ 1 callersFunctiongetFeedbackGuideline
()
src/tools/AgentTool/built-in/claudeCodeGuideAgent.ts:89
↓ 1 callersFunctiongetFileExtensionsFromBashCommand
( command: string, simulatedSedEditFilePath?: string, )
src/services/analytics/metadata.ts:372
↓ 1 callersFunctiongetFileIdentity
* Gets a unique identifier for a file based on its device ID and inode. * This allows detection of duplicate files accessed through different paths
src/utils/markdownConfigLoader.ts:159
↓ 1 callersFunctiongetFileIdentity
* Gets a unique identifier for a file by resolving symlinks to a canonical path. * This allows detection of duplicate files accessed through differen
src/skills/loadSkillsDir.ts:118
↓ 1 callersFunctiongetFilePathFromToolInput
* Extract the primary file/directory path from a tool_use input. * Handles both `file_path` (Read/Write/Edit) and `path` (Grep/Glob).
src/utils/collapseReadSearch.ts:71
↓ 1 callersFunctiongetFilePathsFromReadMessage
* Extract file paths from read tool inputs in a message. * Returns an array of file paths (may have duplicates if same file is read multiple times in
src/utils/collapseReadSearch.ts:524
↓ 1 callersFunctiongetFilePermissionOptions
({ filePath, toolPermissionContext, operationType = 'write', onRejectFeedbackChange, onAcceptFeedbac
src/components/permissions/FilePermissionDialog/permissionOptions.tsx:53
↓ 1 callersFunctiongetFileSystemErrorMessage
* Get a human-readable error message from a filesystem error
src/utils/toolResultStorage.ts:1017
↓ 1 callersFunctiongetFilesForLanguage
( lang: DetectedLanguage, content: SkillContent, )
src/skills/bundled/claudeApi.ts:55
↓ 1 callersFunctiongetFilesUsingGit
* Get files using git ls-files (much faster than ripgrep for git repos) * Returns tracked files immediately, fetches untracked in background * @para
src/hooks/fileSuggestions.ts:248
↓ 1 callersFunctiongetFirstWordPrefix
(command: string)
src/tools/BashTool/bashPermissions.ts:243
↓ 1 callersFunctiongetFlushIntervalMs
()
src/services/analytics/datadog.ts:301
↓ 1 callersFunctiongetFocusedInputDialog
()
src/screens/REPL.tsx:2017
↓ 1 callersFunctiongetFormatDescription
( type: MCPResultType, schema?: unknown, )
src/utils/mcpOutputStorage.ts:16
↓ 1 callersFunctiongetFrequentlyModifiedFiles
()
src/utils/exampleCommands.ts:86
↓ 1 callersFunctiongetGcpCommandsSources
()
src/components/TrustDialog/utils.ts:198
↓ 1 callersFunctiongetGitIndexMtime
* Stat .git/index to detect git state changes without spawning git ls-files. * Returns null for worktrees (.git is a file → ENOTDIR), fresh repos wit
src/hooks/fileSuggestions.ts:138
↓ 1 callersFunctiongetGitState
()
src/utils/git.ts:472
↓ 1 callersFunctiongetGlobBaseDirectory
(filePath: string)
src/tools/PowerShellTool/pathValidation.ts:1266
↓ 1 callersFunctiongetGlobBaseDirectory
(path: string)
src/utils/permissions/pathValidation.ts:57
↓ 1 callersFunctiongetGlobalConfigWriteCount
()
src/utils/config.ts:883
↓ 1 callersFunctiongetGlobalGitignorePath
()
src/utils/git/gitignore.ts:43
↓ 1 callersFunctiongetGrowthBookClientKey
()
src/constants/keys.ts:5
↓ 1 callersFunctiongetHaiku35Option
()
src/utils/model/modelOptions.ts:192
↓ 1 callersFunctiongetHaikuOption
()
src/utils/model/modelOptions.ts:203
↓ 1 callersFunctiongetHasFormattedOutput
()
src/utils/debug.ts:131
↓ 1 callersFunctiongetHead
()
src/utils/git.ts:257
↓ 1 callersFunctiongetHeaderBasedEarlyWarning
* Check if early warning should be triggered based on surpassed-threshold header. * Returns ClaudeAILimits if a threshold was surpassed, null otherwi
src/services/claudeAiLimits.ts:255
↓ 1 callersFunctiongetHeatmapChar
(intensity: number)
src/utils/heatmap.ts:183
↓ 1 callersFunctiongetHookEnvFilePath
( hookEvent: 'Setup' | 'SessionStart' | 'CwdChanged' | 'FileChanged', hookIndex: number, )
src/utils/sessionEnvironment.ts:25
↓ 1 callersFunctiongetHooksConfig
( appState: AppState | undefined, sessionId: string, hookEvent: HookEvent, )
src/utils/hooks.ts:1492
↓ 1 callersFunctiongetHooksForMatcher
( hooksByEventAndMatcher: Record< HookEvent, Record<string, IndividualHookConfig[]> >, event: Ho
src/utils/hooks/hooksConfigManager.ts:380
↓ 1 callersFunctiongetHooksSection
()
src/constants/prompts.ts:127
↓ 1 callersFunctiongetHooksSources
()
src/components/TrustDialog/utils.ts:29
↓ 1 callersFunctiongetHostPatternsFromAllowlist
()
src/utils/plugins/marketplaceHelpers.ts:327
↓ 1 callersFunctiongetHourCountsJson
(messageHours: number[])
src/commands/insights.ts:1939
↓ 1 callersFunctiongetHttpHookPolicy
* Read HTTP hook allowlist restrictions from merged settings (all sources). * Follows the allowedMcpServers precedent: arrays concatenate across sour
src/utils/hooks/execHttpHook.ts:49
↓ 1 callersMethodgetHyperlinkAt
* Look up the URL at (col, row) in the current front frame. Checks for * an OSC 8 hyperlink first, then falls back to scanning the row for a * p
src/ink/ink.tsx:1293
↓ 1 callersFunctiongetITerm2PlistPath
()
src/utils/iTermBackup.ts:25
↓ 1 callersFunctiongetIcon
* Get the icon for a suggestion based on its type * Icons: + for files, ◇ for MCP resources, * for agents
src/components/PromptInput/PromptInputFooterSuggestions.tsx:24
↓ 1 callersFunctiongetIdeLockfilesPaths
()
src/utils/ide.ts:462
↓ 1 callersFunctiongetIdleNotificationSummary
* Get a brief summary text for an idle notification.
src/components/messages/PlanApprovalMessage.tsx:173
↓ 1 callersMethodgetIgnoreViolations
()
src/utils/sandbox/sandbox-adapter.ts:902
↓ 1 callersFunctiongetImagePasteIds
( pastedContents: Record<number, PastedContent> | undefined, )
src/types/textInputTypes.ts:372
↓ 1 callersFunctiongetImagePathFromClipboard
()
src/utils/imagePaste.ts:244
↓ 1 callersFunctiongetInProcessBackend
()
src/utils/swarm/backends/registry.ts:404
↓ 1 callersFunctiongetInProgressHookCount
( messages: NormalizedMessage[], toolUseID: string, hookEvent: HookEvent, )
src/utils/messages.ts:1044
↓ 1 callersFunctiongetInitialAdvisorSetting
()
src/utils/advisor.ts:108
← previousnext →5,601–5,700 of 11,484, ranked by callers