MCPcopy Create free account

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

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

↓ 21 callersFunctiontryParseShellCommand
( cmd: string, env?: | Record<string, string | undefined> | ((key: string) => string | undefined),
src/utils/bash/shellQuote.ts:24
↓ 20 callersFunctioncreateSignal
()
src/utils/signal.ts:27
↓ 20 callersMethodenqueueWrite
(filePath: string, entry: Entry)
src/utils/sessionStorage.ts:606
↓ 20 callersFunctionfileHistoryEnabled
()
src/utils/fileHistory.ts:63
↓ 20 callersFunctiongetAllCommands
* Gets all commands including MCP skills/prompts from AppState. * SkillTool needs this because getCommands() only returns local/bundled skills.
src/tools/SkillTool/SkillTool.ts:81
↓ 20 callersFunctiongetTranscriptPath
()
src/utils/sessionStorage.ts:202
↓ 20 callersFunctionisPlanModeInterviewPhaseEnabled
()
src/utils/planModeV2.ts:50
↓ 20 callersFunctionsetStatus
(s: string)
src/screens/REPL.tsx:4305
↓ 19 callersFunctionansiIdx
(index: number)
src/native-ts/color-diff/index.ts:88
↓ 19 callersFunctionasAgentId
(id: string)
src/types/ids.ts:31
↓ 19 callersFunctioncheckStatsigFeatureGate_CACHED_MAY_BE_STALE
( gate: string, )
src/services/analytics/growthbook.ts:804
↓ 19 callersFunctioncountCharInString
( str: { indexOf(search: string, start?: number): number }, char: string, start = 0, )
src/utils/stringUtils.ts:54
↓ 19 callersFunctionevictTaskOutput
(taskId: string)
src/utils/task/diskOutput.ts:288
↓ 19 callersFunctiongetClaudeCodeUserAgent
()
src/utils/userAgent.ts:8
↓ 19 callersFunctiongetSettingsFilePathForSource
( source: SettingSource, )
src/utils/settings/settings.ts:274
↓ 19 callersMethodhas
(uuid: string)
src/bridge/bridgeMessaging.ts:452
↓ 19 callersMethodnext
()
src/utils/stream.ts:19
↓ 19 callersFunctionnormalizePathForComparison
(filePath: string)
src/utils/file.ts:565
↓ 19 callersFunctionsaveCurrentProjectConfig
( updater: (currentConfig: ProjectConfig) => ProjectConfig, )
src/utils/config.ts:1645
↓ 19 callersFunctionuseAppStateStore
()
src/state/AppState.tsx:177
↓ 18 callersFunctionenqueue
(command: QueuedCommand)
src/utils/messageQueueManager.ts:128
↓ 18 callersFunctiongetAnthropicApiKeyWithSource
( opts: { skipRetrievingKeyFromApiKeyHelper?: boolean } = {}, )
src/utils/auth.ts:227
↓ 18 callersFunctionisPolicyAllowed
(policy: string)
src/services/policyLimits/index.ts:510
↓ 18 callersFunctionlogOTelEvent
( _eventName: string, _metadata: { [key: string]: string | undefined } = {}, )
src/utils/telemetry/events.ts:9
↓ 18 callersFunctionnormalizeNameForMCP
(name: string)
src/services/mcp/normalization.ts:17
↓ 18 callersFunctiononResponse
(requestId_3, handler_0)
src/hooks/useReplBridge.tsx:576
↓ 18 callersFunctiononSubmit
(selectedServers)
src/components/MCPServerDesktopImportDialog.tsx:72
↓ 18 callersFunctionrelease
()
src/utils/computerUse/drainRunLoop.ts:32
↓ 18 callersMethodsegment
(highlights: TextHighlight[])
src/utils/textHighlighting.ts:76
↓ 18 callersFunctionsetCwd
(path: string, relativeTo?: string)
src/utils/Shell.ts:447
↓ 17 callersFunctionappendEntryToFile
( fullPath: string, entry: Record<string, unknown>, )
src/utils/sessionStorage.ts:2572
↓ 17 callersFunctiongetCurrentProjectConfig
()
src/utils/config.ts:1622
↓ 17 callersFunctiongetMcpConfigsByScope
( scope: 'project' | 'user' | 'local' | 'enterprise', )
src/services/mcp/config.ts:888
↓ 17 callersFunctionheadlessProfilerCheckpoint
(name: string)
src/utils/headlessProfiler.ts:83
↓ 17 callersFunctionmatchingRuleForInput
( path: string, toolPermissionContext: ToolPermissionContext, toolType: 'edit' | 'read', behavior: 'al
src/utils/permissions/filesystem.ts:955
↓ 17 callersFunctionnormalizeCaseForComparison
(path: string)
src/utils/permissions/filesystem.ts:90
↓ 17 callersFunctiononProgress
(progress: { data: ShellProgress; })
src/utils/processUserInput/processBashCommand.tsx:55
↓ 17 callersFunctiononReject
(feedback)
src/hooks/useSSHSession.ts:143
↓ 17 callersFunctionosc
(...parts: (string | number)[])
src/ink/termio/osc.ts:18
↓ 17 callersFunctionprepareApiRequest
()
src/utils/teleport/api.ts:181
↓ 17 callersMethodright
()
src/utils/Cursor.ts:311
↓ 17 callersFunctionsetStep
()
src/components/TeleportProgress.tsx:120
↓ 16 callersMethodget
(index: number)
src/ink/screen.ts:50
↓ 16 callersMethodgetComputedTop
()
src/ink/layout/yoga.ts:112
↓ 16 callersFunctiongetGraphemeSegmenter
()
src/utils/intl.ts:13
↓ 16 callersMethodgraphemeAt
(pos: number)
src/utils/Cursor.ts:980
↓ 16 callersFunctionhasProgressMessage
* Guard: checks if progress data has a `message` field (agent_progress or * skill_progress). Other progress types (e.g. bash_progress forwarded from
src/tools/AgentTool/UI.tsx:40
↓ 16 callersFunctionisBuiltInAgent
( agent: AgentDefinition, )
src/tools/AgentTool/loadAgentsDir.ts:168
↓ 16 callersFunctionisFastModeSupportedByModel
( modelSetting: ModelSetting, )
src/utils/fastMode.ts:167
↓ 16 callersFunctionisLocalAgentTask
(task: unknown)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:149
↓ 16 callersFunctionisSettingSourceEnabled
(source: SettingSource)
src/utils/settings/constants.ts:174
↓ 16 callersFunctionreadTeamFile
(teamName: string)
src/utils/swarm/teamHelpers.ts:131
↓ 16 callersFunctionsameFloat
(a: number, b: number)
src/native-ts/yoga-layout/index.ts:113
↓ 16 callersMethodsend
(msg: Message)
src/utils/mailbox.ts:33
↓ 16 callersFunctionsplitCommand_DEPRECATED
(command: string)
src/utils/bash/commands.ts:265
↓ 16 callersFunctionupdateRepresentativeClaim
()
src/services/mockRateLimits.ts:210
↓ 16 callersFunctionwriteStatus
Write a status line and track its visual line count.
src/bridge/bridgeUI.ts:118
↓ 15 callersMethodclose
()
src/services/mcp/InProcessTransport.ts:37
↓ 15 callersFunctionemitHookResponse
(data: { hookId: string hookName: string hookEvent: string output: string stdout: string stderr: s
src/utils/hooks/hookEvents.ts:153
↓ 15 callersFunctionflushSeg
()
src/utils/bash/bashParser.ts:2926
↓ 15 callersFunctiongetOrganizationUUID
()
src/services/oauth/client.ts:454
↓ 15 callersFunctionisAnthropicAuthEnabled
()
src/utils/auth.ts:101
↓ 15 callersFunctionisEssentialTrafficOnly
()
src/utils/privacyLevel.ts:34
↓ 15 callersFunctionisIdentStart
(c: string)
src/utils/bash/bashParser.ts:226
↓ 15 callersFunctionparseStatements
* Parse a sequence of statements separated by ; & newline. Returns a flat list * where ; and & are sibling leaves (NOT wrapped in 'list' — only && ||
src/utils/bash/bashParser.ts:769
↓ 15 callersFunctionparseWord
* Parse a word-position element: bare word, string, expansion, or concatenation * thereof. Returns a single node; if multiple adjacent fragments, wra
src/utils/bash/bashParser.ts:2008
↓ 15 callersFunctionrename
(oldPath, newPath)
src/utils/fsOperations.ts:431
↓ 15 callersFunctionrenderModelName
(model: ModelName)
src/utils/model/model.ts:431
↓ 15 callersFunctionspawn
(opts: SessionSpawnOpts, dir: string)
src/bridge/sessionRunner.ts:250
↓ 15 callersFunctiontuc
()
src/utils/computerUse/wrapper.tsx:51
↓ 15 callersFunctionvalidateBridgeId
(id: string, label: string)
src/bridge/bridgeApi.ts:48
↓ 15 callersFunctionwrapInSystemReminder
(content: string)
src/utils/messages.ts:3097
↓ 15 callersFunctionwriteFileSync_DEPRECATED
( filePath: string, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptionsWithFlush, )
src/utils/slowOperations.ts:248
↓ 14 callersFunctioncapitalize
(str: string)
src/utils/stringUtils.ts:20
↓ 14 callersFunctioncellAt
(screen: Screen, x: number, y: number)
src/ink/screen.ts:593
↓ 14 callersFunctiongetCurrentWorktreeSession
()
src/utils/worktree.ts:158
↓ 14 callersFunctiongetPluginsDirectory
()
src/utils/plugins/pluginDirectories.ts:53
↓ 14 callersFunctiongetShortcutDisplay
( action: string, context: KeybindingContextName, fallback: string, )
src/keybindings/shortcutFormat.ts:38
↓ 14 callersFunctionhasDangerousExpansion
* Checks if a redirection target contains shell expansion syntax that could * bypass path validation. These require manual approval for security. *
src/utils/bash/commands.ts:830
↓ 14 callersFunctionhasEmbeddedSearchTools
()
src/utils/embeddedTools.ts:15
↓ 14 callersMethodisAtEnd
()
src/utils/Cursor.ts:1000
↓ 14 callersFunctionisFastModeAvailable
()
src/utils/fastMode.ts:42
↓ 14 callersFunctionisMcpServerDisabled
(name: string)
src/services/mcp/config.ts:1528
↓ 14 callersFunctionisOpus1mMergeEnabled
()
src/utils/model/model.ts:334
↓ 14 callersFunctionlistTasks
(taskListId: string)
src/utils/tasks.ts:443
↓ 14 callersFunctionloadInstalledPluginsV2
()
src/utils/plugins/installedPluginsManager.ts:315
↓ 14 callersFunctionlogPluginFetch
( source: PluginFetchSource, urlOrSpec: string | undefined, outcome: PluginFetchOutcome, durationMs: n
src/utils/plugins/fetchTelemetry.ts:79
↓ 14 callersFunctionlogSuggestionSuppressed
( reason: string, suggestion?: string, promptId?: PromptVariant, source?: 'cli' | 'sdk', )
src/services/PromptSuggestion/promptSuggestion.ts:499
↓ 14 callersFunctionparseFrontmatter
( markdown: string, sourcePath?: string, )
src/utils/frontmatterParser.ts:130
↓ 14 callersFunctionregisterBundledSkill
(definition: BundledSkillDefinition)
src/skills/bundledSkills.ts:53
↓ 14 callersFunctionresolve
(value: T)
src/hooks/toolPermission/PermissionContext.ts:79
↓ 14 callersFunctionsanitizePath
(name: string)
src/utils/cachePaths.ts:13
↓ 14 callersFunctiontoIDEDisplayName
(terminal: string | null)
src/utils/ide.ts:1214
↓ 14 callersFunctionuseSelectedMessageBg
()
src/components/messageActions.tsx:212
↓ 14 callersFunctionuseTerminalFocus
()
src/ink/hooks/use-terminal-focus.ts:13
↓ 14 callersFunctionwrapForMultiplexer
(sequence: string)
src/ink/termio/osc.ts:35
↓ 13 callersFunctioncleanup
()
src/utils/ShellCommand.ts:463
↓ 13 callersMethodclose
()
src/services/oauth/auth-code-listener.ts:199
↓ 13 callersFunctionensureArray
* Ensure a value is an array. PowerShell 5.1's ConvertTo-Json may unwrap * single-element arrays into plain objects.
src/utils/powershell/parser.ts:703
↓ 13 callersFunctionexecuteHooks
* Common logic for executing hooks * @param hookInput The structured hook input that will be validated and converted to JSON * @param toolUseID The
src/utils/hooks.ts:1952
← previousnext →201–300 of 11,548, ranked by callers