MCPcopy Create free account

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

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

↓ 1 callersFunctionloadInitialMessages
( setAppState: (f: (prev: AppState) => AppState) => void, options: { continue: boolean | undefined
src/cli/print.ts:4893
↓ 1 callersFunctionloadInstallCountsCache
* Load the install counts cache from disk. * Returns null if the file doesn't exist, is invalid, or is stale (>24h old).
src/utils/plugins/installCounts.ts:62
↓ 1 callersFunctionloadInstalledPlugins
()
src/commands/plugin/ManagePlugins.tsx:861
↓ 1 callersFunctionloadKeybindings
()
src/keybindings/loadUserBindings.ts:133
↓ 1 callersFunctionloadKeybindingsSync
()
src/keybindings/loadUserBindings.ts:243
↓ 1 callersFunctionloadList
()
src/commands/plugin/PluginSettings.tsx:40
↓ 1 callersFunctionloadLogList
* Internal function to load and process logs from a specified path * @param path Directory containing logs * @returns Array of logs sorted by date
src/utils/log.ts:231
↓ 1 callersFunctionloadLspServersFromManifest
* Load LSP servers from manifest declaration (handles multiple formats).
src/utils/plugins/lspPluginIntegration.ts:127
↓ 1 callersFunctionloadMagicDocsPrompt
* Load custom Magic Docs prompt from file if it exists * Custom prompts can be placed at ~/.claude/magic-docs/prompt.md * Use {{variableName}} synta
src/services/MagicDocs/prompts.ts:66
↓ 1 callersFunctionloadMarketplaceData
()
src/commands/plugin/BrowseMarketplace.tsx:126
↓ 1 callersFunctionloadMarketplaces
()
src/commands/plugin/ManageMarketplaces.tsx:73
↓ 1 callersFunctionloadMessagesFromJsonlPath
(path: string)
src/utils/conversationRecovery.ts:416
↓ 1 callersFunctionloadPassesData
()
src/components/Passes/Passes.tsx:54
↓ 1 callersFunctionloadPluginFromMarketplaceEntry
* Load a plugin from a marketplace entry based on its source configuration. * * Handles different source types: * - Relative path: Loads from marke
src/utils/plugins/pluginLoader.ts:2191
↓ 1 callersFunctionloadPluginFromMarketplaceEntryCacheOnly
* Cache-only variant of loadPluginFromMarketplaceEntry. * * Skips network (cachePlugin) and disk-copy (copyPluginToVersionedCache). * Reads directl
src/utils/plugins/pluginLoader.ts:2098
↓ 1 callersFunctionloadPluginSettings
* Load plugin settings from settings.json file or manifest.settings. * settings.json takes priority over manifest.settings when both exist. * Only a
src/utils/plugins/pluginLoader.ts:1807
↓ 1 callersFunctionloadPluginsForMarketplace
(marketplaceName: string)
src/commands/plugin/BrowseMarketplace.tsx:249
↓ 1 callersFunctionloadPolicyLimits
()
src/services/policyLimits/index.ts:556
↓ 1 callersFunctionloadRawTranscriptJsonl
()
src/components/Feedback.tsx:137
↓ 1 callersFunctionloadRejectionDiff
(filePath: string, oldString: string, newString: string, replaceAll: boolean)
src/tools/FileEditTool/UI.tsx:241
↓ 1 callersFunctionloadRejectionDiff
(filePath: string, content: string)
src/tools/FileWriteTool/UI.tsx:310
↓ 1 callersFunctionloadRemoteManagedSettings
()
src/services/remoteManagedSettings/index.ts:514
↓ 1 callersFunctionloadSessionMemoryPrompt
()
src/services/SessionMemory/prompts.ts:111
↓ 1 callersFunctionloadSessionOnlyPlugins
* Load session-only plugins from --plugin-dir CLI flag. * * These plugins are loaded directly without going through the marketplace system. * They
src/utils/plugins/pluginLoader.ts:2928
↓ 1 callersFunctionloadSettingSourcesFromFlag
(settingSourcesArg: string)
src/main.tsx:484
↓ 1 callersFunctionloadSettings
()
src/services/remoteManagedSettings/syncCacheState.ts:57
↓ 1 callersFunctionloadSettingsFromDisk
* Load settings from disk without using cache * This is the original implementation that actually reads from files
src/utils/settings/settings.ts:645
↓ 1 callersFunctionloadSettingsFromFlag
(settingsFile: string)
src/main.tsx:432
↓ 1 callersFunctionloadSkillsFromCommandsDir
* Loads skills from legacy /commands/ directories. * Supports both directory format (SKILL.md) and single .md file format. * Commands from /commands
src/skills/loadSkillsDir.ts:566
↓ 1 callersFunctionloadStatsCache
()
src/utils/statsCache.ts:147
↓ 1 callersFunctionloadTranscriptFromFile
( filePath: string, )
src/utils/sessionStorage.ts:2294
↓ 1 callersFunctionlock
( file: string, options?: LockOptions, )
src/utils/lockfile.ts:26
↓ 1 callersFunctionlockCurrentVersion
()
src/utils/nativeInstaller/installer.ts:1048
↓ 1 callersFunctionlogAPIPrefix
(systemPrompt: SystemPrompt)
src/utils/api.ts:281
↓ 1 callersFunctionlogAPIQuery
({ model, messagesLength, temperature, betas, permissionMode, querySource, queryTracking, thin
src/services/api/logging.ts:171
↓ 1 callersFunctionlogAPISuccess
({ model, preNormalizedModel, messageCount, messageTokens, usage, durationMs, durationMsIncludin
src/services/api/logging.ts:398
↓ 1 callersFunctionlogAPISuccessAndDuration
({ model, preNormalizedModel, start, startIncludingRetries, ttftMs, usage, attempt, messageCou
src/services/api/logging.ts:581
↓ 1 callersFunctionlogApprovalEvent
( tool: ToolType, messageId: string, source: PermissionApprovalSource | 'config', waitMs: number | und
src/hooks/toolPermission/permissionLogging.ts:107
↓ 1 callersFunctionlogContextMetrics
( mcpConfigs: Record<string, ScopedMcpServerConfig>, toolPermissionContext: ToolPermissionContext, )
src/utils/api.ts:479
↓ 1 callersFunctionlogEventAsync
( _eventName: string, _metadata: LogEventMetadata, )
src/services/analytics/index.ts:35
↓ 1 callersFunctionlogEventTo1P
( _eventName: string, _metadata: Record<string, number | boolean | undefined> = {}, )
src/services/analytics/firstPartyEventLogger.ts:30
↓ 1 callersFunctionlogForkAgentQueryEvent
* Logs the tengu_fork_agent_query event with full NonNullableUsage fields.
src/utils/forkedAgent.ts:631
↓ 1 callersFunctionlogGrowthBookExperimentTo1P
( _data: GrowthBookExperimentData, )
src/services/analytics/firstPartyEventLogger.ts:42
↓ 1 callersFunctionlogManagedSettings
* Log managed settings keys to Statsig for analytics. * This is called after init() completes to ensure settings are loaded * and environment variab
src/main.tsx:216
↓ 1 callersFunctionlogPluginLoadErrors
( errors: PluginError[], managedNames: Set<string> | null, )
src/utils/telemetry/pluginTelemetry.ts:267
↓ 1 callersFunctionlogPluginsEnabledForSession
( plugins: LoadedPlugin[], managedNames: Set<string> | null, seedDirs: string[], )
src/utils/telemetry/pluginTelemetry.ts:191
↓ 1 callersFunctionlogRejectionEvent
( tool: ToolType, messageId: string, source: PermissionRejectionSource | 'config', waitMs: number | un
src/hooks/toolPermission/permissionLogging.ts:152
↓ 1 callersFunctionlogSkillsLoaded
( cwd: string, contextWindowTokens: number, )
src/utils/telemetry/skillLoadedEvent.ts:13
↓ 1 callersFunctionlogStartupPerf
()
src/utils/startupProfiler.ts:159
↓ 1 callersFunctionlogStartupTelemetry
()
src/main.tsx:307
↓ 1 callersFunctionlogStripOnce
(stripped: string[])
src/utils/api.ts:269
↓ 1 callersFunctionlogSuggestionOutcome
( suggestion: string, userInput: string, emittedAt: number, promptId: PromptVariant, generationReque
src/services/PromptSuggestion/promptSuggestion.ts:462
↓ 1 callersFunctionlogTenguInit
({ hasInitialPrompt, hasStdin, verbose, debug, debugToStderr, print, outputFormat, inputFormat
src/main.tsx:4514
↓ 1 callersFunctionlogToolUseToolResultMismatch
( toolUseId: string, messages: Message[], messagesForAPI: (UserMessage | AssistantMessage)[], )
src/services/api/errors.ts:222
↓ 1 callersFunctionlongestCommonPrefix
* Compute the longest common prefix of strings, aligned to word boundaries. * e.g. ["git fetch", "git worktree"] → "git" * ["npm run test", "np
src/utils/bash/prefix.ts:182
↓ 1 callersFunctionlooksLikeCommand
(commandName: string)
src/utils/processUserInput/processSlashCommand.tsx:304
↓ 1 callersFunctionlooksLikeISO8601
(input: string)
src/utils/mcp/dateTimeParser.ts:117
↓ 1 callersFunctionlooksLikePrompt
(tail: string)
src/tasks/LocalShellTask/LocalShellTask.tsx:39
↓ 1 callersFunctionlookupAllowlist
* Looks up a command in the allowlist, resolving aliases first. * Returns the config if found, or undefined.
src/tools/PowerShellTool/readOnlyValidation.ts:1088
↓ 1 callersFunctionmain
* Bootstrap entrypoint - checks for special flags before loading the full CLI. * All imports are dynamic to minimize module evaluation for fast paths
src/entrypoints/cli.tsx:43
↓ 1 callersFunctionmakeAncestorPidLookup
()
src/utils/ide.ts:61
↓ 1 callersFunctionmakeContext
()
src/utils/handlePromptSubmit.ts:422
↓ 1 callersFunctionmakeCrcTable
()
src/utils/ansiToPng.ts:272
↓ 1 callersFunctionmakeDreamProgressWatcher
* Watch the forked agent's messages. For each assistant turn, extracts any * text blocks (the agent's reasoning/summary — what the user wants to see)
src/services/autoDream/autoDream.ts:281
↓ 1 callersFunctionmakeFallbackGlyph
()
src/utils/ansiToPng.ts:46
↓ 1 callersFunctionmakeLexer
(src: string)
src/utils/bash/bashParser.ts:134
↓ 1 callersFunctionmakeOutputFromSearchResponse
( result: BetaContentBlock[], query: string, durationSeconds: number, )
src/tools/WebSearchTool/WebSearchTool.ts:86
↓ 1 callersFunctionmakeSecondaryModelPrompt
( markdownContent: string, prompt: string, isPreapprovedDomain: boolean, )
src/tools/WebFetchTool/prompt.ts:23
↓ 1 callersFunctionmakeTestQuery
()
src/services/claudeAiLimits.ts:199
↓ 1 callersFunctionmakeToolSchema
(input: Input)
src/tools/WebSearchTool/WebSearchTool.ts:76
↓ 1 callersFunctionmanualRemoveNpmPackage
( packageName: string, )
src/utils/nativeInstaller/installer.ts:1525
↓ 1 callersFunctionmapAssistantMessage
( message: AssistantMessage, f: (s: unknown) => unknown, index: number, uuid?: UUID, )
src/services/vcr.ts:238
↓ 1 callersFunctionmapClaudeModelToCodex
(claudeModel: string | null)
src/services/api/codex-fetch-adapter.ts:37
↓ 1 callersFunctionmapKey
(key: Key)
src/hooks/useTextInput.ts:318
↓ 1 callersFunctionmapLSPSeverity
* Map LSP severity to Claude diagnostic severity * * Maps LSP severity numbers to Claude diagnostic severity strings. * Accepts numeric severity va
src/services/lsp/passiveFeedback.ts:18
↓ 1 callersFunctionmapMessages
( messages: (UserMessage | AssistantMessage)['message']['content'][], f: (s: unknown) => unknown, )
src/services/vcr.ts:175
↓ 1 callersFunctionmapNotebookCellsToToolResult
( data: NotebookCellSource[], toolUseID: string, )
src/utils/notebook.ts:188
↓ 1 callersFunctionmapStatementType
(rawType: string)
src/utils/powershell/parser.ts:712
↓ 1 callersFunctionmarkAgentsNotified
(taskId: string, setAppState: SetAppState)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:322
↓ 1 callersFunctionmarkBackslashReturnUsed
()
src/commands/terminalSetup/terminalSetup.tsx:133
↓ 1 callersFunctionmarkCommitStart
()
src/ink/reconciler.ts:211
↓ 1 callersFunctionmarkCronTasksFired
( ids: string[], firedAt: number, dir?: string, )
src/utils/cronTasks.ts:261
↓ 1 callersFunctionmarkDialogAsShown
()
src/components/IdeOnboardingDialog.tsx:154
↓ 1 callersFunctionmarkFlaggedPluginsSeen
( pluginIds: string[], )
src/utils/plugins/pluginFlagging.ts:172
↓ 1 callersFunctionmarkGitUnavailable
()
src/utils/plugins/gitAvailability.ts:59
↓ 1 callersFunctionmarkHintPluginShown
(pluginId: string)
src/utils/plugins/hintRecommendation.ts:141
↓ 1 callersFunctionmarkInProcessFallback
()
src/utils/swarm/backends/registry.ts:326
↓ 1 callersFunctionmarkMessagesAsReadByPredicate
( agentName: string, predicate: (msg: TeammateMessage) => boolean, teamName?: string, )
src/utils/teammateMailbox.ts:1101
↓ 1 callersFunctionmarkNoSelectRegion
( screen: Screen, x: number, y: number, width: number, height: number, )
src/ink/screen.ts:1471
↓ 1 callersFunctionmarkScrollActivity
()
src/bootstrap/state.ts:798
↓ 1 callersFunctionmarkSessionMemoryInitialized
()
src/services/SessionMemory/sessionMemoryUtils.ts:165
↓ 1 callersFunctionmarkShownThisSession
()
src/utils/claudeCodeHints.ts:170
↓ 1 callersMethodmarkStepUpPending
* Called by the fetch wrapper when a 403 insufficient_scope response is * detected. Setting this causes tokens() to omit refresh_token, forcing
src/services/mcp/auth.ts:1468
↓ 1 callersFunctionmarkTerminalSetupInProgress
(backupPath: string)
src/utils/appleTerminalBackup.ts:7
↓ 1 callersFunctionmarkToolUseAsComplete
( toolUseContext: ToolUseContext, toolUseID: string, )
src/services/tools/StreamingToolExecutor.ts:521
↓ 1 callersFunctionmarkToolsSentToAPIState
()
src/services/compact/microCompact.ts:124
↓ 1 callersFunctionmarkdownToHtml
(md: string)
src/commands/insights.ts:1951
↓ 1 callersFunctionmarketplaceAddHandler
( source: string, options: { cowork?: boolean; sparse?: string[]; scope?: string }, )
src/cli/handlers/plugins.ts:447
↓ 1 callersFunctionmarketplaceListHandler
(options: { json?: boolean cowork?: boolean })
src/cli/handlers/plugins.ts:527
↓ 1 callersFunctionmarketplaceRemoveHandler
( name: string, options: { cowork?: boolean }, )
src/cli/handlers/plugins.ts:595
← previousnext →6,701–6,800 of 11,548, ranked by callers