MCPcopy Create free account

hub / github.com/freecodexyz/free-code / functions

Functions11,548 in github.com/freecodexyz/free-code

↓ 4 callersFunctionshouldSkipHookDueToTrust
()
src/utils/hooks.ts:286
↓ 4 callersFunctionshutdown1PEventLogging
()
src/services/analytics/firstPartyEventLogger.ts:24
↓ 4 callersFunctionshutdownDatadog
()
src/services/analytics/datadog.ts:7
↓ 4 callersFunctionsliceFit
(text: string, start: number, end: number)
src/ink/wrap-text.ts:10
↓ 4 callersMethodsnapOutOfImageRef
* If offset lands strictly inside an [Image #N] chip, snap it to the given * boundary. Used by word-movement methods so Ctrl+W / Alt+D never leave
src/utils/Cursor.ts:340
↓ 4 callersFunctionsplitCommandWithOperators
(command: string)
src/utils/bash/commands.ts:85
↓ 4 callersMethodstartOAuthFlow
( authURLHandler: (url: string, automaticUrl?: string) => Promise<void>, options?: { loginWithCl
src/services/oauth/index.ts:32
↓ 4 callersFunctionstoreImage
( content: PastedContent, )
src/utils/imageStore.ts:54
↓ 4 callersFunctionstoreOAuthAccountInfo
({ accountUuid, emailAddress, organizationUuid, displayName, hasExtraUsageEnabled, billingType,
src/services/oauth/client.ts:545
↓ 4 callersFunctionsuggestPathUnderCwd
( requestedPath: string, )
src/utils/file.ts:228
↓ 4 callersFunctionsupportsTabStatus
()
src/ink/termio/osc.ts:467
↓ 4 callersFunctiontailFile
( path: string, maxBytes: number, )
src/utils/fsOperations.ts:682
↓ 4 callersMethodtakeStreamEvents
Take ownership of buffered stream_events and clear the delay timer.
src/cli/transports/HybridTransport.ts:155
↓ 4 callersFunctionteleportResumeCodeSession
(sessionId: string, onProgress?: TeleportProgressCallback)
src/utils/teleport.tsx:430
↓ 4 callersFunctionthrowFault
(fault: BridgeFault, context: string)
src/bridge/bridgeDebug.ts:96
↓ 4 callersFunctiontoArray
(val: T | T[])
src/utils/bash/prefix.ts:14
↓ 4 callersFunctiontoPersistableEffort
( value: EffortValue | undefined, )
src/utils/effort.ts:95
↓ 4 callersFunctiontoThemeColor
( colorName: string | undefined, fallback: keyof Theme = 'cyan_FOR_SUBAGENTS_ONLY', )
src/components/PromptInput/useSwarmBanner.ts:148
↓ 4 callersMethodtokens
()
src/services/mcp/auth.ts:1540
↓ 4 callersFunctiontrack
(p: Promise<T>)
src/utils/task/diskOutput.ts:83
↓ 4 callersFunctiontransformRedirection
(raw: RawRedirection)
src/utils/powershell/parser.ts:962
↓ 4 callersFunctiontransitionPermissionMode
( fromMode: string, toMode: string, context: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:597
↓ 4 callersFunctiontransitionStyle
( diff: Diff, stylePool: StylePool, currentId: number, targetId: number, )
src/ink/log-update.ts:482
↓ 4 callersFunctiontruncate
( str: string, maxWidth: number, singleLine: boolean = false, )
src/utils/truncate.ts:134
↓ 4 callersFunctiontruncateToWidthNoEllipsis
( text: string, maxWidth: number, )
src/utils/truncate.ts:108
↓ 4 callersFunctiontryReadFileForSync
* Try to read a file for sync, with size limit and error handling. * Returns null if file doesn't exist, is empty, or exceeds size limit.
src/services/settingsSync/index.ts:398
↓ 4 callersFunctiontryRemove
(filePath: string, description: string)
src/utils/nativeInstaller/installer.ts:1549
↓ 4 callersFunctionunassignTeammateTasks
( teamName: string, teammateId: string, teammateName: string, reason: 'terminated' | 'shutdown', )
src/utils/tasks.ts:818
↓ 4 callersMethodunclip
()
src/ink/output.ts:262
↓ 4 callersFunctionunsetField
(fieldName_2: string)
src/components/mcp/ElicitationDialog.tsx:358
↓ 4 callersFunctionunzipFile
( zipData: Buffer, )
src/utils/dxt/zip.ts:113
↓ 4 callersFunctionupdatePidFile
* Update this session's name in its PID registry file so ListPeers * can surface it. Best-effort: silently no-op if name is falsy, the * file doesn'
src/utils/concurrentSessions.ts:116
↓ 4 callersFunctionupdateSdkMcp
()
src/cli/print.ts:1389
↓ 4 callersFunctionuseClaudeAiLimits
()
src/services/claudeAiLimitsHook.ts:8
↓ 4 callersFunctionuseIsModalOverlayActive
()
src/context/overlayContext.tsx:140
↓ 4 callersFunctionuseMcpToggleEnabled
()
src/services/mcp/MCPConnectionManager.tsx:24
↓ 4 callersFunctionuseStats
()
src/context/stats.tsx:157
↓ 4 callersFunctionuseVoiceEnabled
()
src/hooks/useVoiceEnabled.ts:19
↓ 4 callersFunctionvalidateBoundedIntEnvVar
( name: string, value: string | undefined, defaultValue: number, upperLimit: number, )
src/utils/envValidation.ts:9
↓ 4 callersFunctionvalidateElicitationInput
( stringValue: string, schema: PrimitiveSchemaDefinition, )
src/utils/mcp/elicitationValidation.ts:225
↓ 4 callersFunctionvalidateFlags
( tokens: string[], startIndex: number, config: ExternalCommandConfig, options?: { commandName?: s
src/utils/shell/readOnlyCommandValidation.ts:1684
↓ 4 callersFunctionvalidateWorktreeSlug
(slug: string)
src/utils/worktree.ts:66
↓ 4 callersFunctionwaitForPolicyLimitsToLoad
()
src/services/policyLimits/index.ts:217
↓ 4 callersFunctionwithDiagnosticsTiming
( event: string, fn: () => Promise<T>, getData?: (result: T) => Record<string, unknown>, )
src/utils/diagLogs.ts:72
↓ 4 callersFunctionwithRetry
Retry an async init call with exponential backoff + jitter.
src/bridge/remoteBridgeCore.ts:892
↓ 4 callersFunctionwrapWithOsc8Link
(text: string, url: string)
src/ink/render-node-to-output.ts:184
↓ 4 callersMethodwriteEvent
* Write a StdoutMessage as a client event via POST /sessions/{id}/worker/events. * These events are visible to frontend clients via the SSE stream.
src/cli/transports/ccrClient.ts:735
↓ 4 callersFunctionwriteFileForSync
( filePath: string, content: string, )
src/services/settingsSync/index.ts:461
↓ 4 callersFunctionwriteFileSyncAndFlush_DEPRECATED
( filePath: string, content: string, options: { encoding: BufferEncoding; mode?: number } = { encoding:
src/utils/file.ts:362
↓ 4 callersFunctionwriteFn
(content: string)
src/utils/asciicast.ts:173
↓ 4 callersFunctionwriteTextContent
( filePath: string, content: string, encoding: BufferEncoding, endings: LineEndingType, )
src/utils/file.ts:84
↓ 4 callersFunctionwriteThroughGlobalConfigCache
(config: GlobalConfig)
src/utils/config.ts:1059
↓ 4 callersFunctionwriteToDisk
( plugins: Record<string, FlaggedPlugin>, )
src/utils/plugins/pluginFlagging.ts:86
↓ 3 callersMethod#cleanupListeners
()
src/utils/ShellCommand.ts:218
↓ 3 callersMethod#doKill
(code?: number)
src/utils/ShellCommand.ts:337
↓ 3 callersMethod#resolveExitCode
(code: number)
src/utils/ShellCommand.ts:209
↓ 3 callersFunctionabortInFlight
()
src/hooks/useAwaySummary.ts:64
↓ 3 callersFunctionactivateConditionalSkillsForPaths
( filePaths: string[], cwd: string, )
src/skills/loadSkillsDir.ts:997
↓ 3 callersFunctionaddDirHelpMessage
(result: AddDirectoryResult)
src/commands/add-dir/validation.ts:95
↓ 3 callersFunctionaddInvokedSkill
( skillName: string, skillPath: string, content: string, agentId: string | null = null, )
src/bootstrap/state.ts:1510
↓ 3 callersFunctionaddJitter
Add ±25% jitter to a delay value.
src/bridge/bridgeMain.ts:1615
↓ 3 callersFunctionaddSkillDirectories
(dirs: string[])
src/skills/loadSkillsDir.ts:923
↓ 3 callersFunctionaddToHistory
(command: HistoryEntry | string)
src/history.ts:411
↓ 3 callersFunctionaddToTotalSessionCost
( cost: number, usage: Usage, model: string, )
src/cost-tracker.ts:278
↓ 3 callersFunctionadjustIndexToPreserveAPIInvariants
( messages: Message[], startIndex: number, )
src/services/compact/sessionMemoryCompact.ts:232
↓ 3 callersFunctionadoptResumedSessionFile
()
src/utils/sessionStorage.ts:1530
↓ 3 callersMethodappend
* Appends data to the accumulator. If the total size exceeds maxSize, * the end is truncated to maintain the size limit. * @param data The strin
src/utils/stringUtils.ts:156
↓ 3 callersFunctionapplyChanges
(states?: MarketplaceState[])
src/commands/plugin/ManageMarketplaces.tsx:184
↓ 3 callersFunctionapplyFastMode
(enable: boolean, setAppState: (f: (prev: AppState) => AppState) => void)
src/commands/fast/fast.tsx:16
↓ 3 callersFunctionapplyFileSuggestion
( suggestion: string | SuggestionItem, input: string, partialPath: string, startPos: number, onInput
src/hooks/fileSuggestions.ts:789
↓ 3 callersFunctionapplyHeadLimit
( items: T[], limit: number | undefined, offset: number = 0, )
src/tools/GrepTool/GrepTool.ts:110
↓ 3 callersFunctionapplyShellSuggestion
(suggestion: SuggestionItem, input: string, cursorOffset: number, onInputChange: (value: string) => void, setC
src/hooks/useTypeahead.tsx:178
↓ 3 callersFunctionarchiveSession
(sessionId: string)
src/bridge/bridgeApi.ts:325
↓ 3 callersMethodareDiagnosticsEqual
(a: Diagnostic, b: Diagnostic)
src/services/diagnosticTracking.ts:296
↓ 3 callersFunctionareExplorePlanAgentsEnabled
()
src/tools/AgentTool/builtInAgents.ts:13
↓ 3 callersMethodareSandboxSettingsLockedByPolicy
()
src/utils/sandbox/sandbox-adapter.ts:891
↓ 3 callersFunctionassertInstallableScope
( scope: string, )
src/services/plugins/pluginOperations.ts:90
↓ 3 callersFunctionatomicWriteToZipCache
( targetPath: string, data: string | Uint8Array, )
src/utils/plugins/zipCache.ts:175
↓ 3 callersFunctionbase64URLEncode
* Encodes a buffer to base64URL format (RFC 4648). * @param buffer - The buffer to encode * @returns Base64URL encoded string
src/services/oauth/crypto.ts:8
↓ 3 callersMethodblit
* Copy cells from a source screen region (blit = block image transfer).
src/ink/output.ts:210
↓ 3 callersFunctionbuildAllTools
(appState: AppState)
src/cli/print.ts:1474
↓ 3 callersFunctionbuildDetailsMenuOptions
(marketplace: MarketplaceState | null)
src/commands/plugin/ManageMarketplaces.tsx:357
↓ 3 callersFunctionbuildDisplayText
( context: ToolUseContext, userDisplayMessage?: string, )
src/commands/compact/compact.ts:230
↓ 3 callersFunctionbuildInheritedEnvVars
()
src/utils/swarm/spawnUtils.ts:135
↓ 3 callersFunctionbuildLogLabel
(log: LogOption, maxLabelWidth: number, options?: { isGroupHeader?: boolean; isChild?: boolean; forkCoun
src/components/LogSelector.tsx:110
↓ 3 callersFunctionbuildLogMetadata
(log: LogOption, options?: { isChild?: boolean; showProjectPath?: boolean; })
src/components/LogSelector.tsx:129
↓ 3 callersFunctionbuildPermissionUpdates
(mode: PermissionMode, allowedPrompts?: AllowedPrompt[])
src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:56
↓ 3 callersFunctionbuildRedirectUri
( port: number = REDIRECT_PORT_FALLBACK, )
src/services/mcp/oauthPort.ts:21
↓ 3 callersFunctionbuildSearchingPastContextSection
(autoMemDir: string)
src/memdir/memdir.ts:375
↓ 3 callersFunctionbuildSubagentLookups
( messages: { message: AssistantMessage | NormalizedUserMessage }[], )
src/utils/messages.ts:1373
↓ 3 callersFunctionbuildTraceDocument
* Build the full trace document (Chrome Trace JSON format).
src/utils/telemetry/perfettoTracing.ts:214
↓ 3 callersFunctioncacheAndRegisterPlugin
( pluginId: string, entry: PluginMarketplaceEntry, scope: PluginScope = 'user', projectPath?: string,
src/utils/plugins/pluginInstallationHelpers.ts:128
↓ 3 callersFunctioncacheImagePath
(content: PastedContent)
src/utils/imageStore.ts:41
↓ 3 callersFunctioncachePlugin
( source: PluginSource, options?: { manifest?: PluginManifest }, )
src/utils/plugins/pluginLoader.ts:911
↓ 3 callersFunctioncacheWrite
( node: Node, aW: number, aH: number, wM: MeasureMode, hM: MeasureMode, oW: number, oH: number,
src/native-ts/yoga-layout/index.ts:969
↓ 3 callersFunctioncalculateCostFromTokens
( model: string, tokens: { inputTokens: number outputTokens: number cacheReadInputTokens: numb
src/utils/modelCost.ts:186
↓ 3 callersFunctioncalculateNextRetryDelay
* Calculate next retry delay using exponential backoff
src/utils/plugins/officialMarketplaceStartupCheck.ts:66
↓ 3 callersFunctioncanCycleToAuto
(ctx: ToolPermissionContext)
src/utils/permissions/getNextPermissionMode.ts:17
↓ 3 callersFunctioncanUseTool
(tool: Tool, input: unknown)
src/services/MagicDocs/magicDocs.ts:172
↓ 3 callersFunctioncaptureAPIRequest
( params: BetaMessageStreamParams, querySource?: QuerySource, )
src/utils/log.ts:331
← previousnext →1,601–1,700 of 11,548, ranked by callers