MCPcopy Create free account

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

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

↓ 1 callersFunctionmarketplaceSourceHint
(p: string)
src/utils/plugins/validatePlugin.ts:113
↓ 1 callersFunctionmarketplaceUpdateHandler
( name: string | undefined, options: { cowork?: boolean }, )
src/cli/handlers/plugins.ts:616
↓ 1 callersFunctionmaskBracesInQuotedContexts
* Mask `{` characters that appear inside single- or double-quoted contexts. * Uses a single-pass bash-aware quote-state scanner instead of a regex.
src/utils/bash/ast.ts:331
↓ 1 callersFunctionmaskModelCodename
(baseName: string)
src/utils/model/model.ts:422
↓ 1 callersFunctionmatchKey
(m: Match)
src/components/GlobalSearchDialog.tsx:320
↓ 1 callersFunctionmatchesBinding
( input: string, key: Key, binding: ParsedBinding, )
src/keybindings/match.ts:111
↓ 1 callersFunctionmatchesKeepGoingKeyword
(input: string)
src/utils/userPromptKeywords.ts:16
↓ 1 callersFunctionmatchesKeyboardEvent
(e: KeyboardEvent, target: ParsedKeystroke)
src/hooks/useVoiceIntegration.tsx:61
↓ 1 callersFunctionmatchesKeystroke
( input: string, key: Key, target: ParsedKeystroke, )
src/keybindings/match.ts:86
↓ 1 callersFunctionmatchesNegativeKeyword
(input: string)
src/utils/userPromptKeywords.ts:4
↓ 1 callersFunctionmatchesPattern
* Check if a match query matches a hook matcher pattern * @param matchQuery The query to match (e.g., 'Write', 'Edit', 'Bash') * @param matcher The
src/utils/hooks.ts:1346
↓ 1 callersFunctionmatchesSectionHeader
* Check if a config line like `[remote "origin"]` matches the given section/subsection. * Section matching is case-insensitive; subsection matching i
src/utils/git/gitConfigParser.ts:198
↓ 1 callersMethodmaterializeSessionFile
* Create the session file, write cached startup metadata, and flush * buffered entries. Called on the first user/assistant message.
src/utils/sessionStorage.ts:976
↓ 1 callersFunctionmaxLineNumber
(hunk: Hunk)
src/native-ts/color-diff/index.ts:832
↓ 1 callersFunctionmaybeGetTmuxMouseHint
()
src/utils/fullscreen.ts:180
↓ 1 callersFunctionmaybeInstallIDEExtension
( ideType: IdeType, )
src/utils/ide.ts:590
↓ 1 callersFunctionmaybeInvalidateCache
* Invalidate the description cache if deferred tools have changed.
src/tools/ToolSearchTool/ToolSearchTool.ts:91
↓ 1 callersFunctionmaybeNotifyIDEConnected
(client: Client)
src/utils/ide.ts:829
↓ 1 callersFunctionmaybeRefreshOverageCreditCache
()
src/components/LogoV2/OverageCreditUpsell.tsx:44
↓ 1 callersFunctionmaybeRemoveApiKeyFromMacOSKeychainThrows
()
src/utils/authPortable.ts:4
↓ 1 callersFunctionmaybeTimeBasedMicrocompact
( messages: Message[], querySource: QuerySource | undefined, )
src/services/compact/microCompact.ts:446
↓ 1 callersFunctionmaybeTruncateInput
( input: string, pastedContents: Record<number, PastedContent>, )
src/components/PromptInput/inputPaste.ts:61
↓ 1 callersFunctionmaybeTruncateMessageForInput
( text: string, nextPasteId: number, )
src/components/PromptInput/inputPaste.ts:20
↓ 1 callersFunctionmcpAddFromDesktopHandler
(options: { scope?: string; })
src/cli/handlers/mcp.tsx:317
↓ 1 callersFunctionmcpAddJsonHandler
(name: string, json: string, options: { scope?: string; clientSecret?: true; })
src/cli/handlers/mcp.tsx:286
↓ 1 callersFunctionmcpGetHandler
(name: string)
src/cli/handlers/mcp.tsx:193
↓ 1 callersFunctionmcpListHandler
()
src/cli/handlers/mcp.tsx:144
↓ 1 callersFunctionmcpQueryFor
(searchToken: string)
src/utils/suggestions/slackChannelSuggestions.ts:129
↓ 1 callersFunctionmcpRemoveHandler
(name: string, options: { scope?: string; })
src/cli/handlers/mcp.tsx:74
↓ 1 callersFunctionmcpResetChoicesHandler
()
src/cli/handlers/mcp.tsx:352
↓ 1 callersFunctionmcpServeHandler
({ debug, verbose }: { debug?: boolean; verbose?: boolean; })
src/cli/handlers/mcp.tsx:42
↓ 1 callersFunctionmcpToolInputToAutoClassifierInput
( input: Record<string, unknown>, toolName: string, )
src/services/mcp/client.ts:1735
↓ 1 callersMethodmeasureWrappedText
()
src/utils/Cursor.ts:1293
↓ 1 callersFunctionmemoryAge
(mtimeMs: number)
src/memdir/memoryAge.ts:15
↓ 1 callersFunctionmemoryFileFreshnessPrefix
(data: object)
src/tools/FileReadTool/FileReadTool.ts:749
↓ 1 callersFunctionmemoryFreshnessNote
(mtimeMs: number)
src/memdir/memoryAge.ts:49
↓ 1 callersFunctionmemoryScopeForPath
(filePath: string)
src/utils/memoryFileDetection.ts:106
↓ 1 callersFunctionmergeAdjacentUserMessages
( msgs: (UserMessage | AssistantMessage)[], )
src/utils/messages.ts:2451
↓ 1 callersFunctionmergeArrays
* Custom merge function for arrays - concatenate and deduplicate
src/utils/settings/settings.ts:529
↓ 1 callersFunctionmergeAssistantMessages
( a: AssistantMessage, b: AssistantMessage, )
src/utils/messages.ts:2389
↓ 1 callersFunctionmergePluginErrors
* Merge fresh plugin-load errors with existing errors, preserving LSP and * plugin-component errors that were recorded by other systems and * dedupl
src/utils/plugins/refresh.ts:199
↓ 1 callersFunctionmergePluginSettings
* Merge settings from all enabled plugins into a single record. * Later plugins override earlier ones for the same key. * Only allowlisted keys are
src/utils/plugins/pluginLoader.ts:3250
↓ 1 callersFunctionmergePluginSources
(sources: { session: LoadedPlugin[] marketplace: LoadedPlugin[] builtin: LoadedPlugin[] managedNames?:
src/utils/plugins/pluginLoader.ts:3009
↓ 1 callersFunctionmergeUntrackedIntoNormalizedCache
* Merge already-normalized untracked files into the cache
src/hooks/fileSuggestions.ts:169
↓ 1 callersFunctionmergeUserContentBlocks
( a: ContentBlockParam[], b: ContentBlockParam[], )
src/utils/messages.ts:2600
↓ 1 callersFunctionmergeUserMessagesAndToolResults
( a: UserMessage, b: UserMessage, )
src/utils/messages.ts:2372
↓ 1 callersFunctionmigrateAutoUpdatesToSettings
()
src/migrations/migrateAutoUpdatesToSettings.ts:13
↓ 1 callersFunctionmigrateBypassPermissionsAcceptedToSettings
()
src/migrations/migrateBypassPermissionsAcceptedToSettings.ts:14
↓ 1 callersFunctionmigrateChangelogFromConfig
()
src/utils/releaseNotes.ts:55
↓ 1 callersFunctionmigrateEnableAllProjectMcpServersToSettings
()
src/migrations/migrateEnableAllProjectMcpServersToSettings.ts:17
↓ 1 callersFunctionmigrateFennecToOpus
()
src/migrations/migrateFennecToOpus.ts:18
↓ 1 callersFunctionmigrateLegacyOpusToCurrent
()
src/migrations/migrateLegacyOpusToCurrent.ts:29
↓ 1 callersFunctionmigrateOpusToOpus1m
()
src/migrations/migrateOpusToOpus1m.ts:24
↓ 1 callersFunctionmigrateReplBridgeEnabledToRemoteControlAtStartup
()
src/migrations/migrateReplBridgeEnabledToRemoteControlAtStartup.ts:10
↓ 1 callersFunctionmigrateScreenPools
( screen: Screen, charPool: CharPool, hyperlinkPool: HyperlinkPool, )
src/ink/screen.ts:554
↓ 1 callersFunctionmigrateSonnet1mToSonnet45
()
src/migrations/migrateSonnet1mToSonnet45.ts:25
↓ 1 callersFunctionmigrateSonnet45ToSonnet46
()
src/migrations/migrateSonnet45ToSonnet46.ts:29
↓ 1 callersFunctionmigrateStatsCache
* Migrate an older cache to the current schema. * Returns null if the version is unknown or too old to migrate. * * Preserves historical aggregates
src/utils/statsCache.ts:107
↓ 1 callersFunctionmigrateToSinglePluginFile
()
src/utils/plugins/installedPluginsManager.ts:115
↓ 1 callersFunctionmkdirRecursive
(dirPath: string)
src/utils/worktree.ts:90
↓ 1 callersFunctionmodalPagerAction
(input: string, key: Pick<Key, 'ctrl' | 'meta' | 'shift' | 'upArrow' | 'downArrow' | 'home' | 'end'>)
src/components/ScrollKeybindingHandler.tsx:900
↓ 1 callersFunctionmodelBelongsToFamily
* Check if a model belongs to a given family by checking if its name * (or resolved name) contains the family identifier.
src/utils/model/modelAllowlist.ts:10
↓ 1 callersFunctionmodelMatchesVersionPrefix
* Check if a model matches a version-prefix entry in the allowlist. * Supports shorthand like "opus-4-5" (mapped to "claude-opus-4-5") and * full pr
src/utils/model/modelAllowlist.ts:39
↓ 1 callersFunctionmodelSupportsContextManagement
(model: string)
src/utils/betas.ts:125
↓ 1 callersFunctionmodelSupportsThinking
(model: string)
src/utils/thinking.ts:90
↓ 1 callersFunctionmoveFocus
(s: SelectionState, col: number, row: number)
src/ink/selection.ts:442
↓ 1 callersMethodmoveSelectionFocus
* Keyboard selection extension (shift+arrow/home/end). Moves focus; * anchor stays fixed so the highlight grows or shrinks relative to it. * Lef
src/ink/ink.tsx:1188
↓ 1 callersFunctionneedsAutoModeExitAttachment
()
src/bootstrap/state.ts:1365
↓ 1 callersFunctionneedsBidi
()
src/ink/bidi.ts:29
↓ 1 callersFunctionneedsPlanModeExitAttachment
()
src/bootstrap/state.ts:1341
↓ 1 callersFunctionneedsQuoting
(str: string)
src/utils/bash/commands.ts:1171
↓ 1 callersFunctionneedsSegmentation
(str: string)
src/ink/stringWidth.ts:92
↓ 1 callersFunctionneedsWidthCompensation
* Identify emoji where the terminal's wcwidth may disagree with Unicode. * On terminals with correct tables, the CHA we emit is a harmless no-op. *
src/ink/log-update.ts:733
↓ 1 callersMethodnoSelect
* Mark a region as non-selectable (excluded from fullscreen text * selection copy + highlight). Used by <NoSelect> to fence off * gutters (line
src/ink/output.ts:237
↓ 1 callersFunctionnodeTypeId
(nodeType: string | undefined)
src/utils/bash/ast.ts:213
↓ 1 callersFunctionnormalizeAllowOnly
(paths: string[])
src/tools/BashTool/prompt.ts:189
↓ 1 callersFunctionnormalizeAssistantMessageForSDK
* Normalizes tool inputs in assistant message content for SDK consumption. * Specifically injects plan content into ExitPlanModeV2 tool inputs since
src/utils/messages/mappers.ts:260
↓ 1 callersFunctionnormalizeFileEditInput
({ file_path, edits, }: { file_path: string edits: EditInput[] })
src/tools/FileEditTool/utils.ts:581
↓ 1 callersFunctionnormalizeGitRemoteUrl
(url: string)
src/utils/git.ts:283
↓ 1 callersFunctionnormalizeImageBlocks
( blocks: Array<ContentBlockParam>, )
src/bridge/inboundMessages.ts:52
↓ 1 callersFunctionnormalizePatternToPath
({ patternRoot, pattern, rootPath, }: { patternRoot: string pattern: string rootPath: string })
src/utils/permissions/filesystem.ts:765
↓ 1 callersFunctionnormalizeToolInput
( tool: T, input: z.infer<T['inputSchema']>, agentId?: AgentId, )
src/utils/api.ts:566
↓ 1 callersFunctionnormalizeToolInputForAPI
( tool: T, input: z.infer<T['inputSchema']>, )
src/utils/api.ts:685
↓ 1 callersFunctionnormalizeTypeName
(name: string)
src/tools/PowerShellTool/clmTypes.ts:194
↓ 1 callersFunctionnormalizeUrl
(url: string)
src/services/mcp/officialRegistry.ts:19
↓ 1 callersFunctionnormalizedUpperBound
(m: Message)
src/utils/exportRenderer.tsx:37
↓ 1 callersFunctionnotifyPermissionModeChanged
(mode: PermissionMode)
src/utils/sessionState.ts:148
↓ 1 callersFunctionnotifyVscodeSnapshotFilesUpdated
* Notifies VSCode about files that have changed between snapshots. * Compares the previous snapshot with the new snapshot and sends file_updated * n
src/utils/fileHistory.ts:1054
↓ 1 callersFunctionnumberDiffLines
(diff: LineObject[], startLine: number)
src/components/StructuredDiff/Fallback.tsx:423
↓ 1 callersFunctionnumberToLetter
(n: number)
src/utils/markdown.ts:310
↓ 1 callersFunctionnumberToRoman
(n: number)
src/utils/markdown.ts:336
↓ 1 callersFunctionoauthHeaders
(accessToken: string)
src/bridge/remoteBridgeCore.ts:81
↓ 1 callersFunctionobjectGroupBy
( items: Iterable<T>, keySelector: (item: T, index: number) => K, )
src/utils/objectGroupBy.ts:4
↓ 1 callersMethodoffsetAtDisplayWidth
* Find the string offset that corresponds to a target display width.
src/utils/Cursor.ts:1270
↓ 1 callersFunctiononAbort
()
src/services/mcp/elicitationHandler.ts:115
↓ 1 callersFunctiononAbort
()
src/services/mcp/client.ts:2957
↓ 1 callersFunctiononChangeMainModelConfig
(value: string | null)
src/components/Settings/Config.tsx:203
↓ 1 callersFunctiononCwdChangedForHooks
( oldCwd: string, newCwd: string, )
src/utils/hooks/fileChangedWatcher.ts:133
↓ 1 callersFunctiononDivergence
()
src/tools/BashTool/bashPermissions.ts:2352
↓ 1 callersFunctiononDoneWithSettingsCheck
()
src/commands/privacy-settings/privacy-settings.tsx:30
← previousnext →6,801–6,900 of 11,548, ranked by callers