MCPcopy Create free account

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

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

↓ 1 callersFunctionexpandTabs
( text: string, interval = DEFAULT_TAB_INTERVAL, )
src/ink/tabstops.ts:9
↓ 1 callersFunctionexpectColorDiff
()
src/components/StructuredDiff/colorDiff.ts:25
↓ 1 callersFunctionexpectColorFile
()
src/components/StructuredDiff/colorDiff.ts:29
↓ 1 callersFunctionexportWithReactRenderer
(context: ToolUseContext)
src/commands/export/export.tsx:49
↓ 1 callersFunctionextendSelection
( s: SelectionState, screen: Screen, col: number, row: number, )
src/ink/selection.ts:389
↓ 1 callersFunctionextensionForMimeType
(mimeType: string | undefined)
src/utils/mcpOutputStorage.ts:66
↓ 1 callersFunctionexternalMetadataToAppState
( metadata: SessionExternalMetadata, )
src/state/onChangeAppState.ts:24
↓ 1 callersFunctionextractAccountId
* Extracts the account ID from a Codex JWT token. * @param token - The JWT token to extract the account ID from * @returns The account ID * @throws
src/services/api/codex-fetch-adapter.ts:66
↓ 1 callersFunctionextractActivities
( line: string, sessionId: string, onDebug: (msg: string) => void, )
src/bridge/sessionRunner.ts:107
↓ 1 callersFunctionextractAgentIdsFromMessages
(messages: Message[])
src/utils/sessionStorage.ts:4244
↓ 1 callersFunctionextractAgentMcpServers
( agents: AgentDefinition[], )
src/services/mcp/utils.ts:466
↓ 1 callersFunctionextractApprovedPlan
(content: ToolResultBlockParam['content'])
src/utils/ultraplan/ccrSession.ts:333
↓ 1 callersFunctionextractAtMentionedFiles
(content: string)
src/utils/attachments.ts:2757
↓ 1 callersFunctionextractBaseCommand
* Extract the command name from a single pipeline segment. * Strips leading `&` / `.` call operators and `.exe` suffix, lowercases.
src/tools/PowerShellTool/commandSemantics.ts:100
↓ 1 callersFunctionextractBaseCommand
* Extract just the command name (first word) from a single command string.
src/tools/BashTool/commandSemantics.ts:104
↓ 1 callersFunctionextractBundledSkillFiles
* Extract a bundled skill's reference files to disk so the model can * Read/Grep them on demand. Called lazily on first skill invocation. * * Retur
src/skills/bundledSkills.ts:131
↓ 1 callersFunctionextractCliName
* Extract the actual CLI name from a bash command string, skipping * env var assignments (e.g. `FOO=bar vercel` → `vercel`) and prefixes * in STRIPP
src/utils/queryHelpers.ts:543
↓ 1 callersFunctionextractCodeBlocks
(markdown: string)
src/commands/copy/copy.tsx:30
↓ 1 callersFunctionextractCommandArguments
(commandNode: Node)
src/utils/bash/parser.ts:189
↓ 1 callersFunctionextractCommandNameAndArgs
(value: string)
src/hooks/useTypeahead.tsx:326
↓ 1 callersFunctionextractCompoundStructure
( rootNode: unknown, command: string, )
src/utils/bash/treeSitterAnalysis.ts:296
↓ 1 callersFunctionextractConversationContext
* Extract recent conversation context from messages for the explainer. * Returns a summary of recent assistant messages to provide context * for "wh
src/utils/permissions/permissionExplainer.ts:102
↓ 1 callersFunctionextractCwdResetWarning
* Extracts the "Shell cwd was reset" warning message from stderr * Returns the cleaned stderr and the warning message separately
src/tools/BashTool/BashToolResultMessage.tsx:45
↓ 1 callersFunctionextractDangerousPatterns
(rootNode: unknown)
src/utils/bash/treeSitterAnalysis.ts:448
↓ 1 callersMethodextractDataPoints
(metric: MetricData)
src/utils/telemetry/bigqueryExporter.ts:198
↓ 1 callersFunctionextractDebugCategories
(message: string)
src/utils/debugFilter.ts:65
↓ 1 callersFunctionextractDirectories
(updates: PermissionUpdate[] | undefined)
src/components/permissions/PermissionDecisionDebugInfo.tsx:192
↓ 1 callersFunctionextractEnvVars
(commandNode: Node | null)
src/utils/bash/parser.ts:175
↓ 1 callersFunctionextractErrorTypeFromData
(data: unknown)
src/bridge/bridgeApi.ts:526
↓ 1 callersFunctionextractFacetsFromAPI
( log: LogOption, sessionId: string, )
src/commands/insights.ts:1001
↓ 1 callersFunctionextractFirstFrame
* Extracts content from the first complete frame in Ink's output. * Ink with non-TTY stdout outputs multiple frames, each wrapped in DEC synchronized
src/utils/staticRender.tsx:62
↓ 1 callersFunctionextractFirstMessageText
( messages: (UserMessage | AssistantMessage)[], )
src/utils/fingerprint.ts:16
↓ 1 callersFunctionextractFirstPrompt
(messages: Message[])
src/commands/export/export.tsx:19
↓ 1 callersFunctionextractFirstPromptFromChunk
* Scans a chunk of text for the first meaningful user prompt.
src/utils/sessionStorage.ts:4818
↓ 1 callersFunctionextractFirstPromptFromHead
(head: string)
src/utils/sessionStoragePortable.ts:135
↓ 1 callersFunctionextractFirstUserMessageText
* Extract text from first user message for fingerprint computation.
src/utils/sideQuery.ts:69
↓ 1 callersFunctionextractGlobBaseDirectory
(pattern: string)
src/utils/glob.ts:17
↓ 1 callersFunctionextractHost
* Extract hostname from a URL or git spec and bucket to the allowlist. * Handles `https://host/...`, `git@host:path`, `ssh://host/...`. * Returns a
src/utils/plugins/fetchTelemetry.ts:54
↓ 1 callersFunctionextractHttpStatus
(err: unknown)
src/bridge/debugUtils.ts:88
↓ 1 callersFunctionextractHyperlinkFromStyles
( styles: AnsiCode[], )
src/ink/screen.ts:1099
↓ 1 callersFunctionextractImage
( data: Record<string, unknown>, )
src/utils/notebook.ts:41
↓ 1 callersFunctionextractImagesFromValue
* Extract images from ContentBlockParam[] and convert to PastedContent format. * Returns empty array for string values or if no images found.
src/utils/messageQueueManager.ts:390
↓ 1 callersFunctionextractInboundAttachments
(msg: unknown)
src/bridge/inboundAttachments.ts:42
↓ 1 callersFunctionextractIncludePathsFromTokens
( tokens: ReturnType<Lexer['lex']>, basePath: string, )
src/utils/claudemd.ts:451
↓ 1 callersFunctionextractLastToolInfo
(progressMessages: ProgressMessage<Progress>[], tools: Tools)
src/tools/AgentTool/UI.tsx:788
↓ 1 callersFunctionextractLspInfoFromManifest
* Extract LSP info (extensions and command) from inline lspServers config. * * NOTE: Can only read inline configs, not external .lsp.json files. *
src/utils/plugins/lspRecommendation.ts:67
↓ 1 callersFunctionextractMappedIPv4
* Extract the embedded IPv4 address from an IPv4-mapped IPv6 address * (0:0:0:0:0:ffff:X:Y) in any valid representation — compressed, expanded, * he
src/utils/hooks/ssrfGuard.ts:187
↓ 1 callersFunctionextractMarkupText
* Extracts text content from MarkupContent or MarkedString
src/tools/LSPTool/formatters.ts:223
↓ 1 callersFunctionextractMcpResourceMentions
(content: string)
src/utils/attachments.ts:2792
↓ 1 callersFunctionextractMcpbContents
* Extract MCPB file and write contents to extraction directory. * * @param modes - name→mode map from `parseZipModes`. MCPB bundles can ship * na
src/utils/plugins/mcpbHandler.ts:550
↓ 1 callersFunctionextractMode
(updates: PermissionUpdate[] | undefined)
src/components/permissions/PermissionDecisionDebugInfo.tsx:205
↓ 1 callersFunctionextractModelIdFromArn
(modelId: string)
src/utils/model/bedrock.ts:199
↓ 1 callersFunctionextractNestedErrorMessage
* Extract a human-readable message from a deserialized API error that lacks * a top-level `.message`. * * Checks two nesting levels (deeper first f
src/services/api/errorUtils.ts:169
↓ 1 callersFunctionextractPipePositions
(rootNode: Node)
src/utils/bash/ParsedCommand.ts:113
↓ 1 callersFunctionextractPrefixBeforeHeredoc
* If the command contains a heredoc (<<), extract the command prefix before it. * Returns the first word(s) before the heredoc operator as a stable p
src/tools/BashTool/bashPermissions.ts:307
↓ 1 callersFunctionextractProviderPathFromArg
(arg: string)
src/tools/PowerShellTool/powershellPermissions.ts:985
↓ 1 callersFunctionextractQuoteContext
( rootNode: unknown, command: string, )
src/utils/bash/treeSitterAnalysis.ts:224
↓ 1 callersFunctionextractRedirectionNodes
(rootNode: Node)
src/utils/bash/ParsedCommand.ts:131
↓ 1 callersFunctionextractReviewFromLog
* Extract review content from the remote session log. * * Two producers, two event shapes: * - bughunter mode: run_hunt.sh is a SessionStart hook;
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:254
↓ 1 callersFunctionextractReviewTagFromLog
* Tag-only variant of extractReviewFromLog for delta scanning. * * Returns non-null ONLY when an explicit <remote-review> tag is found. * Unlike ex
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:295
↓ 1 callersFunctionextractSafeCatHeredoc
* Check if a command_substitution node is exactly `$(cat <<'DELIM'...DELIM)` * and return the heredoc body if so. Any deviation (extra args to cat,
src/utils/bash/ast.ts:1721
↓ 1 callersFunctionextractSandboxViolations
* Extracts sandbox violations from stderr if present * Returns both the cleaned stderr and the violations content
src/tools/BashTool/BashToolResultMessage.tsx:24
↓ 1 callersFunctionextractSectionName
Extract a human-readable name from a system prompt section's content
src/utils/analyzeContext.ts:261
↓ 1 callersFunctionextractSedExpressions
(command: string)
src/tools/BashTool/sedValidation.ts:388
↓ 1 callersFunctionextractServerMessage
(data: unknown)
src/utils/errorLogSink.ts:128
↓ 1 callersFunctionextractShotCountFromMessages
* Extract the shot count from PR attribution text in a `gh pr create` Bash call. * The attribution format is: "N-shotted by model-name" * Returns th
src/utils/stats.ts:940
↓ 1 callersFunctionextractSideQuestionResponse
* Extract a display string from forked agent messages. * * IMPORTANT: claude.ts yields one AssistantMessage PER CONTENT BLOCK, not one * per API re
src/utils/sideQuestion.ts:125
↓ 1 callersFunctionextractSkillName
( toolName: string, input: unknown, )
src/services/analytics/metadata.ts:215
↓ 1 callersFunctionextractSnippet
(text: string, query: string, contextChars: number)
src/components/LogSelector.tsx:91
↓ 1 callersFunctionextractTeammateOptions
(options: unknown)
src/main.tsx:4667
↓ 1 callersFunctionextractTeammateTranscriptsFromTasks
(tasks: { [taskId: string]: { type: string identity?: { agentId: string } messages?: Message[]
src/utils/sessionStorage.ts:4271
↓ 1 callersFunctionextractTeleportPlan
( content: ToolResultBlockParam['content'], )
src/utils/ultraplan/ccrSession.ts:321
↓ 1 callersFunctionextractTextFromValue
* Extract text from a queued command value. * For strings, returns the string. * For ContentBlockParam[], extracts text from text blocks.
src/utils/messageQueueManager.ts:382
↓ 1 callersFunctionextractTodoListFromLog
* Extract todo list from SDK messages (finds last TodoWrite tool use).
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:365
↓ 1 callersFunctionextractTodosFromTranscript
* Scan the transcript for the last TodoWrite tool_use block and return its todos. * Used to hydrate AppState.todos on SDK --resume so the model's tod
src/utils/sessionRestore.ts:77
↓ 1 callersFunctionextractToolInputForTelemetry
( input: unknown, )
src/services/analytics/metadata.ts:291
↓ 1 callersFunctionextractToolStats
(log: LogOption)
src/commands/insights.ts:467
↓ 1 callersFunctionextractToolUseBlock
( content: BetaContentBlock[], toolName: string, )
src/utils/permissions/classifierShared.ts:15
↓ 1 callersFunctionextractToolUseId
(message: AssistantMessage)
src/services/mcp/client.ts:3249
↓ 1 callersFunctionextractUrlScheme
* Extract URL scheme for telemetry. Defaults to 'gs' for unrecognized schemes * since the AKI backend is the only production path and the loader thro
src/tools/SkillTool/SkillTool.ts:949
↓ 1 callersFunctionextractUserMessageText
* Extract plain text from a replayed SDKUserMessage NDJSON line. Returns the * trimmed text if this looks like a real human-authored message, otherwi
src/bridge/sessionRunner.ts:207
↓ 1 callersFunctionextractUserMessages
(messages: Message[])
src/skills/bundled/skillify.ts:6
↓ 1 callersFunctionextractWritePathsFromSubcommand
* Extracts write paths from a subcommand using PATH_EXTRACTORS. * Only returns paths for commands that can create new files/directories * (write/cre
src/tools/BashTool/readOnlyValidation.ts:1795
↓ 1 callersFunctionextractWrittenPaths
(agentMessages: Message[])
src/services/extractMemories/extractMemories.ts:251
↓ 1 callersFunctionfailDreamTask
(taskId: string, setAppState: SetAppState)
src/tasks/DreamTask/DreamTask.ts:122
↓ 1 callersFunctionfetchAndStoreClaudeCodeFirstTokenDate
()
src/services/api/firstTokenDate.ts:12
↓ 1 callersFunctionfetchAndStoreUserRoles
( accessToken: string, )
src/services/oauth/client.ts:304
↓ 1 callersFunctionfetchBootstrapAPI
()
src/services/api/bootstrap.ts:42
↓ 1 callersFunctionfetchBootstrapData
()
src/services/api/bootstrap.ts:114
↓ 1 callersFunctionfetchChannels
( clients: MCPServerConnection[], query: string, )
src/utils/suggestions/slackChannelSuggestions.ts:29
↓ 1 callersFunctionfetchCodeSessionsFromSessionsAPI
()
src/utils/teleport/api.ts:204
↓ 1 callersFunctionfetchFastModeStatus
( auth: { accessToken: string } | { apiKey: string }, )
src/utils/fastMode.ts:367
↓ 1 callersFunctionfetchFromOrigin
* Fetches a specific branch from remote origin * @param branch The branch to fetch. If not specified, fetches all branches.
src/utils/teleport.tsx:187
↓ 1 callersFunctionfetchGitDiff
()
src/utils/gitDiff.ts:49
↓ 1 callersFunctionfetchGitDiffHunks
()
src/utils/gitDiff.ts:114
↓ 1 callersFunctionfetchInfo
()
src/components/RemoteEnvironmentDialog.tsx:48
↓ 1 callersFunctionfetchInstallCountsFromGitHub
* Fetch install counts from GitHub stats repository
src/utils/plugins/installCounts.ts:184
↓ 1 callersFunctionfetchLatestEvents
( ctx: HistoryAuthCtx, limit = HISTORY_PAGE_SIZE, )
src/assistant/sessionHistory.ts:73
↓ 1 callersFunctionfetchLogs
(limit?: number)
src/utils/sessionStorage.ts:2559
↓ 1 callersFunctionfetchOlderEvents
( ctx: HistoryAuthCtx, beforeId: string, limit = HISTORY_PAGE_SIZE, )
src/assistant/sessionHistory.ts:81
← previousnext →5,101–5,200 of 11,548, ranked by callers