MCPcopy Create free account

hub / github.com/Gitlawb/openclaude / functions

Functions15,760 in github.com/Gitlawb/openclaude

↓ 7 callersFunctionderiveCollapseId
(_uuid: string)
src/services/contextCollapse/collapseUtils.ts:9
↓ 7 callersFunctiondetectBestProvider
(options?: { env?: EnvLike fetchImpl?: typeof fetch timeoutMs?: number /** Skip local-service probes —
src/utils/providerAutoDetect.ts:356
↓ 7 callersFunctiondetectCurrentRepositoryWithHost
()
src/utils/detectRepository.ts:32
↓ 7 callersFunctiondetectModeEntry
(args: { value: string prevInputLength: number cursorOffset: number })
src/components/PromptInput/inputModes.ts:48
↓ 7 callersFunctiondiagnosticCount
(files: DiagnosticFile[])
src/services/lsp/LSPDiagnosticRegistry.test.ts:46
↓ 7 callersFunctiondoctorAllServers
( options: { configOnly: boolean; scopeFilter?: McpDoctorScopeFilter } = { configOnly: false, }, dep
src/services/mcp/doctor.ts:625
↓ 7 callersFunctiondrain
( generator: AsyncGenerator<T, TReturn>, )
src/query/autoCompactCooldown.test.ts:175
↓ 7 callersFunctiondrain
(params: QueryParams)
src/query/agentStepLimit.test.ts:121
↓ 7 callersMethoddrop
* Discard all queued items (permanent transport close). * Returns the number of items dropped.
src/bridge/flushGate.ts:56
↓ 7 callersFunctioneditFileInEditor
(filePath: string)
src/utils/promptEditor.ts:31
↓ 7 callersFunctioneditPromptInEditor
( currentPrompt: string, pastedContents?: Record<number, PastedContent>, )
src/utils/promptEditor.ts:138
↓ 7 callersFunctioneffortCalloutCoversModel
(model: string)
src/components/EffortCallout.tsx:223
↓ 7 callersFunctionestimateMessageTokens
(messages: Message[])
src/services/compact/microCompact.ts:163
↓ 7 callersFunctionestimateTokens
* Rough per-message token estimate: content length ÷ 4.
src/services/compact/snipCompact.ts:76
↓ 7 callersFunctionevaluateGoal
({ goal, messages, signal, isNonInteractiveSession, modelCaller = defaultModelCaller, }: { goal: G
src/services/goal/evaluator.ts:235
↓ 7 callersFunctionevictSpeculativeChecks
* Remove the oldest entries from speculativeChecks until the map is within * the MAX_SPECULATIVE_CHECKS_SIZE cap. Eviction is FIFO based on insertion
src/tools/BashTool/bashPermissions.ts:1506
↓ 7 callersFunctionexecTmux
* Executes a tmux command, routing through WSL on Windows. * On Windows, tmux only exists inside WSL — WSL interop lets the tmux session * launch .e
src/utils/tmuxSocket.ts:44
↓ 7 callersFunctionextractErrorDetail
(data: unknown)
src/bridge/debugUtils.ts:106
↓ 7 callersFunctionextractJsonStringField
( text: string, key: string, )
src/utils/sessionStoragePortable.ts:53
↓ 7 callersFunctionextractOutputRedirections
(cmd: string)
src/utils/bash/commands.ts:634
↓ 7 callersFunctionfilterModelOptionsByAllowlist
(options: ModelOption[])
src/commands/model/model.tsx:130
↓ 7 callersFunctionfindShadowingSource
( sources: SettingsWithSources['sources'], agentType: string, )
src/services/api/agentRouteSettings.ts:61
↓ 7 callersFunctionfinish
(result: { stdout: string stderr: string code: number error?: string })
src/utils/execFileNoThrow.ts:230
↓ 7 callersFunctionfinishProfileSave
( onDone: LocalJSXCommandOnDone, profile: ProviderProfile, env: ProfileEnv, )
src/commands/provider/provider.tsx:545
↓ 7 callersFunctionfinishRecording
()
src/hooks/useVoice.ts:322
↓ 7 callersFunctionfollowLogFile
( path: string, offset: number, options: FollowLogOptions = {}, )
src/cli/bg.ts:604
↓ 7 callersFunctionformatOutput
(content: string)
src/tools/BashTool/utils.ts:133
↓ 7 callersFunctionformatRelativeTimeAgo
( date: Date, options: RelativeTimeOptions & { now?: Date } = {}, )
src/utils/format.ts:188
↓ 7 callersFunctionfreshMod
()
src/services/teamMemorySync/watcher.test.ts:28
↓ 7 callersFunctiongenerateTaskId
(type: TaskType)
src/Task.ts:98
↓ 7 callersFunctiongetAPIProviderForStatsig
()
src/utils/model/providers.ts:112
↓ 7 callersFunctiongetAnthropicApiKey
()
src/utils/auth.ts:226
↓ 7 callersFunctiongetAssistantMessageId
* Get the API response id for an assistant message with real (non-synthetic) usage. * Used to identify split assistant records that came from the sam
src/utils/tokens.ts:59
↓ 7 callersFunctiongetAuthHeaders
* Get auth headers for policy limits without calling getSettings() * Supports both API key and OAuth authentication
src/services/policyLimits/index.ts:227
↓ 7 callersFunctiongetAvailableProviders
()
src/tools/WebSearchTool/providers/index.ts:71
↓ 7 callersFunctiongetClaudeAiBaseUrl
( sessionId?: string, ingressUrl?: string, )
src/constants/product.ts:97
↓ 7 callersFunctiongetClaudeInChromePermissionMode
(toolPermissionMode: PermissionMode)
src/hooks/usePromptsFromClaudeInChrome.tsx:27
↓ 7 callersFunctiongetCurrentTurnTokenBudget
()
src/bootstrap/state.ts:776
↓ 7 callersFunctiongetCurrentUsage
(messages: Message[])
src/utils/tokens.ts:278
↓ 7 callersFunctiongetDebugLogPath
()
src/utils/debug.ts:230
↓ 7 callersFunctiongetEmptyDiscoveryCache
()
src/integrations/discoveryCache.ts:65
↓ 7 callersFunctiongetEnabledSettingSources
()
src/utils/settings/constants.ts:161
↓ 7 callersFunctiongetEnvValue
(name: string)
src/utils/githubModelsCredentials.hydrate.test.ts:23
↓ 7 callersFunctiongetErrorParts
(error: Error)
src/utils/toolErrors.ts:26
↓ 7 callersFunctiongetFastModeUnavailableReason
()
src/utils/fastMode.ts:75
↓ 7 callersFunctiongetFeatureValue_CACHED_WITH_REFRESH
( _featureName: string, defaultValue: T, // Refresh interval accepted for callsite compatibility; this loca
src/services/analytics/growthbook.ts:122
↓ 7 callersFunctiongetFirstText
(message: ReturnType<typeof getAssistantMessageFromError>)
src/services/api/errors.openaiCompatibility.test.ts:6
↓ 7 callersMethodgetInstance
()
src/utils/activityManager.ts:29
↓ 7 callersFunctiongetMCPUserAgent
()
src/utils/http.ts:38
↓ 7 callersFunctiongetMarketplacesCacheDir
()
src/utils/plugins/marketplaceManager.ts:175
↓ 7 callersFunctiongetMemoryPath
(memoryType: MemoryType)
src/utils/config.ts:2035
↓ 7 callersFunctiongetNextPermissionMode
( toolPermissionContext: ToolPermissionContext, _teamContext?: { leadAgentId: string }, )
src/utils/permissions/getNextPermissionMode.ts:34
↓ 7 callersFunctiongetPreservedSelection
(prevSuggestions: SuggestionItem[], prevSelection: number, newSuggestions: SuggestionItem[])
src/hooks/useTypeahead.tsx:61
↓ 7 callersFunctiongetRemoteManagedSettingsSyncFromCache
()
src/services/remoteManagedSettings/syncCacheState.ts:70
↓ 7 callersFunctiongetSettingsWithSources
()
src/utils/settings/settings.ts:851
↓ 7 callersFunctiongetSourceType
(config: ScopedMcpServerConfig)
src/services/mcp/doctor.ts:189
↓ 7 callersFunctiongetSpanUuids
( messages: Message[], firstUuid: string, lastUuid: string, )
src/services/contextCollapse/collapseUtils.ts:14
↓ 7 callersFunctiongetTeamMemPath
()
src/memdir/teamMemPaths.ts:84
↓ 7 callersFunctiongetUserMsgOptIn
()
src/bootstrap/state.ts:1042
↓ 7 callersFunctiongetXaaIdpSettings
()
src/services/mcp/xaaIdpLogin.ts:51
↓ 7 callersFunctiongetXaiOAuthClientId
( env: NodeJS.ProcessEnv = process.env, )
src/services/api/xaiOAuthShared.ts:41
↓ 7 callersFunctionhandleStopHooks
( messagesForQuery: Message[], assistantMessages: AssistantMessage[], systemPrompt: SystemPrompt, user
src/query/stopHooks.ts:86
↓ 7 callersFunctionhandler
()
src/ink/reconciler.test.ts:263
↓ 7 callersFunctionhasConflictingOpenAIBaseUrlForRoute
( processEnv: NodeJS.ProcessEnv, isRouteBaseUrl: (value: string | undefined) => boolean, )
src/integrations/routeMetadata.ts:481
↓ 7 callersFunctionhasMultipleModels
(modelField: string)
src/utils/providerModels.ts:33
↓ 7 callersFunctionhasNoExplicitNonOpenAICompatibleProvider
( processEnv: NodeJS.ProcessEnv, )
src/integrations/routeMetadata.ts:495
↓ 7 callersFunctionhasProfileScope
()
src/utils/auth.ts:1601
↓ 7 callersFunctionid
(n: number)
src/utils/conversationRecovery.hooks.test.ts:23
↓ 7 callersFunctionimportCompact
* Import the compact module with all transitive dependencies stubbed. * * **Provider gate control via environment variables:** * - The `isAnthropic
src/services/compact/compact.test.ts:612
↓ 7 callersFunctionimportFreshProviderConfig
( cacheKey: string, )
src/services/api/providerConfig.codexSecureStorage.test.ts:11
↓ 7 callersFunctioninferExportFormatFromFilename
(filename: string)
src/utils/exportFormats.ts:33
↓ 7 callersFunctionis1mContextDisabled
()
src/utils/context.ts:138
↓ 7 callersFunctionisContextCollapseEnabled
()
src/services/contextCollapse/index.ts:85
↓ 7 callersFunctionisEscapedAtPosition
* Checks if a character at position `pos` in `content` is escaped by counting * consecutive backslashes before it. An odd number means it's escaped.
src/tools/BashTool/bashSecurity.ts:1743
↓ 7 callersFunctionisJetBrainsIde
(ide: IdeType | null)
src/utils/ide.ts:265
↓ 7 callersFunctionisKeybindingCustomizationEnabled
()
src/keybindings/loadUserBindings.ts:41
↓ 7 callersFunctionisLocalhostLikeHost
(host: string | null | undefined)
src/services/api/openaiErrorClassification.ts:118
↓ 7 callersFunctionisMainThreadCacheParamSource
(querySource: QuerySource)
src/query/stopHooks.ts:82
↓ 7 callersFunctionisPluginBlockedByPolicy
(pluginId: string)
src/utils/plugins/pluginPolicy.ts:17
↓ 7 callersFunctionisProviderOverride
(route: AgentRoute)
src/services/api/agentRouting.ts:26
↓ 7 callersFunctionisRetryableOpenAICompatibilityFailureCategory
( category: OpenAICompatibilityFailureCategory, )
src/services/api/openaiErrorClassification.ts:68
↓ 7 callersFunctionisSchemaRecord
(value: unknown)
src/utils/schemaSanitizer.ts:21
↓ 7 callersFunctionisTextBlock
(block: unknown)
src/utils/exportRenderer.tsx:430
↓ 7 callersFunctionisToolSearchEnabledOptimistic
()
src/utils/toolSearch.ts:308
↓ 7 callersFunctionisUnsafeDotGitWritePathForPowerShell
( path: string, toolPermissionContext: ToolPermissionContext, )
src/tools/PowerShellTool/powershellPermissions.ts:88
↓ 7 callersFunctionisVimPunctuation
(ch: string)
src/utils/Cursor.ts:142
↓ 7 callersFunctionisVimWordChar
(ch: string)
src/utils/Cursor.ts:138
↓ 7 callersFunctionisWs
(idx: number)
src/vim/textObjects.ts:87
↓ 7 callersFunctionlaunchRepl
(root: Root, appProps: AppWrapperProps, replProps: REPLProps, renderAndRun: (root: Root, element: React.ReactN
src/replLauncher.tsx:12
↓ 7 callersFunctionlistFiles
(cwd: string)
src/commands/export/export.test.ts:38
↓ 7 callersFunctionloadPluginHooks
* Loads and validates plugin hooks configuration from a JSON file. * IMPORTANT: Only call this when the hooks file is expected to exist. * * @param
src/utils/plugins/pluginLoader.ts:1231
↓ 7 callersFunctionlocalSettingsPath
()
src/components/TrustDialog/utils.ts:13
↓ 7 callersFunctionlogUnaryPermissionEvent
( completion_type: CompletionType, { assistantMessage: { message: { id: message_id }, }, }
src/components/permissions/utils.ts:5
↓ 7 callersFunctionmakeInvalidResult
( command: string, message: string, errorId: string, )
src/utils/powershell/parser.ts:653
↓ 7 callersFunctionmakeMessageId
()
src/services/api/openaiShim.ts:1374
↓ 7 callersFunctionmakeParams
( callModel: QueryDeps['callModel'], tools: Tools = [], agentStepLimit?: { maxSteps: number; agentType:
src/query/agentStepLimit.test.ts:95
↓ 7 callersFunctionmarkGoalEvaluated
( goal: GoalState, opts: { evaluatedMessageUuid: string decision: Exclude<GoalDecision, 'complete'
src/services/goal/state.ts:109
↓ 7 callersFunctionmergeUserMessages
(a: UserMessage, b: UserMessage)
src/utils/messages.ts:2670
↓ 7 callersFunctionmicrocompactMessages
( messages: Message[], toolUseContext?: ToolUseContext, querySource?: QuerySource, )
src/services/compact/microCompact.ts:252
↓ 7 callersFunctionmigrateLegacyClaudeConfigHome
(options?: { configDirEnv?: string homeDir?: string })
src/utils/envUtils.ts:108
← previousnext →1,401–1,500 of 15,760, ranked by callers