MCPcopy Create free account

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

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

↓ 6 callersFunctionparseAgentToolsFromFrontmatter
( toolsValue: unknown, )
src/utils/markdownConfigLoader.ts:113
↓ 6 callersFunctionparseCommand
Parse a single command: simple, compound, or control structure.
src/utils/bash/bashParser.ts:995
↓ 6 callersFunctionparseGitRemote
(input: string)
src/utils/detectRepository.ts:87
↓ 6 callersFunctionparseRGB
(colorStr: string)
src/components/Spinner/utils.ts:70
↓ 6 callersFunctionpersistDenialState
* Persist denial tracking state. For async subagents with localDenialTracking, * mutate the local state in place (since setAppState is a no-op). Othe
src/utils/permissions/permissions.ts:963
↓ 6 callersFunctionpersistPermissionUpdate
(update: PermissionUpdate)
src/utils/permissions/PermissionUpdate.ts:222
↓ 6 callersFunctionpersistPermissionUpdates
(updates: PermissionUpdate[])
src/utils/permissions/PermissionUpdate.ts:349
↓ 6 callersFunctionpick
(rng: () => number, arr: readonly T[])
src/buddy/companion.ts:39
↓ 6 callersFunctionpoll
()
src/hooks/usePrStatus.ts:49
↓ 6 callersFunctionprocessMdRules
({ rulesDir, type, processedPaths, includeExternal, conditionalRule, visitedDirs = new Set(), }: {
src/utils/claudemd.ts:697
↓ 6 callersFunctionpsExeHasParamAbbreviation
* Wrapper around commandHasArgAbbreviation that also matches alternative * parameter prefixes (`/`, en-dash, em-dash, horizontal-bar). PowerShell's
src/tools/PowerShellTool/powershellSecurity.ts:83
↓ 6 callersFunctionreadFileSyncWithMetadata
(filePath: string)
src/utils/fileRead.ts:75
↓ 6 callersFunctionreadLockContent
( lockFilePath: string, )
src/utils/nativeInstaller/pidLock.ts:137
↓ 6 callersFunctionrecordSidechainTranscript
( messages: Message[], agentId?: string, startingParentUuid?: UUID | null, )
src/utils/sessionStorage.ts:1451
↓ 6 callersMethodrender
()
src/components/SentryErrorBoundary.ts:21
↓ 6 callersFunctionresetSessionFilePointer
()
src/utils/sessionStorage.ts:1505
↓ 6 callersFunctionresolveColor
* Resolves a color value that may be a theme key to a raw Color.
src/components/design-system/ThemedBox.tsx:42
↓ 6 callersFunctionresolveThemeSetting
(setting: ThemeSetting)
src/utils/systemTheme.ts:42
↓ 6 callersMethodresume
()
src/ink/ink.tsx:797
↓ 6 callersFunctionrgb
(r: number, g: number, b: number)
src/ink/hooks/use-tab-status.ts:13
↓ 6 callersFunctionripgrepCommand
()
src/utils/ripgrep.ts:67
↓ 6 callersFunctionroundValue
( v: number, scale: number, forceCeil: boolean, forceFloor: boolean, )
src/native-ts/yoga-layout/index.ts:2483
↓ 6 callersFunctionrow
(l1: string, v1: string, l2: string, v2: string)
src/components/Stats.tsx:1106
↓ 6 callersFunctionrunWithAgentContext
(context: AgentContext, fn: () => T)
src/utils/agentContext.ts:108
↓ 6 callersFunctionsafeEntries
( obj: Record<string, V> | undefined | null, )
src/commands/insights.ts:3025
↓ 6 callersFunctionsaveInstalledPluginsV2
* Save installed plugins in V2 format to installed_plugins.json. * This is the single source of truth after V1/V2 consolidation.
src/utils/plugins/installedPluginsManager.ts:370
↓ 6 callersFunctionscopeToSettingSource
( scope: PluginScope, )
src/utils/plugins/pluginIdentifier.ts:104
↓ 6 callersMethodsetJustifyContent
(justify: LayoutJustify)
src/ink/layout/yoga.ts:231
↓ 6 callersFunctionshift
(p: Point, vRow: number)
src/ink/selection.ts:540
↓ 6 callersMethodstart
Mark flush as in-progress. enqueue() will start queuing items.
src/bridge/flushGate.ts:29
↓ 6 callersMethodstartOfLine
()
src/utils/Cursor.ts:426
↓ 6 callersFunctionstopConnecting
Stop the connecting spinner.
src/bridge/bridgeUI.ts:180
↓ 6 callersFunctionstrEquals
(a: string, b: string)
src/tools/PowerShellTool/powershellPermissions.ts:178
↓ 6 callersFunctionstyleBorderLine
( line: string, color: Color | undefined, dim: boolean | undefined, )
src/ink/render-border.ts:70
↓ 6 callersFunctionsubstitutePluginVariables
( value: string, plugin: { path: string; source?: string }, )
src/utils/plugins/pluginOptionsStorage.ts:326
↓ 6 callersFunctionsuggestionForExactCommand
(command: string)
src/tools/BashTool/bashPermissions.ts:266
↓ 6 callersFunctionsymbolKindToString
* Maps SymbolKind enum to readable string
src/tools/LSPTool/formatters.ts:272
↓ 6 callersFunctiontoArray
(val: T | T[])
src/utils/shell/specPrefix.ts:36
↓ 6 callersFunctiontoSDKMessages
(messages: Message[])
src/utils/messages/mappers.ts:115
↓ 6 callersMethodtrackWrite
(fn: () => Promise<T>)
src/utils/sessionStorage.ts:597
↓ 6 callersFunctiontransitionHyperlink
( diff: Diff, current: Hyperlink, target: Hyperlink, )
src/ink/log-update.ts:470
↓ 6 callersMethodtxn
(fn: (prev: Point) => [patches: Diff, next: Delta])
src/ink/log-update.ts:765
↓ 6 callersFunctionuninstallPluginOp
( plugin: string, scope: InstallableScope = 'user', deleteDataDir = true, )
src/services/plugins/pluginOperations.ts:427
↓ 6 callersFunctionunmount
()
src/ink/root.ts:99
↓ 6 callersMethodunmount
(error?: Error | number | null)
src/ink/ink.tsx:1455
↓ 6 callersFunctionupdateActiveSpeculationState
( setAppState: SetAppState, updater: (state: ActiveSpeculationState) => Partial<ActiveSpeculationState>, )
src/services/PromptSuggestion/speculation.ts:310
↓ 6 callersFunctionupdateUsage
( usage: Readonly<NonNullableUsage>, partUsage: BetaMessageDeltaUsage | undefined, )
src/services/api/claude.ts:2924
↓ 6 callersFunctionuseElapsedTime
( startTime: number, isRunning: boolean, ms: number = 1000, pausedMs: number = 0, endTime?: number,
src/hooks/useElapsedTime.ts:17
↓ 6 callersFunctionusePermissionRequestLogging
( toolUseConfirm: ToolUseConfirm, unaryEvent: UnaryEvent, )
src/components/permissions/hooks.ts:101
↓ 6 callersFunctionuseStartupNotification
( compute: () => Result | Promise<Result>, )
src/hooks/notifs/useStartupNotification.ts:19
↓ 6 callersFunctionvalidatePath
* Validates a file system path, handling tilde expansion.
src/tools/PowerShellTool/pathValidation.ts:1013
↓ 6 callersFunctionwithOAuth401Retry
( request: () => Promise<T>, opts?: { also403Revoked?: boolean }, )
src/utils/http.ts:115
↓ 6 callersFunctionwriteBridgePointer
( dir: string, pointer: BridgePointer, )
src/bridge/bridgePointer.ts:62
↓ 6 callersFunctionzodToJsonSchema
(schema: ZodTypeAny)
src/utils/zodToJsonSchema.ts:17
↓ 5 callersMethod_notify
()
src/utils/QueryGuard.ts:118
↓ 5 callersFunctionackWork
()
src/bridge/bridgeMain.ts:837
↓ 5 callersFunctionaction
(a: { key: K; label: string | ((s: MessageActionsState) => string); types: readonly T[]; applies?: (s:
src/components/messageActions.tsx:148
↓ 5 callersFunctionaddMarketplaceSource
( source: MarketplaceSource, onProgress?: MarketplaceProgressCallback, )
src/utils/plugins/marketplaceManager.ts:1782
↓ 5 callersFunctionaddMcpConfig
( name: string, config: unknown, scope: ConfigScope, )
src/services/mcp/config.ts:625
↓ 5 callersFunctionaddScopeToServers
* Internal utility: Add scope to server configs
src/services/mcp/config.ts:69
↓ 5 callersFunctionappendCappedMessage
( prev: readonly T[] | undefined, item: T, )
src/tasks/InProcessTeammateTask/types.ts:108
↓ 5 callersFunctionappendFileSync
(path, data, options)
src/utils/fsOperations.ts:468
↓ 5 callersFunctionapplyConfigEnvironmentVariables
()
src/utils/managedEnv.ts:187
↓ 5 callersFunctionapplyOperator
( op: Operator, from: number, to: number, ctx: OperatorContext, linewise: boolean = false, )
src/vim/operators.ts:493
↓ 5 callersFunctionapplyTextStyles
(text: string, styles: TextStyles)
src/ink/colorize.ts:176
↓ 5 callersFunctionassembleToolPool
( permissionContext: ToolPermissionContext, mcpTools: Tools, )
src/tools.ts:345
↓ 5 callersFunctionbashToolCheckExactMatchPermission
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, )
src/tools/BashTool/bashPermissions.ts:991
↓ 5 callersFunctionbuildBridgeConnectUrl
( environmentId: string, ingressUrl?: string, )
src/bridge/bridgeStatusUtil.ts:39
↓ 5 callersFunctionbuildPluginCommandTelemetryFields
( pluginInfo: { pluginManifest: PluginManifest; repository: string }, managedNames: Set<string> | null = n
src/utils/telemetry/pluginTelemetry.ts:173
↓ 5 callersFunctionbuildPostCompactMessages
(result: CompactionResult)
src/services/compact/compact.ts:330
↓ 5 callersFunctioncalculateUSDCost
(resolvedModel: string, usage: Usage)
src/utils/modelCost.ts:177
↓ 5 callersMethodcaptureScrolledRows
* Capture text from rows about to scroll out of the viewport during * drag-to-scroll. Must be called BEFORE the ScrollBox scrolls so the * scree
src/ink/ink.tsx:1157
↓ 5 callersMethodcheckDependencies
()
src/utils/sandbox/sandbox-adapter.ts:887
↓ 5 callersFunctioncheckPathTraversal
* Check for parent-directory segments ('..') in a path string. * * For plugin.json component paths this is a security concern (escaping the plugin d
src/utils/plugins/validatePlugin.ts:92
↓ 5 callersFunctioncheckStartFailed
()
src/services/lsp/LSPClient.ts:73
↓ 5 callersFunctionclassifyBashCommand
( _command: string, _cwd: string, _descriptions: string[], _behavior: ClassifierBehavior, _signal: A
src/utils/permissions/bashClassifier.ts:40
↓ 5 callersFunctionclearCommandsCache
()
src/commands.ts:534
↓ 5 callersFunctionclearOAuthTokenCache
()
src/utils/auth.ts:1309
↓ 5 callersFunctioncomputeHash
(data: unknown)
src/services/api/promptCacheBreakDetection.ts:170
↓ 5 callersMethodconnect
()
src/server/directConnectManager.ts:50
↓ 5 callersFunctionconsumeKeyword
(P: ParseState, name: string, kids: TsNode[])
src/utils/bash/bashParser.ts:3688
↓ 5 callersFunctioncontainsPathTraversal
(path: string)
src/utils/path.ts:133
↓ 5 callersFunctionconvertEffortValueToLevel
(value: EffortValue)
src/utils/effort.ts:202
↓ 5 callersFunctioncountTokensWithFallback
( messages: Anthropic.Beta.Messages.BetaMessageParam[], tools: Anthropic.Beta.Messages.BetaToolUnion[], )
src/utils/analyzeContext.ts:77
↓ 5 callersFunctioncreateCompressedImageResult
( buffer: Buffer, mediaType: string, originalSize: number, )
src/utils/imageResizer.ts:632
↓ 5 callersFunctioncreateHyperlink
( url: string, content?: string, options?: HyperlinkOptions, )
src/utils/hyperlink.ts:24
↓ 5 callersFunctioncreatePluginCommand
* Create a Command from a plugin markdown file
src/utils/plugins/loadPluginCommands.ts:218
↓ 5 callersFunctioncreateSortedHelpConfig
()
src/main.tsx:890
↓ 5 callersFunctioncreateStderrLogger
* Environment variables for different client types: * * Direct API: * - ANTHROPIC_API_KEY: Required for direct API access * * AWS Bedrock: * - A
src/services/api/client.ts:81
↓ 5 callersFunctioncreateToolResultMessage
( tool: Tool<AnyObject, Output>, toolUseResult: Output, )
src/utils/messages.ts:4288
↓ 5 callersFunctioncreateToolUseMessage
( toolName: string, input: { [key: string]: string | number }, )
src/utils/messages.ts:4325
↓ 5 callersFunctioncreateUserInterruptionMessage
({ toolUse = false, }: { toolUse?: boolean })
src/utils/messages.ts:545
↓ 5 callersFunctiondangerousRemovalDeny
(path: string)
src/tools/PowerShellTool/pathValidation.ts:848
↓ 5 callersFunctiondebugBody
(data: unknown)
src/bridge/debugUtils.ts:46
↓ 5 callersFunctiondecisionReasonToString
( decisionReason: PermissionDecisionReason | undefined, )
src/components/permissions/hooks.ts:61
↓ 5 callersMethoddeleteFile
(filePath: string)
src/services/analytics/firstPartyEventLoggingExporter.ts:210
↓ 5 callersFunctiondetectAndGetBackend
()
src/utils/swarm/backends/registry.ts:136
↓ 5 callersMethoddidStopImmediatePropagation
()
src/ink/events/event.ts:4
↓ 5 callersFunctiondiffToolInputsOnly
(filePath: string, edits: FileEdit[])
src/components/FileEditToolDiff.tsx:161
↓ 5 callersMethoddisconnect
* Disconnect from the remote session
src/remote/RemoteSessionManager.ts:309
← previousnext →901–1,000 of 11,548, ranked by callers