Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freecodexyz/free-code
/ functions
Functions
11,548 in github.com/freecodexyz/free-code
⨍
Functions
11,548
◇
Types & classes
343
↓ 1 callers
Function
renderTicket
(pass: PassStatus)
src/components/Passes/Passes.tsx:135
↓ 1 callers
Function
renderToString
(node: React.ReactNode, columns?: number)
src/utils/staticRender.tsx:112
↓ 1 callers
Function
renderToolUseMessage
(tool: Tool, input: unknown, { theme, verbose, commands }: { theme: ThemeName; verbose: boolean; c
src/components/messages/AssistantToolUseMessage.tsx:304
↓ 1 callers
Function
renderToolUseProgressMessage
(progressMessagesForMessage: ProgressMessage<MCPProgress>[])
src/tools/MCPTool/UI.tsx:57
↓ 1 callers
Function
renderToolUseQueuedMessage
(tool: Tool)
src/components/messages/AssistantToolUseMessage.tsx:360
↓ 1 callers
Function
renderToolsList
()
src/components/agents/AgentDetail.tsx:71
↓ 1 callers
Function
renderTruncatedContent
( content: string, terminalWidth: number, suppressExpandHint = false, )
src/utils/terminal.ts:71
↓ 1 callers
Function
renderVerifying
()
src/utils/swarm/It2SetupPrompt.tsx:251
↓ 1 callers
Function
reorderAttachmentsForAPI
(messages: Message[])
src/utils/messages.ts:1481
↓ 1 callers
Function
reorderBidi
(characters: ClusteredChar[])
src/ink/bidi.ts:53
↓ 1 callers
Function
reorderMessagesInUI
( messages: ( | NormalizedUserMessage | NormalizedAssistantMessage | AttachmentMessage | Sys
src/utils/messages.ts:855
↓ 1 callers
Function
replaceCchPlaceholder
(body: string, cch: string)
src/utils/cch.ts:22
↓ 1 callers
Function
replaceOutputFormatWithXml
* Replace the tool_use output format instruction with XML format. * Finds the last line of the prompt ("Use the classify_result tool...") * and repl
src/utils/permissions/yoloClassifier.ts:648
↓ 1 callers
Function
replaceSpansKeepQuotes
* Replaces spans with just the quote delimiters (preserving ' and " characters).
src/utils/bash/treeSitterAnalysis.ts:194
↓ 1 callers
Function
replaceToolResultContents
* Return a new Message[] where each tool_result block whose id appears in * replacementMap has its content replaced. Messages and blocks with no * r
src/utils/toolResultStorage.ts:699
↓ 1 callers
Function
replaceUltraplanKeyword
(text: string)
src/utils/ultraplan/keyword.ts:120
↓ 1 callers
Function
reportConfigCacheStats
()
src/utils/config.ts:909
↓ 1 callers
Function
requestJwtAuthorizationGrant
(opts: { tokenEndpoint: string audience: string resource: string idToken: string clientId: string
src/services/mcp/xaa.ts:233
↓ 1 callers
Function
requestTeammateShutdown
(taskId: string, setAppState: SetAppState)
src/tasks/InProcessTeammateTask/InProcessTeammateTask.tsx:35
↓ 1 callers
Method
reserve
* Reserve the guard for queue processing. Transitions idle → dispatching. * Returns false if not idle (another query or dispatch in progress).
src/utils/QueryGuard.ts:38
↓ 1 callers
Method
reset
* Reset tracking state while keeping the service initialized. * This clears all tracked files and diagnostics.
src/services/diagnosticTracking.ts:72
↓ 1 callers
Function
resetAllLSPDiagnosticState
()
src/services/lsp/LSPDiagnosticRegistry.ts:357
↓ 1 callers
Function
resetAutoModeOptInForDefaultOffer
()
src/migrations/resetAutoModeOptInForDefaultOffer.ts:25
↓ 1 callers
Function
resetBackendDetection
()
src/utils/swarm/backends/registry.ts:457
↓ 1 callers
Function
resetBypassPermissionsCheck
()
src/utils/permissions/bypassPermissionsKillswitch.ts:53
↓ 1 callers
Function
resetCursor
()
src/main.tsx:4653
↓ 1 callers
Function
resetIfPassesRefreshed
()
src/components/LogoV2/GuestPassesUpsell.tsx:8
↓ 1 callers
Function
resetInitializationState
()
src/tools/TungstenTool/TungstenTool.ts:25
↓ 1 callers
Method
resetPools
* Replace char/hyperlink pools with fresh instances to prevent unbounded * growth during long sessions. Migrates the front frame's screen IDs into
src/ink/ink.tsx:1561
↓ 1 callers
Function
resetProToOpusDefault
()
src/migrations/resetProToOpusDefault.ts:7
↓ 1 callers
Function
resetProfileCounters
()
src/ink/reconciler.ts:217
↓ 1 callers
Function
resetPromptCacheBreakDetection
()
src/services/api/promptCacheBreakDetection.ts:704
↓ 1 callers
Function
resetScrollDrainNode
()
src/ink/render-node-to-output.ts:77
↓ 1 callers
Function
resetScrollHint
()
src/ink/render-node-to-output.ts:60
↓ 1 callers
Function
resetSdkInitState
()
src/bootstrap/state.ts:1463
↓ 1 callers
Method
resetSessionFile
()
src/utils/sessionStorage.ts:688
↓ 1 callers
Function
resetSyncCache
()
src/services/remoteManagedSettings/syncCache.ts:27
↓ 1 callers
Function
resetTurnClassifierDuration
()
src/bootstrap/state.ts:632
↓ 1 callers
Function
resetTurnHookDuration
()
src/bootstrap/state.ts:601
↓ 1 callers
Function
resetTurnToolDuration
()
src/bootstrap/state.ts:614
↓ 1 callers
Function
resolveAttachments
( rawPaths: string[], uploadCtx: { replBridgeEnabled: boolean; signal?: AbortSignal }, )
src/tools/BriefTool/attachments.ts:63
↓ 1 callers
Function
resolveCwd
* Resolve the working directory for the launched Claude instance. * Precedence: explicit cwd > repo lookup (MRU clone) > home. * A repo that isn't c
src/utils/deepLink/protocolHandler.ts:117
↓ 1 callers
Function
resolveDeepestExistingAncestorSync
( fs: FsOperations, absolutePath: string, )
src/utils/fsOperations.ts:215
↓ 1 callers
Function
resolveDefaultShell
()
src/utils/shell/resolveDefaultShell.ts:12
↓ 1 callers
Function
resolveDelistedPluginId
* Resolve a plugin ID from V2 installed plugins data for a plugin that may * have been delisted from its marketplace. Returns null if the plugin is n
src/services/plugins/pluginOperations.ts:230
↓ 1 callers
Function
resolveDependencyClosure
( rootId: PluginId, lookup: (id: PluginId) => Promise<DependencyLookupResult | null>, alreadyEnabled: Re
src/utils/plugins/dependencyResolver.ts:95
↓ 1 callers
Method
resolveEventPriority
* Infer event priority from the currently-dispatching event. * Called by the reconciler host config's resolveUpdatePriority * when no explicit p
src/ink/events/dispatcher.ts:171
↓ 1 callers
Function
resolveExcludePatterns
* Expands exclude patterns by resolving symlinks in absolute path prefixes. * For each absolute pattern (starting with /), tries to resolve the longe
src/utils/claudemd.ts:581
↓ 1 callers
Function
resolveFieldAsync
(fieldName_4: string, schema_2: PrimitiveSchemaDefinition, rawValue: string)
src/components/mcp/ElicitationDialog.tsx:384
↓ 1 callers
Function
resolveFlexibleLengths
( children: Node[], availableInnerMain: number, totalFlexBasis: number, isMainRow: boolean, ownerW:
src/native-ts/yoga-layout/index.ts:2182
↓ 1 callers
Function
resolveGitSubdirUrl
* Resolve a git-subdir `url` field to a clonable git URL. * Accepts GitHub owner/repo shorthand (converted to ssh or https depending on * CLAUDE_COD
src/utils/plugins/pluginLoader.ts:686
↓ 1 callers
Function
resolveHookPermissionDecision
( hookPermissionResult: PermissionResult | undefined, tool: Tool, input: Record<string, unknown>, tool
src/services/tools/toolHooks.ts:332
↓ 1 callers
Function
resolveInboundAttachments
( attachments: InboundAttachment[], )
src/bridge/inboundAttachments.ts:123
↓ 1 callers
Function
resolveMetadataBuf
( carry: Buffer | null, chunkBuf: Buffer, )
src/utils/sessionStorage.ts:3130
↓ 1 callers
Function
resolveOnce
(v: string)
src/services/mcp/xaaIdpLogin.ts:298
↓ 1 callers
Function
resolvePickerEffortPersistence
( picked: EffortLevel | undefined, modelDefault: EffortLevel, priorPersisted: EffortLevel | undefined,
src/utils/effort.ts:126
↓ 1 callers
Function
resolvePluginHint
( hint: ClaudeCodeHint, )
src/utils/plugins/hintRecommendation.ts:103
↓ 1 callers
Function
resolvePluginLspEnvironment
( config: LspServerConfig, plugin: { path: string; source: string }, userConfig?: PluginOptionValues,
src/utils/plugins/lspPluginIntegration.ts:229
↓ 1 callers
Function
resolveSkillFilePath
Normalize and validate a skill-relative path; throws on traversal.
src/skills/bundledSkills.ts:196
↓ 1 callers
Function
resolveSkillName
* Resolve a skill name from agent frontmatter to a registered command name. * * Plugin skills are registered with namespaced names (e.g., "my-plugin
src/tools/AgentTool/runAgent.ts:945
↓ 1 callers
Function
resolveStopBoundary
* Compute the stop boundary for getProjectDirsUpToHome's upward walk. * * Normally the walk stops at the nearest `.git` above `cwd`. But if the Bash
src/utils/markdownConfigLoader.ts:191
↓ 1 callers
Function
resolveStoredPastedContent
* Resolve stored paste content to full PastedContent by fetching from paste store if needed.
src/history.ts:230
↓ 1 callers
Function
resolveSystemPromptSections
( sections: SystemPromptSection[], )
src/constants/systemPromptSections.ts:43
↓ 1 callers
Function
resolveTeamName
(input: { team_name?: string; }, appState: { teamContext?: { teamName: string; }; })
src/tools/AgentTool/AgentTool.tsx:1388
↓ 1 callers
Function
restoreBackup
* Restores a file from its backup path with proper directory creation and permissions. * Lazy mkdir: tries copyFile first, creates the directory on E
src/utils/fileHistory.ts:804
↓ 1 callers
Function
restoreConversationDirectly
(message: UserMessage)
src/components/MessageSelector.tsx:142
↓ 1 callers
Function
restoreHeredocsInString
* Restores heredoc placeholders back to their original content in a single string. * Internal helper used by restoreHeredocs.
src/utils/bash/heredoc.ts:693
↓ 1 callers
Function
restoreLexToByte
(P: ParseState, targetByte: number)
src/utils/bash/bashParser.ts:1989
↓ 1 callers
Function
restoreRemoteAgentTasksImpl
(context: TaskContext)
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:484
↓ 1 callers
Function
restoreSkillStateFromMessages
(messages: Message[])
src/utils/conversationRecovery.ts:382
↓ 1 callers
Function
retain
()
src/utils/computerUse/drainRunLoop.ts:24
↓ 1 callers
Function
retrievePastedText
(hash: string)
src/utils/pasteStore.ts:59
↓ 1 callers
Method
retryDelay
(failures: number)
src/cli/transports/WorkerStateUploader.ts:88
↓ 1 callers
Method
retryDelay
(failures: number, retryAfterMs?: number)
src/cli/transports/SerialBatchEventUploader.ts:235
↓ 1 callers
Method
retryFileInBackground
(filePath: string)
src/services/analytics/firstPartyEventLoggingExporter.ts:242
↓ 1 callers
Method
retryPreviousBatches
()
src/services/analytics/firstPartyEventLoggingExporter.ts:220
↓ 1 callers
Function
returnValue
( as: AsyncGenerator<unknown, A>, )
src/utils/generators.ts:14
↓ 1 callers
Method
reveal
()
src/commands/remote-setup/api.ts:21
↓ 1 callers
Function
reverseRange
(arr: T[], start: number, end: number)
src/ink/bidi.ts:107
↓ 1 callers
Function
reverseRangeNumbers
(arr: number[], start: number, end: number)
src/ink/bidi.ts:117
↓ 1 callers
Function
reviewCountsLine
(session: DeepImmutable<RemoteAgentTaskState>)
src/components/tasks/RemoteSessionDetailDialog.tsx:493
↓ 1 callers
Function
rewriteWindowsNullRedirect
(command: string)
src/utils/bash/shellQuoting.ts:126
↓ 1 callers
Function
ripGrepFileCount
* Stream-count lines from `rg --files` without buffering stdout. * * On large repos (e.g. 247k files, 16MB of paths), calling `ripGrep()` just * to
src/utils/ripgrep.ts:246
↓ 1 callers
Function
ripGrepStream
( args: string[], target: string, abortSignal: AbortSignal, onLines: (lines: string[]) => void, )
src/utils/ripgrep.ts:295
↓ 1 callers
Function
rmSync
(path, options)
src/utils/fsOperations.ts:569
↓ 1 callers
Function
roll
(userId: string)
src/buddy/companion.ts:107
↓ 1 callers
Function
rollRarity
(rng: () => number)
src/buddy/companion.ts:43
↓ 1 callers
Function
rollStats
( rng: () => number, rarity: Rarity, )
src/buddy/companion.ts:62
↓ 1 callers
Function
rootPathForSource
(source: PermissionRuleSource)
src/utils/permissions/filesystem.ts:746
↓ 1 callers
Function
roughTokenCountEstimationForBlock
( block: string | Anthropic.ContentBlock | Anthropic.ContentBlockParam, )
src/services/tokenEstimation.ts:391
↓ 1 callers
Function
roughTokenCountEstimationForFileType
( content: string, fileExtension: string, )
src/services/tokenEstimation.ts:234
↓ 1 callers
Function
roughTokenCountEstimationForMessage
(message: { type: string message?: { content?: unknown } attachment?: Attachment })
src/services/tokenEstimation.ts:341
↓ 1 callers
Function
round
(number: number, precision: number)
src/cost-tracker.ts:246
↓ 1 callers
Function
roundCorners
* Zero out the alpha channel in the four corner regions outside a * quarter-circle of radius `r`. Produces rounded-rect corners.
src/utils/ansiToPng.ts:246
↓ 1 callers
Function
roundLayout
( node: Node, scale: number, absLeft: number, absTop: number, )
src/native-ts/yoga-layout/index.ts:2435
↓ 1 callers
Function
ruleSourceToOTelSource
* Map a rule's origin to the documented OTel `source` vocabulary, matching * the interactive path's semantics (permissionLogging.ts:81): session-scop
src/services/tools/toolExecution.ts:181
↓ 1 callers
Function
run
()
src/main.tsx:884
↓ 1 callers
Function
run
()
src/utils/preflightChecks.tsx:90
↓ 1 callers
Function
run
()
src/commands/install.tsx:98
↓ 1 callers
Function
runAwsAuthRefresh
* Run awsAuthRefresh to perform interactive authentication (e.g., aws sso login) * Streams output in real-time for user visibility
src/utils/auth.ts:613
← previous
next →
7,301–7,400 of 11,548, ranked by callers