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
↓ 2 callers
Function
runBridgeLoop
( config: BridgeConfig, environmentId: string, environmentSecret: string, api: BridgeApiClient, spaw
src/bridge/bridgeMain.ts:141
↓ 2 callers
Function
runCommand
(cmd: string[])
scripts/build.ts:52
↓ 2 callers
Function
runExtraUsage
()
src/commands/extra-usage/extra-usage-core.ts:18
↓ 2 callers
Function
runSideQuestion
({ question, cacheSafeParams, }: { question: string cacheSafeParams: CacheSafeParams })
src/utils/sideQuestion.ts:53
↓ 2 callers
Function
runTools
( toolUseMessages: ToolUseBlock[], assistantMessages: AssistantMessage[], canUseTool: CanUseToolFn, to
src/services/tools/toolOrchestration.ts:19
↓ 2 callers
Function
runWithCwdOverride
(cwd: string, fn: () => T)
src/utils/cwd.ts:12
↓ 2 callers
Function
runWithWorkload
( workload: string | undefined, fn: () => T, )
src/utils/workloadContext.ts:52
↓ 2 callers
Function
sanitize
(str: string)
src/utils/dxt/helpers.ts:71
↓ 2 callers
Function
sanitizeCore
* Length cap + trim + dedupe + sort. `applyCharFilter` — skip for trusted * bundle IDs (Apple/Google/MS; a localized "Réglages Système" with unusual
src/utils/computerUse/appNames.ts:132
↓ 2 callers
Function
sanitizeModelName
(shortName: string)
src/utils/commitAttribution.ts:154
↓ 2 callers
Function
sanitizeName
(name: string)
src/utils/swarm/teamHelpers.ts:100
↓ 2 callers
Function
sanitizePath
(name: string)
src/utils/sessionStoragePortable.ts:311
↓ 2 callers
Function
satisfies
(version: string, range: string)
src/utils/semver.ts:47
↓ 2 callers
Function
saveAgentColor
( sessionId: UUID, agentColor: string, fullPath?: string, )
src/utils/sessionStorage.ts:2838
↓ 2 callers
Function
saveAgentName
( sessionId: UUID, agentName: string, fullPath?: string, source: 'user' | 'auto' = 'user', )
src/utils/sessionStorage.ts:2819
↓ 2 callers
Function
saveAgentSetting
(agentSetting: string)
src/utils/sessionStorage.ts:2861
↓ 2 callers
Function
saveCodexOAuthTokens
(tokens: CodexTokens)
src/utils/auth.ts:1324
↓ 2 callers
Function
saveConfig
( file: string, config: A, defaultConfig: A, )
src/utils/config.ts:1136
↓ 2 callers
Function
saveConfigWithLock
* Returns true if a write was performed; false if the write was skipped * (no changes, or auth-loss guard tripped). Callers use this to decide * whe
src/utils/config.ts:1173
↓ 2 callers
Function
saveCurrentSessionCosts
(fpsMetrics?: FpsMetrics)
src/cost-tracker.ts:143
↓ 2 callers
Method
saveEventsToFile
( filePath: string, events: FirstPartyEventLoggingEvent[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:171
↓ 2 callers
Function
saveIdpIdToken
( idpIssuer: string, idToken: string, expiresAt: number, )
src/services/mcp/xaaIdpLogin.ts:109
↓ 2 callers
Function
savePluginOptions
( pluginId: string, values: PluginOptionValues, schema: PluginOptionSchema, )
src/utils/plugins/pluginOptionsStorage.ts:90
↓ 2 callers
Function
saveTag
(sessionId: UUID, tag: string, fullPath?: string)
src/utils/sessionStorage.ts:2690
↓ 2 callers
Function
scanForContext
( handle: FileHandle, needle: string, contextLines: number, )
src/utils/readEditContext.ts:60
↓ 2 callers
Function
scanForSecrets
(content: string)
src/services/teamMemorySync/secretScanner.ts:277
↓ 2 callers
Function
scanMemoryFiles
( memoryDir: string, signal: AbortSignal, )
src/memdir/memoryScan.ts:35
↓ 2 callers
Function
schedule
(sessionId: string, token: string)
src/bridge/jwtUtils.ts:102
↓ 2 callers
Method
scheduleBackoffRetry
()
src/services/analytics/firstPartyEventLoggingExporter.ts:445
↓ 2 callers
Function
scheduleNext
()
src/services/AgentSummary/agentSummary.ts:157
↓ 2 callers
Method
scheduleReconnect
(delay: number, label: string)
src/remote/SessionsWebSocket.ts:290
↓ 2 callers
Function
scoreBonusAt
* Boundary/camelCase bonus for a match at position `pos` in the original-case * path. `first` enables the start-of-string bonus (only for needle[0]).
src/native-ts/file-index/index.ts:297
↓ 2 callers
Function
sdkCompatToolName
(name: string)
src/utils/messages/systemInit.ts:23
↓ 2 callers
Function
segmentGraphemes
(str: string)
src/ink/termio/parser.ts:71
↓ 2 callers
Function
selectionChangeHandler
(data: SelectionData)
src/hooks/useIdeSelection.ts:91
↓ 2 callers
Method
sendCommandToPane
* Sends a command to a specific pane.
src/utils/swarm/backends/TmuxBackend.ts:151
↓ 2 callers
Function
sendIdleNotification
* Sends idle notification to the leader via file-based mailbox. * Uses agentName (not agentId) for consistency with process-based teammates.
src/utils/swarm/inProcessRunner.ts:569
↓ 2 callers
Method
sendInterrupt
* Send an interrupt signal to cancel the current request
src/server/directConnectManager.ts:172
↓ 2 callers
Method
sendLine
(line: string)
src/cli/transports/WebSocketTransport.ts:331
↓ 2 callers
Method
sendMessage
* Send a user message to the remote session via HTTP POST
src/remote/RemoteSessionManager.ts:219
↓ 2 callers
Method
sendMessage
(content: RemoteMessageContent)
src/server/directConnectManager.ts:125
↓ 2 callers
Function
sendPermissionRequestViaMailbox
( request: SwarmPermissionRequest, )
src/utils/swarm/permissionSync.ts:676
↓ 2 callers
Function
sendShutdownRequestToMailbox
( targetName: string, teamName?: string, reason?: string, )
src/utils/teammateMailbox.ts:831
↓ 2 callers
Function
serverSecretsKey
* Compose the secureStorage key for a per-server secret bucket. * `pluginSecrets` is a flat map — per-server secrets share it with top-level * plugi
src/utils/plugins/mcpbHandler.ts:124
↓ 2 callers
Function
sessionIdExists
(sessionId: string)
src/utils/sessionStorage.ts:401
↓ 2 callers
Function
setAdditionalDirectoriesForClaudeMd
( directories: string[], )
src/bootstrap/state.ts:1670
↓ 2 callers
Method
setAltScreenActive
* Called by the <AlternateScreen> component on mount/unmount. * Controls cursor.y clamping in the renderer and gates alt-screen-aware * behavior
src/ink/ink.tsx:861
↓ 2 callers
Function
setAttribute
( node: DOMElement, key: string, value: DOMNodeAttribute, )
src/ink/dom.ts:247
↓ 2 callers
Function
setAvailable
( ctx: ToolPermissionContext, available: boolean, )
src/utils/permissions/permissionSetup.ts:1142
↓ 2 callers
Function
setAwaitingPlanApproval
( taskId: string, setAppState: SetAppState, awaiting: boolean, )
src/utils/inProcessTeammateHelpers.ts:55
↓ 2 callers
Function
setClassifierChecking
(toolUseID: string)
src/utils/classifierApprovals.ts:62
↓ 2 callers
Function
setClaudeSocketInfo
(path: string, pid: number)
src/utils/tmuxSocket.ts:110
↓ 2 callers
Function
setCostStateForRestore
({ totalCostUSD, totalAPIDuration, totalAPIDurationWithoutRetries, totalToolDuration, totalLinesAdde
src/bootstrap/state.ts:881
↓ 2 callers
Function
setEnvHookNotifier
( cb: ((text: string, isError: boolean) => void) | null, )
src/utils/hooks/fileChangedWatcher.ts:22
↓ 2 callers
Method
setError
(error: string)
src/utils/awsAuthStatusManager.ts:53
↓ 2 callers
Function
setEventHandler
(node: DOMElement, key: string, value: unknown)
src/ink/reconciler.ts:114
↓ 2 callers
Method
setFlexBasis
(value: number)
src/ink/layout/yoga.ts:193
↓ 2 callers
Function
setHasDevChannels
(value: boolean)
src/bootstrap/state.ts:1688
↓ 2 callers
Function
setIsRemoteMode
(value: boolean)
src/bootstrap/state.ts:1635
↓ 2 callers
Function
setKairosActive
(value: boolean)
src/bootstrap/state.ts:1089
↓ 2 callers
Function
setLastApiCompletionTimestamp
(timestamp: number)
src/bootstrap/state.ts:765
↓ 2 callers
Method
setMeasureFunc
(fn: LayoutMeasureFunc)
src/ink/layout/yoga.ts:86
↓ 2 callers
Function
setMemberActive
( teamName: string, memberName: string, isActive: boolean, )
src/utils/swarm/teamHelpers.ts:454
↓ 2 callers
Function
setMockBillingAccessOverride
(value: boolean | null)
src/utils/billing.ts:49
↓ 2 callers
Method
setOnControlRequestResolved
* Register a callback invoked when a can_use_tool control_response arrives * from the SDK consumer (via stdin). Used by the bridge to cancel the
src/cli/structuredIO.ts:327
↓ 2 callers
Method
setOnControlRequestSent
* Register a callback invoked whenever a can_use_tool control_request * is written to stdout. Used by the bridge to forward permission * request
src/cli/structuredIO.ts:316
↓ 2 callers
Method
setOnEvent
(callback: (event: StreamClientEvent) => void)
src/cli/transports/SSETransport.ts:675
↓ 2 callers
Method
setPaneBorderColor
* Sets the border color for a specific pane.
src/utils/swarm/backends/TmuxBackend.ts:169
↓ 2 callers
Method
setPaneTitle
* Sets the title for a pane (shown in pane border if pane-border-status is set).
src/utils/swarm/backends/TmuxBackend.ts:208
↓ 2 callers
Function
setPlanSlug
(sessionId: SessionId, slug: string)
src/utils/plans.ts:54
↓ 2 callers
Method
setPosition
(edge: LayoutEdge, value: number)
src/ink/layout/yoga.ts:259
↓ 2 callers
Function
setProjectRoot
(cwd: string)
src/bootstrap/state.ts:523
↓ 2 callers
Function
setPromptId
(id: string | null)
src/bootstrap/state.ts:1755
↓ 2 callers
Function
setQuestionPreviewFormat
(format: 'markdown' | 'html')
src/bootstrap/state.ts:1124
↓ 2 callers
Function
setRawMode
()
src/ink/components/StdinContext.ts:39
↓ 2 callers
Method
setRemoteIngressUrl
(url: string)
src/utils/sessionStorage.ts:1345
↓ 2 callers
Function
setReplBridgeHandle
(h: ReplBridgeHandle | null)
src/bridge/replBridgeHandle.ts:18
↓ 2 callers
Function
setScheduledTasksEnabled
(enabled: boolean)
src/bootstrap/state.ts:1272
↓ 2 callers
Method
setSelectionBg
(bg: AnsiCode | null)
src/ink/screen.ts:239
↓ 2 callers
Method
setSelectionBgColor
* Set the selection highlight background color. Replaces the per-cell * SGR-7 inverse with a solid theme-aware bg (matches native terminal * sel
src/ink/ink.tsx:1131
↓ 2 callers
Function
setSessionTrustAccepted
(accepted: boolean)
src/bootstrap/state.ts:1317
↓ 2 callers
Function
setStyle
(node: DOMNode, style: Styles)
src/ink/dom.ts:266
↓ 2 callers
Function
setTeleportedSessionInfo
(info: { sessionId: string | null })
src/bootstrap/state.ts:1477
↓ 2 callers
Function
setTerminalFocused
(v: boolean)
src/ink/terminal-focus-state.ts:12
↓ 2 callers
Function
setYoloClassifierApproval
( toolUseID: string, reason: string, )
src/utils/classifierApprovals.ts:41
↓ 2 callers
Function
settingSourceToConfigChangeSource
( source: SettingSource, )
src/utils/settings/changeDetector.ts:252
↓ 2 callers
Function
setupClaudeInChrome
()
src/utils/claudeInChrome/setup.ts:91
↓ 2 callers
Function
setupSessionMemoryFile
( toolUseContext: ToolUseContext, )
src/services/SessionMemory/sessionMemory.ts:183
↓ 2 callers
Function
setupTerminal
(theme: ThemeName)
src/commands/terminalSetup/terminalSetup.tsx:79
↓ 2 callers
Function
severityToNumber
* Maps severity string to numeric value for sorting. * Error=1, Warning=2, Info=3, Hint=4
src/services/lsp/LSPDiagnosticRegistry.ts:91
↓ 2 callers
Function
shallowEqual
( a: T | undefined, b: T | undefined, )
src/ink/dom.ts:295
↓ 2 callers
Function
shiftAnchor
( s: SelectionState, dRow: number, minRow: number, maxRow: number, )
src/ink/selection.ts:573
↓ 2 callers
Function
shiftRows
( screen: Screen, top: number, bottom: number, n: number, )
src/ink/screen.ts:1057
↓ 2 callers
Function
shouldCheckForPasses
* Prechecks for if user can access guest passes feature
src/services/api/referral.ts:71
↓ 2 callers
Function
shouldDisableBypassPermissions
()
src/utils/permissions/permissionSetup.ts:1265
↓ 2 callers
Function
shouldEnableClaudeInChrome
(chromeFlag?: boolean)
src/utils/claudeInChrome/setup.ts:39
↓ 2 callers
Function
shouldEnablePromptSuggestion
()
src/services/PromptSuggestion/promptSuggestion.ts:37
↓ 2 callers
Function
shouldFilterSuggestion
( suggestion: string | null, promptId: PromptVariant, source?: 'cli' | 'sdk', )
src/services/PromptSuggestion/promptSuggestion.ts:354
↓ 2 callers
Function
shouldIncludeGitInstructions
()
src/utils/gitSettings.ts:13
↓ 2 callers
Function
shouldInjectAgentListInMessages
()
src/tools/AgentTool/prompt.ts:59
← previous
next →
3,901–4,000 of 11,548, ranked by callers