MCPcopy Create free account

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

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

↓ 43 callersFunctiononCancel
()
src/screens/REPL.tsx:2109
↓ 42 callersFunctionbuildTool
(def: D)
src/Tool.ts:783
↓ 42 callersFunctioncliError
(msg?: string)
src/cli/exit.ts:19
↓ 42 callersFunctiongracefulShutdownSync
( exitCode = 0, reason: ExitReason = 'other', options?: { getAppState?: () => AppState setAppSta
src/utils/gracefulShutdown.ts:336
↓ 41 callersFunctioncsi
(...args: (string | number)[])
src/ink/termio/csi.ts:45
↓ 41 callersFunctionupdateTaskState
( taskId: string, setAppState: SetAppState, updater: (task: T) => T, )
src/utils/task/framework.ts:48
↓ 40 callersFunctioncreateAssistantAPIErrorMessage
({ content, apiError, error, errorDetails, }: { content: string apiError?: AssistantMessage['apiEr
src/utils/messages.ts:435
↓ 40 callersFunctionuseInput
(inputHandler: Handler, options: Options = {})
src/ink/hooks/use-input.ts:42
↓ 39 callersFunctiongetDisplayPath
(filePath: string)
src/utils/file.ts:155
↓ 39 callersFunctiongetSecureStorage
()
src/utils/secureStorage/index.ts:9
↓ 39 callersFunctionlog
(message: string, ...args: unknown[])
src/utils/claudeInChrome/chromeNativeHost.ts:34
↓ 38 callersMethodemit
(type: string | symbol, ...args: unknown[])
src/ink/events/emitter.ts:15
↓ 38 callersFunctiongetModelStrings
()
src/utils/model/modelStrings.ts:136
↓ 38 callersFunctiononStateChange
(state, detail)
src/cli/print.ts:3958
↓ 37 callersFunctionmaybe
(label: string, f: () => Promise<A[]>)
src/utils/attachments.ts:1005
↓ 37 callersMethodread
()
src/cli/structuredIO.ts:215
↓ 36 callersMethodclose
* Clean up connections gracefully
src/cli/remoteIO.ts:247
↓ 36 callersFunctiongetIsRemoteMode
()
src/bootstrap/state.ts:1631
↓ 36 callersFunctionparseUserSpecifiedModel
( modelInput: ModelName | ModelAlias, )
src/utils/model/model.ts:484
↓ 36 callersMethodreadFile
* Reads a file with caching. Returns both content and encoding. * Cache key includes file path and modification time for automatic invalidation.
src/utils/fileReadCache.ts:22
↓ 36 callersFunctionroughTokenCountEstimation
( content: string, bytesPerToken: number = 4, )
src/services/tokenEstimation.ts:203
↓ 36 callersMethodstopImmediatePropagation
()
src/ink/events/event.ts:8
↓ 35 callersFunctiongetSubscriptionType
()
src/utils/auth.ts:1730
↓ 35 callersMethodkill
()
src/utils/ShellCommand.ts:345
↓ 34 callersFunctionasSystemPrompt
(value: readonly string[])
src/utils/systemPromptType.ts:12
↓ 34 callersFunctiongetProject
()
src/utils/sessionStorage.ts:443
↓ 34 callersFunctiongetTeamName
(teamContext?: { teamName: string })
src/utils/teammate.ts:111
↓ 34 callersFunctionsaveLex
(L: Lexer)
src/utils/bash/bashParser.ts:756
↓ 34 callersFunctionuseShortcutDisplay
( action: string, context: KeybindingContextName, fallback: string, )
src/keybindings/useShortcutDisplay.ts:29
↓ 33 callersFunctioncreatePermissionRequestMessage
(params: { request_id: string agent_id: string tool_name: string tool_use_id: string description: st
src/utils/teammateMailbox.ts:488
↓ 33 callersFunctiongetAppState
()
src/commands/commit.ts:71
↓ 33 callersFunctiongetMainLoopModel
()
src/utils/model/model.ts:95
↓ 33 callersMethodread
()
src/utils/claudeInChrome/chromeNativeHost.ts:501
↓ 32 callersFunctioncreateAbortController
( maxListeners: number = DEFAULT_MAX_LISTENERS, )
src/utils/abortController.ts:16
↓ 32 callersMethodend
()
src/utils/telemetry/sessionTracing.ts:15
↓ 32 callersFunctionisBareMode
()
src/utils/envUtils.ts:60
↓ 32 callersFunctionpermissionRuleValueToString
( ruleValue: PermissionRuleValue, )
src/utils/permissions/permissionRuleParser.ts:144
↓ 32 callersFunctionresolve
(requestId, behavior, fromServer)
src/services/mcp/channelPermissions.ts:228
↓ 32 callersFunctiontruncate
( text: string, columns: number, position: 'start' | 'middle' | 'end', )
src/ink/wrap-text.ts:15
↓ 31 callersMethodcleanup
()
src/utils/ShellCommand.ts:92
↓ 31 callersFunctionresolveToCanonical
(name: string)
src/tools/PowerShellTool/readOnlyValidation.ts:984
↓ 31 callersFunctionsendControlResponseSuccess
( message: SDKControlRequest, response?: Record<string, unknown>, )
src/cli/print.ts:2736
↓ 31 callersFunctionuseNotifications
()
src/context/notifications.tsx:38
↓ 30 callersFunctionextractTextContent
( blocks: readonly { readonly type: string }[], separator = '', )
src/utils/messages.ts:2893
↓ 30 callersFunctionfindToolByName
(tools: Tools, name: string)
src/Tool.ts:358
↓ 30 callersFunctionlogMCPError
(serverName: string, error: unknown)
src/utils/log.ts:300
↓ 29 callersFunctioncreateBaseHookInput
( permissionMode?: string, sessionId?: string, // Typed narrowly (not ToolUseContext) so callers can pas
src/utils/hooks.ts:301
↓ 29 callersFunctiondebug
(msg: string)
src/bridge/bridgeApi.ts:69
↓ 29 callersMethodwrite
(message: StdoutMessage)
src/cli/transports/SSETransport.ts:572
↓ 28 callersFunctiongetOAuthHeaders
(accessToken: string)
src/utils/teleport/api.ts:276
↓ 28 callersFunctionisAutoMemoryEnabled
()
src/memdir/paths.ts:30
↓ 28 callersFunctionopenBrowser
(url: string)
src/utils/browser.ts:39
↓ 28 callersFunctiontoolMatchesName
( tool: { name: string; aliases?: string[] }, name: string, )
src/Tool.ts:348
↓ 27 callersMethodcancel
()
src/utils/task/diskOutput.ts:137
↓ 27 callersFunctiongetCommandName
(cmd: CommandBase)
src/types/command.ts:209
↓ 27 callersFunctionisFsInaccessible
(e: unknown)
src/utils/errors.ts:186
↓ 27 callersMethodisSandboxingEnabled
()
src/utils/sandbox/sandbox-adapter.ts:885
↓ 27 callersFunctionloadKnownMarketplacesConfig
()
src/utils/plugins/marketplaceManager.ts:264
↓ 27 callersFunctiononChange
(autoCompactEnabled: boolean)
src/components/Settings/Config.tsx:271
↓ 27 callersFunctionwriteToMailbox
( recipientName: string, message: Omit<TeammateMessage, 'read'>, teamName?: string, )
src/utils/teammateMailbox.ts:134
↓ 26 callersFunctionclearAllCaches
()
src/utils/plugins/cacheUtils.ts:44
↓ 26 callersFunctioncliOk
(msg?: string)
src/cli/exit.ts:27
↓ 26 callersMethodclose
* Closes the WebSocket connection.
src/utils/mcpWebSocketTransport.ts:159
↓ 26 callersFunctionformatDuration
( ms: number, options?: { hideTrailingZeros?: boolean; mostSignificantOnly?: boolean }, )
src/utils/format.ts:34
↓ 26 callersFunctiongetAgentName
()
src/utils/teammate.ts:98
↓ 26 callersFunctiongetOauthAccountInfo
()
src/utils/auth.ts:1683
↓ 26 callersFunctionuseExitOnCtrlCDWithKeybindings
( onExit?: () => void, onInterrupt?: () => boolean, isActive?: boolean, )
src/hooks/useExitOnCtrlCDWithKeybindings.ts:18
↓ 25 callersMethodappend
(content: string)
src/utils/task/diskOutput.ts:110
↓ 25 callersFunctiongetTaskOutputPath
(taskId: string)
src/utils/task/diskOutput.ts:72
↓ 25 callersFunctionrm
(fsPath, options)
src/utils/fsOperations.ts:410
↓ 25 callersMethodshift
* Shift full-width rows within [top, bottom] by n. n > 0 = up. Mirrors * what DECSTBM + SU/SD does to the terminal. Paired with blit() to reuse
src/ink/output.ts:219
↓ 24 callersMethodadd
(uuid: string)
src/bridge/bridgeMessaging.ts:440
↓ 24 callersMethodenqueue
(value: T)
src/utils/stream.ts:38
↓ 24 callersFunctionisDigit
(c: string)
src/utils/bash/bashParser.ts:234
↓ 24 callersFunctionisEnvDefinedFalsy
( envVar: string | boolean | undefined, )
src/utils/envUtils.ts:39
↓ 24 callersFunctionsendControlResponseError
( message: SDKControlRequest, errorMessage: string, )
src/cli/print.ts:2750
↓ 23 callersFunctioncreateSystemMessage
( content: string, level: SystemMessageLevel, toolUseID?: string, preventContinuation?: boolean, )
src/utils/messages.ts:4335
↓ 23 callersFunctionf
()
src/costHook.ts:10
↓ 23 callersFunctiongetAppState
()
src/tools/SkillTool/SkillTool.ts:784
↓ 23 callersFunctiongetProjectDir
(cwd: string)
src/utils/cachePaths.ts:21
↓ 23 callersFunctionisOperator
(part: ParseEntry | undefined, op: string)
src/utils/bash/commands.ts:792
↓ 23 callersFunctionopen
(sock)
src/upstreamproxy/relay.ts:193
↓ 23 callersFunctionresolveValue
(v: Value, ownerSize: number)
src/native-ts/yoga-layout/index.ts:97
↓ 23 callersFunctiontooComplex
(node: Node)
src/utils/bash/ast.ts:2033
↓ 22 callersFunctioncheckAndRefreshOAuthTokenIfNeeded
( retryCount = 0, force = false, )
src/utils/auth.ts:1484
↓ 22 callersFunctioncheckHasTrustDialogAccepted
()
src/utils/config.ts:717
↓ 22 callersFunctionformatSSE
* Formats data as Server-Sent Events (SSE) format. * @param event - The event type * @param data - The data payload * @returns Formatted SSE string
src/services/api/codex-fetch-adapter.ts:279
↓ 22 callersFunctiongetCanonicalName
(fullModelName: ModelName)
src/utils/model/model.ts:296
↓ 22 callersFunctiongetProjectRoot
()
src/bootstrap/state.ts:511
↓ 22 callersFunctionisTeammate
()
src/utils/teammate.ts:125
↓ 22 callersFunctiononSelect
(value: string)
src/components/ClaudeCodeHint/PluginHintMenu.tsx:26
↓ 21 callersFunctionapplyPermissionUpdate
( context: ToolPermissionContext, update: PermissionUpdate, )
src/utils/permissions/PermissionUpdate.ts:55
↓ 21 callersFunctionenqueuePendingNotification
(command: QueuedCommand)
src/utils/messageQueueManager.ts:142
↓ 21 callersFunctionexitWithError
(message: string)
src/utils/process.ts:38
↓ 21 callersFunctionextractLastJsonStringField
( text: string, key: string, )
src/utils/sessionStoragePortable.ts:82
↓ 21 callersMethodgetComputedHeight
()
src/ink/layout/yoga.ts:120
↓ 21 callersFunctiongetServerKey
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:325
↓ 21 callersFunctiongetSessionIdFromLog
(log: LogOption)
src/utils/sessionStorage.ts:2927
↓ 21 callersFunctionnormalize
(p: string)
src/utils/plugins/pluginOptionsStorage.ts:330
↓ 21 callersFunctionsafeResolvePath
( fs: FsOperations, filePath: string, )
src/utils/fsOperations.ts:138
← previousnext →101–200 of 11,548, ranked by callers