Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tanbiralam/claude-code
/ functions
Functions
11,484 in github.com/tanbiralam/claude-code
⨍
Functions
11,484
◇
Types & classes
506
↓ 3 callers
Function
layoutNode
( node: Node, availableWidth: number, availableHeight: number, widthMode: MeasureMode, heightMode: M
src/native-ts/yoga-layout/index.ts:1058
↓ 3 callers
Function
leadingEdge
(dir: FlexDirection)
src/native-ts/yoga-layout/index.ts:321
↓ 3 callers
Function
listAllCronTasks
(dir?: string)
src/utils/cronTasks.ts:288
↓ 3 callers
Function
load
(initial: boolean)
src/utils/cronScheduler.ts:179
↓ 3 callers
Function
loadAndCacheMarketplace
* Load and cache a marketplace from its source * * Handles different source types: * - URL: Downloads marketplace.json directly * - GitHub: Clones
src/utils/plugins/marketplaceManager.ts:1433
↓ 3 callers
Method
loadEventsFromFile
( filePath: string, )
src/services/analytics/firstPartyEventLoggingExporter.ts:155
↓ 3 callers
Function
loadKeybindingsSyncWithWarnings
()
src/keybindings/loadUserBindings.ts:259
↓ 3 callers
Function
loadManagedFileSettings
()
src/utils/settings/settings.ts:74
↓ 3 callers
Function
loadMarkdownFiles
* Generic function to load markdown files from specified directories * @param dir Directory (eg. "~/.claude/commands") * @returns Array of parsed ma
src/utils/markdownConfigLoader.ts:546
↓ 3 callers
Function
loadMcpServersFromFile
* Load MCP servers from a JSON file within a plugin * This is a simplified version that doesn't expand environment variables * and is specifically f
src/utils/plugins/mcpPluginIntegration.ts:219
↓ 3 callers
Function
loadMcpbFile
( source: string, pluginPath: string, pluginId: string, onProgress?: ProgressCallback, providedUserC
src/utils/plugins/mcpbHandler.ts:698
↓ 3 callers
Function
loadMemoryPrompt
()
src/memdir/memdir.ts:419
↓ 3 callers
Function
loadMessageLogs
(limit?: number)
src/utils/sessionStorage.ts:3939
↓ 3 callers
Function
loadPluginManifest
( manifestPath: string, pluginName: string, source: string, )
src/utils/plugins/pluginLoader.ts:1147
↓ 3 callers
Function
loadSameRepoMessageLogsProgressive
( worktreePaths: string[], limit?: number, initialEnrichCount: number = INITIAL_ENRICH_COUNT, )
src/utils/sessionStorage.ts:4086
↓ 3 callers
Function
logDebugError
(message: string)
src/services/api/filesApi.ts:40
↓ 3 callers
Function
logPermissionDecision
( ctx: PermissionLogContext, args: PermissionDecisionArgs, permissionPromptStartTimeMs?: number, )
src/hooks/toolPermission/permissionLogging.ts:181
↓ 3 callers
Function
logPermissionEvent
( event: 'accept' | 'reject', completionType: CompletionType, languageName: string | Promise<string>,
src/components/permissions/FilePermissionDialog/usePermissionHandler.ts:25
↓ 3 callers
Function
logSearchOutcome
( matches: string[], queryType: 'select' | 'keyword', )
src/tools/ToolSearchTool/ToolSearchTool.ts:342
↓ 3 callers
Function
logToSessionMeta
(log: LogOption)
src/commands/insights.ts:737
↓ 3 callers
Function
makeLogEntryReader
()
src/history.ts:106
↓ 3 callers
Function
markInternalWrite
(path: string)
src/utils/settings/internalWrites.ts:17
↓ 3 callers
Function
markMessageAsReadByIndex
( agentName: string, teamName: string | undefined, messageIndex: number, )
src/utils/teammateMailbox.ts:201
↓ 3 callers
Function
markdownTable
* Build a markdown table from headers and rows.
src/skills/bundled/keybindings.ts:332
↓ 3 callers
Function
maybeDumpAutoMode
* Dump the auto mode classifier request and response bodies to the per-user * claude temp directory when CLAUDE_CODE_DUMP_AUTO_MODE is set. Files are
src/utils/permissions/yoloClassifier.ts:153
↓ 3 callers
Function
maybeMarkProjectOnboardingComplete
()
src/projectOnboardingState.ts:49
↓ 3 callers
Function
maybeRecordPluginHint
(hint: ClaudeCodeHint)
src/utils/plugins/hintRecommendation.ts:65
↓ 3 callers
Function
mcpBaseUrlAnalytics
* Spread-ready analytics field for the server's base URL. Calls * getLoggingSafeMcpBaseUrl once (not twice like the inline ternary it replaces). * T
src/services/mcp/client.ts:323
↓ 3 callers
Function
measureText
(text: string, maxWidth: number)
src/ink/measure-text.ts:11
↓ 3 callers
Function
memoizeWithTTLAsync
( f: (...args: Args) => Promise<Result>, cacheLifetimeMs: number = 5 * 60 * 1000, // Default 5 minutes )
src/utils/memoize.ts:120
↓ 3 callers
Function
memoryFilesToAttachments
( memoryFiles: MemoryFileInfo[], toolUseContext: ToolUseContext, triggerFilePath?: string, )
src/utils/attachments.ts:1710
↓ 3 callers
Function
mergeAndFilterTools
( initialTools: Tools, assembled: Tools, mode: ToolPermissionContext['mode'], )
src/utils/toolPool.ts:55
↓ 3 callers
Function
mergeClients
( initialClients: MCPServerConnection[] | undefined, mcpClients: readonly MCPServerConnection[] | undefine
src/hooks/useMergedClients.ts:5
↓ 3 callers
Function
mergeFileStateCaches
( first: FileStateCache, second: FileStateCache, )
src/utils/fileStateCache.ts:129
↓ 3 callers
Function
migrateConfigFields
* Migrates old autoUpdaterStatus to new installMethod and autoUpdates fields * @internal
src/utils/config.ts:912
↓ 3 callers
Function
migrateV1ToV2
* Migrate V1 data to V2 format. * All V1 plugins are migrated to 'user' scope since V1 had no scope concept.
src/utils/plugins/installedPluginsManager.ts:284
↓ 3 callers
Function
mkSentinel
(text: string)
src/hooks/useAssistantHistory.ts:101
↓ 3 callers
Function
modelSupportsMaxEffort
(model: string)
src/utils/effort.ts:53
↓ 3 callers
Function
modelSupportsToolReference
(model: string)
src/utils/toolSearch.ts:239
↓ 3 callers
Function
moveCursorTo
(screen: VirtualScreen, targetX: number, targetY: number)
src/ink/log-update.ts:693
↓ 3 callers
Method
moveFocus
(direction: 1 | -1, root: DOMElement)
src/ink/focus.ts:110
↓ 3 callers
Function
next
(generator: AsyncGenerator<A, void>)
src/utils/generators.ts:36
↓ 3 callers
Method
nextWORD
()
src/utils/Cursor.ts:774
↓ 3 callers
Function
normalizeContentFromAPI
( contentBlocks: BetaMessage['content'], tools: Tools, agentId?: AgentId, )
src/utils/messages.ts:2651
↓ 3 callers
Function
normalizeLanguageForSTT
(language: string | undefined)
src/hooks/useVoice.ts:121
↓ 3 callers
Function
normalizeMessage
(message: Message)
src/utils/queryHelpers.ts:102
↓ 3 callers
Function
normalizePatternsToPath
( patternsByRoot: Map<string | null, string[]>, root: string, )
src/utils/permissions/filesystem.ts:800
↓ 3 callers
Method
notify
()
src/utils/mailbox.ts:70
↓ 3 callers
Function
notifyBridgeFailed
(detail?: string)
src/hooks/useReplBridge.tsx:102
↓ 3 callers
Function
notifySessionMetadataChanged
( metadata: SessionExternalMetadata, )
src/utils/sessionState.ts:136
↓ 3 callers
Function
onData
(ch: Buffer)
src/services/mcp/auth.ts:2378
↓ 3 callers
Function
openFileInExternalEditor
( filePath: string, line?: number, )
src/utils/editor.ts:81
↓ 3 callers
Function
openForScan
(path: string)
src/utils/readEditContext.ts:48
↓ 3 callers
Function
openPath
(path: string)
src/utils/browser.ts:24
↓ 3 callers
Function
padAligned
( content: string, displayWidth: number, targetWidth: number, align: 'left' | 'center' | 'right' | nul
src/utils/markdown.ts:366
↓ 3 callers
Function
paramsFromContext
(retryContext: RetryContext)
src/services/api/claude.ts:1538
↓ 3 callers
Function
parseAgentId
( agentId: string, )
src/utils/agentId.ts:46
↓ 3 callers
Function
parseAutoModeEnabledState
(value: unknown)
src/utils/permissions/permissionSetup.ts:1315
↓ 3 callers
Function
parseBacktick
(P: ParseState)
src/utils/bash/bashParser.ts:3101
↓ 3 callers
Function
parseBindings
(blocks: KeybindingBlock[])
src/keybindings/parser.ts:191
↓ 3 callers
Function
parseBudgetMatch
(value: string, suffix: string)
src/utils/tokenBudget.ts:17
↓ 3 callers
Function
parseCellId
(cellId: string)
src/utils/notebook.ts:217
↓ 3 callers
Function
parseChangelog
(content: string)
src/utils/releaseNotes.ts:156
↓ 3 callers
Function
parseCommand
( command: string, )
src/utils/bash/parser.ts:56
↓ 3 callers
Function
parseCommandOutputAsSettings
( stdout: string, sourcePath: string, )
src/utils/settings/mdm/settings.ts:183
↓ 3 callers
Function
parseCronExpression
(expr: string)
src/utils/cron.ts:83
↓ 3 callers
Function
parseDoGroup
(P: ParseState)
src/utils/bash/bashParser.ts:3306
↓ 3 callers
Function
parseExporterTypes
(value: string | undefined)
src/utils/telemetry/instrumentation.ts:121
↓ 3 callers
Function
parseExtendedColor
( params: Param[], idx: number, )
src/ink/termio/sgr.ts:79
↓ 3 callers
Function
parseFileWithSchema
* Parse and validate JSON file with a Zod schema
src/utils/plugins/marketplaceManager.ts:1372
↓ 3 callers
Function
parseISOString
(s: string)
src/utils/log.ts:285
↓ 3 callers
Function
parseJsonEntries
(content: string, { maxChars, maxKeys }: { maxChars: number; maxKeys: number; })
src/tools/MCPTool/UI.tsx:266
↓ 3 callers
Function
parseKeypress
(s: string = '')
src/ink/parse-keypress.ts:611
↓ 3 callers
Function
parseKeystroke
(input: string)
src/keybindings/parser.ts:13
↓ 3 callers
Function
parseProcessSub
(P: ParseState)
src/utils/bash/bashParser.ts:1861
↓ 3 callers
Function
parseTestPrimary
(P: ParseState, closer: string)
src/utils/bash/bashParser.ts:4063
↓ 3 callers
Function
parseYaml
(input: string)
src/utils/yaml.ts:9
↓ 3 callers
Function
parseZipModes
(data: Uint8Array)
src/utils/dxt/zip.ts:160
↓ 3 callers
Function
patch
( derived: string, bridgeSessionId: string, atCount: number, )
src/bridge/initReplBridge.ts:314
↓ 3 callers
Method
pause
()
src/ink/ink.tsx:790
↓ 3 callers
Function
percentile
(sorted: number[], p: number)
src/context/stats.tsx:11
↓ 3 callers
Function
performLogout
({ clearOnboarding = false })
src/commands/logout/logout.tsx:16
↓ 3 callers
Function
performPostCreationSetup
* Post-creation setup for a newly created worktree. * Propagates settings.local.json, configures git hooks, and symlinks directories.
src/utils/worktree.ts:510
↓ 3 callers
Function
permissionModeSymbol
(mode: PermissionMode)
src/utils/permissions/PermissionMode.ts:135
↓ 3 callers
Function
permissionRuleExtractPrefix
(permissionRule: string)
src/utils/sandbox/sandbox-adapter.ts:78
↓ 3 callers
Function
permissionRuleSourceDisplayString
( source: PermissionRuleSource, )
src/utils/permissions/permissions.ts:116
↓ 3 callers
Function
persistBinaryContent
( bytes: Buffer, mimeType: string | undefined, persistId: string, )
src/utils/mcpOutputStorage.ts:148
↓ 3 callers
Function
persistToolResult
( content: NonNullable<ToolResultBlockParam['content']>, toolUseId: string, )
src/utils/toolResultStorage.ts:137
↓ 3 callers
Function
physicalEdge
(edge: Edge)
src/native-ts/yoga-layout/index.ts:2528
↓ 3 callers
Function
prefetchAllMcpResources
( mcpConfigs: Record<string, ScopedMcpServerConfig>, )
src/services/mcp/client.ts:2408
↓ 3 callers
Function
prepareContextForPlanMode
( context: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:1462
↓ 3 callers
Function
prependDirSep
(path: string)
src/utils/permissions/filesystem.ts:761
↓ 3 callers
Method
prependUserMessage
* Queue a user turn to be yielded before the next message from this.input. * Works before iteration starts and mid-stream — read() re-checks * p
src/cli/structuredIO.ts:204
↓ 3 callers
Function
preserveQuoteStyle
( oldString: string, actualOldString: string, newString: string, )
src/tools/FileEditTool/utils.ts:104
↓ 3 callers
Function
printResumeHint
* Print a hint about how to resume the session. * Only shown for interactive sessions with persistence enabled.
src/utils/gracefulShutdown.ts:144
↓ 3 callers
Function
processHookJSONOutput
({ json, command, hookName, toolUseID, hookEvent, expectedHookEvent, stdout, stderr, exitCod
src/utils/hooks.ts:489
↓ 3 callers
Function
processMessagesForTeleportResume
(messages: Message[], error: Error | null)
src/utils/teleport.tsx:301
↓ 3 callers
Function
processOutputText
(text: string | string[] | undefined)
src/utils/notebook.ts:34
↓ 3 callers
Method
processQueue
* Process the queue, starting tools when concurrency conditions allow
src/services/tools/StreamingToolExecutor.ts:140
↓ 3 callers
Function
processToolResultBlock
( tool: { name: string maxResultSizeChars: number mapToolResultToToolResultBlockParam: ( r
src/utils/toolResultStorage.ts:205
← previous
next →
2,201–2,300 of 11,484, ranked by callers