MCPcopy Create free account

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

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

↓ 2 callersFunctiontriggerTeardown
()
src/bridge/replBridge.ts:874
↓ 2 callersFunctiontruncateDescription
(description: string)
src/hooks/unifiedSuggestions.ts:73
↓ 2 callersFunctiontruncateEntrypointContent
(raw: string)
src/memdir/memdir.ts:57
↓ 2 callersFunctiontruncateHeadForPTLRetry
( messages: Message[], ptlResponse: AssistantMessage, )
src/services/compact/compact.ts:243
↓ 2 callersFunctiontruncateJson
* Truncates a JSON value to a maximum length for the prompt.
src/services/toolUseSummary/toolUseSummaryGenerator.ts:102
↓ 2 callersFunctiontruncateMcpContentIfNeeded
( content: MCPToolResult, )
src/utils/mcpValidation.ts:200
↓ 2 callersFunctiontryAcquireLock
( versionPath: string, lockFilePath: string, )
src/utils/nativeInstaller/pidLock.ts:238
↓ 2 callersFunctiontryAcquireSchedulerLock
( opts?: SchedulerLockOptions, )
src/utils/cronTasksLock.ts:111
↓ 2 callersFunctiontryClaimNextTask
* Try to claim an available task from the team's task list. * Returns the formatted prompt if a task was claimed, or undefined if none available.
src/utils/swarm/inProcessRunner.ts:624
↓ 2 callersFunctiontryCreateExclusive
( lock: SchedulerLock, dir?: string, )
src/utils/cronTasksLock.ts:64
↓ 2 callersFunctiontryGenerateSuggestion
( abortController: AbortController, messages: Message[], getAppState: () => AppState, cacheSafeParams:
src/services/PromptSuggestion/promptSuggestion.ts:125
↓ 2 callersFunctiontryParseAssignment
(P: ParseState)
src/utils/bash/bashParser.ts:1431
↓ 2 callersMethodtryProcessMessage
()
src/utils/claudeInChrome/chromeNativeHost.ts:468
↓ 2 callersFunctiontryPush
(line: string)
src/utils/readFileInRange.ts:148
↓ 2 callersFunctiontryReconnectInPlace
* Reconnect-in-place: if the just-registered environmentId matches what * was requested, call reconnectSession to force-stop stale workers and *
src/bridge/replBridge.ts:381
↓ 2 callersFunctiontryRenderPlanApprovalMessage
(content: string, senderName: string)
src/components/messages/PlanApprovalMessage.tsx:137
↓ 2 callersFunctiontrySessionMemoryCompaction
( messages: Message[], agentId?: AgentId, autoCompactThreshold?: number, )
src/services/compact/sessionMemoryCompact.ts:514
↓ 2 callersFunctiontryWithVersionLock
( versionFilePath: string, callback: () => void | Promise<void>, retries = 0, )
src/utils/nativeInstaller/installer.ts:181
↓ 2 callersFunctionunescapeJsonString
(raw: string)
src/utils/sessionStoragePortable.ts:39
↓ 2 callersFunctionunregisterForeground
(taskId: string, setAppState: SetAppState)
src/tasks/LocalShellTask/LocalShellTask.tsx:491
↓ 2 callersFunctionunwrapDefault
( mod: MaybeDefault<T>, )
src/tools/FileReadTool/imageProcessor.ts:90
↓ 2 callersMethodup
()
src/utils/Cursor.ts:353
↓ 2 callersMethodupLogicalLine
()
src/utils/Cursor.ts:511
↓ 2 callersFunctionupdateLastSummarizedMessageIdIfSafe
* Updates lastSummarizedMessageId after successful extraction. * Only sets it if the last message doesn't have tool calls (to avoid orphaned tool_res
src/services/SessionMemory/sessionMemory.ts:488
↓ 2 callersFunctionupdatePluginsForMarketplaces
( marketplaceNames: Set<string>, )
src/utils/plugins/pluginAutoupdate.ts:161
↓ 2 callersFunctionupdateRetryAfter
()
src/services/mockRateLimits.ts:186
↓ 2 callersFunctionupdateSessionBridgeId
( bridgeSessionId: string | null, )
src/utils/concurrentSessions.ts:144
↓ 2 callersFunctionupdateTaskUnsafe
( taskListId: string, taskId: string, updates: Partial<Omit<Task, 'id'>>, )
src/utils/tasks.ts:354
↓ 2 callersFunctionupdateWatchPaths
(paths: string[])
src/utils/hooks/fileChangedWatcher.ts:108
↓ 2 callersFunctionupdateYankLength
(length: number)
src/utils/Cursor.ts:105
↓ 2 callersFunctionuploadFile
( filePath: string, relativePath: string, config: FilesApiConfig, opts?: { signal?: AbortSignal }, )
src/services/api/filesApi.ts:378
↓ 2 callersFunctionurlMatchesPattern
* Check if a URL matches a pattern with wildcard support
src/services/mcp/config.ts:331
↓ 2 callersFunctionuseApp
()
src/ink/hooks/use-app.ts:7
↓ 2 callersFunctionuseClipboardImageHint
( isFocused: boolean, enabled: boolean, )
src/hooks/useClipboardImageHint.ts:19
↓ 2 callersFunctionuseCoordinatorTaskCount
()
src/components/CoordinatorAgentStatus.tsx:83
↓ 2 callersFunctionuseManagePlugins
({ enabled = true, }: { enabled?: boolean } = {})
src/hooks/useManagePlugins.ts:37
↓ 2 callersFunctionuseMergedCommands
( initialCommands: Command[], mcpCommands: Command[], )
src/hooks/useMergedCommands.ts:5
↓ 2 callersFunctionuseMergedTools
( initialTools: Tools, mcpTools: Tools, toolPermissionContext: ToolPermissionContext, )
src/hooks/useMergedTools.ts:20
↓ 2 callersFunctionuseModalOrTerminalSize
(fallback)
src/context/modalContext.tsx:38
↓ 2 callersFunctionusePermissionExplainerUI
(props)
src/components/permissions/PermissionExplanation.tsx:92
↓ 2 callersFunctionusePluginRecommendationBase
()
src/hooks/usePluginRecommendationBase.tsx:24
↓ 2 callersFunctionuseRegisterKeybindingContext
(context, t0)
src/keybindings/KeybindingContext.tsx:215
↓ 2 callersFunctionuseSelectNavigation
({ visibleOptionCount = 5, options, initialFocusValue, onFocus, focusValue, }: UseSelectNavigationPr
src/components/CustomSelect/use-select-navigation.ts:505
↓ 2 callersFunctionuseSelection
()
src/ink/hooks/use-selection.ts:14
↓ 2 callersFunctionuseSetVoiceState
()
src/context/voice.tsx:76
↓ 2 callersFunctionuseSettingsErrors
()
src/hooks/notifs/useSettingsErrors.tsx:9
↓ 2 callersFunctionuseShellPermissionFeedback
({ toolUseConfirm, onDone, onReject, explainerVisible, }: { toolUseConfirm: ToolUseConfirm onDone:
src/components/permissions/useShellPermissionFeedback.ts:16
↓ 2 callersFunctionuseShimmerAnimation
( mode: SpinnerMode, message: string, isStalled: boolean, )
src/components/Spinner/useShimmerAnimation.ts:6
↓ 2 callersFunctionuseShowGuestPassesUpsell
()
src/components/LogoV2/GuestPassesUpsell.tsx:36
↓ 2 callersFunctionuseShowOverageCreditUpsell
()
src/components/LogoV2/OverageCreditUpsell.tsx:48
↓ 2 callersFunctionuseTextInput
({ value: originalValue, onChange, onSubmit, onExit, onExitMessage, onHistoryUp, onHistoryDown,
src/hooks/useTextInput.ts:73
↓ 2 callersFunctionuseThemeSetting
()
src/components/design-system/ThemeProvider.tsx:144
↓ 2 callersFunctionuseUpdateNotification
( updatedVersion: string | null | undefined, initialVersion: string = MACRO.VERSION, )
src/hooks/useUpdateNotification.ts:16
↓ 2 callersFunctionvalidateAgentType
(agentType: string)
src/components/agents/validateAgent.ts:15
↓ 2 callersFunctionvalidateBindings
( userBlocks: unknown, _parsedBindings: ParsedBinding[], )
src/keybindings/validate.ts:425
↓ 2 callersFunctionvalidateContentTokens
( content: string, ext: string, maxTokens?: number, )
src/tools/FileReadTool/FileReadTool.ts:755
↓ 2 callersFunctionvalidateFlagArgument
( value: string, argType: FlagArgType, )
src/utils/shell/readOnlyCommandValidation.ts:1650
↓ 2 callersFunctionvalidateFlagsAgainstAllowlist
* Helper: Validate flags against an allowlist * Handles both single flags and combined flags (e.g., -nE) * @param flags Array of flags to validate
src/tools/BashTool/sedValidation.ts:13
↓ 2 callersFunctionvalidateGitState
()
src/utils/teleport.tsx:172
↓ 2 callersFunctionvalidateGitUrl
* Validate a git URL using Node.js URL parsing
src/utils/plugins/pluginLoader.ts:470
↓ 2 callersFunctionvalidateHookJson
* Parse and validate a JSON string against the hook output Zod schema. * Returns the validated output or formatted validation errors.
src/utils/hooks.ts:382
↓ 2 callersFunctionvalidateMemoryPath
* Normalize and validate a candidate auto-memory directory path. * * SECURITY: Rejects paths that would be dangerous as a read-allowlist root * or
src/memdir/paths.ts:109
↓ 2 callersFunctionvalidatePermissionRule
(rule: string)
src/utils/settings/permissionValidation.ts:58
↓ 2 callersFunctionvalidateSessionRepository
(sessionData: SessionResource)
src/utils/teleport.tsx:367
↓ 2 callersFunctionvalidateSettingsFileContent
(content: string)
src/utils/settings/validation.ts:179
↓ 2 callersFunctionverifyAutoModeGateAccess
( currentContext: ToolPermissionContext, // Runtime AppState.fastMode — passed from callers with AppState
src/utils/permissions/permissionSetup.ts:1078
↓ 2 callersFunctionverifyIt2Setup
()
src/utils/swarm/backends/it2Setup.ts:152
↓ 2 callersFunctionversionIsAvailable
(version: string)
src/utils/nativeInstaller/installer.ts:490
↓ 2 callersFunctionvisitNodes
(node: Node, visitor: (node: Node) => void)
src/utils/bash/ParsedCommand.ts:106
↓ 2 callersFunctionwaitForPaneShellReady
()
src/utils/swarm/backends/TmuxBackend.ts:35
↓ 2 callersFunctionwaitForScrollIdle
()
src/bootstrap/state.ts:818
↓ 2 callersFunctionwalk
(node: TreeSitterNode)
src/utils/bash/treeSitterAnalysis.ts:424
↓ 2 callersFunctionwalkArithmetic
* Recursively validate an arithmetic_expansion node. Allows only literal * numeric expressions — no variables, no substitutions. Returns null if * s
src/utils/bash/ast.ts:1675
↓ 2 callersFunctionwalkFileRedirect
* Extract operator + target from a `file_redirect` node. The target must be * a static word or string.
src/utils/bash/ast.ts:1071
↓ 2 callersFunctionwalkHeredocRedirect
* Heredoc redirect. Only quoted-delimiter heredocs (<<'EOF') are safe — * their bodies are literal text. Unquoted-delimiter heredocs (<<EOF) * under
src/utils/bash/ast.ts:1143
↓ 2 callersFunctionwalkString
* Extract literal content from a double-quoted string node. A `string` node's * children are `"` delimiters, `string_content` literals, and possibly
src/utils/bash/ast.ts:1508
↓ 2 callersMethodwarn
(message: string, ...args: unknown[])
src/utils/claudeInChrome/mcpServer.ts:285
↓ 2 callersMethodwatchCurrentBranchRef
* Watch the loose ref file for the current branch. * Called on startup and whenever HEAD changes (branch switch).
src/utils/git/gitFilesystem.ts:391
↓ 2 callersFunctionwidestLine
(string: string)
src/ink/widest-line.ts:3
↓ 2 callersFunctionwillDefer
(t: Tool)
src/services/api/claude.ts:1208
↓ 2 callersFunctionwindowsCommandValue
(claudePath: string)
src/utils/deepLink/registerProtocol.ts:59
↓ 2 callersFunctionwireTransport
(newTransport: ReplBridgeTransport)
src/bridge/replBridge.ts:1208
↓ 2 callersFunctionwireTransportCallbacks
()
src/bridge/remoteBridgeCore.ts:380
↓ 2 callersMethodwithCache
(key: string, compute: () => T)
src/utils/Cursor.ts:1487
↓ 2 callersMethodwithInverse
(baseId: number)
src/ink/screen.ts:170
↓ 2 callersFunctionwithResolvers
()
src/utils/withResolvers.ts:5
↓ 2 callersFunctionwithStreamingVCR
( messages: Message[], f: () => AsyncGenerator< StreamEvent | AssistantMessage | SystemAPIErrorMessage
src/services/vcr.ts:349
↓ 2 callersFunctionwithTheme
(node: ReactNode)
src/ink.ts:14
↓ 2 callersFunctionwordBoundsAt
* Find the bounds of the same-class character run at (col, row). Returns * null if the click is out of bounds or lands on a noSelect cell. Used by *
src/ink/selection.ts:162
↓ 2 callersFunctionworktreePathFor
(repoRoot: string, slug: string)
src/utils/worktree.ts:225
↓ 2 callersFunctionwrapCommandText
( raw: string, origin: MessageOrigin | undefined, )
src/utils/messages.ts:5496
↓ 2 callersFunctionwrapFetchWithStepUpDetection
( baseFetch: FetchLike, provider: ClaudeAuthProvider, )
src/services/mcp/auth.ts:1354
↓ 2 callersFunctionwrapSpawn
( childProcess: ChildProcess, abortSignal: AbortSignal, timeout: number, taskOutput: TaskOutput, sho
src/utils/ShellCommand.ts:387
↓ 2 callersFunctionwrapText
(h: Highlight, width: number, theme: Theme)
src/native-ts/color-diff/index.ts:663
↓ 2 callersFunctionwrapWithCwd
(fn: () => T)
src/tools/AgentTool/AgentTool.tsx:641
↓ 2 callersMethodwrapWithSandbox
( command: string, binShell?: string, customConfig?: Partial<SandboxRuntimeConfig>, abortSigna
src/utils/sandbox/sandbox-adapter.ts:910
↓ 2 callersFunctionwrapWithSoftWrap
* Wrap text and record which output lines are soft-wrap continuations * (i.e. the `\n` before them was inserted by word-wrap, not in the * source).
src/ink/render-node-to-output.ts:335
↓ 2 callersFunctionwriteAgentMetadata
( agentId: AgentId, metadata: AgentMetadata, )
src/utils/sessionStorage.ts:283
↓ 2 callersFunctionwriteCellWithStyleStr
* Write a cell with a pre-serialized style transition string (from * StylePool.transition). Inlines the txn logic to avoid closure/tuple/delta * all
src/ink/log-update.ts:638
↓ 2 callersFunctionwriteClipboardViaPbcopy
(text: string)
src/utils/computerUse/executor.ts:80
← previousnext →4,101–4,200 of 11,548, ranked by callers