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
↓ 4 callers
Function
logLockAcquisitionError
(versionPath: string, lockError: unknown)
src/utils/nativeInstaller/installer.ts:1158
↓ 4 callers
Function
logSpeculation
( id: string, outcome: 'accepted' | 'aborted' | 'error', startTime: number, suggestionLength: number,
src/services/PromptSuggestion/speculation.ts:124
↓ 4 callers
Function
makeResultMessage
(sessionId: string)
src/bridge/bridgeMessaging.ts:399
↓ 4 callers
Function
mapElementType
( rawType: string, expressionType?: string, )
src/utils/powershell/parser.ts:749
↓ 4 callers
Function
markITerm2SetupComplete
()
src/utils/iTermBackup.ts:7
↓ 4 callers
Function
markPluginVersionOrphaned
( versionPath: string, )
src/utils/plugins/cacheUtils.ts:56
↓ 4 callers
Function
markPostCompaction
()
src/bootstrap/state.ts:771
↓ 4 callers
Function
markTaskNotified
* Atomically mark a task as notified. Returns true if this call flipped the * flag (caller should enqueue), false if already notified (caller should
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:189
↓ 4 callers
Function
markV2Dismissed
()
src/components/EffortCallout.tsx:256
↓ 4 callers
Function
matchesParam
* Checks if a lowercase parameter name (with leading dash) matches any entry * in the given param list, accounting for PowerShell's prefix-matching b
src/tools/PowerShellTool/pathValidation.ts:772
↓ 4 callers
Function
maybeActivateBrief
(options: unknown)
src/main.tsx:4622
↓ 4 callers
Function
maybeActivateProactive
(options: unknown)
src/main.tsx:4611
↓ 4 callers
Function
mergeUserMessages
(a: UserMessage, b: UserMessage)
src/utils/messages.ts:2411
↓ 4 callers
Function
microcompactMessages
( messages: Message[], toolUseContext?: ToolUseContext, querySource?: QuerySource, )
src/services/compact/microCompact.ts:253
↓ 4 callers
Function
modelSupportsAdvisor
(model: string)
src/utils/advisor.ts:89
↓ 4 callers
Function
modelSupportsAutoMode
(model: string)
src/utils/betas.ts:160
↓ 4 callers
Function
modelSupportsStructuredOutputs
(model: string)
src/utils/betas.ts:142
↓ 4 callers
Function
moveSelection
(delta: -1 | 1)
src/components/Settings/Config.tsx:1368
↓ 4 callers
Function
navigateFooter
(delta: 1 | -1, exitAtStart = false)
src/components/PromptInput/PromptInput.tsx:494
↓ 4 callers
Function
nextGeneration
(sessionId: string)
src/bridge/jwtUtils.ts:96
↓ 4 callers
Function
normalizeFullWidthDigits
(input: string)
src/utils/stringUtils.ts:72
↓ 4 callers
Function
normalizeFullWidthSpace
(input: string)
src/utils/stringUtils.ts:82
↓ 4 callers
Function
normalizeUrl
* RFC 8414 §3.3 / RFC 9728 §3.3 identifier comparison. Roundtrip through URL * to apply RFC 3986 §6.2.2 syntax-based normalization (lowercases scheme
src/services/mcp/xaa.ts:61
↓ 4 callers
Function
normalizeUserTextContent
( a: string | ContentBlockParam[], )
src/utils/messages.ts:2485
↓ 4 callers
Function
notify
()
src/ink/components/ScrollBox.tsx:100
↓ 4 callers
Function
notifyCompaction
( querySource: QuerySource, agentId?: AgentId, )
src/services/api/promptCacheBreakDetection.ts:689
↓ 4 callers
Function
notifySessionStateChanged
( state: SessionState, details?: RequiresActionDetails, )
src/utils/sessionState.ts:92
↓ 4 callers
Function
notifyVscodeFileUpdated
( filePath: string, oldContent: string | null, newContent: string | null, )
src/services/mcp/vscodeSdkMcp.ts:39
↓ 4 callers
Function
offsetAt
(idx: number)
src/vim/textObjects.ts:85
↓ 4 callers
Function
onImagePaste
(image: string, mediaType?: string, filename?: string, dimensions?: ImageDimensions, sourcePath?: string)
src/components/PromptInput/PromptInput.tsx:1151
↓ 4 callers
Method
onResponse
* Dispatch a response parsed from stdin. Called by App.tsx's * processKeysInBatch for every `kind: 'response'` item. * * Matching strategy:
src/ink/terminal-querier.ts:195
↓ 4 callers
Function
parseArithExpr
( P: ParseState, stop: string, mode: ArithMode = 'var', )
src/utils/bash/bashParser.ts:4129
↓ 4 callers
Function
parseArithTernary
( P: ParseState, stop: string, mode: ArithMode, )
src/utils/bash/bashParser.ts:4157
↓ 4 callers
Function
parseBooleanFrontmatter
(value: unknown)
src/utils/frontmatterParser.ts:332
↓ 4 callers
Function
parseExpansionRest
( P: ParseState, nodeType: string, stopAtSlash: boolean, )
src/utils/bash/bashParser.ts:2807
↓ 4 callers
Function
parseMcpConfig
(params: { configObject: unknown expandVars: boolean scope: ConfigScope filePath?: string })
src/services/mcp/config.ts:1297
↓ 4 callers
Function
parseSedEditCommand
(command: string)
src/tools/BashTool/sedEditParser.ts:49
↓ 4 callers
Function
performMCPOAuthFlow
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, onAuthorizationUrl: (url:
src/services/mcp/auth.ts:847
↓ 4 callers
Function
permissionPromptToolResultToPermissionDecision
( result: Output, tool: Tool, input: { [key: string]: unknown }, toolUseContext: ToolUseContext, )
src/utils/permissions/PermissionPromptToolResultSchema.ts:84
↓ 4 callers
Function
pluginDataDirPath
(pluginId: string)
src/utils/plugins/pluginDirectories.ts:98
↓ 4 callers
Function
pointValue
(v: number)
src/native-ts/yoga-layout/index.ts:90
↓ 4 callers
Function
posInt
(v: unknown, fallback: number, max?: number)
src/commands/review/reviewRemote.ts:181
↓ 4 callers
Function
processConditionedMdRules
( targetPath: string, rulesDir: string, type: MemoryType, processedPaths: Set<string>, includeExtern
src/utils/claudemd.ts:1354
↓ 4 callers
Function
processMailboxPermissionResponse
(params: { requestId: string decision: 'approved' | 'rejected' feedback?: string updatedInput?: Record
src/hooks/useSwarmPermissionPoller.ts:124
↓ 4 callers
Function
processResumedConversation
( result: ResumeLoadResult, opts: { forkSession: boolean sessionIdOverride?: string transcript
src/utils/sessionRestore.ts:409
↓ 4 callers
Function
processSessionFiles
* Process session files and extract stats. * Can filter by date range.
src/utils/stats.ts:117
↓ 4 callers
Function
pushPart
(key: string, verb: string, body: React.ReactNode)
src/components/messages/CollapsedReadSearchContent.tsx:299
↓ 4 callers
Function
pwd
()
src/utils/cwd.ts:19
↓ 4 callers
Method
reAppendSessionMetadata
* Re-append cached session metadata to the end of the transcript file. * This ensures metadata stays within the tail window that readLiteMetadata
src/utils/sessionStorage.ts:721
↓ 4 callers
Function
readFileAsyncOrNull
Async read that swallows all errors and returns null (best-effort).
src/utils/fileHistory.ts:1101
↓ 4 callers
Function
readFromDisk
()
src/utils/plugins/pluginFlagging.ts:75
↓ 4 callers
Function
readLine
(screen: Screen, y: number)
src/ink/log-update.ts:495
↓ 4 callers
Function
readSubdirs
(dirPath: string)
src/utils/plugins/cacheUtils.ts:189
↓ 4 callers
Function
readTokenFromWellKnownFile
( path: string, tokenName: string, )
src/utils/authFileDescriptor.ts:57
↓ 4 callers
Function
reconnectEnvironmentWithSession
* Recover from onEnvironmentLost (poll returned 404 — env was reaped * server-side). Tries two strategies in order: * * 1. Reconnect-in-pla
src/bridge/replBridge.ts:605
↓ 4 callers
Function
recordSuccess
(state: DenialTrackingState)
src/utils/permissions/denialTracking.ts:32
↓ 4 callers
Function
recordWorktreeExit
()
src/components/WorktreeExitDialog.tsx:17
↓ 4 callers
Function
refreshActivePlugins
( setAppState: SetAppState, )
src/utils/plugins/refresh.ts:72
↓ 4 callers
Function
refreshMarketplace
( name: string, onProgress?: MarketplaceProgressCallback, options?: { disableCredentialHelper?: boolean
src/utils/plugins/marketplaceManager.ts:2365
↓ 4 callers
Function
registerHookCallbacks
( hooks: Partial<Record<HookEvent, RegisteredHookMatcher[]>>, )
src/bootstrap/state.ts:1419
↓ 4 callers
Function
releaseLock
* Releases the update lock if it's held by this process
src/utils/autoUpdater.ts:254
↓ 4 callers
Function
releaseSchedulerLock
( opts?: SchedulerLockOptions, )
src/utils/cronTasksLock.ts:178
↓ 4 callers
Function
removeChildNode
( node: DOMElement, removeNode: DOMNode, )
src/ink/dom.ts:204
↓ 4 callers
Function
removeCronTasks
( ids: string[], dir?: string, )
src/utils/cronTasks.ts:231
↓ 4 callers
Function
removeExtraFields
( transcript: TranscriptMessage[], )
src/utils/sessionStorage.ts:1814
↓ 4 callers
Function
renderBorderLine
(type: 'top' | 'middle' | 'bottom')
src/components/MarkdownTable.tsx:226
↓ 4 callers
Function
renderDefaultModelSetting
( setting: ModelName | ModelAlias, )
src/utils/model/model.ts:318
↓ 4 callers
Method
resetBackoff
()
src/services/analytics/firstPartyEventLoggingExporter.ts:519
↓ 4 callers
Function
resolveAppliedEffort
( model: string, appStateEffortValue: EffortValue | undefined, )
src/utils/effort.ts:152
↓ 4 callers
Function
resolveOptions
(options?: XDGOptions)
src/utils/xdg.ts:20
↓ 4 callers
Function
resolveSandboxFilesystemPath
( pattern: string, source: SettingSource, )
src/utils/sandbox/sandbox-adapter.ts:138
↓ 4 callers
Function
resolveSimpleExpansion
* Resolve a `simple_expansion` ($VAR) node. Returns VAR_PLACEHOLDER if * resolvable, too-complex otherwise. * * @param insideString true when $VAR
src/utils/bash/ast.ts:1937
↓ 4 callers
Function
resolveValue
(value: string)
src/utils/plugins/lspPluginIntegration.ts:237
↓ 4 callers
Function
respondError
(error: string)
src/cli/print.ts:4668
↓ 4 callers
Function
restoreAgentFromSession
( agentSetting: string | undefined, currentAgentDefinition: AgentDefinition | undefined, agentDefinition
src/utils/sessionRestore.ts:200
↓ 4 callers
Function
roughTokenCountEstimationForMessages
( messages: readonly { type: string message?: { content?: unknown } attachment?: Attachment }[
src/services/tokenEstimation.ts:327
↓ 4 callers
Function
runIt2
* Runs an it2 CLI command and returns the result.
src/utils/swarm/backends/ITermBackend.ts:36
↓ 4 callers
Function
runTmuxInUserSession
* Runs a tmux command in the user's original tmux session (no socket override). * Use this for operations that interact with the user's tmux panes (s
src/utils/swarm/backends/TmuxBackend.ts:77
↓ 4 callers
Function
runTypeahead
* Append a keystroke to the typeahead buffer (reset after 2s idle) and * call `onMatch` with the index of the first label that prefix-matches. *
src/components/mcp/ElicitationDialog.tsx:459
↓ 4 callers
Function
sameIf
(x: { if?: string }, y: { if?: string })
src/utils/hooks/hooksSettings.ts:43
↓ 4 callers
Function
sanitizeAndLogError
(err: unknown)
src/components/Feedback.tsx:502
↓ 4 callers
Function
saveCustomTitle
( sessionId: UUID, customTitle: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
src/utils/sessionStorage.ts:2617
↓ 4 callers
Function
saveStatsCache
( cache: PersistedStatsCache, )
src/utils/statsCache.ts:214
↓ 4 callers
Function
schedulePush
* Debounced push: waits for writes to settle, then pushes once.
src/services/teamMemorySync/watcher.ts:132
↓ 4 callers
Function
scopeKey
(m: { session_id: string parent_tool_use_id: string | null })
src/cli/transports/ccrClient.ts:120
↓ 4 callers
Function
sedCommandIsAllowedByAllowlist
( command: string, options?: { allowFileWrites?: boolean }, )
src/tools/BashTool/sedValidation.ts:247
↓ 4 callers
Function
selectionBounds
(s: SelectionState)
src/ink/selection.ts:684
↓ 4 callers
Function
setAgentColor
( agentType: string, color: AgentColorName | undefined, )
src/tools/AgentTool/agentColorManager.ts:52
↓ 4 callers
Method
setAlignItems
(align: LayoutAlign)
src/ink/layout/yoga.ts:209
↓ 4 callers
Method
setAlignSelf
(align: LayoutAlign)
src/ink/layout/yoga.ts:220
↓ 4 callers
Method
setFlexDirection
(dir: LayoutFlexDirection)
src/ink/layout/yoga.ts:177
↓ 4 callers
Function
setMcpServerEnabled
(name: string, enabled: boolean)
src/services/mcp/config.ts:1553
↓ 4 callers
Method
setSandboxSettings
(options: { enabled?: boolean autoAllowBashIfSandboxed?: boolean allowUnsandboxedCommands?: boolea
src/utils/sandbox/sandbox-adapter.ts:892
↓ 4 callers
Function
setTextNodeValue
(node: TextNode, text: string)
src/ink/dom.ts:425
↓ 4 callers
Function
shouldAllowManagedPermissionRulesOnly
()
src/utils/permissions/permissionsLoader.ts:31
↓ 4 callers
Function
shouldAllowManagedSandboxDomainsOnly
()
src/utils/sandbox/sandbox-adapter.ts:152
↓ 4 callers
Function
shouldDisableAllHooksIncludingManaged
()
src/utils/hooks/hooksConfigSnapshot.ts:83
↓ 4 callers
Function
shouldEmit
(hookEvent: string)
src/utils/hooks/hookEvents.ts:83
↓ 4 callers
Function
shouldEnableThinkingByDefault
()
src/utils/thinking.ts:146
↓ 4 callers
Function
shouldProcessRateLimits
(isSubscriber: boolean)
src/services/rateLimitMocking.ts:32
← previous
next →
1,501–1,600 of 11,548, ranked by callers