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
↓ 12 callers
Function
qwenModel
( id: string, label: string, contextWindow: number, maxOutputTokens: number, )
src/integrations/models/qwen.ts:12
↓ 12 callers
Function
readAgentRoute
( settings: SettingsJson | null, agentType: string, )
src/services/api/agentRouteSettings.ts:147
↓ 12 callers
Function
refreshProfiles
()
src/components/ProviderManager.tsx:1075
↓ 12 callers
Function
resetOutput
(harness: Harness, width: number, height: number)
src/ink/output.test.ts:36
↓ 12 callers
Function
run
(args: string[])
src/commands.test.ts:278
↓ 12 callers
Function
runBranch
( args: string, messages: Message[] = [], contextOverrides: Partial<LocalJSXCommandContext> & { omit
src/commands/branch/branch.test.ts:272
↓ 12 callers
Function
runWithCwdOverride
(cwd: string, fn: () => T)
src/utils/cwd.ts:12
↓ 12 callers
Method
score
Lower score = better provider. strategy: 'latency' | 'cost' | 'balanced'
python/smart_router.py:70
↓ 12 callers
Function
setCachedModels
( routeId: string, entry: { models: ModelCatalogEntry[] updatedAt?: number }, )
src/integrations/discoveryCache.ts:380
↓ 12 callers
Function
setSessionSettingsCache
(value: SettingsWithErrors)
src/utils/settings/settingsCache.ts:11
↓ 12 callers
Function
setupSourceTranscript
( entries: Record<string, unknown>[], options: { separateSessionProjectDir?: boolean } = {}, )
src/commands/branch/branch.test.ts:243
↓ 12 callers
Function
shouldIncludeScope
( scope: ConfigScope, scopeFilter: McpDoctorScopeFilter | undefined, )
src/services/mcp/doctor.ts:267
↓ 12 callers
Function
snakeToCamel
(s: string)
src/entrypoints/sdk/casing.ts:10
↓ 12 callers
Function
systemPromptSection
( name: string, compute: ComputeFn, )
src/constants/systemPromptSections.ts:20
↓ 12 callers
Function
toPersistableEffort
( value: EffortValue | undefined, )
src/utils/effort.ts:806
↓ 12 callers
Method
trackToolStart
* Track the start of a tool execution.
src/utils/replayIndexBuilder.ts:82
↓ 12 callers
Function
updateValidationError
(fieldName_1: string, error?: string)
src/components/mcp/ElicitationDialog.tsx:345
↓ 12 callers
Function
useLanguage
(language?: string)
src/commands.test.ts:32
↓ 12 callers
Function
useMainLoopModel
()
src/hooks/useMainLoopModel.ts:13
↓ 12 callers
Function
useSettings
( settings: SettingsJson & { providerProfileModelPickerMode?: ProviderProfileModelPickerModeForTest },
src/commands/model/model.test.tsx:86
↓ 12 callers
Function
user
( uuid: UUID, parentUuid: UUID | null, content: string | ToolResultBlockParam[], )
src/utils/sessionStorage.test.ts:59
↓ 12 callers
Function
userWithToolResults
(...ids: string[])
src/utils/messages.toolPairingDiagnostics.test.ts:25
↓ 11 callers
Function
asString
(value: unknown)
src/services/api/codexUsage.ts:58
↓ 11 callers
Function
assistant
(uuid: UUID, parentUuid: UUID | null, text: string)
src/utils/sessionStorage.test.ts:75
↓ 11 callers
Function
bashCommandIsSafe_DEPRECATED
( command: string, )
src/tools/BashTool/bashSecurity.ts:2277
↓ 11 callers
Function
boundAxis
( style: Style, isWidth: boolean, value: number, ownerWidth: number, ownerHeight: number, )
src/native-ts/yoga-layout/index.ts:2352
↓ 11 callers
Function
buildConversationChain
( messages: Map<UUID, TranscriptMessage>, leafMessage: TranscriptMessage, )
src/utils/sessionStorage.ts:2424
↓ 11 callers
Function
buildProfileSaveMessage
( profile: ProviderProfile, env: ProfileEnv, filePath: string, options?: { activatedInSession?: bo
src/commands/provider/provider.tsx:492
↓ 11 callers
Function
call
(onDone, _context, args)
src/commands/model/model.tsx:1104
↓ 11 callers
Function
callTeammateAgentTool
( AgentTool: typeof import('./AgentTool.js').AgentTool, input: { model?: string subagent_type?: st
src/tools/AgentTool/AgentTool.teammateModel.test.ts:185
↓ 11 callers
Function
claim
()
src/hooks/toolPermission/PermissionContext.ts:93
↓ 11 callers
Function
cleanup
()
src/hooks/useDiffInIDE.ts:234
↓ 11 callers
Function
clearServerCache
( name: string, serverRef: ScopedMcpServerConfig, )
src/services/mcp/client.ts:1690
↓ 11 callers
Function
colorize
(text: string, colorKey?: keyof Theme)
src/utils/treeify.ts:50
↓ 11 callers
Function
countToolUses
* Count the number of tool uses in a message (handles grouped tool uses).
src/utils/collapseReadSearch.ts:513
↓ 11 callers
Function
coworkOption
()
src/main.tsx:4018
↓ 11 callers
Function
createFakeClock
(startMs = 0)
src/cli/headlessHeartbeat.test.ts:19
↓ 11 callers
Function
createProgressTracker
()
src/tasks/LocalAgentTask/LocalAgentTask.tsx:50
↓ 11 callers
Function
createScreen
( width: number, height: number, styles: StylePool, charPool: CharPool, hyperlinkPool: HyperlinkPool
src/ink/screen.ts:451
↓ 11 callers
Function
detectCodeIndexingFromCommand
( command: string, )
src/utils/codeIndexing.ts:132
↓ 11 callers
Function
detectContentType
(content: string)
src/services/tokenEstimation.ts:381
↓ 11 callers
Function
diagnosticFile
(uri: string, messages: string[])
src/services/lsp/LSPDiagnosticRegistry.test.ts:39
↓ 11 callers
Function
done
(timedOut: boolean)
src/utils/process.ts:55
↓ 11 callers
Method
enqueue
(value: T)
src/utils/stream.ts:38
↓ 11 callers
Function
envHasNonEmpty
(env: EnvLike, key: string)
src/utils/providerAutoDetect.ts:68
↓ 11 callers
Function
exitTeammateView
( setAppState: (updater: (prev: AppState) => AppState) => void, )
src/state/teammateViewHelpers.ts:88
↓ 11 callers
Function
flushSessionStorage
()
src/utils/sessionStorage.ts:1686
↓ 11 callers
Function
getActiveAgentsFromList
( allAgents: AgentDefinition[], )
src/tools/AgentTool/loadAgentsDir.ts:201
↓ 11 callers
Function
getAgentTranscriptPath
(agentId: AgentId)
src/utils/sessionStorage.ts:255
↓ 11 callers
Function
getAutoCompactThreshold
(model: string)
src/services/compact/autoCompact.ts:170
↓ 11 callers
Function
getBaseDirectories
()
src/utils/nativeInstaller/installer.ts:121
↓ 11 callers
Function
getCacheMetricsReliability
( provider: CacheAwareProvider, )
src/services/api/cacheMetrics.ts:281
↓ 11 callers
Function
getCurrentTurnCacheMetrics
()
src/services/api/cacheStatsTracker.ts:130
↓ 11 callers
Function
getDefaultMaxRetries
()
src/services/api/withRetry.ts:917
↓ 11 callers
Function
getDefaultSonnetModel
()
src/utils/model/model.ts:235
↓ 11 callers
Function
getHookDisplayText
( hook: HookCommand | { type: 'callback' | 'function'; statusMessage?: string }, )
src/utils/hooks/hooksSettings.ts:70
↓ 11 callers
Function
getLastAssistantMessage
( messages: Message[], )
src/utils/messages.ts:336
↓ 11 callers
Function
getLoggingSafeMcpBaseUrl
( config: McpServerConfig, )
src/services/mcp/utils.ts:561
↓ 11 callers
Function
getMergedBetas
( model: string, options?: { isAgenticQuery?: boolean }, )
src/utils/betas.ts:404
↓ 11 callers
Function
getParentSessionId
()
src/utils/teammate.ts:34
↓ 11 callers
Function
getRainbowColor
( charIndex: number, shimmer: boolean = false, )
src/utils/thinking.ts:108
↓ 11 callers
Function
getRetryDelay
( attempt: number, retryAfterHeader?: string | null, maxDelayMs = 32000, )
src/services/api/withRetry.ts:607
↓ 11 callers
Function
getRouteCredentialValue
( routeId: string, processEnv: NodeJS.ProcessEnv = process.env, )
src/integrations/routeMetadata.ts:692
↓ 11 callers
Function
getTotalInputTokens
()
src/bootstrap/state.ts:751
↓ 11 callers
Function
getUsername
()
src/utils/secureStorage/macOsKeychainHelpers.ts:54
↓ 11 callers
Function
git
(cwd: string, ...args: string[])
src/utils/worktree.agentBase.test.ts:22
↓ 11 callers
Function
gte
(a: string, b: string)
src/utils/semver.ts:26
↓ 11 callers
Function
hydrateGithubModelsTokenFromSecureStorage
()
src/utils/githubModelsCredentials.ts:88
↓ 11 callers
Function
importAgentToolWithSpawnMock
()
src/tools/AgentTool/AgentTool.teammateModel.test.ts:91
↓ 11 callers
Function
importFreshGithubModelsCredentials
( cacheKey: string, )
src/utils/githubModelsCredentials.refresh.test.ts:145
↓ 11 callers
Function
importFreshProviderConfigModule
()
src/services/api/codexShim.test.ts:73
↓ 11 callers
Method
initialize
(sandboxAskCallback?: SandboxAskCallback)
src/utils/sandbox/sandbox-adapter.ts:899
↓ 11 callers
Function
initializeWiki
(cwd: string)
src/services/wiki/init.ts:139
↓ 11 callers
Method
insert
(insertString: string)
src/utils/Cursor.ts:885
↓ 11 callers
Function
isAnthropicProvider
()
src/utils/betas.ts:399
↓ 11 callers
Function
isAsyncHookJSONOutput
( json: HookJSONOutput, )
src/types/hooks.ts:189
↓ 11 callers
Function
isAutoCompactEnabled
()
src/services/compact/autoCompact.ts:250
↓ 11 callers
Function
isCompactBoundaryMessage
( message: Message | NormalizedMessage, )
src/utils/messages.ts:4893
↓ 11 callers
Function
isFirstPartyAnthropicBaseUrl
()
src/utils/model/providers.ts:121
↓ 11 callers
Function
isImageOutput
(content: string)
src/tools/BashTool/utils.ts:49
↓ 11 callers
Function
isInProcessTeammateTask
( task: unknown, )
src/tasks/InProcessTeammateTask/types.ts:78
↓ 11 callers
Function
isRemoteSessionLocal
( sessionId?: string, ingressUrl?: string, )
src/constants/product.ts:83
↓ 11 callers
Function
isStale
()
src/hooks/useVoice.ts:359
↓ 11 callers
Function
isVisionSupported
( model?: string, options?: { routeId?: string; baseUrl?: string }, )
src/utils/visionUtils.ts:162
↓ 11 callers
Method
load
(entries: ReturnType<LRUCache<string, FileState>['dump']>)
src/utils/fileStateCache.ts:90
↓ 11 callers
Function
logBridgeSkip
( reason: string, debugMsg?: string, v2?: boolean, )
src/bridge/debugUtils.ts:128
↓ 11 callers
Function
logDebug
(message: string)
src/utils/filePersistence/outputsScanner.ts:18
↓ 11 callers
Function
mapMessageToSDK
(msg: Record<string, unknown>)
src/entrypoints/sdk/shared.ts:268
↓ 11 callers
Function
matchWildcardPattern
( pattern: string, command: string, )
src/tools/BashTool/bashPermissions.ts:332
↓ 11 callers
Method
nextOffset
(offset: number)
src/utils/Cursor.ts:1520
↓ 11 callers
Function
normalizeModelStringForAPI
(model: string)
src/utils/model/model.ts:945
↓ 11 callers
Method
onError
(event: Event)
src/utils/mcpWebSocketTransport.ts:38
↓ 11 callers
Function
parseDimension
(v: number | string | undefined)
src/native-ts/yoga-layout/index.ts:2511
↓ 11 callers
Function
parseSlashCommandToolsFromFrontmatter
( toolsValue: unknown, )
src/utils/markdownConfigLoader.ts:194
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
src/utils/permissions/permissionRuleParser.ts:93
↓ 11 callers
Function
permissionRuleValueFromString
( ruleString: string, )
src/utils/sandbox/sandbox-adapter.ts:64
↓ 11 callers
Function
prepareUserContent
({ inputString, precedingInputBlocks, }: { inputString: string precedingInputBlocks: ContentBlockParam
src/utils/messages.ts:541
↓ 11 callers
Function
processMemoryFile
( filePath: string, type: MemoryType, processedPaths: Set<string>, includeExternal: boolean, depth:
src/utils/claudemd.ts:632
↓ 11 callers
Function
processSessionStartHooks
( source: 'startup' | 'resume' | 'clear' | 'compact', { sessionId, agentType, model, force
src/utils/sessionStart.ts:35
↓ 11 callers
Function
refreshCodexAccessTokenIfNeeded
(options?: { force?: boolean })
src/utils/codexCredentials.ts:442
← previous
next →
801–900 of 15,760, ranked by callers