MCPcopy Create free account

hub / github.com/freecodexyz/free-code / functions

Functions11,548 in github.com/freecodexyz/free-code

↓ 1 callersFunctionstartRelevantMemoryPrefetch
( messages: ReadonlyArray<Message>, toolUseContext: ToolUseContext, )
src/utils/attachments.ts:2361
↓ 1 callersFunctionstartRestartInterval
()
src/services/preventSleep.ts:70
↓ 1 callersFunctionstartSoxRecording
( onData: (chunk: Buffer) => void, onEnd: () => void, options?: { silenceDetection?: boolean }, )
src/services/voice.ts:426
↓ 1 callersFunctionstartSpeculativeClassifierCheck
( command: string, toolPermissionContext: ToolPermissionContext, signal: AbortSignal, isNonInteractive
src/tools/BashTool/bashPermissions.ts:1497
↓ 1 callersFunctionstartToolBlockedOnUserSpan
()
src/utils/telemetry/sessionTracing.ts:88
↓ 1 callersFunctionstartToolExecutionSpan
()
src/utils/telemetry/sessionTracing.ts:97
↓ 1 callersFunctionstartToolSpan
( _toolName: string, _toolAttributes?: SpanMetadata, _toolInput?: string, )
src/utils/telemetry/sessionTracing.ts:78
↓ 1 callersFunctionstartUpstreamProxyRelay
(opts: { wsUrl: string sessionId: string token: string })
src/upstreamproxy/relay.ts:155
↓ 1 callersFunctionstartWorkPollLoop
* 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 callersFunctionstashToCleanState
(message?: string)
src/utils/git.ts:429
↓ 1 callersMethodstate
()
src/services/mcp/auth.ts:1473
↓ 1 callersFunctionstateToSnapshotMessage
( state: AttributionState, messageId: UUID, )
src/utils/commitAttribution.ts:872
↓ 1 callersFunctionstepTeammateSelection
( delta: 1 | -1, setAppState: (updater: (prev: AppState) => AppState) => void, )
src/hooks/useBackgroundTaskNavigation.ts:26
↓ 1 callersFunctionstickyPromptText
(msg: RenderableMessage)
src/components/VirtualMessageList.tsx:133
↓ 1 callersFunctionstop
* 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 callersFunctionstopOrDismissAgent
( taskId: string, setAppState: (updater: (prev: AppState) => AppState) => void, )
src/state/teammateViewHelpers.ts:116
↓ 1 callersFunctionstopPreventSleep
()
src/services/preventSleep.ts:49
↓ 1 callersFunctionstopRecording
()
src/services/voice.ts:543
↓ 1 callersFunctionstopTeamMemoryWatcher
()
src/services/teamMemorySync/watcher.ts:327
↓ 1 callersFunctionstoreImages
( pastedContents: Record<number, PastedContent>, )
src/utils/imageStore.ts:84
↓ 1 callersFunctionstorePastedText
( hash: string, content: string, )
src/utils/pasteStore.ts:37
↓ 1 callersFunctionstreamRenderedMessages
(messages: Message[], tools: Tools, sink: (ansiChunk: string) => void | Promise<void>, { columns, verbose
src/utils/exportRenderer.tsx:55
↓ 1 callersFunctionstreamedCheckPermissionsAndCallTool
( tool: Tool, toolUseID: string, input: { [key: string]: boolean | string | number }, toolUseContext:
src/services/tools/toolExecution.ts:492
↓ 1 callersFunctionstringsForDecisionReason
(reason: PermissionDecisionReason | undefined, toolType: 'tool' | 'command' | 'edit' | 'read')
src/components/permissions/PermissionRuleExplanation.tsx:21
↓ 1 callersFunctionstripAdvisorBlocks
( messages: (UserMessage | AssistantMessage)[], )
src/utils/messages.ts:5466
↓ 1 callersFunctionstripCR
(l: string)
src/utils/ripgrep.ts:312
↓ 1 callersFunctionstripCallerFieldFromAssistantMessage
( message: AssistantMessage, )
src/utils/messages.ts:1742
↓ 1 callersFunctionstripExcessMediaItems
( messages: (UserMessage | AssistantMessage)[], limit: number, )
src/services/api/claude.ts:956
↓ 1 callersFunctionstripIdeContextTags
(text: string)
src/utils/displayTags.ts:49
↓ 1 callersFunctionstripImagesFromMessages
(messages: Message[])
src/services/compact/compact.ts:145
↓ 1 callersFunctionstripInProgressAssistantMessage
(messages: Message[])
src/commands/btw/btw.tsx:201
↓ 1 callersFunctionstripProtoFields
( metadata: Record<string, V>, )
src/services/analytics/index.ts:12
↓ 1 callersFunctionstripQuotes
(text: string)
src/utils/bash/parser.ts:224
↓ 1 callersFunctionstripReinjectedAttachments
(messages: Message[])
src/services/compact/compact.ts:211
↓ 1 callersFunctionstripSignatureBlocks
(messages: Message[])
src/utils/messages.ts:5066
↓ 1 callersFunctionstripToolSearchFieldsFromMessages
* 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 callersFunctionstripUnavailableToolReferencesFromUserMessage
* 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 callersFunctionstripWrappersFromArgv
(argv: string[])
src/tools/BashTool/pathValidation.ts:1263
↓ 1 callersFunctionstyledCharsWithGraphemeClustering
* 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 callersFunctionstylesEqual
(a: AnsiCode[], b: AnsiCode[])
src/ink/output.ts:534
↓ 1 callersFunctionstylesEqual
(a: Styles, b: Styles)
src/ink/dom.ts:291
↓ 1 callersFunctionsubmitFeedback
(data: FeedbackData, signal?: AbortSignal)
src/components/Feedback.tsx:518
↓ 1 callersMethodsubmitMessage
( prompt: string | ContentBlockParam[], options?: { uuid?: string; isMeta?: boolean }, )
src/QueryEngine.ts:209
↓ 1 callersFunctionsubscribeTerminalFocus
(cb: () => void)
src/ink/terminal-focus-state.ts:35
↓ 1 callersMethodsubscribeToSelectionChange
* 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 callersFunctionsubstituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
src/services/MagicDocs/prompts.ts:81
↓ 1 callersFunctionsubstituteVariables
* Substitute variables in the prompt template using {{variable}} syntax
src/services/SessionMemory/prompts.ts:201
↓ 1 callersFunctionsuppressNextSkillListing
()
src/utils/attachments.ts:2633
↓ 1 callersFunctionsymlinkDirectories
* 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 callersFunctionsyncMarketplacesToZipCache
()
src/utils/plugins/zipCacheAdapters.ts:141
↓ 1 callersFunctionsyncPermissionRulesFromDisk
( toolPermissionContext: ToolPermissionContext, rules: PermissionRule[], )
src/utils/permissions/permissions.ts:1419
↓ 1 callersFunctionsyncTeammateMode
( mode: PermissionMode, teamNameOverride?: string, )
src/utils/swarm/teamHelpers.ts:397
↓ 1 callersFunctiontabStatus
(fields: TabStatusAction)
src/ink/termio/osc.ts:476
↓ 1 callersFunctiontaggedIdToUUID
* 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 callersMethodtakeBatch
* 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 callersFunctiontakeInitialUserMessage
()
src/utils/sessionStart.ts:28
↓ 1 callersFunctionteleportFromSessionsAPI
(sessionId: string, orgUUID: string, accessToken: string, onProgress?: TeleportProgressCallback, sessionData?:
src/utils/teleport.tsx:565
↓ 1 callersFunctionteleportToRemoteWithErrorHandling
(root: Root, description: string | null, signal: AbortSignal, branchName?: string)
src/utils/teleport.tsx:544
↓ 1 callersFunctionteleportWithProgress
(root: Root, sessionId: string)
src/components/TeleportProgress.tsx:118
↓ 1 callersFunctiontextStyleToSpanProps
* Convert termio's TextStyle to SpanProps.
src/ink/Ansi.tsx:158
↓ 1 callersFunctiontick
()
src/components/ScrollKeybindingHandler.tsx:657
↓ 1 callersFunctiontildify
* 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 callersFunctiontmuxLoadBuffer
(text: string)
src/ink/termio/osc.ts:90
↓ 1 callersFunctiontmuxPassthrough
* 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 callersFunctionto1PEventFormat
( metadata: EventMetadata, userMetadata: CoreUserData, additionalMetadata: Record<string, unknown> = {},
src/services/analytics/metadata.ts:796
↓ 1 callersFunctiontoAgentId
(s: string)
src/types/ids.ts:42
↓ 1 callersFunctiontoApiView
* 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 callersMethodtoClientEvent
Wrap a StdoutMessage as a ClientEvent, injecting a UUID if missing.
src/cli/transports/ccrClient.ts:754
↓ 1 callersMethodtoIDEPath
(wslPath: string)
src/utils/idePathConversion.ts:58
↓ 1 callersFunctiontoLocation
* Converts LocationLink to Location format for uniform handling
src/tools/LSPTool/LSPTool.ts:623
↓ 1 callersFunctiontoPosix
(p: string)
src/utils/memoryFileDetection.ts:25
↓ 1 callersFunctiontoPosixPath
(path: string)
src/utils/permissions/filesystem.ts:187
↓ 1 callersFunctiontoSDKRateLimitInfo
( limits: ClaudeAILimits | undefined, )
src/utils/messages/mappers.ts:221
↓ 1 callersFunctiontoTaggedId
(tag: string, uuid: string)
src/utils/taggedId.ts:51
↓ 1 callersFunctiontoUtf16LeBase64
* Base64-encode a string as UTF-16LE, which is the encoding required by * PowerShell's -EncodedCommand parameter.
src/utils/powershell/parser.ts:669
↓ 1 callersMethodtoggle
()
src/utils/terminalPanel.ts:56
↓ 1 callersFunctiontoggleTeammateVisibility
* Toggle visibility of a teammate pane (hide if visible, show if hidden)
src/components/teams/TeamsDialog.tsx:621
↓ 1 callersFunctiontokenStatsToStatsigMetrics
( stats: TokenStats, )
src/utils/contextAnalysis.ts:195
↓ 1 callersFunctiontokensToUSDCost
* Calculates the USD cost based on token usage and model cost configuration
src/utils/modelCost.ts:131
↓ 1 callersFunctiontoolAlwaysAllowedRule
( context: ToolPermissionContext, tool: Pick<Tool, 'name' | 'mcpInfo'>, )
src/utils/permissions/permissions.ts:275
↓ 1 callersFunctiontoolResultSearchText
(r: unknown)
src/utils/transcriptSearch.ts:171
↓ 1 callersFunctiontoolResultText
(r: NormalizedUserMessage)
src/components/messageActions.tsx:442
↓ 1 callersFunctiontoolSummary
(name: string, input: Record<string, unknown>)
src/bridge/sessionRunner.ts:91
↓ 1 callersFunctiontoolUseSearchText
(input: unknown)
src/utils/transcriptSearch.ts:134
↓ 1 callersFunctiontrackClaudeInChromeTabId
(tabId: number)
src/utils/claudeInChrome/common.ts:418
↓ 1 callersFunctiontrackFileModification
( state: AttributionState, filePath: string, oldContent: string, newContent: string, _userModified:
src/utils/commitAttribution.ts:402
↓ 1 callersFunctiontrackReceivedMessageUuid
(uuid: UUID)
src/cli/print.ts:398
↓ 1 callersFunctiontrackSessionBranchingAnalytics
( logs: LogOption[], )
src/utils/sessionStorage.ts:2526
↓ 1 callersFunctiontrackUnknownModelCost
(model: string, shortName: ModelShortName)
src/utils/modelCost.ts:166
↓ 1 callersFunctiontransform
(id: number)
src/ink/render-to-screen.ts:223
↓ 1 callersFunctiontransformCommandAst
( raw: RawPipelineElement, )
src/utils/powershell/parser.ts:830
↓ 1 callersFunctiontransformExpressionElement
( raw: RawPipelineElement, )
src/utils/powershell/parser.ts:939
↓ 1 callersFunctiontransformLinesToObjects
(lines: string[])
src/components/StructuredDiff/Fallback.tsx:125
↓ 1 callersMethodtransformLogsToEvents
( logs: ReadableLogRecord[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:635
↓ 1 callersFunctiontransformMCPResult
( result: unknown, tool: string, // Tool name for validation (e.g., "search") name: string, // Server na
src/services/mcp/client.ts:2664
↓ 1 callersFunctiontransformMessagesForExternalTranscript
* 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 callersMethodtransformMetricsForInternal
( metrics: ResourceMetrics, )
src/utils/telemetry/bigqueryExporter.ts:150
↓ 1 callersFunctiontransformPluginSkillFiles
* Transforms plugin markdown files to handle skill directories
src/utils/plugins/loadPluginCommands.ts:135
↓ 1 callersFunctiontransformRawOutput
Transform the complete raw PS output into ParsedPowerShellCommand
src/utils/powershell/parser.ts:1106
↓ 1 callersFunctiontransformSkillFiles
* 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
← previousnext →7,701–7,800 of 11,548, ranked by callers