Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freecodexyz/free-code
/ functions
Functions
11,548 in github.com/freecodexyz/free-code
⨍
Functions
11,548
◇
Types & classes
343
↓ 21 callers
Function
tryParseShellCommand
( cmd: string, env?: | Record<string, string | undefined> | ((key: string) => string | undefined),
src/utils/bash/shellQuote.ts:24
↓ 20 callers
Function
createSignal
()
src/utils/signal.ts:27
↓ 20 callers
Method
enqueueWrite
(filePath: string, entry: Entry)
src/utils/sessionStorage.ts:606
↓ 20 callers
Function
fileHistoryEnabled
()
src/utils/fileHistory.ts:63
↓ 20 callers
Function
getAllCommands
* 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 callers
Function
getTranscriptPath
()
src/utils/sessionStorage.ts:202
↓ 20 callers
Function
isPlanModeInterviewPhaseEnabled
()
src/utils/planModeV2.ts:50
↓ 20 callers
Function
setStatus
(s: string)
src/screens/REPL.tsx:4305
↓ 19 callers
Function
ansiIdx
(index: number)
src/native-ts/color-diff/index.ts:88
↓ 19 callers
Function
asAgentId
(id: string)
src/types/ids.ts:31
↓ 19 callers
Function
checkStatsigFeatureGate_CACHED_MAY_BE_STALE
( gate: string, )
src/services/analytics/growthbook.ts:804
↓ 19 callers
Function
countCharInString
( str: { indexOf(search: string, start?: number): number }, char: string, start = 0, )
src/utils/stringUtils.ts:54
↓ 19 callers
Function
evictTaskOutput
(taskId: string)
src/utils/task/diskOutput.ts:288
↓ 19 callers
Function
getClaudeCodeUserAgent
()
src/utils/userAgent.ts:8
↓ 19 callers
Function
getSettingsFilePathForSource
( source: SettingSource, )
src/utils/settings/settings.ts:274
↓ 19 callers
Method
has
(uuid: string)
src/bridge/bridgeMessaging.ts:452
↓ 19 callers
Method
next
()
src/utils/stream.ts:19
↓ 19 callers
Function
normalizePathForComparison
(filePath: string)
src/utils/file.ts:565
↓ 19 callers
Function
saveCurrentProjectConfig
( updater: (currentConfig: ProjectConfig) => ProjectConfig, )
src/utils/config.ts:1645
↓ 19 callers
Function
useAppStateStore
()
src/state/AppState.tsx:177
↓ 18 callers
Function
enqueue
(command: QueuedCommand)
src/utils/messageQueueManager.ts:128
↓ 18 callers
Function
getAnthropicApiKeyWithSource
( opts: { skipRetrievingKeyFromApiKeyHelper?: boolean } = {}, )
src/utils/auth.ts:227
↓ 18 callers
Function
isPolicyAllowed
(policy: string)
src/services/policyLimits/index.ts:510
↓ 18 callers
Function
logOTelEvent
( _eventName: string, _metadata: { [key: string]: string | undefined } = {}, )
src/utils/telemetry/events.ts:9
↓ 18 callers
Function
normalizeNameForMCP
(name: string)
src/services/mcp/normalization.ts:17
↓ 18 callers
Function
onResponse
(requestId_3, handler_0)
src/hooks/useReplBridge.tsx:576
↓ 18 callers
Function
onSubmit
(selectedServers)
src/components/MCPServerDesktopImportDialog.tsx:72
↓ 18 callers
Function
release
()
src/utils/computerUse/drainRunLoop.ts:32
↓ 18 callers
Method
segment
(highlights: TextHighlight[])
src/utils/textHighlighting.ts:76
↓ 18 callers
Function
setCwd
(path: string, relativeTo?: string)
src/utils/Shell.ts:447
↓ 17 callers
Function
appendEntryToFile
( fullPath: string, entry: Record<string, unknown>, )
src/utils/sessionStorage.ts:2572
↓ 17 callers
Function
getCurrentProjectConfig
()
src/utils/config.ts:1622
↓ 17 callers
Function
getMcpConfigsByScope
( scope: 'project' | 'user' | 'local' | 'enterprise', )
src/services/mcp/config.ts:888
↓ 17 callers
Function
headlessProfilerCheckpoint
(name: string)
src/utils/headlessProfiler.ts:83
↓ 17 callers
Function
matchingRuleForInput
( path: string, toolPermissionContext: ToolPermissionContext, toolType: 'edit' | 'read', behavior: 'al
src/utils/permissions/filesystem.ts:955
↓ 17 callers
Function
normalizeCaseForComparison
(path: string)
src/utils/permissions/filesystem.ts:90
↓ 17 callers
Function
onProgress
(progress: { data: ShellProgress; })
src/utils/processUserInput/processBashCommand.tsx:55
↓ 17 callers
Function
onReject
(feedback)
src/hooks/useSSHSession.ts:143
↓ 17 callers
Function
osc
(...parts: (string | number)[])
src/ink/termio/osc.ts:18
↓ 17 callers
Function
prepareApiRequest
()
src/utils/teleport/api.ts:181
↓ 17 callers
Method
right
()
src/utils/Cursor.ts:311
↓ 17 callers
Function
setStep
()
src/components/TeleportProgress.tsx:120
↓ 16 callers
Method
get
(index: number)
src/ink/screen.ts:50
↓ 16 callers
Method
getComputedTop
()
src/ink/layout/yoga.ts:112
↓ 16 callers
Function
getGraphemeSegmenter
()
src/utils/intl.ts:13
↓ 16 callers
Method
graphemeAt
(pos: number)
src/utils/Cursor.ts:980
↓ 16 callers
Function
hasProgressMessage
* 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 callers
Function
isBuiltInAgent
( agent: AgentDefinition, )
src/tools/AgentTool/loadAgentsDir.ts:168
↓ 16 callers
Function
isFastModeSupportedByModel
( modelSetting: ModelSetting, )
src/utils/fastMode.ts:167
↓ 16 callers
Function
isLocalAgentTask
(task: unknown)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:149
↓ 16 callers
Function
isSettingSourceEnabled
(source: SettingSource)
src/utils/settings/constants.ts:174
↓ 16 callers
Function
readTeamFile
(teamName: string)
src/utils/swarm/teamHelpers.ts:131
↓ 16 callers
Function
sameFloat
(a: number, b: number)
src/native-ts/yoga-layout/index.ts:113
↓ 16 callers
Method
send
(msg: Message)
src/utils/mailbox.ts:33
↓ 16 callers
Function
splitCommand_DEPRECATED
(command: string)
src/utils/bash/commands.ts:265
↓ 16 callers
Function
updateRepresentativeClaim
()
src/services/mockRateLimits.ts:210
↓ 16 callers
Function
writeStatus
Write a status line and track its visual line count.
src/bridge/bridgeUI.ts:118
↓ 15 callers
Method
close
()
src/services/mcp/InProcessTransport.ts:37
↓ 15 callers
Function
emitHookResponse
(data: { hookId: string hookName: string hookEvent: string output: string stdout: string stderr: s
src/utils/hooks/hookEvents.ts:153
↓ 15 callers
Function
flushSeg
()
src/utils/bash/bashParser.ts:2926
↓ 15 callers
Function
getOrganizationUUID
()
src/services/oauth/client.ts:454
↓ 15 callers
Function
isAnthropicAuthEnabled
()
src/utils/auth.ts:101
↓ 15 callers
Function
isEssentialTrafficOnly
()
src/utils/privacyLevel.ts:34
↓ 15 callers
Function
isIdentStart
(c: string)
src/utils/bash/bashParser.ts:226
↓ 15 callers
Function
parseStatements
* 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 callers
Function
parseWord
* 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 callers
Function
rename
(oldPath, newPath)
src/utils/fsOperations.ts:431
↓ 15 callers
Function
renderModelName
(model: ModelName)
src/utils/model/model.ts:431
↓ 15 callers
Function
spawn
(opts: SessionSpawnOpts, dir: string)
src/bridge/sessionRunner.ts:250
↓ 15 callers
Function
tuc
()
src/utils/computerUse/wrapper.tsx:51
↓ 15 callers
Function
validateBridgeId
(id: string, label: string)
src/bridge/bridgeApi.ts:48
↓ 15 callers
Function
wrapInSystemReminder
(content: string)
src/utils/messages.ts:3097
↓ 15 callers
Function
writeFileSync_DEPRECATED
( filePath: string, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptionsWithFlush, )
src/utils/slowOperations.ts:248
↓ 14 callers
Function
capitalize
(str: string)
src/utils/stringUtils.ts:20
↓ 14 callers
Function
cellAt
(screen: Screen, x: number, y: number)
src/ink/screen.ts:593
↓ 14 callers
Function
getCurrentWorktreeSession
()
src/utils/worktree.ts:158
↓ 14 callers
Function
getPluginsDirectory
()
src/utils/plugins/pluginDirectories.ts:53
↓ 14 callers
Function
getShortcutDisplay
( action: string, context: KeybindingContextName, fallback: string, )
src/keybindings/shortcutFormat.ts:38
↓ 14 callers
Function
hasDangerousExpansion
* 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 callers
Function
hasEmbeddedSearchTools
()
src/utils/embeddedTools.ts:15
↓ 14 callers
Method
isAtEnd
()
src/utils/Cursor.ts:1000
↓ 14 callers
Function
isFastModeAvailable
()
src/utils/fastMode.ts:42
↓ 14 callers
Function
isMcpServerDisabled
(name: string)
src/services/mcp/config.ts:1528
↓ 14 callers
Function
isOpus1mMergeEnabled
()
src/utils/model/model.ts:334
↓ 14 callers
Function
listTasks
(taskListId: string)
src/utils/tasks.ts:443
↓ 14 callers
Function
loadInstalledPluginsV2
()
src/utils/plugins/installedPluginsManager.ts:315
↓ 14 callers
Function
logPluginFetch
( source: PluginFetchSource, urlOrSpec: string | undefined, outcome: PluginFetchOutcome, durationMs: n
src/utils/plugins/fetchTelemetry.ts:79
↓ 14 callers
Function
logSuggestionSuppressed
( reason: string, suggestion?: string, promptId?: PromptVariant, source?: 'cli' | 'sdk', )
src/services/PromptSuggestion/promptSuggestion.ts:499
↓ 14 callers
Function
parseFrontmatter
( markdown: string, sourcePath?: string, )
src/utils/frontmatterParser.ts:130
↓ 14 callers
Function
registerBundledSkill
(definition: BundledSkillDefinition)
src/skills/bundledSkills.ts:53
↓ 14 callers
Function
resolve
(value: T)
src/hooks/toolPermission/PermissionContext.ts:79
↓ 14 callers
Function
sanitizePath
(name: string)
src/utils/cachePaths.ts:13
↓ 14 callers
Function
toIDEDisplayName
(terminal: string | null)
src/utils/ide.ts:1214
↓ 14 callers
Function
useSelectedMessageBg
()
src/components/messageActions.tsx:212
↓ 14 callers
Function
useTerminalFocus
()
src/ink/hooks/use-terminal-focus.ts:13
↓ 14 callers
Function
wrapForMultiplexer
(sequence: string)
src/ink/termio/osc.ts:35
↓ 13 callers
Function
cleanup
()
src/utils/ShellCommand.ts:463
↓ 13 callers
Method
close
()
src/services/oauth/auth-code-listener.ts:199
↓ 13 callers
Function
ensureArray
* 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 callers
Function
executeHooks
* 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
← previous
next →
201–300 of 11,548, ranked by callers