MCPcopy Create free account

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

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

↓ 2 callersFunctiondiffMarketplaces
( declared: Record<string, DeclaredMarketplace>, materialized: KnownMarketplacesFile, opts?: { projectRo
src/utils/plugins/reconciler.ts:50
↓ 2 callersFunctiondisableAudioBellForProfile
(profileName: string)
src/commands/terminalSetup/terminalSetup.tsx:289
↓ 2 callersMethoddiscard
* Discards all pending and in-progress tools. Called when streaming fallback * occurs and results from the failed attempt should be abandoned. *
src/services/tools/StreamingToolExecutor.ts:69
↓ 2 callersMethoddispatchDiscrete
* Dispatch with discrete (sync) priority. * For user-initiated events: keyboard, click, focus, paste.
src/ink/events/dispatcher.ts:207
↓ 2 callersFunctiondispose
()
src/utils/hooks/fileChangedWatcher.ts:177
↓ 2 callersMethoddoDisconnect
()
src/cli/transports/WebSocketTransport.ts:380
↓ 2 callersFunctiondoDownloadUserSettings
( maxRetries = DEFAULT_MAX_RETRIES, )
src/services/settingsSync/index.ts:157
↓ 2 callersFunctiondoRequest
()
src/services/mcp/client.ts:374
↓ 2 callersFunctiondoUninstall
(deleteDataDir: boolean)
src/commands/plugin/ManagePlugins.tsx:1556
↓ 2 callersFunctiondoesMostRecentAssistantMessageExceed200k
( messages: Message[], )
src/utils/tokens.ts:159
↓ 2 callersFunctiondone
(result: T)
src/interactiveHelpers.tsx:41
↓ 2 callersMethoddown
()
src/utils/Cursor.ts:377
↓ 2 callersMethoddownLogicalLine
()
src/utils/Cursor.ts:533
↓ 2 callersFunctiondownloadUserSettings
()
src/services/settingsSync/index.ts:129
↓ 2 callersFunctiondownloadVersionFromBinaryRepo
( version: string, stagingPath: string, baseUrl: string, authConfig?: { auth?: { username: string;
src/utils/nativeInstaller/download.ts:382
↓ 2 callersMethoddrain
* Drain loop. At most one instance runs at a time (guarded by this.draining). * Sends batches serially. On failure, backs off and retries indefinit
src/cli/transports/SerialBatchEventUploader.ts:156
↓ 2 callersFunctiondrainFlushGate
()
src/bridge/remoteBridgeCore.ts:607
↓ 2 callersFunctiondrainFlushGate
()
src/bridge/replBridge.ts:848
↓ 2 callersMethoddrainWriteQueue
()
src/utils/sessionStorage.ts:645
↓ 2 callersFunctiondropContainedSpans
* Drops spans that are fully contained within another span, keeping only the * outermost. Nested quotes (e.g., `"$(echo 'hi')"`) yield overlapping sp
src/utils/bash/treeSitterAnalysis.ts:159
↓ 2 callersFunctiondropSubtreeCache
(node: DOMElement)
src/ink/render-node-to-output.ts:1450
↓ 2 callersFunctiondumpErrorPrompts
* Dump classifier input prompts + context-comparison diagnostics on API error. * Written to a session-scoped file in the claude temp dir so /share ca
src/utils/permissions/yoloClassifier.ts:213
↓ 2 callersFunctioneagerParseCliFlag
( flagName: string, argv: string[] = process.argv, )
src/utils/cliArgs.ts:13
↓ 2 callersFunctionembedTextInBorder
( borderLine: string, text: string, align: 'start' | 'end' | 'center', offset: number = 0, borderCha
src/ink/render-border.ts:35
↓ 2 callersFunctionemitHookStarted
( hookId: string, hookName: string, hookEvent: string, )
src/utils/hooks/hookEvents.ts:93
↓ 2 callersFunctionemitProcessMetadata
* Emit metadata events for a process/agent
src/utils/telemetry/perfettoTracing.ts:340
↓ 2 callersFunctionenable
()
src/utils/cronScheduler.ts:396
↓ 2 callersFunctionenableOptionAsMetaForProfile
(profileName: string)
src/commands/terminalSetup/terminalSetup.tsx:270
↓ 2 callersFunctionendLLMRequestSpan
( _span?: Span, _metadata?: { inputTokens?: number outputTokens?: number cacheReadTokens?: num
src/utils/telemetry/sessionTracing.ts:57
↓ 2 callersMethodendOfVimWord
()
src/utils/Cursor.ts:691
↓ 2 callersMethodendOfWORD
()
src/utils/Cursor.ts:788
↓ 2 callersFunctionendToolBlockedOnUserSpan
( _decision?: string, _source?: string, )
src/utils/telemetry/sessionTracing.ts:92
↓ 2 callersFunctionendToolExecutionSpan
(_metadata?: { success?: boolean error?: string })
src/utils/telemetry/sessionTracing.ts:101
↓ 2 callersMethodenqueue
* If flush is active, queue the items and return true. * If flush is not active, return false (caller should send directly).
src/bridge/flushGate.ts:46
↓ 2 callersFunctionenqueueRemoteReviewFailureNotification
* Enqueue a remote-review failure notification.
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:347
↓ 2 callersFunctionenqueueResult
(value: string)
src/utils/processUserInput/processSlashCommand.tsx:126
↓ 2 callersFunctionensureModelStringsInitialized
()
src/utils/model/modelStrings.ts:152
↓ 2 callersFunctionensurePermissionDirsAsync
* Ensure the permissions directory structure exists (async)
src/utils/swarm/permissionSync.ts:133
↓ 2 callersFunctionensureServerStarted
* Ensure the appropriate LSP server is started for the given file. * Returns undefined if no server handles this file type. * * @throws {Erro
src/services/lsp/LSPServerManager.ts:215
↓ 2 callersFunctionenvSessionKind
* Kind override from env. Set by the spawner (`claude --bg`, daemon * supervisor) so the child can register without the parent having to * write the
src/utils/concurrentSessions.ts:31
↓ 2 callersMethoderror
(message: string, ...args: unknown[])
src/utils/computerUse/hostAdapter.ts:25
↓ 2 callersFunctionescapeXmlAttr
(s: string)
src/utils/xml.ts:14
↓ 2 callersFunctionestimateSkillFrontmatterTokens
(skill: Command)
src/skills/loadSkillsDir.ts:100
↓ 2 callersFunctionevictOldestEvents
* Drop the oldest half of events[] when over MAX_EVENTS. Called from the * stale-span cleanup interval (60s). The half-batch splice keeps this * amo
src/utils/telemetry/perfettoTracing.ts:232
↓ 2 callersFunctionevictOldestIfAtCap
()
src/utils/imageStore.ts:115
↓ 2 callersFunctionevictStaleSpans
* Evict pending spans older than STALE_SPAN_TTL_MS. * Mirrors the TTL cleanup pattern in sessionTracing.ts.
src/utils/telemetry/perfettoTracing.ts:187
↓ 2 callersFunctionexecHttpHook
( hook: HttpHook, _hookEvent: HookEvent, jsonInput: string, signal?: AbortSignal, )
src/utils/hooks/execHttpHook.ts:123
↓ 2 callersFunctionexecuteEnvHooks
( hookInput: HookInput, timeoutMs: number, )
src/utils/hooks.ts:4241
↓ 2 callersFunctionexecuteInBackground
({ processId, hookId, shellCommand, asyncResponse, hookEvent, hookName, command, asyncRewake,
src/utils/hooks.ts:184
↓ 2 callersFunctionexecuteIndent
( dir: '>' | '<', count: number, ctx: OperatorContext, )
src/vim/operators.ts:348
↓ 2 callersFunctionexecuteInstructionsLoadedHooks
( filePath: string, memoryType: InstructionsMemoryType, loadReason: InstructionsLoadReason, options?:
src/utils/hooks.ts:4335
↓ 2 callersFunctionexecuteJoin
(count: number, ctx: OperatorContext)
src/vim/operators.ts:258
↓ 2 callersFunctionexecuteLineOp
( op: Operator, count: number, ctx: OperatorContext, )
src/vim/operators.ts:102
↓ 2 callersFunctionexecuteNonStreamingRequest
( clientOptions: { model: string fetchOverride?: Options['fetchOverride'] source: string },
src/services/api/claude.ts:818
↓ 2 callersFunctionexecuteOperatorFind
( op: Operator, findType: FindType, char: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:59
↓ 2 callersFunctionexecuteOperatorTextObj
( op: Operator, scope: TextObjScope, objType: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:80
↓ 2 callersFunctionexecutePostCompactHooks
( compactData: { trigger: 'manual' | 'auto' compactSummary: string }, signal?: AbortSignal, ti
src/utils/hooks.ts:4034
↓ 2 callersFunctionexecuteReplace
( char: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:199
↓ 2 callersFunctionexecuteTaskCompletedHooks
( taskId: string, taskSubject: string, taskDescription?: string, teammateName?: string, teamName?: s
src/utils/hooks.ts:3789
↓ 2 callersFunctionexecuteToggleCase
(count: number, ctx: OperatorContext)
src/vim/operators.ts:222
↓ 2 callersFunctionexecuteUserInput
* Core logic for executing user input without UI side effects. * * All commands arrive as `queuedCommands`. First command gets full treatment * (at
src/utils/handlePromptSubmit.ts:396
↓ 2 callersFunctionexecuteWorktreeRemoveHook
( worktreePath: string, )
src/utils/hooks.ts:4967
↓ 2 callersFunctionexecuteX
(count: number, ctx: OperatorContext)
src/vim/operators.ts:171
↓ 2 callersFunctionexistsSync
(fsPath)
src/utils/fsOperations.ts:389
↓ 2 callersFunctionexpandKey
Key for click-to-expand: tool_use_id where available (so tool_use + its * tool_result expand together), else uuid for groups/thinking.
src/components/Messages.tsx:725
↓ 2 callersFunctionexpandString
(str: string)
src/services/mcp/config.ts:562
↓ 2 callersFunctionextractAgentMentions
(content: string)
src/utils/attachments.ts:2802
↓ 2 callersFunctionextractBashCommentLabel
(command: string)
src/tools/BashTool/commentLabel.ts:8
↓ 2 callersFunctionextractBashToolsFromMessages
(messages: Message[])
src/utils/queryHelpers.ts:507
↓ 2 callersFunctionextractCodexAccountId
(accessToken: string)
src/services/oauth/codex-client.ts:85
↓ 2 callersFunctionextractCommandName
* Extract the command name from a PowerShell command string. * Uses the parser to get the first command name from the AST.
src/tools/PowerShellTool/powershellPermissions.ts:118
↓ 2 callersFunctionextractConversationText
(messages: Message[])
src/utils/sessionTitle.ts:33
↓ 2 callersFunctionextractFromServerConfigRecord
( serverConfigs: Record<string, unknown>, )
src/utils/plugins/lspRecommendation.ts:112
↓ 2 callersFunctionextractFunctionHooks
( sessionMatchers: SessionHookMatcher[], )
src/utils/hooks/sessionHooks.ts:357
↓ 2 callersFunctionextractGitHubRepoFromGitUrl
* Extract GitHub owner/repo from a git URL if it's a GitHub URL. * Returns null if not a GitHub URL. * * Handles: * - git@github.com:owner/repo.gi
src/utils/plugins/marketplaceHelpers.ts:348
↓ 2 callersFunctionextractHostFromSource
( source: MarketplaceSource, )
src/utils/plugins/marketplaceHelpers.ts:235
↓ 2 callersFunctionextractInboundMessageFields
( msg: SDKMessage, )
src/bridge/inboundMessages.ts:21
↓ 2 callersFunctionextractJsonStringFieldPrefix
* Like extractJsonStringField but returns the first `maxLen` characters of the * value even when the closing quote is missing (truncated buffer). New
src/utils/sessionStorage.ts:4921
↓ 2 callersFunctionextractMcpToolDetails
(toolName: string)
src/services/analytics/metadata.ts:176
↓ 2 callersFunctionextractMcpToolDisplayName
(userFacingName: string)
src/services/mcp/mcpStringUtils.ts:88
↓ 2 callersFunctionextractPDFPages
( filePath: string, options?: { firstPage?: number; lastPage?: number }, )
src/utils/pdf.ts:179
↓ 2 callersFunctionextractPartialResult
( messages: MessageType[], )
src/tools/AgentTool/agentToolUtils.ts:488
↓ 2 callersFunctionextractPathsFromCommand
* Extract file paths from a parsed PowerShell command element. * Uses the AST args to find positional and named path parameters. * * If any path ar
src/tools/PowerShellTool/pathValidation.ts:1304
↓ 2 callersFunctionextractPathsFromText
(textContent: string)
src/utils/claudemd.ts:458
↓ 2 callersFunctionextractQuotaStatusFromHeaders
( headers: globalThis.Headers, )
src/services/claudeAiLimits.ts:454
↓ 2 callersFunctionextractQuotedContent
(command: string, isJq = false)
src/tools/BashTool/bashSecurity.ts:128
↓ 2 callersFunctionextractRawUtilization
(headers: globalThis.Headers)
src/services/claudeAiLimits.ts:164
↓ 2 callersFunctionextractReceivedFromMessage
(msg: string)
src/utils/settings/validation.ts:92
↓ 2 callersFunctionextractRowText
Extract text from one screen row. When the next row is a soft-wrap * continuation (screen.softWrap[row+1]>0), clamp to that content-end * column a
src/ink/selection.ts:716
↓ 2 callersFunctionextractSearchText
({ filenames })
src/tools/GlobTool/GlobTool.ts:151
↓ 2 callersFunctionextractSearchToken
(completionToken: { token: string; isQuoted?: boolean; })
src/hooks/useTypeahead.tsx:123
↓ 2 callersFunctionextractSshHost
* Extract the SSH host from a git URL for error messaging. * Matches the SSH format user@host:path (e.g., git@github.com:owner/repo.git).
src/utils/plugins/marketplaceManager.ts:781
↓ 2 callersFunctionextractTitleText
(m: Message)
src/bridge/bridgeMessaging.ts:103
↓ 2 callersFunctionextractTranscript
* Extracts a truncated transcript from session messages.
src/utils/agenticSessionSearch.ts:86
↓ 2 callersFunctionextractUsage
* Extract usage stats from an API response.
src/utils/permissions/yoloClassifier.ts:609
↓ 2 callersFunctionextractZipToDirectory
( zipPath: string, targetDir: string, )
src/utils/plugins/zipCache.ts:331
↓ 2 callersFunctionfamilyHasSpecificEntries
* Check if a family alias is narrowed by more specific entries in the allowlist. * When the allowlist contains both "opus" and "opus-4-5", the specif
src/utils/model/modelAllowlist.ts:65
↓ 2 callersFunctionfetchAndStoreChangelog
()
src/utils/releaseNotes.ts:82
↓ 2 callersFunctionfetchAndStoreGroveConfig
* Fetch Grove config from API and store in cache
src/services/api/grove.ts:198
↓ 2 callersFunctionfetchAndStorePassesEligibility
()
src/services/api/referral.ts:174
← previousnext →2,801–2,900 of 11,548, ranked by callers