MCPcopy Create free account

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

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

↓ 1 callersFunctiondropTextInBriefTurns
(messages: T[], briefToolNames: string[])
src/components/Messages.tsx:169
↓ 1 callersMethoddump
()
src/utils/fileStateCache.ts:86
↓ 1 callersFunctioneagerLoadSettings
* Parse and load settings flags early, before init() * This ensures settings are filtered from the start of initialization
src/main.tsx:502
↓ 1 callersFunctionembeddedSearchToolsBinaryPath
()
src/utils/embeddedTools.ts:27
↓ 1 callersFunctionemitHookProgress
(data: { hookId: string hookName: string hookEvent: string stdout: string stderr: string output: s
src/utils/hooks/hookEvents.ts:108
↓ 1 callersFunctionemitTextBlock
( controller: ReadableStreamDefaultController, encoder: TextEncoder, index: number, text: stri
src/services/api/codex-fetch-adapter.ts:650
↓ 1 callersFunctionenableDebugLogging
()
src/utils/debug.ts:64
↓ 1 callersFunctionenableOptionAsMetaForTerminal
(theme: ThemeName)
src/commands/terminalSetup/terminalSetup.tsx:310
↓ 1 callersFunctionenablePaneBorderStatus
( windowTarget?: string, useSwarmSocket = false, )
src/utils/swarm/teammateLayoutManager.ts:88
↓ 1 callersFunctionenablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:195
↓ 1 callersFunctionencodePng
* Encode an RGBA pixel buffer as PNG. Minimal encoder: 8-bit depth, * color type 6 (RGBA), filter 0 (none) on every scanline, single IDAT.
src/utils/ansiToPng.ts:307
↓ 1 callersFunctionencodePowerShellCommand
* Base64-encode a string as UTF-16LE for PowerShell's -EncodedCommand. * Same encoding the parser uses (parser.ts toUtf16LeBase64). The output * is
src/utils/shell/powershellProvider.ts:23
↓ 1 callersFunctionendHookSpan
( _span: Span, _metadata?: { numSuccess?: number numBlocking?: number numNonBlockingError?: nu
src/utils/telemetry/sessionTracing.ts:139
↓ 1 callersFunctionendInteractionSpan
()
src/utils/telemetry/sessionTracing.ts:44
↓ 1 callersFunctionendQueryProfile
()
src/utils/queryProfiler.ts:89
↓ 1 callersFunctionenforceToolResultBudget
( messages: Message[], state: ContentReplacementState, skipToolNames: ReadonlySet<string> = new Set(), )
src/utils/toolResultStorage.ts:769
↓ 1 callersFunctionenqueueForLead
(prompt: string)
src/hooks/useScheduledTasks.ts:71
↓ 1 callersFunctionenqueueMainSessionNotification
* Enqueue a notification about the backgrounded session completing.
src/tasks/LocalMainSessionTask.ts:224
↓ 1 callersFunctionenqueueRemoteReviewNotification
* Enqueue a remote-review completion notification. Injects the review text * directly into the message queue so the local model receives it on the ne
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:327
↓ 1 callersFunctionenqueueTaskNotification
* Enqueue a task notification to the message queue.
src/utils/task/framework.ts:274
↓ 1 callersFunctionenrichLog
* Enriches a lite log with metadata from its JSONL file. * Returns the enriched log, or null if the log has no meaningful content * (no firstPrompt,
src/utils/sessionStorage.ts:5023
↓ 1 callersFunctionenrollTrustedDevice
()
src/bridge/trustedDevice.ts:98
↓ 1 callersFunctionensureAgentDirectoryExists
* Ensures the directory for an agent location exists
src/components/agents/agentFileUtils.ts:154
↓ 1 callersFunctionensureCachedMCState
()
src/services/compact/microCompact.ts:71
↓ 1 callersMethodensureCurrentSessionFile
* Loads the sessionFile variable. * Do not need to create session files until they are written to.
src/utils/sessionStorage.ts:1271
↓ 1 callersFunctionensureImageStoreDir
* Ensure the image store directory exists.
src/utils/imageStore.ts:25
↓ 1 callersFunctionensureInboxDir
* Ensure the inbox directory exists for a team
src/utils/teammateMailbox.ts:71
↓ 1 callersFunctionensureKeychainPrefetchCompleted
()
src/utils/secureStorage/keychainPrefetch.ts:96
↓ 1 callersFunctionensureLocalPackageEnvironment
()
src/utils/localInstaller.ts:56
↓ 1 callersFunctionensureMdmSettingsLoaded
()
src/utils/settings/mdm/settings.ts:104
↓ 1 callersFunctionensureNonEmptyAssistantContent
* Ensure all non-final assistant messages have non-empty content. * * The API requires "all messages must have non-empty content except for the * o
src/utils/messages.ts:4933
↓ 1 callersFunctionensureScratchpadDir
()
src/utils/permissions/filesystem.ts:394
↓ 1 callersFunctionensureSession
* Creates a new tmux session if it doesn't exist
src/tools/shared/spawnMultiAgent.ts:171
↓ 1 callersMethodensureSession
Ensure a tmux session exists, creating one if needed.
src/utils/terminalPanel.ts:176
↓ 1 callersFunctionensureSocketInitialized
()
src/utils/tmuxSocket.ts:208
↓ 1 callersMethodensureStarted
()
src/utils/git/gitFilesystem.ts:342
↓ 1 callersFunctionensureToolResultPairing
( messages: (UserMessage | AssistantMessage)[], )
src/utils/messages.ts:5133
↓ 1 callersFunctionensureTransport
(type?: string)
src/services/mcp/utils.ts:313
↓ 1 callersFunctionensureUpstreamIsSet
* Ensures that the current branch has an upstream set * If not, sets it to origin/<branchName> if that remote branch exists
src/utils/teleport.tsx:215
↓ 1 callersFunctionentryBytes
(k: string, v: string)
src/services/teamMemorySync/index.ts:436
↓ 1 callersFunctioneraseLines
(n: number)
src/ink/termio/csi.ts:239
↓ 1 callersMethoderror
(message: string, ...args: unknown[])
src/utils/claudeInChrome/mcpServer.ts:288
↓ 1 callersFunctionerrorKey
(e: PluginError)
src/utils/plugins/refresh.ts:211
↓ 1 callersFunctionescapeJsLineTerminators
(json: string)
src/cli/ndjsonSafeStringify.ts:18
↓ 1 callersFunctionescapeRuleContent
(content: string)
src/utils/permissions/permissionRuleParser.ts:55
↓ 1 callersFunctionevaluateTimeBasedTrigger
( messages: Message[], querySource: QuerySource | undefined, )
src/services/compact/microCompact.ts:422
↓ 1 callersFunctionevery
(a: ReadonlySet<A>, b: ReadonlySet<A>)
src/utils/set.ts:32
↓ 1 callersFunctionexchangeCodexCode
( code: string, verifier: string, )
src/services/oauth/codex-client.ts:167
↓ 1 callersFunctionexchangeJwtAuthGrant
(opts: { tokenEndpoint: string assertion: string clientId: string clientSecret: string authMethod?:
src/services/mcp/xaa.ts:337
↓ 1 callersFunctionexcludeStalePluginClients
( mcp: { clients: MCPServerConnection[] tools: Tool[] commands: Command[] resources: Record<
src/services/mcp/utils.ts:185
↓ 1 callersFunctionexecAgentHook
( hook: AgentHook, hookName: string, hookEvent: HookEvent, jsonInput: string, signal: AbortSignal,
src/utils/hooks/execAgentHook.ts:36
↓ 1 callersFunctionexecIntoTmuxWorktree
(args: string[])
src/utils/worktree.ts:1180
↓ 1 callersFunctionexecPromptHook
( hook: PromptHook, hookName: string, hookEvent: HookEvent, jsonInput: string, signal: AbortSignal,
src/utils/hooks/execPromptHook.ts:21
↓ 1 callersFunctionexecuteAsyncClassifierCheck
( pendingCheck: { command: string; cwd: string; descriptions: string[] }, signal: AbortSignal, isNonInte
src/tools/BashTool/bashPermissions.ts:1605
↓ 1 callersFunctionexecuteAutoDream
( context: REPLHookContext, appendSystemMessage?: AppendSystemMessageFn, )
src/services/autoDream/autoDream.ts:319
↓ 1 callersFunctionexecuteBYOCPersistence
* Execute BYOC mode persistence: scan local filesystem for modified files, * then upload to Files API.
src/utils/filePersistence/filePersistence.ts:150
↓ 1 callersFunctionexecuteCloudPersistence
* Execute Cloud (1P) mode persistence. * TODO: Read file_id from xattr on output files. xattr-based file IDs are * currently being added for 1P envi
src/utils/filePersistence/filePersistence.ts:247
↓ 1 callersFunctionexecuteCwdChangedHooks
( oldCwd: string, newCwd: string, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, )
src/utils/hooks.ts:4260
↓ 1 callersFunctionexecuteEffort
(args: string)
src/commands/effort/effort.tsx:107
↓ 1 callersFunctionexecuteElicitationHooks
({ serverName, message, requestedSchema, permissionMode, signal, timeoutMs = TOOL_HOOK_EXECUTION_T
src/utils/hooks.ts:4470
↓ 1 callersFunctionexecuteElicitationResultHooks
({ serverName, action, content, permissionMode, signal, timeoutMs = TOOL_HOOK_EXECUTION_TIMEOUT_MS
src/utils/hooks.ts:4525
↓ 1 callersFunctionexecuteExtractMemoriesImpl
( context: REPLHookContext, appendSystemMessage?: AppendSystemMessageFn, )
src/services/extractMemories/extractMemories.ts:527
↓ 1 callersFunctionexecuteFileChangedHooks
( filePath: string, event: 'change' | 'add' | 'unlink', timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_
src/utils/hooks.ts:4278
↓ 1 callersFunctionexecuteFilePersistence
( turnStartTime: TurnStartTime, signal: AbortSignal, onResult: (result: FilesPersistedEventData) => void
src/utils/filePersistence/filePersistence.ts:256
↓ 1 callersFunctionexecuteFileSuggestionCommand
( fileSuggestionInput: FileSuggestionCommandInput, signal?: AbortSignal, timeoutMs: number = 5000, // Sh
src/utils/hooks.ts:4675
↓ 1 callersFunctionexecuteForkedSkill
* Executes a skill in a forked sub-agent context. * This runs the skill prompt in an isolated agent with its own token budget.
src/tools/SkillTool/SkillTool.ts:122
↓ 1 callersFunctionexecuteForkedSlashCommand
* Executes a slash command with context: fork in a sub-agent.
src/utils/processUserInput/processSlashCommand.tsx:62
↓ 1 callersFunctionexecuteFunctionHook
({ hook, messages, hookName, toolUseID, hookEvent, timeoutMs, signal, }: { hook: FunctionHook
src/utils/hooks.ts:4740
↓ 1 callersFunctionexecuteHookCallback
({ toolUseID, hook, hookEvent, hookInput, signal, hookIndex, toolUseContext, }: { toolUseID: s
src/utils/hooks.ts:4840
↓ 1 callersFunctionexecuteImmediateCommand
()
src/screens/REPL.tsx:3211
↓ 1 callersFunctionexecuteOperatorG
( op: Operator, count: number, ctx: OperatorContext, )
src/vim/operators.ts:524
↓ 1 callersFunctionexecuteOperatorGg
( op: Operator, count: number, ctx: OperatorContext, )
src/vim/operators.ts:541
↓ 1 callersFunctionexecutePaste
( after: boolean, count: number, ctx: OperatorContext, )
src/vim/operators.ts:294
↓ 1 callersFunctionexecutePermissionDeniedHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, reason: string, toolUseContext: ToolUse
src/utils/hooks.ts:3529
↓ 1 callersFunctionexecutePermissionRequestHooksForSDK
* Execute PermissionRequest hooks and return a decision if one is made. * Returns undefined if no hook made a decision.
src/cli/structuredIO.ts:787
↓ 1 callersFunctionexecutePostSamplingHooks
( messages: Message[], systemPrompt: SystemPrompt, userContext: { [k: string]: string }, systemContext
src/utils/hooks/postSamplingHooks.ts:45
↓ 1 callersFunctionexecutePostToolHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolResponse: ToolResponse, toolUseCont
src/utils/hooks.ts:3450
↓ 1 callersFunctionexecutePostToolUseFailureHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, error: string, toolUseContext: ToolUseC
src/utils/hooks.ts:3492
↓ 1 callersFunctionexecutePreToolHooks
( toolName: string, toolUseID: string, toolInput: ToolInput, toolUseContext: ToolUseContext, permiss
src/utils/hooks.ts:3394
↓ 1 callersFunctionexecutePromptSuggestion
( context: REPLHookContext, )
src/services/PromptSuggestion/promptSuggestion.ts:184
↓ 1 callersFunctionexecutePush
* Execute the push and track its lifecycle. * Push is read-only on disk (delta+probe, no merge writes), so no event * suppression is needed — edits
src/services/teamMemorySync/watcher.ts:84
↓ 1 callersFunctionexecuteRemoteSkill
* Load a remote canonical skill and inject its SKILL.md content into the * conversation. Unlike local skills (which go through processPromptSlashComm
src/tools/SkillTool/SkillTool.ts:969
↓ 1 callersFunctionexecuteRepeatFind
( reverse: boolean, count: number, ctx: TransitionContext, )
src/vim/transitions.ts:465
↓ 1 callersFunctionexecuteSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', sessionId?: string, agentType?: string, model?:
src/utils/hooks.ts:3867
↓ 1 callersFunctionexecuteSetupHooks
( trigger: 'init' | 'maintenance', signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT
src/utils/hooks.ts:3902
↓ 1 callersFunctionexecuteStatusLineCommand
( statusLineInput: StatusLineCommandInput, signal?: AbortSignal, timeoutMs: number = 5000, // Short time
src/utils/hooks.ts:4584
↓ 1 callersFunctionexecuteStopHooks
( permissionMode?: string, signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TIMEOUT_MS, s
src/utils/hooks.ts:3639
↓ 1 callersFunctionexecuteSubagentStartHooks
( agentId: string, agentType: string, signal?: AbortSignal, timeoutMs: number = TOOL_HOOK_EXECUTION_TI
src/utils/hooks.ts:3932
↓ 1 callersFunctionexecuteTaskCreatedHooks
( taskId: string, taskSubject: string, taskDescription?: string, teammateName?: string, teamName?: s
src/utils/hooks.ts:3745
↓ 1 callersFunctionexecuteTeammateIdleHooks
( teammateName: string, teamName: string, permissionMode?: string, signal?: AbortSignal, timeoutMs:
src/utils/hooks.ts:3709
↓ 1 callersMethodexecuteTool
* Execute a tool and collect its results
src/services/tools/StreamingToolExecutor.ts:265
↓ 1 callersFunctionexecuteUserPromptSubmitHooks
( prompt: string, permissionMode: string, toolUseContext: ToolUseContext, requestPrompt?: ( source
src/utils/hooks.ts:3826
↓ 1 callersFunctionexit
()
src/utils/handlePromptSubmit.ts:35
↓ 1 callersFunctionexitRestoredWorktree
()
src/utils/sessionRestore.ts:380
↓ 1 callersFunctionexitWithMessage
(root: Root, message: string, options?: { color?: TextProps['color']; exitCode?: number; beforeExit?: ()
src/interactiveHelpers.tsx:65
↓ 1 callersFunctionexpandBraces
* Expands brace patterns in a glob string. * @example * expandBraces("src/*.{ts,tsx}") // returns ["src/*.ts", "src/*.tsx"] * expandBraces("{a,b}/{
src/utils/frontmatterParser.ts:240
↓ 1 callersFunctionexpandEnvVars
* Internal utility: Expands environment variables in an MCP server config
src/services/mcp/config.ts:556
↓ 1 callersFunctionexpandField
(field: string, range: FieldRange)
src/utils/cron.ts:31
↓ 1 callersFunctionexpandFilePath
(filePath: string)
src/utils/commitAttribution.ts:296
↓ 1 callersFunctionexpandIPv6Groups
* Expand `::` and optional trailing dotted-decimal so an IPv6 address is * represented as exactly 8 hex groups. Returns null if expansion is not * w
src/utils/hooks/ssrfGuard.ts:133
← previousnext →5,001–5,100 of 11,548, ranked by callers