MCPcopy Create free account

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

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

↓ 1 callersMethodbuildIndex
(paths: string[])
src/native-ts/file-index/index.ts:135
↓ 1 callersFunctionbuildInheritedCliFlags
(options?: { planModeRequired?: boolean permissionMode?: PermissionMode })
src/utils/swarm/spawnUtils.ts:38
↓ 1 callersFunctionbuildInstallationDiagnostics
()
src/utils/status.tsx:175
↓ 1 callersFunctionbuildInstallationHealthDiagnostics
()
src/utils/status.tsx:179
↓ 1 callersFunctionbuildKeystroke
* Build a ParsedKeystroke from Ink's input/key.
src/keybindings/resolver.ts:82
↓ 1 callersFunctionbuildLaunchMessage
(disconnectedBridge?: boolean)
src/commands/ultraplan.tsx:185
↓ 1 callersFunctionbuildMagicDocsUpdatePrompt
( docContents: string, docPath: string, docTitle: string, instructions?: string, )
src/services/MagicDocs/prompts.ts:98
↓ 1 callersFunctionbuildMcpProperties
(clients: MCPServerConnection[] = [], theme: ThemeName)
src/utils/status.tsx:89
↓ 1 callersFunctionbuildMemoryDiagnostics
()
src/utils/status.tsx:116
↓ 1 callersFunctionbuildMemoryPrompt
(params: { displayName: string memoryDir: string extraGuidelines?: string[] })
src/memdir/memdir.ts:272
↓ 1 callersFunctionbuildMessageLookups
( normalizedMessages: NormalizedMessage[], messages: Message[], )
src/utils/messages.ts:1170
↓ 1 callersFunctionbuildMissedTaskNotification
(missed: CronTask[])
src/utils/cronScheduler.ts:542
↓ 1 callersFunctionbuildNestedObject
( path: string[], value: unknown, )
src/tools/ConfigTool/ConfigTool.ts:455
↓ 1 callersFunctionbuildNestedTree
* Builds a nested tree structure from dot-notation paths * Uses lodash setWith to avoid automatic array creation
src/components/ValidationErrorsList.tsx:12
↓ 1 callersFunctionbuildParseScript
* Build the full PowerShell script that parses a command. * The user command is Base64-encoded (UTF-8) and embedded in a variable * to prevent injec
src/utils/powershell/parser.ts:687
↓ 1 callersFunctionbuildPlanApprovalOptions
({ showClearContext, showUltraplan, usedPercent, isAutoModeAvailable, isBypassPermissionsModeAvailab
src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:674
↓ 1 callersFunctionbuildPluginAction
(pluginName: string)
src/commands/plugin/PluginSettings.tsx:184
↓ 1 callersFunctionbuildPositionSet
* Builds a Set of all character positions covered by the given spans.
src/utils/bash/treeSitterAnalysis.ts:142
↓ 1 callersFunctionbuildPrimarySection
()
src/components/Settings/Status.tsx:19
↓ 1 callersFunctionbuildProcessMetrics
* Builds process metrics object for all users.
src/services/analytics/metadata.ts:648
↓ 1 callersFunctionbuildPrompt
(instruction: string)
src/skills/bundled/batch.ts:19
↓ 1 callersFunctionbuildPrompt
( lang: DetectedLanguage | null, args: string, content: SkillContent, )
src/skills/bundled/claudeApi.ts:132
↓ 1 callersFunctionbuildPrompt
(args: string)
src/skills/bundled/loop.ts:25
↓ 1 callersFunctionbuildPrompt
(opts: { userTimezone: string connectorsInfo: string gitRepoUrl: string | null environmentsInfo: strin
src/skills/bundled/scheduleRemoteAgents.ts:135
↓ 1 callersFunctionbuildQueryConfig
()
src/query/config.ts:29
↓ 1 callersFunctionbuildReplacement
( candidate: ToolResultCandidate, )
src/utils/toolResultStorage.ts:728
↓ 1 callersFunctionbuildRequiresActionDetails
( tool: Tool, input: Record<string, unknown>, toolUseID: string, requestId: string, )
src/cli/structuredIO.ts:93
↓ 1 callersFunctionbuildSandboxProperties
()
src/utils/status.tsx:28
↓ 1 callersFunctionbuildSchemaNotSentHint
( tool: Tool, messages: Message[], tools: readonly { name: string }[], )
src/services/tools/toolExecution.ts:578
↓ 1 callersFunctionbuildSearchableText
* Builds searchable text for a log including messages, titles, summaries, and metadata. * Crops long transcripts to first/last N messages for perform
src/components/LogSelector.tsx:1537
↓ 1 callersFunctionbuildSecondarySection
({ mainLoopModel, mcp, theme, context }: { mainLoopModel: AppState['mainLoopModel']; mcp: AppState
src/components/Settings/Status.tsx:37
↓ 1 callersFunctionbuildSegmentWithoutRedirections
* Builds a command segment, stripping output redirections to avoid * treating filenames as commands in permission checking. * Uses ParsedCommand to
src/tools/BashTool/bashCommandHelpers.ts:163
↓ 1 callersFunctionbuildSessionContext
()
src/utils/computerUse/wrapper.tsx:59
↓ 1 callersFunctionbuildSessionReadyMessage
(url: string)
src/commands/ultraplan.tsx:189
↓ 1 callersFunctionbuildSettingSourcesProperties
()
src/utils/status.tsx:126
↓ 1 callersFunctionbuildSideQuestionFallbackParams
({ tools, commands, mcpClients, messages, readFileState, getAppState, setAppState, customSyste
src/utils/queryContext.ts:88
↓ 1 callersFunctionbuildStatusLineCommandInput
(permissionMode: PermissionMode, exceeds200kTokens: boolean, settings: ReadonlySettings, messages: Message[],
src/components/StatusLine.tsx:36
↓ 1 callersFunctionbuildSummaryPrompt
(previousSummary: string | null)
src/services/AgentSummary/agentSummary.ts:28
↓ 1 callersFunctionbuildSyntheticOutputTool
( jsonSchema: Record<string, unknown>, )
src/tools/SyntheticOutputTool/SyntheticOutputTool.ts:127
↓ 1 callersFunctionbuildSystemPromptBlocks
( systemPrompt: SystemPrompt, enablePromptCaching: boolean, options?: { skipGlobalCacheForSystemProm
src/services/api/claude.ts:3213
↓ 1 callersFunctionbuildToolNameMap
* Walk messages and build tool_use_id → tool_name from assistant tool_use * blocks. tool_use always precedes its tool_result (model calls, then resul
src/utils/toolResultStorage.ts:536
↓ 1 callersFunctionbuildTranscriptForClassifier
( messages: Message[], tools: Tools, )
src/utils/permissions/yoloClassifier.ts:434
↓ 1 callersFunctionbuildUltraplanPrompt
(blurb: string, seedPlan?: string)
src/commands/ultraplan.tsx:63
↓ 1 callersFunctionbuildWorktreeNotice
( parentCwd: string, worktreeCwd: string, )
src/tools/AgentTool/forkSubagent.ts:205
↓ 1 callersFunctionbuildYoloRejectionMessage
(reason: string)
src/utils/messages.ts:267
↓ 1 callersFunctionbuildYoloSystemPrompt
( context: ToolPermissionContext, )
src/utils/permissions/yoloClassifier.ts:484
↓ 1 callersFunctionbyIdAsc
(a: Task, b: Task)
src/components/TaskListV2.tsx:22
↓ 1 callersFunctionbyteLengthUtf8
(s: string)
src/utils/bash/bashParser.ts:633
↓ 1 callersFunctionbytesPerTokenForFileType
(fileExtension: string)
src/services/tokenEstimation.ts:215
↓ 1 callersFunctioncachePluginSettings
(plugins: LoadedPlugin[])
src/utils/plugins/pluginLoader.ts:3281
↓ 1 callersFunctioncacheSessionTitle
(customTitle: string)
src/utils/sessionStorage.ts:2870
↓ 1 callersFunctioncacheToStats
* Convert a PersistedStatsCache to ClaudeCodeStats by computing derived fields.
src/utils/stats.ts:440
↓ 1 callersFunctioncachedLexer
(content: string)
src/components/Markdown.tsx:37
↓ 1 callersFunctioncachedMicrocompactPath
* Cached microcompact path - uses cache editing API to remove tool results * without invalidating the cached prefix. * * Key differences from regul
src/services/compact/microCompact.ts:305
↓ 1 callersFunctioncalculateAgentStats
(progressMessages: ProgressMessage<Progress>[])
src/tools/AgentTool/UI.tsx:627
↓ 1 callersFunctioncalculateApiKeyHelperTTL
()
src/utils/auth.ts:436
↓ 1 callersFunctioncalculateCommitAttribution
( states: AttributionState[], stagedFiles: string[], )
src/utils/commitAttribution.ts:548
↓ 1 callersFunctioncalculateDeferredToolDescriptionChars
* Calculate total deferred tool description size in characters. * Includes name, description text, and input schema to match what's actually sent to
src/utils/toolSearch.ts:340
↓ 1 callersFunctioncalculateDepth
( command: string, args: string[], spec: CommandSpec | null, )
src/utils/shell/specPrefix.ts:139
↓ 1 callersFunctioncalculateFeedWidth
(config: FeedConfig)
src/components/LogoV2/Feed.tsx:24
↓ 1 callersFunctioncalculateHorizontalScrollWindow
( itemWidths: number[], availableWidth: number, arrowWidth: number, selectedIdx: number, firstItemHa
src/utils/horizontalScroll.ts:21
↓ 1 callersFunctioncalculateLayoutDimensions
( columns: number, layoutMode: LayoutMode, optimalLeftWidth: number, )
src/utils/logoV2Utils.ts:46
↓ 1 callersFunctioncalculateMaxRowLines
()
src/components/MarkdownTable.tsx:159
↓ 1 callersFunctioncalculateMessagesToKeepIndex
( messages: Message[], lastSummarizedIndex: number, )
src/services/compact/sessionMemoryCompact.ts:324
↓ 1 callersFunctioncalculateOptimalLeftWidth
( welcomeMessage: string, truncatedCwd: string, modelLine: string, )
src/utils/logoV2Utils.ts:83
↓ 1 callersFunctioncalculatePercentiles
* Pre-calculates percentiles from activity data for use in intensity calculations
src/utils/heatmap.ts:19
↓ 1 callersFunctioncalculateWordDiffs
(oldText: string, newText: string)
src/components/StructuredDiff/Fallback.tsx:227
↓ 1 callersFunctioncallMCPTool
({ client: { client, name, config }, tool, args, meta, signal, onProgress, }: { client: Connecte
src/services/mcp/client.ts:3031
↓ 1 callersFunctioncallMCPToolWithUrlElicitationRetry
({ client: connectedClient, clientConnection, tool, args, meta, signal, setAppState, onProgres
src/services/mcp/client.ts:2815
↓ 1 callersFunctioncallerFrame
(stack: string | undefined)
src/utils/slowOperations.ts:59
↓ 1 callersFunctioncanBatchWith
( head: QueuedCommand, next: QueuedCommand | undefined, )
src/cli/print.ts:443
↓ 1 callersMethodcanExecuteTool
* Check if a tool can execute based on current concurrency state
src/services/tools/StreamingToolExecutor.ts:129
↓ 1 callersFunctioncanUseTool
( tool, input, toolUseContext, assistantMessage, toolUseId, forceDecision, )
src/cli/print.ts:4152
↓ 1 callersFunctioncancel
(sessionId: string)
src/bridge/jwtUtils.ts:232
↓ 1 callersMethodcancelSession
* Send an interrupt signal to cancel the current request on the remote session
src/remote/RemoteSessionManager.ts:294
↓ 1 callersFunctioncaptureCarry
(s: LoadState, buf: Buffer, trailStart: number)
src/utils/sessionStoragePortable.ts:689
↓ 1 callersFunctioncaptureMemoryDiagnostics
( trigger: 'manual' | 'auto-1.5GB', dumpNumber = 0, )
src/utils/heapDumpService.ts:88
↓ 1 callersFunctioncaptureSnap
( s: LoadState, buf: Buffer, chunk: Buffer, lastSnapStart: number, lastSnapEnd: number, )
src/utils/sessionStoragePortable.ts:664
↓ 1 callersFunctioncategorizeRetryableAPIError
( error: APIError, )
src/services/api/errors.ts:1163
↓ 1 callersFunctioncategorizeToolName
(toolName: string)
src/utils/streamlinedTransform.ts:52
↓ 1 callersFunctioncellContentToToolResult
(cell: NotebookCellSource)
src/utils/notebook.ts:119
↓ 1 callersFunctioncharInCellAt
( screen: Screen, x: number, y: number, )
src/ink/screen.ts:666
↓ 1 callersFunctioncharWidth
(ch: string)
src/native-ts/color-diff/index.ts:659
↓ 1 callersFunctioncheck
(file: string, options?: CheckOptions)
src/utils/lockfile.ts:41
↓ 1 callersFunctioncheckAdminRequestEligibility
( requestType: AdminRequestType, )
src/services/api/adminRequests.ts:102
↓ 1 callersFunctioncheckAgentDescriptions
* Check agent descriptions token count
src/utils/doctorContextWarnings.ts:73
↓ 1 callersFunctioncheckAgentMemorySnapshot
( agentType: string, scope: AgentMemoryScope, )
src/tools/AgentTool/agentMemorySnapshot.ts:98
↓ 1 callersFunctioncheckAndDisableBypassPermissions
( currentContext: ToolPermissionContext, )
src/utils/permissions/permissionSetup.ts:1411
↓ 1 callersFunctioncheckAndInstall
()
src/commands/thinkback/thinkback.tsx:164
↓ 1 callersFunctioncheckAndInstallOfficialMarketplace
()
src/utils/plugins/officialMarketplaceStartupCheck.ts:147
↓ 1 callersFunctioncheckAndRestoreITerm2Backup
()
src/utils/iTermBackup.ts:43
↓ 1 callersFunctioncheckAutoCompactDisabled
( data: ContextData, suggestions: ContextSuggestion[], )
src/utils/contextSuggestions.ts:219
↓ 1 callersFunctioncheckAutoThreshold
* Check whether deferred tools exceed the auto-threshold for enabling TST. * Tries exact token count first; falls back to character-based heuristic.
src/utils/toolSearch.ts:712
↓ 1 callersFunctioncheckBackgroundRemoteSessionEligibility
({ skipBundle = false, }: { skipBundle?: boolean } = {})
src/utils/background/remote/remoteSession.ts:45
↓ 1 callersFunctioncheckBridgePrerequisites
()
src/commands/bridge/bridge.tsx:467
↓ 1 callersFunctioncheckBudget
(P: ParseState)
src/utils/bash/bashParser.ts:647
↓ 1 callersFunctioncheckClaudeMdFiles
()
src/utils/doctorContextWarnings.ts:43
↓ 1 callersFunctioncheckCommandOperatorPermissions
( input: z.infer<typeof BashTool.inputSchema>, bashToolHasPermissionFn: ( input: z.infer<typeof BashTo
src/tools/BashTool/bashCommandHelpers.ts:181
↓ 1 callersFunctioncheckComputerUseLock
()
src/utils/computerUse/computerUseLock.ts:110
↓ 1 callersFunctioncheckContextWarnings
( tools: Tool[], agentInfo: AgentDefinitionsResult | null, getToolPermissionContext: () => Promise<ToolP
src/utils/doctorContextWarnings.ts:246
← previousnext →4,401–4,500 of 11,548, ranked by callers