MCPcopy Create free account

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

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

↓ 1 callersFunctiontransition
( state: CommandState, input: string, ctx: TransitionContext, )
src/vim/transitions.ts:59
↓ 1 callersFunctiontranslateCodexStreamToAnthropic
* Translates Codex streaming response to Anthropic format. * Converts Codex SSE events into Anthropic-compatible streaming events. * @param codexRes
src/services/api/codex-fetch-adapter.ts:290
↓ 1 callersFunctiontranslateMessages
* Translates Anthropic message format to Codex input format. * Handles text content, tool results, and image attachments. * @param anthropicMessages
src/services/api/codex-fetch-adapter.ts:128
↓ 1 callersFunctiontranslateToCodexBody
* Translates a complete Anthropic API request body to Codex format. * @param anthropicBody - The Anthropic request body to translate * @returns Obje
src/services/api/codex-fetch-adapter.ts:222
↓ 1 callersFunctiontranslateTools
* Translates Anthropic tool definitions to Codex format. * @param anthropicTools - Array of Anthropic tool definitions * @returns Array of Codex-com
src/services/api/codex-fetch-adapter.ts:110
↓ 1 callersFunctiontraverse
(node, depth, parentId)
src/components/ui/TreeSelect.tsx:160
↓ 1 callersFunctiontreeify
(obj: TreeNode, options: TreeifyOptions = {})
src/utils/treeify.ts:39
↓ 1 callersFunctiontriggerFastModeCooldown
( resetTimestamp: number, reason: CooldownReason, )
src/utils/fastMode.ts:214
↓ 1 callersFunctiontrimTrailingWhitespace
(s: string)
src/utils/git/gitConfigParser.ts:186
↓ 1 callersFunctiontruncateCommand
(command: string)
src/tools/TaskStopTool/UI.tsx:12
↓ 1 callersFunctiontruncateContentBlocks
( blocks: ContentBlockParam[], maxChars: number, )
src/utils/mcpValidation.ts:94
↓ 1 callersFunctiontruncateForPreview
(input: unknown)
src/services/mcp/channelPermissions.ts:160
↓ 1 callersFunctiontruncateLine
(text: string, maxLen: number)
src/commands/copy/copy.tsx:95
↓ 1 callersFunctiontruncateMcpContent
( content: MCPToolResult, )
src/utils/mcpValidation.ts:180
↓ 1 callersFunctiontruncateSessionMemoryForCompact
(content: string)
src/services/SessionMemory/prompts.ts:256
↓ 1 callersFunctiontruncateString
(content: string, maxChars: number)
src/utils/mcpValidation.ts:87
↓ 1 callersFunctiontruncateTag
* Truncate a tag to fit within maxWidth, accounting for padding and hash prefix
src/components/TagTabs.tsx:43
↓ 1 callersFunctiontruncateToLines
(text: string, maxLines: number)
src/utils/stringUtils.ts:229
↓ 1 callersFunctiontruncateToTokens
* Truncate content to roughly maxTokens, keeping the head. roughTokenCountEstimation * uses ~4 chars/token (its default bytesPerToken), so char budge
src/services/compact/compact.ts:1666
↓ 1 callersFunctiontruncateToolInputValue
(value: unknown, depth = 0)
src/services/analytics/metadata.ts:242
↓ 1 callersFunctiontryAcquireComputerUseLock
()
src/utils/computerUse/computerUseLock.ts:148
↓ 1 callersFunctiontryAcquireConsolidationLock
()
src/services/autoDream/consolidationLock.ts:46
↓ 1 callersFunctiontryFlattenJson
(content: string)
src/tools/MCPTool/UI.tsx:298
↓ 1 callersFunctiontryGetInstalledAppNames
* Enumerate installed apps, timed. Fails soft — if Spotlight is slow or * claude-swift throws, the tool description just omits the list. Resolution
src/utils/computerUse/mcpServer.ts:25
↓ 1 callersFunctiontryGetPDFReference
( filename: string, )
src/utils/attachments.ts:2986
↓ 1 callersFunctiontryJPEGConversion
( context: ImageCompressionContext, quality: number, sharp: SharpFunction, )
src/utils/imageResizer.ts:725
↓ 1 callersFunctiontryJsonFormatContent
(content: string)
src/components/shell/OutputLine.tsx:33
↓ 1 callersFunctiontryPalettePNG
( context: ImageCompressionContext, sharp: SharpFunction, )
src/utils/imageResizer.ts:702
↓ 1 callersFunctiontryParseBraceExpr
(P: ParseState)
src/utils/bash/bashParser.ts:2215
↓ 1 callersFunctiontryParseBraceLikeCat
(P: ParseState)
src/utils/bash/bashParser.ts:2268
↓ 1 callersFunctiontryProgressiveResizing
( context: ImageCompressionContext, sharp: SharpFunction, )
src/utils/imageResizer.ts:646
↓ 1 callersFunctiontryQuoteShellArgs
(args: unknown[])
src/utils/bash/shellQuote.ts:47
↓ 1 callersFunctiontryReadImageFromPath
( text: string, )
src/utils/imagePaste.ts:351
↓ 1 callersFunctiontryRenderShutdownMessage
(content: string)
src/components/messages/ShutdownMessage.tsx:95
↓ 1 callersFunctiontryRenderTaskAssignmentMessage
(content: string)
src/components/messages/TaskAssignmentMessage.tsx:58
↓ 1 callersFunctiontrySlackSendCompact
(output: string | MCPToolResult, input: unknown)
src/tools/MCPTool/UI.tsx:372
↓ 1 callersMethodtryStart
* Start a query. Returns the generation number on success, * or null if a query is already running (concurrent guard). * Accepts transitions fro
src/utils/QueryGuard.ts:61
↓ 1 callersFunctiontryUnwrapTextPayload
(content: string)
src/tools/MCPTool/UI.tsx:327
↓ 1 callersFunctionturnDiffToDiffData
(turn: TurnDiff)
src/components/diff/DiffDialog.tsx:30
↓ 1 callersFunctiontypeViaClipboard
* Port of Cowork's `typeViaClipboard`. Sequence: * 1. Save the user's clipboard. * 2. Write our text. * 3. READ-BACK VERIFY — clipboard write
src/utils/computerUse/executor.ts:180
↓ 1 callersFunctionunescapeRuleContent
(content: string)
src/utils/permissions/permissionRuleParser.ts:74
↓ 1 callersFunctionunhideComputerUseApps
( bundleIds: readonly string[], )
src/utils/computerUse/executor.ts:652
↓ 1 callersFunctionuninstallPlugin
( plugin: string, scope: InstallableScope = 'user', keepData = false, )
src/services/plugins/pluginCliCommands.ts:153
↓ 1 callersFunctionunlinkSync
(path: string)
src/utils/fsOperations.ts:494
↓ 1 callersFunctionunregisterAgentForeground
(taskId: string, setAppState: SetAppState)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:657
↓ 1 callersFunctionunregisterEscHotkey
()
src/utils/computerUse/escHotkey.ts:40
↓ 1 callersFunctionunregisterLeaderSetToolPermissionContext
()
src/utils/swarm/leaderPermissionBridge.ts:52
↓ 1 callersFunctionunregisterLeaderToolUseConfirmQueue
()
src/utils/swarm/leaderPermissionBridge.ts:38
↓ 1 callersFunctionunregisterPermissionCallback
(requestId: string)
src/hooks/useSwarmPermissionPoller.ts:94
↓ 1 callersFunctionunregisterTeamForSessionCleanup
(teamName: string)
src/utils/swarm/teamHelpers.ts:568
↓ 1 callersFunctionunsetEffortLevel
()
src/commands/effort/effort.tsx:76
↓ 1 callersMethodunsetMeasureFunc
()
src/ink/layout/yoga.ts:98
↓ 1 callersFunctionunwrapCcrProxyUrl
(url: string)
src/services/mcp/config.ts:182
↓ 1 callersFunctionunwrapResults
(text: string)
src/utils/suggestions/slackChannelSuggestions.ts:73
↓ 1 callersFunctionupOrHistoryUp
()
src/hooks/useTextInput.ts:269
↓ 1 callersFunctionupdate
()
src/components/PromptInput/PromptInputFooterLeftSide.tsx:86
↓ 1 callersFunctionupdate
()
src/cli/update.ts:30
↓ 1 callersFunctionupdateAgentFile
( agent: AgentDefinition, newWhenToUse: string, newTools: string[] | undefined, newSystemPrompt: strin
src/components/agents/agentFileUtils.ts:208
↓ 1 callersFunctionupdateAgentSummary
(taskId: string, summary: string, setAppState: SetAppState)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:359
↓ 1 callersFunctionupdateDeepLinkTerminalPreference
()
src/utils/deepLink/terminalPreference.ts:38
↓ 1 callersFunctionupdateGithubRepoPathMapping
()
src/utils/githubRepoPathMapping.ts:23
↓ 1 callersFunctionupdateInstallationPathOnDisk
( pluginId: string, scope: PersistableScope, projectPath: string | undefined, newPath: string, newVe
src/utils/plugins/installedPluginsManager.ts:537
↓ 1 callersFunctionupdateLatest
( channelOrVersion: string, forceReinstall: boolean = false, )
src/utils/nativeInstaller/installer.ts:495
↓ 1 callersFunctionupdateMagicDoc
* Update a single Magic Doc
src/services/MagicDocs/magicDocs.ts:114
↓ 1 callersFunctionupdatePlugin
* Update a single plugin's installations. * Returns the plugin ID if any installation was updated, null otherwise.
src/utils/plugins/pluginAutoupdate.ts:108
↓ 1 callersFunctionupdatePluginCli
( plugin: string, scope: PluginScope, )
src/services/plugins/pluginCliCommands.ts:300
↓ 1 callersFunctionupdatePlugins
* Update plugins from marketplaces that have autoUpdate enabled. * Returns the list of plugin IDs that were updated.
src/utils/plugins/pluginAutoupdate.ts:206
↓ 1 callersFunctionupdateSelection
( s: SelectionState, col: number, row: number, )
src/ink/selection.ts:100
↓ 1 callersFunctionupdateSessionActivity
(sessionId: string, activity: SessionActivity)
src/bridge/bridgeUI.ts:498
↓ 1 callersFunctionupdateSessionTitle
( sessionId: string, title: string, )
src/utils/teleport/api.ts:425
↓ 1 callersFunctionupdateStatusDisplay
Refresh the inline status display. Shows idle or active depending on state.
src/bridge/bridgeMain.ts:372
↓ 1 callersFunctionupdateSymlink
( symlinkPath: string, targetPath: string, )
src/utils/nativeInstaller/installer.ts:639
↓ 1 callersFunctionuploadBriefAttachment
( fullPath: string, size: number, ctx: BriefUploadContext, )
src/tools/BriefTool/upload.ts:92
↓ 1 callersFunctionuploadSessionFiles
( files: Array<{ path: string; relativePath: string }>, config: FilesApiConfig, concurrency: number = DE
src/services/api/filesApi.ts:570
↓ 1 callersFunctionuploadTeamMemory
( state: SyncState, repoSlug: string, entries: Record<string, string>, ifMatchChecksum?: string | null
src/services/teamMemorySync/index.ts:462
↓ 1 callersFunctionuploadUserSettings
( entries: Record<string, string>, )
src/services/settingsSync/index.ts:347
↓ 1 callersFunctionuploadsDir
()
src/bridge/inboundAttachments.ts:60
↓ 1 callersFunctionuriToFilePath
* Extracts a file path from a file:// URI, decoding percent-encoded characters.
src/tools/LSPTool/LSPTool.ts:538
↓ 1 callersFunctionurlMatchesPattern
* Match a URL against a pattern with * as a wildcard (any characters). * Same semantics as the MCP server allowlist patterns.
src/utils/hooks/execHttpHook.ts:64
↓ 1 callersFunctionurlPatternToRegex
* Convert a URL pattern with wildcards to a RegExp * Supports * as wildcard matching any characters * Examples: * "https://example.com/*" matches
src/services/mcp/config.ts:320
↓ 1 callersFunctionuseAfterFirstRender
()
src/hooks/useAfterFirstRender.ts:4
↓ 1 callersFunctionuseApiKeyVerification
()
src/hooks/useApiKeyVerification.ts:25
↓ 1 callersFunctionuseArrowKeyHistory
(onSetInput: (value: string, mode: HistoryMode, pastedContents: Record<number, PastedContent>) => void, curren
src/hooks/useArrowKeyHistory.tsx:63
↓ 1 callersFunctionuseAssistantHistory
({ config, setMessages, scrollRef, onPrepend, }: Props)
src/hooks/useAssistantHistory.ts:72
↓ 1 callersFunctionuseAutoModeUnavailableNotification
()
src/hooks/notifs/useAutoModeUnavailableNotification.ts:19
↓ 1 callersFunctionuseAwaySummary
( messages: readonly Message[], setMessages: SetMessages, isLoading: boolean, )
src/hooks/useAwaySummary.ts:32
↓ 1 callersFunctionuseBackgroundTaskNavigation
(options?: { onOpenBackgroundTasks?: () => void })
src/hooks/useBackgroundTaskNavigation.ts:67
↓ 1 callersFunctionuseBlink
( enabled: boolean, intervalMs: number = BLINK_INTERVAL_MS, )
src/hooks/useBlink.ts:22
↓ 1 callersFunctionuseBuddyNotification
()
src/buddy/useBuddyNotification.tsx:43
↓ 1 callersFunctionuseCanSwitchToExistingSubscription
()
src/hooks/notifs/useCanSwitchToExistingSubscription.tsx:13
↓ 1 callersFunctionuseCanUseTool
(setToolUseConfirmQueue, setToolPermissionContext)
src/hooks/useCanUseTool.tsx:28
↓ 1 callersFunctionuseChromeExtensionNotification
()
src/hooks/useChromeExtensionNotification.tsx:16
↓ 1 callersFunctionuseClaudeCodeHintRecommendation
()
src/hooks/useClaudeCodeHintRecommendation.tsx:24
↓ 1 callersFunctionuseClawdAnimation
()
src/components/LogoV2/AnimatedClawd.tsx:92
↓ 1 callersFunctionuseCompactWarningSuppression
()
src/services/compact/compactWarningHook.ts:11
↓ 1 callersFunctionuseCopyOnSelect
( selection: Selection, isActive: boolean, onCopied?: (text: string) => void, )
src/hooks/useCopyOnSelect.ts:26
↓ 1 callersFunctionuseCostSummary
( getFpsMetrics?: () => FpsMetrics | undefined, )
src/costHook.ts:6
↓ 1 callersFunctionuseDeferredHookMessages
( pendingHookMessages: Promise<HookResultMessage[]> | undefined, setMessages: (action: React.SetStateActio
src/hooks/useDeferredHookMessages.ts:12
↓ 1 callersFunctionuseDeprecationWarningNotification
(model)
src/hooks/notifs/useDeprecationWarningNotification.tsx:6
↓ 1 callersFunctionuseDiffData
()
src/hooks/useDiffData.ts:34
← previousnext →7,801–7,900 of 11,548, ranked by callers