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
↓ 3 callers
Function
discoverOidc
( idpIssuer: string, )
src/services/mcp/xaaIdpLogin.ts:202
↓ 3 callers
Function
discoverSkillDirsForPaths
( filePaths: string[], cwd: string, )
src/skills/loadSkillsDir.ts:861
↓ 3 callers
Method
dispatch
* Dispatch an event through capture and bubble phases. * Returns true if preventDefault() was NOT called.
src/ink/events/dispatcher.ts:185
↓ 3 callers
Method
done
()
src/utils/stream.ts:49
↓ 3 callers
Function
effortLevelToSymbol
(level: EffortLevel)
src/components/EffortIndicator.ts:27
↓ 3 callers
Function
emit
(event: HookExecutionEvent)
src/utils/hooks/hookEvents.ts:72
↓ 3 callers
Function
emitStatusChange
(limits: ClaudeAILimits)
src/services/claudeAiLimits.ts:184
↓ 3 callers
Method
enablePaneBorderStatus
* Enables pane border status for a window (shows pane titles).
src/utils/swarm/backends/TmuxBackend.ts:234
↓ 3 callers
Function
encodeChunk
(data: Uint8Array)
src/upstreamproxy/relay.ts:66
↓ 3 callers
Method
endOfLogicalLine
()
src/utils/Cursor.ts:495
↓ 3 callers
Function
endToolSpan
( _toolResult?: string, _resultTokens?: number, )
src/utils/telemetry/sessionTracing.ts:106
↓ 3 callers
Function
enhanceSystemPromptWithEnvDetails
( existingSystemPrompt: string[], model: string, additionalWorkingDirectories?: string[], enabledToolN
src/constants/prompts.ts:760
↓ 3 callers
Function
enqueueRemoteNotification
* Enqueue a remote task notification to the message queue.
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:166
↓ 3 callers
Function
ensureMemoryDirExists
(memoryDir: string)
src/memdir/memdir.ts:129
↓ 3 callers
Function
ensureOutputDir
* Ensure the task output directory exists
src/utils/task/diskOutput.ts:65
↓ 3 callers
Function
ensureParserInitialized
()
src/utils/bash/bashParser.ts:39
↓ 3 callers
Function
ensureTaskListLockFile
* Ensures the lock file exists for a task list
src/utils/tasks.ts:511
↓ 3 callers
Function
ensureTasksDir
(taskListId: string)
src/utils/tasks.ts:233
↓ 3 callers
Function
escapeRegExp
(str: string)
src/utils/stringUtils.ts:9
↓ 3 callers
Function
evictTerminalTask
( taskId: string, setAppState: SetAppState, )
src/utils/task/framework.ts:125
↓ 3 callers
Function
excludeToolsByServer
( tools: Tool[], serverName: string, )
src/services/mcp/utils.ts:115
↓ 3 callers
Function
execFilePromise
( cmd: string, args: string[], )
src/utils/settings/mdm/rawRead.ts:32
↓ 3 callers
Function
executeConfigChangeHooks
( source: ConfigChangeSource, filePath?: string, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, )
src/utils/hooks.ts:4214
↓ 3 callers
Function
executeOpenLine
( direction: 'above' | 'below', ctx: OperatorContext, )
src/vim/operators.ts:397
↓ 3 callers
Function
executePermissionRequestHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolUseContext: ToolUseContext, permiss
src/utils/hooks.ts:4157
↓ 3 callers
Function
executePreCompactHooks
( compactData: { trigger: 'manual' | 'auto' customInstructions: string | null }, signal?: AbortS
src/utils/hooks.ts:3961
↓ 3 callers
Function
executeSessionEndHooks
( reason: ExitReason, options?: { getAppState?: () => AppState setAppState?: (updater: (prev: AppS
src/utils/hooks.ts:4097
↓ 3 callers
Function
executeStopFailureHooks
( lastMessage: AssistantMessage, toolUseContext?: ToolUseContext, timeoutMs: number = TOOL_HOOK_EXECUTIO
src/utils/hooks.ts:3594
↓ 3 callers
Function
executeWorktreeCreateHook
( name: string, )
src/utils/hooks.ts:4928
↓ 3 callers
Function
exitWithMessage
(message: string)
src/cli/structuredIO.ts:776
↓ 3 callers
Function
expandEnvVarsInString
(value: string)
src/services/mcp/envExpansion.ts:10
↓ 3 callers
Function
expandPastedTextRefs
( input: string, pastedContents: Record<number, PastedContent>, )
src/history.ts:81
↓ 3 callers
Function
expandTilde
(path: string)
src/utils/permissions/pathValidation.ts:80
↓ 3 callers
Function
extractClaudeCodeHints
( output: string, command: string, )
src/utils/claudeCodeHints.ts:72
↓ 3 callers
Function
extractFirstPrompt
(transcript: TranscriptMessage[])
src/utils/sessionStorage.ts:1725
↓ 3 callers
Function
extractPrefixFromElement
* Extract a static prefix from a single parsed command element. * Returns null for commands we won't suggest (shells, eval cmdlets, path-like * invo
src/utils/powershell/staticPrefix.ts:30
↓ 3 callers
Function
extractQuotaStatusFromError
(error: APIError)
src/services/claudeAiLimits.ts:487
↓ 3 callers
Function
extractReadFilesFromMessages
( messages: Message[], cwd: string, maxSize: number = ASK_READ_FILE_STATE_CACHE_SIZE, )
src/utils/queryHelpers.ts:346
↓ 3 callers
Function
extractRequestId
* Extract the API request_id (req_xxx) that the SDK attaches as a * non-enumerable `_request_id` property on response objects.
src/utils/permissions/yoloClassifier.ts:624
↓ 3 callers
Function
extractResultText
( agentMessages: Message[], defaultText = 'Execution completed', )
src/utils/forkedAgent.ts:237
↓ 3 callers
Function
extractTaggedBullets
(tagName: string)
src/utils/permissions/yoloClassifier.ts:108
↓ 3 callers
Method
feed
Feed input and get resulting actions
src/ink/termio/parser.ts:287
↓ 3 callers
Function
fetchAndLoadPolicyLimits
* Fetch and load policy limits with file caching * Fails open - returns null if fetch fails and no cache exists
src/services/policyLimits/index.ts:432
↓ 3 callers
Function
fetchAndLoadRemoteManagedSettings
* Fetch and load remote settings with file caching * Internal function that handles the full load/fetch logic * Fails open - returns null if fetch f
src/services/remoteManagedSettings/index.ts:415
↓ 3 callers
Function
fetchOfficialMarketplaceFromGcs
( installLocation: string, marketplacesCacheDir: string, )
src/utils/plugins/officialMarketplaceGcs.ts:47
↓ 3 callers
Function
fetchRemoteCredentials
( sessionId: string, baseUrl: string, accessToken: string, timeoutMs: number, )
src/bridge/remoteBridgeCore.ts:931
↓ 3 callers
Function
fetchSessionLogsFromUrl
* Shared implementation for fetching session logs from a URL
src/services/api/sessionIngress.ts:420
↓ 3 callers
Function
fetchUtilization
()
src/services/api/usage.ts:33
↓ 3 callers
Function
fileHistoryGetDiffStats
( state: FileHistoryState, messageId: UUID, )
src/utils/fileHistory.ts:414
↓ 3 callers
Function
fileHistoryMakeSnapshot
( updateFileHistoryState: ( updater: (prev: FileHistoryState) => FileHistoryState, ) => void, messag
src/utils/fileHistory.ts:198
↓ 3 callers
Function
filterDeniedAgents
( agents: T[], context: ToolPermissionContext, agentToolName: string, )
src/utils/permissions/permissions.ts:325
↓ 3 callers
Function
filterOrphanedThinkingOnlyMessages
( messages: Message[], )
src/utils/messages.ts:4997
↓ 3 callers
Function
filterOutFlags
* SECURITY: Extract positional (non-flag) arguments, correctly handling the * POSIX `--` end-of-options delimiter. * * Most commands (rm, cat, touc
src/tools/BashTool/pathValidation.ts:126
↓ 3 callers
Function
filterRulesByContentsMatchingInput
* Filter rules by contents matching an input command. * PowerShell-specific: uses case-insensitive matching throughout. * Follows the same structure
src/tools/PowerShellTool/powershellPermissions.ts:170
↓ 3 callers
Function
filterRulesByContentsMatchingInput
( input: z.infer<typeof BashTool.inputSchema>, rules: Map<string, PermissionRule>, matchMode: 'exact' |
src/tools/BashTool/bashPermissions.ts:778
↓ 3 callers
Function
filterWhitespaceOnlyAssistantMessages
( messages: Message[], )
src/utils/messages.ts:4875
↓ 3 callers
Function
finalizeAgentTool
( agentMessages: MessageType[], agentId: string, metadata: { prompt: string resolvedAgentModel:
src/tools/AgentTool/agentToolUtils.ts:276
↓ 3 callers
Function
finalizeHook
( hook: PendingAsyncHook, exitCode: number, outcome: 'success' | 'error' | 'cancelled', )
src/utils/hooks/AsyncHookRegistry.ts:91
↓ 3 callers
Method
findCharacter
* Find a character using vim f/F/t/T semantics. * * @param char - The character to find * @param type - 'f' (forward to), 'F' (backward to),
src/utils/Cursor.ts:1062
↓ 3 callers
Function
findExecutable
* Find an executable using where.exe on Windows * @param executable - The name of the executable to find * @returns The path to the executable or nu
src/utils/windowsPaths.ts:29
↓ 3 callers
Method
findLogicalLineEnd
(fromOffset: number = this.offset)
src/utils/Cursor.ts:468
↓ 3 callers
Method
findLogicalLineStart
(fromOffset: number = this.offset)
src/utils/Cursor.ts:463
↓ 3 callers
Function
findMidInputSlashCommand
( input: string, cursorOffset: number, )
src/utils/suggestions/commandSuggestions.ts:114
↓ 3 callers
Function
findProjectSkill
()
src/utils/hooks/skillImprovement.ts:58
↓ 3 callers
Function
findUltraplanTriggerPositions
(text: string)
src/utils/ultraplan/keyword.ts:97
↓ 3 callers
Function
finish
(msg: string)
src/commands/plugin/BrowseMarketplace.tsx:544
↓ 3 callers
Function
finish
(msg: string)
src/commands/plugin/ManagePlugins.tsx:1633
↓ 3 callers
Function
finish
(msg: string)
src/commands/plugin/DiscoverPlugins.tsx:469
↓ 3 callers
Function
fireRawRead
()
src/utils/settings/mdm/rawRead.ts:55
↓ 3 callers
Function
firstGrapheme
(text: string)
src/utils/intl.ts:26
↓ 3 callers
Method
flush
* Send the DA1 sentinel. Resolves when DA1's response arrives. * * As a side effect, all queries still pending when DA1 arrives are * resolve
src/ink/terminal-querier.ts:170
↓ 3 callers
Method
flush
* Block until all pending events are POSTed. Used by bridge's initial * history flush so onStateChange('connected') fires after persistence.
src/cli/transports/HybridTransport.ts:149
↓ 3 callers
Function
flushAndCleanup
(shellCommand: ShellCommand)
src/tasks/LocalShellTask/LocalShellTask.tsx:515
↓ 3 callers
Function
flushRegex
()
src/utils/bash/bashParser.ts:3039
↓ 3 callers
Method
flushStreamEventBuffer
* Drain the stream_event delay buffer: accumulate text_deltas into * full-so-far snapshots, clear the timer, enqueue the resulting events. * Cal
src/cli/transports/ccrClient.ts:771
↓ 3 callers
Method
focus
(node: DOMElement)
src/ink/focus.ts:27
↓ 3 callers
Function
forceExit
* Force process exit, handling the case where the terminal is gone. * When the terminal/PTY is closed (e.g., SIGHUP), process.exit() can throw * EIO
src/utils/gracefulShutdown.ts:193
↓ 3 callers
Function
formatAPIError
(error: APIError)
src/services/api/errorUtils.ts:200
↓ 3 callers
Function
formatAsTeammateMessage
* Formats a message as <teammate-message> XML for injection into the conversation. * This ensures the model sees messages in the same format as tmux
src/utils/swarm/inProcessRunner.ts:457
↓ 3 callers
Function
formatLimitInfo
( appliedLimit: number | undefined, appliedOffset: number | undefined, )
src/tools/GrepTool/GrepTool.ts:134
↓ 3 callers
Function
formatLogMetadata
(log: { modified: Date messageCount: number fileSize?: number gitBranch?: string tag?: string agen
src/utils/format.ts:203
↓ 3 callers
Function
formatMarketplaceLoadingErrors
( failures: Array<{ name: string; error: string }>, successCount: number, )
src/utils/plugins/marketplaceHelpers.ts:119
↓ 3 callers
Function
formatPermissionSource
(source: PermissionRuleSource)
src/utils/permissions/permissionSetup.ts:247
↓ 3 callers
Function
formatRelativeTime
( date: Date, options: RelativeTimeOptions & { now?: Date } = {}, )
src/utils/format.ts:144
↓ 3 callers
Function
formatReplacementValue
(options: { displayText: string; mode: string; hasAtPrefix: boolean; needsQuotes: boolean; isQuoted?
src/hooks/useTypeahead.tsx:148
↓ 3 callers
Function
formatRulesForCritique
( section: string, userRules: string[], defaultRules: string[], )
src/cli/handlers/autoMode.ts:151
↓ 3 callers
Function
formatSnippet
({ before, match, after }: Snippet, highlightColor: (text: string) => string)
src/components/LogSelector.tsx:84
↓ 3 callers
Function
formatTotalCost
()
src/cost-tracker.ts:228
↓ 3 callers
Function
formatWelcomeMessage
(username: string | null)
src/utils/logoV2Utils.ts:100
↓ 3 callers
Function
formatZodErrors
* Format Zod validation errors into a readable format
src/utils/plugins/validatePlugin.ts:75
↓ 3 callers
Function
gateChannelServer
( serverName: string, capabilities: ServerCapabilities | undefined, pluginSource: string | undefined, )
src/services/mcp/channelNotification.ts:191
↓ 3 callers
Function
generatePreview
( content: string, maxBytes: number, )
src/utils/toolResultStorage.ts:339
↓ 3 callers
Function
generateRequestId
( requestType: string, agentId: string, )
src/utils/agentId.ts:62
↓ 3 callers
Function
generateTempFilePath
( prefix: string = 'claude-prompt', extension: string = '.md', options?: { contentHash?: string }, )
src/utils/tempfile.ts:19
↓ 3 callers
Function
generateUniqueTeammateName
( baseName: string, teamName: string | undefined, )
src/tools/shared/spawnMultiAgent.ts:267
↓ 3 callers
Function
getAccountInformation
()
src/utils/auth.ts:1931
↓ 3 callers
Function
getActualAgentFilePath
(agent: AgentDefinition)
src/components/agents/agentFileUtils.ts:104
↓ 3 callers
Function
getAdvisorConfig
()
src/utils/advisor.ts:53
↓ 3 callers
Function
getAgentDescriptionsTotalTokens
( agentDefinitions?: AgentDefinitionsResult, )
src/utils/statusNoticeHelpers.ts:9
↓ 3 callers
Function
getAgentListingDeltaAttachment
( toolUseContext: ToolUseContext, messages: Message[] | undefined, )
src/utils/attachments.ts:1490
← previous
next →
1,801–1,900 of 11,548, ranked by callers