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
↓ 13 callers
Function
firstPartyNameToCanonical
(name: ModelName)
src/utils/model/model.ts:224
↓ 13 callers
Method
getComputedWidth
()
src/ink/layout/yoga.ts:116
↓ 13 callers
Function
getKairosActive
()
src/bootstrap/state.ts:1085
↓ 13 callers
Function
getMessagesAfterCompactBoundary
(messages: T[], options?: { includeSnipped?: boolean })
src/utils/messages.ts:4643
↓ 13 callers
Method
getPosition
()
src/utils/Cursor.ts:1046
↓ 13 callers
Function
getRemoteSessionUrl
( sessionId: string, ingressUrl?: string, )
src/constants/product.ts:65
↓ 13 callers
Function
getSmallFastModel
()
src/utils/model/model.ts:39
↓ 13 callers
Function
getTranscriptPathForSession
(sessionId: string)
src/utils/sessionStorage.ts:207
↓ 13 callers
Function
hasCommand
(cmd: string)
src/services/voice.ts:77
↓ 13 callers
Function
isInBundledMode
()
src/utils/bundledMode.ts:16
↓ 13 callers
Function
isUndercover
()
src/utils/undercover.ts:28
↓ 13 callers
Method
left
()
src/utils/Cursor.ts:301
↓ 13 callers
Function
loadAllPlugins
()
src/commands/plugin/DiscoverPlugins.tsx:124
↓ 13 callers
Function
loadInstalledPluginsFromDisk
()
src/utils/plugins/installedPluginsManager.ts:502
↓ 13 callers
Function
logDebug
(message: string)
src/services/api/filesApi.ts:44
↓ 13 callers
Function
markDirty
(node?: DOMNode)
src/ink/dom.ts:393
↓ 13 callers
Method
modifyText
(end: Cursor, insertString: string = '')
src/utils/Cursor.ts:845
↓ 13 callers
Function
normalizeLegacyToolName
(name: string)
src/utils/permissions/permissionRuleParser.ts:31
↓ 13 callers
Function
onProgress
(lastLines, allLines, totalLines, totalBytes, isIncomplete)
src/tools/BashTool/BashTool.tsx:883
↓ 13 callers
Function
readFileSync
(fsPath, options)
src/utils/fsOperations.ts:445
↓ 13 callers
Function
resolveGitDir
( startPath?: string, )
src/utils/git/gitFilesystem.ts:40
↓ 13 callers
Function
resolveOnce
(allow: boolean)
src/screens/REPL.tsx:2258
↓ 13 callers
Function
semanticBoolean
( inner: T = z.boolean() as unknown as T, )
src/utils/semanticBoolean.ts:22
↓ 13 callers
Function
showSetupDialog
(root: Root, renderer: (done: (result: T) => void) => React.ReactNode, options?: { onChangeAppState?: typeof
src/interactiveHelpers.tsx:86
↓ 13 callers
Function
uniq
(xs: Iterable<T>)
src/utils/array.ts:11
↓ 13 callers
Function
useRegisterOverlay
(id, t0)
src/context/overlayContext.tsx:38
↓ 13 callers
Function
useSettings
()
src/hooks/useSettings.ts:15
↓ 13 callers
Function
useWizard
()
src/components/wizard/useWizard.ts:5
↓ 12 callers
Function
asSessionId
(id: string)
src/types/ids.ts:23
↓ 12 callers
Function
cleanup
()
src/services/mcp/auth.ts:218
↓ 12 callers
Method
clear
()
src/bridge/bridgeMessaging.ts:456
↓ 12 callers
Function
createNavKey
(s: string, name: string, ctrl: boolean)
src/ink/parse-keypress.ts:787
↓ 12 callers
Function
enableConfigs
()
src/utils/config.ts:1354
↓ 12 callers
Function
executeHooksOutsideREPL
* Execute hooks outside of the REPL (e.g. notifications, session end) * * Unlike executeHooks() which yields messages that are exposed to the model
src/utils/hooks.ts:3003
↓ 12 callers
Function
formatDuration
Format a millisecond duration as a human-readable string (e.g. "5m 30s").
src/bridge/jwtUtils.ts:8
↓ 12 callers
Function
formatPathLink
* Format a file path as a clickable hyperlink. * * Paths containing spaces (e.g., "Application Support") are not clickable * in most terminals - th
src/commands/terminalSetup/terminalSetup.tsx:65
↓ 12 callers
Method
fromPartial
(object: I)
src/types/generated/google/protobuf/timestamp.ts:186
↓ 12 callers
Function
getAllowedChannels
()
src/bootstrap/state.ts:1676
↓ 12 callers
Function
getBranch
()
src/utils/git.ts:261
↓ 12 callers
Function
getCommands
(cwd: string)
src/commands.ts:476
↓ 12 callers
Function
getDefaultMainLoopModel
()
src/utils/model/model.ts:213
↓ 12 callers
Function
getDirectoryForPath
(path: string)
src/utils/path.ts:109
↓ 12 callers
Function
getEmptyToolPermissionContext
()
src/Tool.ts:141
↓ 12 callers
Function
getPlan
(agentId?: AgentId)
src/utils/plans.ts:135
↓ 12 callers
Function
getPlanFilePath
(agentId?: AgentId)
src/utils/plans.ts:119
↓ 12 callers
Function
getPluginErrorMessage
(error: PluginError)
src/types/plugin.ts:295
↓ 12 callers
Function
getSessionIngressAuthToken
()
src/utils/sessionIngressAuth.ts:101
↓ 12 callers
Function
getTeammateContext
()
src/utils/teammateContext.ts:47
↓ 12 callers
Function
getTimestamp
* Get timestamp in microseconds relative to trace start
src/utils/telemetry/perfettoTracing.ts:172
↓ 12 callers
Function
isSet
(value: any)
src/types/generated/events_mono/growthbook/v1/growthbook_experiment_event.ts:214
↓ 12 callers
Function
isSimpleTarget
(target: ParseEntry | undefined)
src/utils/bash/commands.ts:798
↓ 12 callers
Function
isTodoV2Enabled
()
src/utils/tasks.ts:133
↓ 12 callers
Function
logAutoModeOutcome
* Telemetry helper for tengu_auto_mode_outcome. All string fields are * enum-like values (outcome, model name, classifier type, failure kind) — * ne
src/utils/permissions/yoloClassifier.ts:1425
↓ 12 callers
Function
logUnaryEvent
(event: LogEvent)
src/utils/unaryLogging.ts:23
↓ 12 callers
Function
memoizeWithLRU
( f: (...args: Args) => Result, cacheFn: (...args: Args) => string, maxCacheSize: number = 100, )
src/utils/memoize.ts:234
↓ 12 callers
Function
normalizeMessages
(messages: Message[])
src/utils/messages.ts:741
↓ 12 callers
Function
percentValue
(v: number)
src/native-ts/yoga-layout/index.ts:93
↓ 12 callers
Function
prepareUserContent
({ inputString, precedingInputBlocks, }: { inputString: string precedingInputBlocks: ContentBlockParam
src/utils/messages.ts:525
↓ 12 callers
Method
reject
(error: Error)
src/services/oauth/auth-code-listener.ts:191
↓ 12 callers
Function
safeCallProgress
* Safely invoke a progress callback, catching and logging any errors. * Prevents callback errors from aborting marketplace operations. * * @param o
src/utils/plugins/marketplaceManager.ts:1007
↓ 12 callers
Function
setMainLoopModelOverride
( model: ModelSetting | undefined, )
src/bootstrap/state.ts:846
↓ 12 callers
Function
systemPromptSection
( name: string, compute: ComputeFn, )
src/constants/systemPromptSections.ts:20
↓ 12 callers
Function
updateValidationError
(fieldName_1: string, error?: string)
src/components/mcp/ElicitationDialog.tsx:345
↓ 11 callers
Function
boundAxis
( style: Style, isWidth: boolean, value: number, ownerWidth: number, ownerHeight: number, )
src/native-ts/yoga-layout/index.ts:2352
↓ 11 callers
Function
claim
()
src/hooks/toolPermission/PermissionContext.ts:88
↓ 11 callers
Function
clearServerCache
( name: string, serverRef: ScopedMcpServerConfig, )
src/services/mcp/client.ts:1650
↓ 11 callers
Function
colorize
(text: string, colorKey?: keyof Theme)
src/utils/treeify.ts:50
↓ 11 callers
Method
connect
()
src/cli/transports/SSETransport.ts:231
↓ 11 callers
Function
coworkOption
()
src/main.tsx:4145
↓ 11 callers
Method
create
(base?: I)
src/types/generated/google/protobuf/timestamp.ts:185
↓ 11 callers
Function
escapeXml
(s: string)
src/utils/xml.ts:6
↓ 11 callers
Function
exitTeammateView
( setAppState: (updater: (prev: AppState) => AppState) => void, )
src/state/teammateViewHelpers.ts:88
↓ 11 callers
Function
getActiveAgentsFromList
( allAgents: AgentDefinition[], )
src/tools/AgentTool/loadAgentsDir.ts:193
↓ 11 callers
Function
getAgentId
()
src/utils/teammate.ts:88
↓ 11 callers
Function
getAgentTranscriptPath
(agentId: AgentId)
src/utils/sessionStorage.ts:247
↓ 11 callers
Function
getAuthHeaders
* Get auth headers for policy limits without calling getSettings() * Supports both API key and OAuth authentication
src/services/policyLimits/index.ts:227
↓ 11 callers
Function
getDefaultMainLoopModelSetting
()
src/utils/model/model.ts:181
↓ 11 callers
Function
getDefaultOpusModel
()
src/utils/model/model.ts:108
↓ 11 callers
Function
getHookDisplayText
( hook: HookCommand | { type: 'callback' | 'function'; statusMessage?: string }, )
src/utils/hooks/hooksSettings.ts:68
↓ 11 callers
Function
getLoggingSafeMcpBaseUrl
( config: McpServerConfig, )
src/services/mcp/utils.ts:561
↓ 11 callers
Function
getRainbowColor
( charIndex: number, shimmer: boolean = false, )
src/utils/thinking.ts:80
↓ 11 callers
Function
getSdkBetas
()
src/bootstrap/state.ts:856
↓ 11 callers
Function
getTeammateColor
()
src/utils/teammate.ts:138
↓ 11 callers
Function
getTools
(permissionContext: ToolPermissionContext)
src/tools.ts:271
↓ 11 callers
Function
gte
(a: string, b: string)
src/utils/semver.ts:26
↓ 11 callers
Function
has1mContext
(model: string)
src/utils/context.ts:35
↓ 11 callers
Function
isAsyncHookJSONOutput
( json: HookJSONOutput, )
src/types/hooks.ts:189
↓ 11 callers
Function
isCompactBoundaryMessage
( message: Message | NormalizedMessage, )
src/utils/messages.ts:4608
↓ 11 callers
Function
isInProcessTeammateTask
( task: unknown, )
src/tasks/InProcessTeammateTask/types.ts:78
↓ 11 callers
Function
isLocalShellTask
(task: unknown)
src/tasks/LocalShellTask/guards.ts:34
↓ 11 callers
Function
isStale
()
src/hooks/useVoice.ts:359
↓ 11 callers
Function
logBridgeSkip
( reason: string, debugMsg?: string, v2?: boolean, )
src/bridge/debugUtils.ts:128
↓ 11 callers
Function
logDebug
(message: string)
src/utils/filePersistence/outputsScanner.ts:17
↓ 11 callers
Function
logUnaryPermissionEvent
( completion_type: CompletionType, { assistantMessage: { message: { id: message_id }, }, }
src/components/permissions/utils.ts:5
↓ 11 callers
Method
nextOffset
(offset: number)
src/utils/Cursor.ts:1496
↓ 11 callers
Function
normalizeModelStringForAPI
(model: string)
src/utils/model/model.ts:665
↓ 11 callers
Function
parseDimension
(v: number | string | undefined)
src/native-ts/yoga-layout/index.ts:2511
↓ 11 callers
Function
pathInWorkingPath
(path: string, workingPath: string)
src/utils/permissions/filesystem.ts:709
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
src/utils/permissions/permissionRuleParser.ts:93
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
src/utils/sandbox/sandbox-adapter.ts:63
← previous
next →
301–400 of 11,548, ranked by callers