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
↓ 11 callers
Function
processMemoryFile
( filePath: string, type: MemoryType, processedPaths: Set<string>, includeExternal: boolean, depth:
src/utils/claudemd.ts:618
↓ 11 callers
Function
processSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', { sessionId, agentType, model, force
src/utils/sessionStart.ts:35
↓ 11 callers
Function
recordTranscript
( messages: Message[], teamInfo?: TeamInfo, startingParentUuidHint?: UUID, allMessages?: readonly Mess
src/utils/sessionStorage.ts:1408
↓ 11 callers
Method
render
(node: ReactNode)
src/ink/ink.tsx:1442
↓ 11 callers
Method
reportState
Report worker state to CCR via PUT /sessions/{id}/worker.
src/cli/transports/ccrClient.ts:645
↓ 11 callers
Method
request
* Send an authenticated HTTP request to CCR. Handles auth headers, * 409 epoch mismatch, and error logging. Returns { ok: true } on 2xx. * On 42
src/cli/transports/ccrClient.ts:556
↓ 11 callers
Function
requireComputerUseInput
()
src/utils/computerUse/inputLoader.ts:22
↓ 11 callers
Function
resetSettingsCache
()
src/utils/settings/settingsCache.ts:55
↓ 11 callers
Function
resolveEdgeRaw
(edges: Value[], physicalEdge: number)
src/native-ts/yoga-layout/index.ts:233
↓ 11 callers
Function
setNeedsAutoModeExitAttachment
(value: boolean)
src/bootstrap/state.ts:1369
↓ 11 callers
Function
setOriginalCwd
(cwd: string)
src/bootstrap/state.ts:515
↓ 11 callers
Function
setUseCoworkPlugins
(value: boolean)
src/bootstrap/state.ts:1255
↓ 11 callers
Method
stop
()
src/utils/claudeInChrome/chromeNativeHost.ts:193
↓ 11 callers
Function
str
(k: string)
src/components/messageActions.tsx:69
↓ 11 callers
Function
tokenCountWithEstimation
(messages: readonly Message[])
src/utils/tokens.ts:226
↓ 11 callers
Function
updateTaskState
* Updates task state in AppState.
src/utils/swarm/inProcessRunner.ts:519
↓ 11 callers
Function
useAnimationFrame
( intervalMs: number | null = 16, )
src/ink/hooks/use-animation-frame.ts:30
↓ 11 callers
Function
useInterval
( callback: () => void, intervalMs: number | null, )
src/ink/hooks/use-interval.ts:43
↓ 10 callers
Function
buildPluginTelemetryFields
( name: string, marketplace: string | undefined, managedNames: Set<string> | null = null, )
src/utils/telemetry/pluginTelemetry.ts:133
↓ 10 callers
Function
cleanup
()
src/hooks/useDiffInIDE.ts:234
↓ 10 callers
Function
clearBridgePointer
(dir: string)
src/bridge/bridgePointer.ts:190
↓ 10 callers
Function
clearKeychainCache
()
src/utils/secureStorage/macOsKeychainHelpers.ts:87
↓ 10 callers
Function
createSyntheticUserCaveatMessage
()
src/utils/messages.ts:566
↓ 10 callers
Function
createTaskStateBase
( id: string, type: TaskType, description: string, toolUseId?: string, )
src/Task.ts:108
↓ 10 callers
Function
deriveSecurityFlags
( parsed: ParsedPowerShellCommand, )
src/utils/powershell/parser.ts:1728
↓ 10 callers
Function
describeMcpConfigFilePath
(scope: ConfigScope)
src/services/mcp/utils.ts:263
↓ 10 callers
Function
done
(timedOut: boolean)
src/utils/process.ts:55
↓ 10 callers
Function
drainRunLoop
(fn: () => Promise<T>)
src/utils/computerUse/drainRunLoop.ts:61
↓ 10 callers
Function
emitSequence
(seq: string)
src/ink/termio/tokenize.ts:127
↓ 10 callers
Method
equals
(other: Cursor)
src/utils/Cursor.ts:991
↓ 10 callers
Function
formatModelPricing
(costs: ModelCosts)
src/utils/modelCost.ts:217
↓ 10 callers
Function
formatShortcut
Format a shortcut for display in the help menu (e.g., "ctrl+o" → "ctrl + o")
src/components/PromptInput/PromptInputHelpMenu.tsx:13
↓ 10 callers
Function
getAccessToken
()
src/main.tsx:3322
↓ 10 callers
Function
getBaseDirectories
()
src/utils/nativeInstaller/installer.ts:115
↓ 10 callers
Method
getComputedBorder
(edge: LayoutEdge)
src/ink/layout/yoga.ts:124
↓ 10 callers
Function
getContextWindowForModel
( model: string, betas?: string[], )
src/utils/context.ts:51
↓ 10 callers
Function
getCurrentSessionTitle
( sessionId: SessionId, )
src/utils/sessionStorage.ts:2739
↓ 10 callers
Function
getLastAssistantMessage
( messages: Message[], )
src/utils/messages.ts:331
↓ 10 callers
Function
getMcpPrefix
(serverName: string)
src/services/mcp/mcpStringUtils.ts:39
↓ 10 callers
Function
getModeColor
(mode: PermissionMode)
src/utils/permissions/PermissionMode.ts:139
↓ 10 callers
Function
getModeFromInput
(input: string)
src/components/PromptInput/inputModes.ts:16
↓ 10 callers
Function
getPathsForPermissionCheck
(inputPath: string)
src/utils/fsOperations.ts:288
↓ 10 callers
Function
getPerformance
()
src/utils/profilerBase.ts:14
↓ 10 callers
Function
getPluginById
(pluginId: string)
src/utils/plugins/marketplaceManager.ts:2238
↓ 10 callers
Function
getPollIntervalConfig
()
src/bridge/pollConfig.ts:102
↓ 10 callers
Function
getProjectsDir
()
src/utils/sessionStorage.ts:198
↓ 10 callers
Function
getSystemPrompt
( tools: Tools, model: string, additionalWorkingDirectories?: string[], mcpClients?: MCPServerConnecti
src/constants/prompts.ts:444
↓ 10 callers
Function
getTasksDir
(taskListId: string)
src/utils/tasks.ts:221
↓ 10 callers
Function
getTheme
(themeName: ThemeName)
src/utils/theme.ts:605
↓ 10 callers
Function
getVersionedCachePath
( pluginId: string, version: string, )
src/utils/plugins/pluginLoader.ts:172
↓ 10 callers
Function
hasSelection
(s: SelectionState)
src/ink/selection.ts:676
↓ 10 callers
Function
isFirstPartyAnthropicBaseUrl
()
src/utils/model/providers.ts:27
↓ 10 callers
Function
isIdentChar
(c: string)
src/utils/bash/bashParser.ts:230
↓ 10 callers
Function
isMarginAuto
(edges: Value[], physicalEdge: number)
src/native-ts/yoga-layout/index.ts:250
↓ 10 callers
Function
isMcpTool
(tool: Tool)
src/services/mcp/utils.ts:245
↓ 10 callers
Function
isMcpbSource
(source: string)
src/utils/plugins/mcpbHandler.ts:79
↓ 10 callers
Method
isOverWhitespace
()
src/utils/Cursor.ts:986
↓ 10 callers
Function
isRestrictedToPluginOnly
( surface: CustomizationSurface, )
src/utils/settings/pluginOnlyPolicy.ts:19
↓ 10 callers
Function
isTeamLead
( teamContext: | { leadAgentId: string } | undefined, )
src/utils/teammate.ts:171
↓ 10 callers
Function
makeError
(error: string)
src/bridge/bridgeMain.ts:1870
↓ 10 callers
Function
matchWildcardPattern
( pattern: string, command: string, )
src/tools/BashTool/bashPermissions.ts:353
↓ 10 callers
Function
normalizeApiKeyForConfig
(apiKey: string)
src/utils/authPortable.ts:17
↓ 10 callers
Function
normalizeMessagesForAPI
( messages: Message[], tools: Tools = [], )
src/utils/messages.ts:1989
↓ 10 callers
Function
notifySubscribers
()
src/utils/messageQueueManager.ts:58
↓ 10 callers
Method
onError
(event: Event)
src/utils/mcpWebSocketTransport.ts:38
↓ 10 callers
Function
packWord1
( styleId: number, hyperlinkId: number, width: number, )
src/ink/screen.ts:342
↓ 10 callers
Function
parse
* Parse a command string and return a ParsedCommand instance. * Returns null if parsing fails completely.
src/utils/bash/ParsedCommand.ts:310
↓ 10 callers
Function
prependBullets
(items: Array<string | string[]>)
src/constants/prompts.ts:167
↓ 10 callers
Function
readFileSync
(filePath: string)
src/utils/fileRead.ts:100
↓ 10 callers
Function
registerTask
(task: TaskState, setAppState: SetAppState)
src/utils/task/framework.ts:77
↓ 10 callers
Function
runTmuxInSwarm
* Runs a tmux command in the external swarm socket. * Use this for operations in the standalone swarm session (when user is not in tmux).
src/utils/swarm/backends/TmuxBackend.ts:87
↓ 10 callers
Function
selectFooterItem
(item: FooterItem | null)
src/components/PromptInput/PromptInput.tsx:481
↓ 10 callers
Function
semanticNumber
( inner: T = z.number() as unknown as T, )
src/utils/semanticNumber.ts:26
↓ 10 callers
Function
setClipboard
(text: string)
src/ink/termio/osc.ts:138
↓ 10 callers
Function
setField
(fieldName_0: string, value: number | string | boolean | string[] | undefined)
src/components/mcp/ElicitationDialog.tsx:328
↓ 10 callers
Function
shouldAllowManagedHooksOnly
()
src/utils/hooks/hooksConfigSnapshot.ts:62
↓ 10 callers
Function
sliceAnsi
( str: string, start: number, end?: number, )
src/utils/sliceAnsi.ts:26
↓ 10 callers
Function
validateUuid
(maybeUuid: unknown)
src/utils/uuid.ts:12
↓ 10 callers
Function
write
(msg)
src/bridge/replBridgeTransport.ts:271
↓ 9 callers
Function
cacheMarketplaceFromGit
* Cache a marketplace from a git repository * * Clones or updates a git repository containing marketplace data. * If the repository already exists
src/utils/plugins/marketplaceManager.ts:1084
↓ 9 callers
Function
clamp
(value: number, min?: number, max?: number)
src/ink/layout/geometry.ts:93
↓ 9 callers
Function
clearMemoryFileCaches
()
src/utils/claudemd.ts:1119
↓ 9 callers
Function
clearPluginCache
(reason?: string)
src/utils/plugins/pluginLoader.ts:3225
↓ 9 callers
Function
commandBelongsToServer
( command: Command, serverName: string, )
src/services/mcp/utils.ts:52
↓ 9 callers
Function
createCombinedAbortSignal
( signal: AbortSignal | undefined, opts?: { signalB?: AbortSignal; timeoutMs?: number }, )
src/utils/combinedAbortSignal.ts:15
↓ 9 callers
Function
createCommandInputMessage
( content: string, )
src/utils/messages.ts:4516
↓ 9 callers
Function
decreset
(mode: number)
src/ink/termio/dec.ts:32
↓ 9 callers
Function
decset
(mode: number)
src/ink/termio/dec.ts:27
↓ 9 callers
Function
extractCompletionToken
(text: string, cursorPos: number, includeAtSymbol = false)
src/hooks/useTypeahead.tsx:261
↓ 9 callers
Function
extractRules
( updates: PermissionUpdate[] | undefined, )
src/utils/permissions/PermissionUpdate.ts:30
↓ 9 callers
Method
flush
()
src/utils/sessionStorage.ts:841
↓ 9 callers
Function
formatMs
(ms: number)
src/utils/profilerBase.ts:22
↓ 9 callers
Function
generateBarChart
( data: Record<string, number>, color: string, maxItems = 6, fixedOrder?: string[], )
src/commands/insights.ts:1824
↓ 9 callers
Function
getAgentContext
()
src/utils/agentContext.ts:100
↓ 9 callers
Function
getAgentMemoryDir
( agentType: string, scope: AgentMemoryScope, )
src/tools/AgentTool/agentMemory.ts:52
↓ 9 callers
Function
getCacheControl
({ scope, querySource, }: { scope?: CacheScope querySource?: QuerySource } = {})
src/services/api/claude.ts:358
↓ 9 callers
Function
getCommonDir
(gitDir: string)
src/utils/git/gitFilesystem.ts:273
↓ 9 callers
Function
getDefaultBranch
()
src/utils/git.ts:265
↓ 9 callers
Function
getDefaultSonnetModel
()
src/utils/model/model.ts:122
↓ 9 callers
Function
getFileModificationTime
(filePath: string)
src/utils/file.ts:66
← previous
next →
401–500 of 11,548, ranked by callers