Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gitlawb/openclaude
/ functions
Functions
15,760 in github.com/Gitlawb/openclaude
⨍
Functions
15,760
◇
Types & classes
602
↓ 7 callers
Function
deriveCollapseId
(_uuid: string)
src/services/contextCollapse/collapseUtils.ts:9
↓ 7 callers
Function
detectBestProvider
(options?: { env?: EnvLike fetchImpl?: typeof fetch timeoutMs?: number /** Skip local-service probes —
src/utils/providerAutoDetect.ts:356
↓ 7 callers
Function
detectCurrentRepositoryWithHost
()
src/utils/detectRepository.ts:32
↓ 7 callers
Function
detectModeEntry
(args: { value: string prevInputLength: number cursorOffset: number })
src/components/PromptInput/inputModes.ts:48
↓ 7 callers
Function
diagnosticCount
(files: DiagnosticFile[])
src/services/lsp/LSPDiagnosticRegistry.test.ts:46
↓ 7 callers
Function
doctorAllServers
( options: { configOnly: boolean; scopeFilter?: McpDoctorScopeFilter } = { configOnly: false, }, dep
src/services/mcp/doctor.ts:625
↓ 7 callers
Function
drain
( generator: AsyncGenerator<T, TReturn>, )
src/query/autoCompactCooldown.test.ts:175
↓ 7 callers
Function
drain
(params: QueryParams)
src/query/agentStepLimit.test.ts:121
↓ 7 callers
Method
drop
* Discard all queued items (permanent transport close). * Returns the number of items dropped.
src/bridge/flushGate.ts:56
↓ 7 callers
Function
editFileInEditor
(filePath: string)
src/utils/promptEditor.ts:31
↓ 7 callers
Function
editPromptInEditor
( currentPrompt: string, pastedContents?: Record<number, PastedContent>, )
src/utils/promptEditor.ts:138
↓ 7 callers
Function
effortCalloutCoversModel
(model: string)
src/components/EffortCallout.tsx:223
↓ 7 callers
Function
estimateMessageTokens
(messages: Message[])
src/services/compact/microCompact.ts:163
↓ 7 callers
Function
estimateTokens
* Rough per-message token estimate: content length ÷ 4.
src/services/compact/snipCompact.ts:76
↓ 7 callers
Function
evaluateGoal
({ goal, messages, signal, isNonInteractiveSession, modelCaller = defaultModelCaller, }: { goal: G
src/services/goal/evaluator.ts:235
↓ 7 callers
Function
evictSpeculativeChecks
* 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 callers
Function
execTmux
* 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 callers
Function
extractErrorDetail
(data: unknown)
src/bridge/debugUtils.ts:106
↓ 7 callers
Function
extractJsonStringField
( text: string, key: string, )
src/utils/sessionStoragePortable.ts:53
↓ 7 callers
Function
extractOutputRedirections
(cmd: string)
src/utils/bash/commands.ts:634
↓ 7 callers
Function
filterModelOptionsByAllowlist
(options: ModelOption[])
src/commands/model/model.tsx:130
↓ 7 callers
Function
findShadowingSource
( sources: SettingsWithSources['sources'], agentType: string, )
src/services/api/agentRouteSettings.ts:61
↓ 7 callers
Function
finish
(result: { stdout: string stderr: string code: number error?: string })
src/utils/execFileNoThrow.ts:230
↓ 7 callers
Function
finishProfileSave
( onDone: LocalJSXCommandOnDone, profile: ProviderProfile, env: ProfileEnv, )
src/commands/provider/provider.tsx:545
↓ 7 callers
Function
finishRecording
()
src/hooks/useVoice.ts:322
↓ 7 callers
Function
followLogFile
( path: string, offset: number, options: FollowLogOptions = {}, )
src/cli/bg.ts:604
↓ 7 callers
Function
formatOutput
(content: string)
src/tools/BashTool/utils.ts:133
↓ 7 callers
Function
formatRelativeTimeAgo
( date: Date, options: RelativeTimeOptions & { now?: Date } = {}, )
src/utils/format.ts:188
↓ 7 callers
Function
freshMod
()
src/services/teamMemorySync/watcher.test.ts:28
↓ 7 callers
Function
generateTaskId
(type: TaskType)
src/Task.ts:98
↓ 7 callers
Function
getAPIProviderForStatsig
()
src/utils/model/providers.ts:112
↓ 7 callers
Function
getAnthropicApiKey
()
src/utils/auth.ts:226
↓ 7 callers
Function
getAssistantMessageId
* 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 callers
Function
getAuthHeaders
* Get auth headers for policy limits without calling getSettings() * Supports both API key and OAuth authentication
src/services/policyLimits/index.ts:227
↓ 7 callers
Function
getAvailableProviders
()
src/tools/WebSearchTool/providers/index.ts:71
↓ 7 callers
Function
getClaudeAiBaseUrl
( sessionId?: string, ingressUrl?: string, )
src/constants/product.ts:97
↓ 7 callers
Function
getClaudeInChromePermissionMode
(toolPermissionMode: PermissionMode)
src/hooks/usePromptsFromClaudeInChrome.tsx:27
↓ 7 callers
Function
getCurrentTurnTokenBudget
()
src/bootstrap/state.ts:776
↓ 7 callers
Function
getCurrentUsage
(messages: Message[])
src/utils/tokens.ts:278
↓ 7 callers
Function
getDebugLogPath
()
src/utils/debug.ts:230
↓ 7 callers
Function
getEmptyDiscoveryCache
()
src/integrations/discoveryCache.ts:65
↓ 7 callers
Function
getEnabledSettingSources
()
src/utils/settings/constants.ts:161
↓ 7 callers
Function
getEnvValue
(name: string)
src/utils/githubModelsCredentials.hydrate.test.ts:23
↓ 7 callers
Function
getErrorParts
(error: Error)
src/utils/toolErrors.ts:26
↓ 7 callers
Function
getFastModeUnavailableReason
()
src/utils/fastMode.ts:75
↓ 7 callers
Function
getFeatureValue_CACHED_WITH_REFRESH
( _featureName: string, defaultValue: T, // Refresh interval accepted for callsite compatibility; this loca
src/services/analytics/growthbook.ts:122
↓ 7 callers
Function
getFirstText
(message: ReturnType<typeof getAssistantMessageFromError>)
src/services/api/errors.openaiCompatibility.test.ts:6
↓ 7 callers
Method
getInstance
()
src/utils/activityManager.ts:29
↓ 7 callers
Function
getMCPUserAgent
()
src/utils/http.ts:38
↓ 7 callers
Function
getMarketplacesCacheDir
()
src/utils/plugins/marketplaceManager.ts:175
↓ 7 callers
Function
getMemoryPath
(memoryType: MemoryType)
src/utils/config.ts:2035
↓ 7 callers
Function
getNextPermissionMode
( toolPermissionContext: ToolPermissionContext, _teamContext?: { leadAgentId: string }, )
src/utils/permissions/getNextPermissionMode.ts:34
↓ 7 callers
Function
getPreservedSelection
(prevSuggestions: SuggestionItem[], prevSelection: number, newSuggestions: SuggestionItem[])
src/hooks/useTypeahead.tsx:61
↓ 7 callers
Function
getRemoteManagedSettingsSyncFromCache
()
src/services/remoteManagedSettings/syncCacheState.ts:70
↓ 7 callers
Function
getSettingsWithSources
()
src/utils/settings/settings.ts:851
↓ 7 callers
Function
getSourceType
(config: ScopedMcpServerConfig)
src/services/mcp/doctor.ts:189
↓ 7 callers
Function
getSpanUuids
( messages: Message[], firstUuid: string, lastUuid: string, )
src/services/contextCollapse/collapseUtils.ts:14
↓ 7 callers
Function
getTeamMemPath
()
src/memdir/teamMemPaths.ts:84
↓ 7 callers
Function
getUserMsgOptIn
()
src/bootstrap/state.ts:1042
↓ 7 callers
Function
getXaaIdpSettings
()
src/services/mcp/xaaIdpLogin.ts:51
↓ 7 callers
Function
getXaiOAuthClientId
( env: NodeJS.ProcessEnv = process.env, )
src/services/api/xaiOAuthShared.ts:41
↓ 7 callers
Function
handleStopHooks
( messagesForQuery: Message[], assistantMessages: AssistantMessage[], systemPrompt: SystemPrompt, user
src/query/stopHooks.ts:86
↓ 7 callers
Function
handler
()
src/ink/reconciler.test.ts:263
↓ 7 callers
Function
hasConflictingOpenAIBaseUrlForRoute
( processEnv: NodeJS.ProcessEnv, isRouteBaseUrl: (value: string | undefined) => boolean, )
src/integrations/routeMetadata.ts:481
↓ 7 callers
Function
hasMultipleModels
(modelField: string)
src/utils/providerModels.ts:33
↓ 7 callers
Function
hasNoExplicitNonOpenAICompatibleProvider
( processEnv: NodeJS.ProcessEnv, )
src/integrations/routeMetadata.ts:495
↓ 7 callers
Function
hasProfileScope
()
src/utils/auth.ts:1601
↓ 7 callers
Function
id
(n: number)
src/utils/conversationRecovery.hooks.test.ts:23
↓ 7 callers
Function
importCompact
* 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 callers
Function
importFreshProviderConfig
( cacheKey: string, )
src/services/api/providerConfig.codexSecureStorage.test.ts:11
↓ 7 callers
Function
inferExportFormatFromFilename
(filename: string)
src/utils/exportFormats.ts:33
↓ 7 callers
Function
is1mContextDisabled
()
src/utils/context.ts:138
↓ 7 callers
Function
isContextCollapseEnabled
()
src/services/contextCollapse/index.ts:85
↓ 7 callers
Function
isEscapedAtPosition
* 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 callers
Function
isJetBrainsIde
(ide: IdeType | null)
src/utils/ide.ts:265
↓ 7 callers
Function
isKeybindingCustomizationEnabled
()
src/keybindings/loadUserBindings.ts:41
↓ 7 callers
Function
isLocalhostLikeHost
(host: string | null | undefined)
src/services/api/openaiErrorClassification.ts:118
↓ 7 callers
Function
isMainThreadCacheParamSource
(querySource: QuerySource)
src/query/stopHooks.ts:82
↓ 7 callers
Function
isPluginBlockedByPolicy
(pluginId: string)
src/utils/plugins/pluginPolicy.ts:17
↓ 7 callers
Function
isProviderOverride
(route: AgentRoute)
src/services/api/agentRouting.ts:26
↓ 7 callers
Function
isRetryableOpenAICompatibilityFailureCategory
( category: OpenAICompatibilityFailureCategory, )
src/services/api/openaiErrorClassification.ts:68
↓ 7 callers
Function
isSchemaRecord
(value: unknown)
src/utils/schemaSanitizer.ts:21
↓ 7 callers
Function
isTextBlock
(block: unknown)
src/utils/exportRenderer.tsx:430
↓ 7 callers
Function
isToolSearchEnabledOptimistic
()
src/utils/toolSearch.ts:308
↓ 7 callers
Function
isUnsafeDotGitWritePathForPowerShell
( path: string, toolPermissionContext: ToolPermissionContext, )
src/tools/PowerShellTool/powershellPermissions.ts:88
↓ 7 callers
Function
isVimPunctuation
(ch: string)
src/utils/Cursor.ts:142
↓ 7 callers
Function
isVimWordChar
(ch: string)
src/utils/Cursor.ts:138
↓ 7 callers
Function
isWs
(idx: number)
src/vim/textObjects.ts:87
↓ 7 callers
Function
launchRepl
(root: Root, appProps: AppWrapperProps, replProps: REPLProps, renderAndRun: (root: Root, element: React.ReactN
src/replLauncher.tsx:12
↓ 7 callers
Function
listFiles
(cwd: string)
src/commands/export/export.test.ts:38
↓ 7 callers
Function
loadPluginHooks
* 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 callers
Function
localSettingsPath
()
src/components/TrustDialog/utils.ts:13
↓ 7 callers
Function
logUnaryPermissionEvent
( completion_type: CompletionType, { assistantMessage: { message: { id: message_id }, }, }
src/components/permissions/utils.ts:5
↓ 7 callers
Function
makeInvalidResult
( command: string, message: string, errorId: string, )
src/utils/powershell/parser.ts:653
↓ 7 callers
Function
makeMessageId
()
src/services/api/openaiShim.ts:1374
↓ 7 callers
Function
makeParams
( callModel: QueryDeps['callModel'], tools: Tools = [], agentStepLimit?: { maxSteps: number; agentType:
src/query/agentStepLimit.test.ts:95
↓ 7 callers
Function
markGoalEvaluated
( goal: GoalState, opts: { evaluatedMessageUuid: string decision: Exclude<GoalDecision, 'complete'
src/services/goal/state.ts:109
↓ 7 callers
Function
mergeUserMessages
(a: UserMessage, b: UserMessage)
src/utils/messages.ts:2670
↓ 7 callers
Function
microcompactMessages
( messages: Message[], toolUseContext?: ToolUseContext, querySource?: QuerySource, )
src/services/compact/microCompact.ts:252
↓ 7 callers
Function
migrateLegacyClaudeConfigHome
(options?: { configDirEnv?: string homeDir?: string })
src/utils/envUtils.ts:108
← previous
next →
1,401–1,500 of 15,760, ranked by callers