MCPcopy Create free account

hub / github.com/Gitlawb/openclaude / functions

Functions15,760 in github.com/Gitlawb/openclaude

↓ 5 callersFunctionbuildRevParseFailureMessage
( baseBranch: string, stderr: string, exitCode: number, )
src/utils/worktree.ts:262
↓ 5 callersFunctionbuiltinStatusLineShouldDisplay
(settings: ReadonlySettings, config = getGlobalConfig())
src/components/BuiltinStatusLine.tsx:28
↓ 5 callersFunctionbyLabel
(label: string)
src/utils/status.test.ts:302
↓ 5 callersFunctioncalculateTokenWarningState
( tokenUsage: number, model: string, )
src/services/compact/autoCompact.ts:191
↓ 5 callersFunctioncalculateUSDCost
(resolvedModel: string, usage: Usage)
src/utils/modelCost.ts:188
↓ 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:1184
↓ 5 callersFunctioncategoryLine
(label: string, tokens: number, barMax: number, pctMax: number, width: number, c: string)
src/commands/ctx_viz/ctx-noninteractive.ts:135
↓ 5 callersFunctioncheckCriticalImportsForStubs
( criticalImports: CriticalImport[], )
src/entrypoints/sdk/stubLeakDetection.ts:38
↓ 5 callersMethodcheckDependencies
()
src/utils/sandbox/sandbox-adapter.ts:905
↓ 5 callersFunctioncheckDuplicates
( items: T[], kind: string, )
src/integrations/registry.ts:231
↓ 5 callersFunctioncheckNodeVersion
( raw: string | NodeExecutableVersionProbe = readNodeExecutableVersion(), )
scripts/system-check.ts:163
↓ 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 callersFunctioncheckPermissionMode
( input: z.infer<typeof BashTool.inputSchema>, toolPermissionContext: ToolPermissionContext, )
src/tools/BashTool/modeValidation.ts:168
↓ 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 callersFunctionclearDiscoveryCache
(routeId?: string)
src/integrations/discoveryCache.ts:419
↓ 5 callersFunctionclearOAuthTokenCache
()
src/utils/auth.ts:1329
↓ 5 callersFunctionclearStreamIdleTimers
()
src/services/api/claude.ts:1982
↓ 5 callersFunctioncodexStreamToAnthropic
( response: Response, model: string, signal?: AbortSignal, )
src/services/api/codexShim.ts:811
↓ 5 callersFunctioncomputeHash
(data: unknown)
src/services/api/promptCacheBreakDetection.ts:197
↓ 5 callersFunctioncomputeSetRouteUpdate
( settings: SettingsJson | null, agentType: string, modelKey: string, )
src/services/api/agentRouteSettings.ts:169
↓ 5 callersFunctionconnectSdkMcpServers
( mcpServers: Record<string, unknown> | undefined, )
src/entrypoints/sdk/permissions.ts:439
↓ 5 callersFunctionconsumeKeyword
(P: ParseState, name: string, kids: TsNode[])
src/utils/bash/bashParser.ts:3688
↓ 5 callersFunctioncontainsAnyKey
(value: RecordLike, keys: string[])
src/services/api/minimaxUsage/parse.ts:91
↓ 5 callersFunctioncontainsPathTraversal
(path: string)
src/utils/path.ts:182
↓ 5 callersFunctionconvertCodexResponseToAnthropicMessage
( data: Record<string, any>, model: string, )
src/services/api/codexShim.ts:1058
↓ 5 callersFunctioncountTextTokens
(text: string)
src/utils/hybridContextStrategy.ts:114
↓ 5 callersFunctioncountTokensWithFallback
( messages: Anthropic.Beta.Messages.BetaMessageParam[], tools: Anthropic.Beta.Messages.BetaToolUnion[], )
src/utils/analyzeContext.ts:78
↓ 5 callersFunctioncreateAgentDefinition
()
src/tools/AgentTool/runAgent.routing.test.ts:238
↓ 5 callersFunctioncreateCompressedImageResult
( buffer: Buffer, mediaType: string, originalSize: number, )
src/utils/imageResizer.ts:632
↓ 5 callersFunctioncreateConfigFile
(config: unknown)
src/utils/hookChains.integration.test.ts:27
↓ 5 callersFunctioncreateContentSummary
(content: ContentBlockParam[])
src/tools/BashTool/utils.ts:206
↓ 5 callersFunctioncreateDoctorCommandCall
( dependencies: DoctorReportDependencies = defaultDoctorReportDependencies, )
src/commands/doctor/doctor.tsx:100
↓ 5 callersFunctioncreateEnvMutexForTesting
()
src/entrypoints/sdk/shared.ts:167
↓ 5 callersFunctioncreateHyperlink
( url: string, content?: string, options?: HyperlinkOptions, )
src/utils/hyperlink.ts:24
↓ 5 callersFunctioncreateInteractiveMonitorPermission
()
src/components/permissions/MonitorPermissionRequest/MonitorPermissionRequest.test.tsx:176
↓ 5 callersFunctioncreateMockedQuery
* Create a Query with a MockQueryEngine wired in. * query() creates a real QueryEngine internally, which we immediately * replace with our mock via
tests/sdk/query-happy-path.test.ts:48
↓ 5 callersFunctioncreateMovedToPluginCommand
({ name, description, progressMessage, pluginName, pluginCommand, allowedTools, getPromptWhileMa
src/commands/createMovedToPluginCommand.ts:23
↓ 5 callersFunctioncreatePluginCommand
* Create a Command from a plugin markdown file
src/utils/plugins/loadPluginCommands.ts:221
↓ 5 callersFunctioncreateTestStreams
()
src/commands/replay/replay.test.tsx:79
↓ 5 callersFunctioncreateToolResultMessage
( tool: Tool<AnyObject, Output>, toolUseResult: Output, )
src/utils/messages.ts:4573
↓ 5 callersFunctioncreateToolUseContext
( mainLoopModel: string, queryLifecycle?: QueryLifecycleOperationTracker, )
src/tools/AgentTool/runAgent.routing.test.ts:254
↓ 5 callersFunctioncreateToolUseMessage
( toolName: string, input: { [key: string]: string | number }, )
src/utils/messages.ts:4610
↓ 5 callersFunctioncreateUserInterruptionMessage
({ toolUse = false, }: { toolUse?: boolean })
src/utils/messages.ts:561
↓ 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 callersFunctiondeleteProviderProfile
(profileId: string)
src/utils/providerProfiles.ts:1446
↓ 5 callersFunctionderiveMcpSkillName
(serverName: string, uri: string)
src/skills/mcpSkills.ts:22
↓ 5 callersFunctionderiveUUID
(parentUUID: UUID, index: number)
src/utils/messages.ts:741
↓ 5 callersFunctiondetectAndGetBackend
()
src/utils/swarm/backends/registry.ts:136
↓ 5 callersMethoddidStopImmediatePropagation
()
src/ink/events/event.ts:4
↓ 5 callersFunctiondiffMarketplaces
( declared: Record<string, DeclaredMarketplace>, materialized: KnownMarketplacesFile, opts?: { projectRo
src/utils/plugins/reconciler.ts:50
↓ 5 callersFunctiondiffToolInputsOnly
(filePath: string, edits: FileEdit[])
src/components/FileEditToolDiff.tsx:167
↓ 5 callersMethoddisconnect
* Disconnect from the remote session
src/remote/RemoteSessionManager.ts:309
↓ 5 callersFunctiondrainInterruptedQuery
(q: ReturnType<typeof query>)
tests/sdk/query-concurrency.test.ts:16
↓ 5 callersFunctionemitHookChainActionSkipped
(data: { ruleId: string actionType: HookChainAction['type'] actionId?: string eventName: HookEvent o
src/utils/hookChains.ts:1137
↓ 5 callersFunctionemitLoadError
* Emits an error message in the correct format based on outputFormat. * When using stream-json, writes JSON to stdout; otherwise writes plain text to
src/cli/print.ts:5025
↓ 5 callersFunctionenablePluginOp
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginOperations.ts:758
↓ 5 callersFunctionendActiveApiCall
(key = activeApiCallKey)
src/services/api/claude.ts:1568
↓ 5 callersMethodendOfLine
()
src/utils/Cursor.ts:479
↓ 5 callersFunctionenqueueMutation
* Serializes all Knowledge Graph mutations (SQLite, JSON & Orama) to prevent race conditions. * Uses AsyncLocalStorage to support re-entrant calls wi
src/utils/knowledgeGraph.ts:126
↓ 5 callersFunctionenqueueSdkEvent
(event: SdkEvent)
src/utils/sdkEventQueue.ts:77
↓ 5 callersFunctionenrichLogs
( allLogs: LogOption[], startIndex: number, count: number, )
src/utils/sessionStorage.ts:5479
↓ 5 callersFunctionensureConfigScope
(scope?: string)
src/services/mcp/utils.ts:301
↓ 5 callersFunctionensureFile
( filePath: string, content: string, createdFiles: string[], )
src/services/wiki/init.ts:118
↓ 5 callersFunctionenvWithOpenAI
( patch: Record<string, string | undefined>, )
scripts/provider-recommend.test.ts:4
↓ 5 callersFunctionescapeForDiff
(s: string)
src/utils/diff.ts:34
↓ 5 callersFunctionescapePowerShellSingleQuoted
* Windows-specific secure storage implementation using DPAPI for new writes, * with best-effort reads/deletes from the legacy PasswordVault path.
src/utils/secureStorage/windowsCredentialStorage.ts:16
↓ 5 callersFunctionescapeXmlAttr
(s: string | null | undefined)
src/utils/xml.ts:21
↓ 5 callersFunctionexec
( command: string, abortSignal: AbortSignal, shellType: ShellType, options?: ExecOptions, )
src/utils/Shell.ts:201
↓ 5 callersFunctionexecSync_DEPRECATED
( command: string, options?: ExecSyncOptions, )
src/utils/execSyncWrapper.ts:32
↓ 5 callersFunctionexecuteOperatorMotion
( op: Operator, motion: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:42
↓ 5 callersFunctionextractConnectionErrorDetails
( error: unknown, )
src/services/api/errorUtils.ts:42
↓ 5 callersFunctionextractDiscoveredToolNames
(messages: Message[])
src/utils/toolSearch.ts:583
↓ 5 callersFunctionextractFlag
(flag: string, opts: { hasValue?: boolean; as?: string; } = {})
src/main.tsx:706
↓ 5 callersFunctionextractSdkTextContent
(content: unknown[], separator = '')
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:108
↓ 5 callersFunctionfetchClinePassUsage
()
src/services/api/clinepassUsage/fetch.ts:32
↓ 5 callersFunctionfilterAnthropicHeaders
( headers: Record<string, string> | undefined, )
src/services/api/openaiShim.ts:136
↓ 5 callersFunctionfilterMcpServersByPolicy
(configs: Record<string, T>)
src/services/mcp/config.ts:536
↓ 5 callersFunctionfindProjectDir
( projectPath: string, )
src/utils/sessionStoragePortable.ts:350
↓ 5 callersFunctionfindProjectInstructionFilePathInAncestors
( startDir: string, existsSync: (path: string) => boolean, )
src/utils/projectInstructions.ts:30
↓ 5 callersFunctionfindingsFromValidationErrors
( validationErrors: ValidationError[], )
src/services/mcp/doctor.ts:147
↓ 5 callersFunctionfinishSelection
(s: SelectionState)
src/ink/selection.ts:116
↓ 5 callersFunctionfirstLineOf
(s: string)
src/utils/stringUtils.ts:44
↓ 5 callersFunctionfitSegments
(segments: StatusSegment[], maxWidth: number)
src/components/BuiltinStatusLine.tsx:94
↓ 5 callersFunctionflushContent
()
src/utils/bash/bashParser.ts:2347
↓ 5 callersFunctionfmtCoord
(c: [number, number] | undefined)
src/utils/computerUse/toolRendering.tsx:18
↓ 5 callersFunctionformatAgentAsMarkdown
( agentType: string, whenToUse: string, tools: string[] | undefined, systemPrompt: string, color?: s
src/components/agents/agentFileUtils.ts:20
↓ 5 callersFunctionformatCell
(tokens: Token[] | undefined)
src/components/MarkdownTable.tsx:84
↓ 5 callersFunctionformatCommandInput
(command: CommandBase, args: string)
src/utils/processUserInput/processSlashCommand.tsx:791
↓ 5 callersFunctionformatDelay
(ms: number)
src/bridge/bridgeMain.ts:1619
↓ 5 callersFunctionformatPathList
(paths: string[])
src/components/permissions/baseShellToolUseOptions.tsx:54
↓ 5 callersFunctionformatQueryLifecycleAbortSignalReason
(reason: string)
src/utils/queryLifecycle.ts:69
↓ 5 callersFunctionformatResetTime
( timestampInSeconds: number | undefined, showTimezone: boolean = false, showTime: boolean = true, )
src/utils/format.ts:240
↓ 5 callersFunctionformatSourceForDisplay
(source: MarketplaceSource)
src/utils/plugins/marketplaceHelpers.ts:510
↓ 5 callersFunctionformatUri
* Formats a URI by converting it to a relative path if possible. * Handles URI decoding and gracefully falls back to un-decoded path if malformed. *
src/tools/LSPTool/formatters.ts:24
↓ 5 callersFunctionfullResetSequence_CAUSES_FLICKER
( frame: Frame, reason: FlickerReason, stylePool: StylePool, debug?: { triggerY: number; prevLine: str
src/ink/log-update.ts:556
↓ 5 callersFunctiongeminiThoughtSignatureFromExtraContent
( extraContent: unknown, )
src/services/api/openaiShim.ts:187
↓ 5 callersFunctiongenerateIntegrationArtifacts
( options: GenerateIntegrationArtifactsOptions = {}, )
src/integrations/artifactGenerator.ts:458
← previousnext →2,001–2,100 of 15,760, ranked by callers