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
startRelevantMemoryPrefetch
( messages: ReadonlyArray<Message>, toolUseContext: ToolUseContext, )
src/utils/attachments.ts:2361
↓ 1 callers
Function
startRestartInterval
()
src/services/preventSleep.ts:70
↓ 1 callers
Function
startSoxRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
src/services/voice.ts:426
↓ 1 callers
Function
startSpeculativeClassifierCheck
( command: string, toolPermissionContext: ToolPermissionContext, signal: AbortSignal, isNonInteractive
src/tools/BashTool/bashPermissions.ts:1497
↓ 1 callers
Function
startToolBlockedOnUserSpan
()
src/utils/telemetry/sessionTracing.ts:88
↓ 1 callers
Function
startToolExecutionSpan
()
src/utils/telemetry/sessionTracing.ts:97
↓ 1 callers
Function
startToolSpan
( _toolName: string, _toolAttributes?: SpanMetadata, _toolInput?: string, )
src/utils/telemetry/sessionTracing.ts:78
↓ 1 callers
Function
startUpstreamProxyRelay
(opts: { wsUrl: string sessionId: string token: string })
src/upstreamproxy/relay.ts:155
↓ 1 callers
Function
startWorkPollLoop
* Persistent poll loop for work items. Runs in the background for the * lifetime of the bridge connection. * * When a work item arrives, acknowledg
src/bridge/replBridge.ts:1851
↓ 1 callers
Function
stashToCleanState
(message?: string)
src/utils/git.ts:429
↓ 1 callers
Method
state
()
src/services/mcp/auth.ts:1473
↓ 1 callers
Function
stateToSnapshotMessage
( state: AttributionState, messageId: UUID, )
src/utils/commitAttribution.ts:872
↓ 1 callers
Function
stepTeammateSelection
( delta: 1 | -1, setAppState: (updater: (prev: AppState) => AppState) => void, )
src/hooks/useBackgroundTaskNavigation.ts:26
↓ 1 callers
Function
stickyPromptText
(msg: RenderableMessage)
src/components/VirtualMessageList.tsx:133
↓ 1 callers
Function
stop
* Stops the LSP server gracefully. * * If already stopped or stopping, returns immediately. * On failure, sets state to 'error', logs for mon
src/services/lsp/LSPServerInstance.ts:274
↓ 1 callers
Function
stopOrDismissAgent
( taskId: string, setAppState: (updater: (prev: AppState) => AppState) => void, )
src/state/teammateViewHelpers.ts:116
↓ 1 callers
Function
stopPreventSleep
()
src/services/preventSleep.ts:49
↓ 1 callers
Function
stopRecording
()
src/services/voice.ts:543
↓ 1 callers
Function
stopTeamMemoryWatcher
()
src/services/teamMemorySync/watcher.ts:327
↓ 1 callers
Function
storeImages
( pastedContents: Record<number, PastedContent>, )
src/utils/imageStore.ts:84
↓ 1 callers
Function
storePastedText
( hash: string, content: string, )
src/utils/pasteStore.ts:37
↓ 1 callers
Function
streamRenderedMessages
(messages: Message[], tools: Tools, sink: (ansiChunk: string) => void | Promise<void>, { columns, verbose
src/utils/exportRenderer.tsx:55
↓ 1 callers
Function
streamedCheckPermissionsAndCallTool
( tool: Tool, toolUseID: string, input: { [key: string]: boolean | string | number }, toolUseContext:
src/services/tools/toolExecution.ts:492
↓ 1 callers
Function
stringsForDecisionReason
(reason: PermissionDecisionReason | undefined, toolType: 'tool' | 'command' | 'edit' | 'read')
src/components/permissions/PermissionRuleExplanation.tsx:21
↓ 1 callers
Function
stripAdvisorBlocks
( messages: (UserMessage | AssistantMessage)[], )
src/utils/messages.ts:5466
↓ 1 callers
Function
stripCR
(l: string)
src/utils/ripgrep.ts:312
↓ 1 callers
Function
stripCallerFieldFromAssistantMessage
( message: AssistantMessage, )
src/utils/messages.ts:1742
↓ 1 callers
Function
stripExcessMediaItems
( messages: (UserMessage | AssistantMessage)[], limit: number, )
src/services/api/claude.ts:956
↓ 1 callers
Function
stripIdeContextTags
(text: string)
src/utils/displayTags.ts:49
↓ 1 callers
Function
stripImagesFromMessages
(messages: Message[])
src/services/compact/compact.ts:145
↓ 1 callers
Function
stripInProgressAssistantMessage
(messages: Message[])
src/commands/btw/btw.tsx:201
↓ 1 callers
Function
stripProtoFields
( metadata: Record<string, V>, )
src/services/analytics/index.ts:12
↓ 1 callers
Function
stripQuotes
(text: string)
src/utils/bash/parser.ts:224
↓ 1 callers
Function
stripReinjectedAttachments
(messages: Message[])
src/services/compact/compact.ts:211
↓ 1 callers
Function
stripSignatureBlocks
(messages: Message[])
src/utils/messages.ts:5066
↓ 1 callers
Function
stripToolSearchFieldsFromMessages
* Strip tool search-specific fields from messages before sending for token counting. * This removes 'caller' from tool_use blocks and 'tool_reference
src/services/tokenEstimation.ts:66
↓ 1 callers
Function
stripUnavailableToolReferencesFromUserMessage
* Strips tool_reference blocks for tools that no longer exist from tool_result content. * This handles the case where a session was saved with MCP to
src/utils/messages.ts:1541
↓ 1 callers
Function
stripWrappersFromArgv
(argv: string[])
src/tools/BashTool/pathValidation.ts:1263
↓ 1 callers
Function
styledCharsWithGraphemeClustering
* Convert a string with ANSI codes into styled characters with proper grapheme * clustering. Fixes ansi-tokenize splitting grapheme clusters (like fa
src/ink/output.ts:553
↓ 1 callers
Function
stylesEqual
(a: AnsiCode[], b: AnsiCode[])
src/ink/output.ts:534
↓ 1 callers
Function
stylesEqual
(a: Styles, b: Styles)
src/ink/dom.ts:291
↓ 1 callers
Function
submitFeedback
(data: FeedbackData, signal?: AbortSignal)
src/components/Feedback.tsx:518
↓ 1 callers
Method
submitMessage
( prompt: string | ContentBlockParam[], options?: { uuid?: string; isMeta?: boolean }, )
src/QueryEngine.ts:209
↓ 1 callers
Function
subscribeTerminalFocus
(cb: () => void)
src/ink/terminal-focus-state.ts:35
↓ 1 callers
Method
subscribeToSelectionChange
* Subscribe to selection state changes. Fires whenever the selection * is started, updated, cleared, or copied. Returns an unsubscribe fn.
src/ink/ink.tsx:1244
↓ 1 callers
Function
substituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
src/services/MagicDocs/prompts.ts:81
↓ 1 callers
Function
substituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
src/services/SessionMemory/prompts.ts:201
↓ 1 callers
Function
suppressNextSkillListing
()
src/utils/attachments.ts:2633
↓ 1 callers
Function
symlinkDirectories
* Symlinks directories from the main repository to avoid duplication. * This prevents disk bloat from duplicating node_modules and other large direct
src/utils/worktree.ts:102
↓ 1 callers
Function
syncMarketplacesToZipCache
()
src/utils/plugins/zipCacheAdapters.ts:141
↓ 1 callers
Function
syncPermissionRulesFromDisk
( toolPermissionContext: ToolPermissionContext, rules: PermissionRule[], )
src/utils/permissions/permissions.ts:1419
↓ 1 callers
Function
syncTeammateMode
( mode: PermissionMode, teamNameOverride?: string, )
src/utils/swarm/teamHelpers.ts:397
↓ 1 callers
Function
tabStatus
(fields: TabStatusAction)
src/ink/termio/osc.ts:476
↓ 1 callers
Function
taggedIdToUUID
* Decode a mcpsrv_ tagged ID to a UUID string. * Tagged IDs have format: mcpsrv_01{base58(uuid.int)} * where 01 is the version prefix. * * TODO(pu
src/skills/bundled/scheduleRemoteAgents.ts:35
↓ 1 callers
Method
takeBatch
* Pull the next batch from pending. Respects both maxBatchSize and * maxBatchBytes. The first item is always taken; subsequent items only * if a
src/cli/transports/SerialBatchEventUploader.ts:213
↓ 1 callers
Function
takeInitialUserMessage
()
src/utils/sessionStart.ts:28
↓ 1 callers
Function
teleportFromSessionsAPI
(sessionId: string, orgUUID: string, accessToken: string, onProgress?: TeleportProgressCallback, sessionData?:
src/utils/teleport.tsx:565
↓ 1 callers
Function
teleportToRemoteWithErrorHandling
(root: Root, description: string | null, signal: AbortSignal, branchName?: string)
src/utils/teleport.tsx:544
↓ 1 callers
Function
teleportWithProgress
(root: Root, sessionId: string)
src/components/TeleportProgress.tsx:118
↓ 1 callers
Function
textStyleToSpanProps
* Convert termio's TextStyle to SpanProps.
src/ink/Ansi.tsx:158
↓ 1 callers
Function
tick
()
src/components/ScrollKeybindingHandler.tsx:657
↓ 1 callers
Function
tildify
* Shorten home-dir-prefixed paths to ~ notation for the banner. * Not using getDisplayPath() because cwd is the current working directory, * so the
src/utils/deepLink/banner.ts:118
↓ 1 callers
Function
tmuxLoadBuffer
(text: string)
src/ink/termio/osc.ts:90
↓ 1 callers
Function
tmuxPassthrough
* Wrap a payload in tmux's DCS passthrough: ESC P tmux ; <payload> ESC \ * tmux forwards the payload to the outer terminal, bypassing its own parser.
src/ink/termio/osc.ts:78
↓ 1 callers
Function
to1PEventFormat
( metadata: EventMetadata, userMetadata: CoreUserData, additionalMetadata: Record<string, unknown> = {},
src/services/analytics/metadata.ts:796
↓ 1 callers
Function
toAgentId
(s: string)
src/types/ids.ts:42
↓ 1 callers
Function
toApiView
* Apply the same context transforms query.ts does before the API call, so * /context shows what the model actually sees rather than the REPL's raw *
src/commands/context/context.tsx:18
↓ 1 callers
Method
toClientEvent
Wrap a StdoutMessage as a ClientEvent, injecting a UUID if missing.
src/cli/transports/ccrClient.ts:754
↓ 1 callers
Method
toIDEPath
(wslPath: string)
src/utils/idePathConversion.ts:58
↓ 1 callers
Function
toLocation
* Converts LocationLink to Location format for uniform handling
src/tools/LSPTool/LSPTool.ts:623
↓ 1 callers
Function
toPosix
(p: string)
src/utils/memoryFileDetection.ts:25
↓ 1 callers
Function
toPosixPath
(path: string)
src/utils/permissions/filesystem.ts:187
↓ 1 callers
Function
toSDKRateLimitInfo
( limits: ClaudeAILimits | undefined, )
src/utils/messages/mappers.ts:221
↓ 1 callers
Function
toTaggedId
(tag: string, uuid: string)
src/utils/taggedId.ts:51
↓ 1 callers
Function
toUtf16LeBase64
* Base64-encode a string as UTF-16LE, which is the encoding required by * PowerShell's -EncodedCommand parameter.
src/utils/powershell/parser.ts:669
↓ 1 callers
Method
toggle
()
src/utils/terminalPanel.ts:56
↓ 1 callers
Function
toggleTeammateVisibility
* Toggle visibility of a teammate pane (hide if visible, show if hidden)
src/components/teams/TeamsDialog.tsx:621
↓ 1 callers
Function
tokenStatsToStatsigMetrics
( stats: TokenStats, )
src/utils/contextAnalysis.ts:195
↓ 1 callers
Function
tokensToUSDCost
* Calculates the USD cost based on token usage and model cost configuration
src/utils/modelCost.ts:131
↓ 1 callers
Function
toolAlwaysAllowedRule
( context: ToolPermissionContext, tool: Pick<Tool, 'name' | 'mcpInfo'>, )
src/utils/permissions/permissions.ts:275
↓ 1 callers
Function
toolResultSearchText
(r: unknown)
src/utils/transcriptSearch.ts:171
↓ 1 callers
Function
toolResultText
(r: NormalizedUserMessage)
src/components/messageActions.tsx:442
↓ 1 callers
Function
toolSummary
(name: string, input: Record<string, unknown>)
src/bridge/sessionRunner.ts:91
↓ 1 callers
Function
toolUseSearchText
(input: unknown)
src/utils/transcriptSearch.ts:134
↓ 1 callers
Function
trackClaudeInChromeTabId
(tabId: number)
src/utils/claudeInChrome/common.ts:418
↓ 1 callers
Function
trackFileModification
( state: AttributionState, filePath: string, oldContent: string, newContent: string, _userModified:
src/utils/commitAttribution.ts:402
↓ 1 callers
Function
trackReceivedMessageUuid
(uuid: UUID)
src/cli/print.ts:398
↓ 1 callers
Function
trackSessionBranchingAnalytics
( logs: LogOption[], )
src/utils/sessionStorage.ts:2526
↓ 1 callers
Function
trackUnknownModelCost
(model: string, shortName: ModelShortName)
src/utils/modelCost.ts:166
↓ 1 callers
Function
transform
(id: number)
src/ink/render-to-screen.ts:223
↓ 1 callers
Function
transformCommandAst
( raw: RawPipelineElement, )
src/utils/powershell/parser.ts:830
↓ 1 callers
Function
transformExpressionElement
( raw: RawPipelineElement, )
src/utils/powershell/parser.ts:939
↓ 1 callers
Function
transformLinesToObjects
(lines: string[])
src/components/StructuredDiff/Fallback.tsx:125
↓ 1 callers
Method
transformLogsToEvents
( logs: ReadableLogRecord[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:635
↓ 1 callers
Function
transformMCPResult
( result: unknown, tool: string, // Tool name for validation (e.g., "search") name: string, // Server na
src/services/mcp/client.ts:2664
↓ 1 callers
Function
transformMessagesForExternalTranscript
* For external users, make REPL invisible in the persisted transcript: strip * REPL tool_use/tool_result pairs and promote isVirtual messages to real
src/utils/sessionStorage.ts:4396
↓ 1 callers
Method
transformMetricsForInternal
( metrics: ResourceMetrics, )
src/utils/telemetry/bigqueryExporter.ts:150
↓ 1 callers
Function
transformPluginSkillFiles
* Transforms plugin markdown files to handle skill directories
src/utils/plugins/loadPluginCommands.ts:135
↓ 1 callers
Function
transformRawOutput
Transform the complete raw PS output into ParsedPowerShellCommand
src/utils/powershell/parser.ts:1106
↓ 1 callers
Function
transformSkillFiles
* Transforms markdown files to handle "skill" commands in legacy /commands/ folder. * When a SKILL.md file exists in a directory, only that file is l
src/skills/loadSkillsDir.ts:493
← previous
next →
7,701–7,800 of 11,548, ranked by callers