MCPcopy Create free account

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

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

↓ 1 callersFunctionbuildCacheSafeParams
(context: ProcessUserInputContext)
src/commands/btw/btw.tsx:208
↓ 1 callersFunctionbuildCharToSegmentMap
* Build a mapping from each character position in the plain text to its segment index. * Returns an array where charToSegment[i] is the segment index
src/ink/render-node-to-output.ts:192
↓ 1 callersFunctionbuildClassifierUnavailableMessage
( toolName: string, classifierModel: string, )
src/utils/messages.ts:288
↓ 1 callersFunctionbuildClaudeMdMessage
* Build the CLAUDE.md prefix message for the classifier. Returns null when * CLAUDE.md is disabled or empty. The content is wrapped in a delimiter th
src/utils/permissions/yoloClassifier.ts:460
↓ 1 callersFunctionbuildCommonPluginDirectoryPaths
(ideName: string)
src/utils/jetbrains.ts:29
↓ 1 callersFunctionbuildConsolidationPrompt
( memoryRoot: string, transcriptDir: string, extra: string, )
src/services/autoDream/consolidationPrompt.ts:10
↓ 1 callersFunctionbuildCronCreateDescription
(durableEnabled: boolean)
src/tools/ScheduleCronTool/prompt.ts:68
↓ 1 callersFunctionbuildCronCreatePrompt
(durableEnabled: boolean)
src/tools/ScheduleCronTool/prompt.ts:74
↓ 1 callersFunctionbuildCronDeletePrompt
(durableEnabled: boolean)
src/tools/ScheduleCronTool/prompt.ts:124
↓ 1 callersFunctionbuildCronListPrompt
(durableEnabled: boolean)
src/tools/ScheduleCronTool/prompt.ts:131
↓ 1 callersFunctionbuildDeepLinkBanner
(info: DeepLinkBannerInfo)
src/utils/deepLink/banner.ts:54
↓ 1 callersFunctionbuildDefaultExternalSystemPrompt
()
src/utils/permissions/yoloClassifier.ts:125
↓ 1 callersFunctionbuildDescription
* Builds a human-readable description from tagged template arguments. * Only called when an operation was actually slow — never on the fast path. *
src/utils/slowOperations.ts:75
↓ 1 callersFunctionbuildDesktopDeepLink
* Builds a deep link URL for Claude Desktop to resume a CLI session. * Format: claude://resume?session={sessionId}&cwd={cwd} * In dev mode: claude-d
src/utils/desktopDeepLink.ts:35
↓ 1 callersFunctionbuildDiagnostics
()
src/components/Settings/Status.tsx:54
↓ 1 callersFunctionbuildDiffableContent
( system: TextBlockParam[], tools: BetaToolUnion[], model: string, )
src/services/api/promptCacheBreakDetection.ts:206
↓ 1 callersFunctionbuildDownloadPath
( basePath: string, sessionId: string, relativePath: string, )
src/services/api/filesApi.ts:187
↓ 1 callersFunctionbuildEntriesFromLocalFiles
( projectId: string | null, )
src/services/settingsSync/index.ts:418
↓ 1 callersFunctionbuildErrorRows
(failedMarketplaces: Array<{ name: string; error?: string; }>, extraMarketplaceErrors: PluginError[], plug
src/commands/plugin/PluginSettings.tsx:211
↓ 1 callersFunctionbuildExtractCombinedPrompt
( newMessageCount: number, existingMemories: string, skipIndex = false, )
src/services/extractMemories/prompts.ts:101
↓ 1 callersFunctionbuildFetch
( fetchOverride: ClientOptions['fetch'], source: string | undefined, )
src/services/api/client.ts:358
↓ 1 callersFunctionbuildFinalValues
(fields: string[], collected: Record<string, string>, configSchema: PluginOptionSchema, initialValues: PluginO
src/commands/plugin/PluginOptionsDialog.tsx:24
↓ 1 callersFunctionbuildForkedMessages
( directive: string, assistantMessage: AssistantMessage, )
src/tools/AgentTool/forkSubagent.ts:107
↓ 1 callersFunctionbuildHookSchemas
()
src/schemas/hooks.ts:31
↓ 1 callersFunctionbuildIDEProperties
(mcpClients: MCPServerConnection[], ideInstallationStatus: IDEExtensionInstallationStatus | null = null, theme
src/utils/status.tsx:38
↓ 1 callersFunctionbuildImageContentBlocks
( pastedContents: Record<number, PastedContent> | undefined, )
src/utils/attachments.ts:1103
↓ 1 callersMethodbuildIndex
(paths: string[])
src/native-ts/file-index/index.ts:135
↓ 1 callersFunctionbuildInheritedCliFlags
(options?: { planModeRequired?: boolean permissionMode?: PermissionMode })
src/utils/swarm/spawnUtils.ts:38
↓ 1 callersFunctionbuildInstallationDiagnostics
()
src/utils/status.tsx:175
↓ 1 callersFunctionbuildInstallationHealthDiagnostics
()
src/utils/status.tsx:179
↓ 1 callersFunctionbuildKeystroke
* Build a ParsedKeystroke from Ink's input/key.
src/keybindings/resolver.ts:82
↓ 1 callersFunctionbuildLaunchMessage
(disconnectedBridge?: boolean)
src/commands/ultraplan.tsx:185
↓ 1 callersFunctionbuildMagicDocsUpdatePrompt
( docContents: string, docPath: string, docTitle: string, instructions?: string, )
src/services/MagicDocs/prompts.ts:98
↓ 1 callersFunctionbuildMcpProperties
(clients: MCPServerConnection[] = [], theme: ThemeName)
src/utils/status.tsx:89
↓ 1 callersFunctionbuildMemoryDiagnostics
()
src/utils/status.tsx:116
↓ 1 callersFunctionbuildMemoryPrompt
(params: { displayName: string memoryDir: string extraGuidelines?: string[] })
src/memdir/memdir.ts:272
↓ 1 callersFunctionbuildMessageLookups
( normalizedMessages: NormalizedMessage[], messages: Message[], )
src/utils/messages.ts:1170
↓ 1 callersFunctionbuildMissedTaskNotification
(missed: CronTask[])
src/utils/cronScheduler.ts:542
↓ 1 callersFunctionbuildNestedObject
( path: string[], value: unknown, )
src/tools/ConfigTool/ConfigTool.ts:455
↓ 1 callersFunctionbuildNestedTree
* Builds a nested tree structure from dot-notation paths * Uses lodash setWith to avoid automatic array creation
src/components/ValidationErrorsList.tsx:12
↓ 1 callersFunctionbuildParseScript
* Build the full PowerShell script that parses a command. * The user command is Base64-encoded (UTF-8) and embedded in a variable * to prevent injec
src/utils/powershell/parser.ts:687
↓ 1 callersFunctionbuildPlanApprovalOptions
({ showClearContext, showUltraplan, usedPercent, isAutoModeAvailable, isBypassPermissionsModeAvailab
src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:674
↓ 1 callersFunctionbuildPluginAction
(pluginName: string)
src/commands/plugin/PluginSettings.tsx:184
↓ 1 callersFunctionbuildPositionSet
* Builds a Set of all character positions covered by the given spans.
src/utils/bash/treeSitterAnalysis.ts:142
↓ 1 callersFunctionbuildPrimarySection
()
src/components/Settings/Status.tsx:19
↓ 1 callersFunctionbuildProcessMetrics
* Builds process metrics object for all users.
src/services/analytics/metadata.ts:648
↓ 1 callersFunctionbuildPrompt
(instruction: string)
src/skills/bundled/batch.ts:19
↓ 1 callersFunctionbuildPrompt
( lang: DetectedLanguage | null, args: string, content: SkillContent, )
src/skills/bundled/claudeApi.ts:132
↓ 1 callersFunctionbuildPrompt
(args: string)
src/skills/bundled/loop.ts:25
↓ 1 callersFunctionbuildPrompt
(opts: { userTimezone: string connectorsInfo: string gitRepoUrl: string | null environmentsInfo: strin
src/skills/bundled/scheduleRemoteAgents.ts:135
↓ 1 callersFunctionbuildQueryConfig
()
src/query/config.ts:29
↓ 1 callersFunctionbuildReplacement
( candidate: ToolResultCandidate, )
src/utils/toolResultStorage.ts:728
↓ 1 callersFunctionbuildRequiresActionDetails
( tool: Tool, input: Record<string, unknown>, toolUseID: string, requestId: string, )
src/cli/structuredIO.ts:93
↓ 1 callersFunctionbuildSandboxProperties
()
src/utils/status.tsx:28
↓ 1 callersFunctionbuildSchemaNotSentHint
( tool: Tool, messages: Message[], tools: readonly { name: string }[], )
src/services/tools/toolExecution.ts:578
↓ 1 callersFunctionbuildSearchableText
* Builds searchable text for a log including messages, titles, summaries, and metadata. * Crops long transcripts to first/last N messages for perform
src/components/LogSelector.tsx:1537
↓ 1 callersFunctionbuildSecondarySection
({ mainLoopModel, mcp, theme, context }: { mainLoopModel: AppState['mainLoopModel']; mcp: AppState
src/components/Settings/Status.tsx:37
↓ 1 callersFunctionbuildSegmentWithoutRedirections
* Builds a command segment, stripping output redirections to avoid * treating filenames as commands in permission checking. * Uses ParsedCommand to
src/tools/BashTool/bashCommandHelpers.ts:163
↓ 1 callersFunctionbuildSessionContext
()
src/utils/computerUse/wrapper.tsx:59
↓ 1 callersFunctionbuildSessionReadyMessage
(url: string)
src/commands/ultraplan.tsx:189
↓ 1 callersFunctionbuildSettingSourcesProperties
()
src/utils/status.tsx:126
↓ 1 callersFunctionbuildSideQuestionFallbackParams
({ tools, commands, mcpClients, messages, readFileState, getAppState, setAppState, customSyste
src/utils/queryContext.ts:88
↓ 1 callersFunctionbuildStatusLineCommandInput
(permissionMode: PermissionMode, exceeds200kTokens: boolean, settings: ReadonlySettings, messages: Message[],
src/components/StatusLine.tsx:36
↓ 1 callersFunctionbuildSummaryPrompt
(previousSummary: string | null)
src/services/AgentSummary/agentSummary.ts:28
↓ 1 callersFunctionbuildSyntheticOutputTool
( jsonSchema: Record<string, unknown>, )
src/tools/SyntheticOutputTool/SyntheticOutputTool.ts:127
↓ 1 callersFunctionbuildSystemPromptBlocks
( systemPrompt: SystemPrompt, enablePromptCaching: boolean, options?: { skipGlobalCacheForSystemProm
src/services/api/claude.ts:3213
↓ 1 callersFunctionbuildToolNameMap
* Walk messages and build tool_use_id → tool_name from assistant tool_use * blocks. tool_use always precedes its tool_result (model calls, then resul
src/utils/toolResultStorage.ts:536
↓ 1 callersFunctionbuildTranscriptForClassifier
( messages: Message[], tools: Tools, )
src/utils/permissions/yoloClassifier.ts:434
↓ 1 callersFunctionbuildUltraplanPrompt
(blurb: string, seedPlan?: string)
src/commands/ultraplan.tsx:63
↓ 1 callersFunctionbuildWorktreeNotice
( parentCwd: string, worktreeCwd: string, )
src/tools/AgentTool/forkSubagent.ts:205
↓ 1 callersFunctionbuildYoloRejectionMessage
(reason: string)
src/utils/messages.ts:267
↓ 1 callersFunctionbuildYoloSystemPrompt
( context: ToolPermissionContext, )
src/utils/permissions/yoloClassifier.ts:484
↓ 1 callersFunctionbyIdAsc
(a: Task, b: Task)
src/components/TaskListV2.tsx:22
↓ 1 callersFunctionbyteLengthUtf8
(s: string)
src/utils/bash/bashParser.ts:633
↓ 1 callersFunctionbytesPerTokenForFileType
(fileExtension: string)
src/services/tokenEstimation.ts:215
↓ 1 callersFunctioncachePluginSettings
(plugins: LoadedPlugin[])
src/utils/plugins/pluginLoader.ts:3281
↓ 1 callersFunctioncacheSessionTitle
(customTitle: string)
src/utils/sessionStorage.ts:2870
↓ 1 callersFunctioncacheToStats
* Convert a PersistedStatsCache to ClaudeCodeStats by computing derived fields.
src/utils/stats.ts:440
↓ 1 callersFunctioncachedLexer
(content: string)
src/components/Markdown.tsx:37
↓ 1 callersFunctioncachedMicrocompactPath
* Cached microcompact path - uses cache editing API to remove tool results * without invalidating the cached prefix. * * Key differences from regul
src/services/compact/microCompact.ts:305
↓ 1 callersFunctioncalculateAgentStats
(progressMessages: ProgressMessage<Progress>[])
src/tools/AgentTool/UI.tsx:627
↓ 1 callersFunctioncalculateApiKeyHelperTTL
()
src/utils/auth.ts:435
↓ 1 callersFunctioncalculateCommitAttribution
( states: AttributionState[], stagedFiles: string[], )
src/utils/commitAttribution.ts:548
↓ 1 callersFunctioncalculateDeferredToolDescriptionChars
* Calculate total deferred tool description size in characters. * Includes name, description text, and input schema to match what's actually sent to
src/utils/toolSearch.ts:340
↓ 1 callersFunctioncalculateDepth
( command: string, args: string[], spec: CommandSpec | null, )
src/utils/shell/specPrefix.ts:139
↓ 1 callersFunctioncalculateFeedWidth
(config: FeedConfig)
src/components/LogoV2/Feed.tsx:24
↓ 1 callersFunctioncalculateHorizontalScrollWindow
( itemWidths: number[], availableWidth: number, arrowWidth: number, selectedIdx: number, firstItemHa
src/utils/horizontalScroll.ts:21
↓ 1 callersFunctioncalculateLayoutDimensions
( columns: number, layoutMode: LayoutMode, optimalLeftWidth: number, )
src/utils/logoV2Utils.ts:43
↓ 1 callersFunctioncalculateMaxRowLines
()
src/components/MarkdownTable.tsx:159
↓ 1 callersFunctioncalculateMessagesToKeepIndex
( messages: Message[], lastSummarizedIndex: number, )
src/services/compact/sessionMemoryCompact.ts:324
↓ 1 callersFunctioncalculateOptimalLeftWidth
( welcomeMessage: string, truncatedCwd: string, modelLine: string, )
src/utils/logoV2Utils.ts:80
↓ 1 callersFunctioncalculatePercentiles
* Pre-calculates percentiles from activity data for use in intensity calculations
src/utils/heatmap.ts:19
↓ 1 callersFunctioncalculateWordDiffs
(oldText: string, newText: string)
src/components/StructuredDiff/Fallback.tsx:227
↓ 1 callersFunctioncallMCPTool
({ client: { client, name, config }, tool, args, meta, signal, onProgress, }: { client: Connecte
src/services/mcp/client.ts:3029
↓ 1 callersFunctioncallMCPToolWithUrlElicitationRetry
({ client: connectedClient, clientConnection, tool, args, meta, signal, setAppState, onProgres
src/services/mcp/client.ts:2813
↓ 1 callersFunctioncallerFrame
(stack: string | undefined)
src/utils/slowOperations.ts:59
↓ 1 callersFunctioncanBatchWith
( head: QueuedCommand, next: QueuedCommand | undefined, )
src/cli/print.ts:443
↓ 1 callersMethodcanExecuteTool
* Check if a tool can execute based on current concurrency state
src/services/tools/StreamingToolExecutor.ts:129
↓ 1 callersFunctioncanUseTool
( tool, input, toolUseContext, assistantMessage, toolUseId, forceDecision, )
src/cli/print.ts:4152
↓ 1 callersFunctioncancel
(sessionId: string)
src/bridge/jwtUtils.ts:232
← previousnext →4,401–4,500 of 11,484, ranked by callers