Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diegosouzapw/OmniRoute
/ functions
Functions
20,485 in github.com/diegosouzapw/OmniRoute
⨍
Functions
20,485
◇
Types & classes
2,883
↓ 7 callers
Function
normalizeDeveloperRole
( messages: NormalizedMessage[] | unknown, targetFormat: string, preserveDeveloperRole?: boolean, prov
open-sse/services/roleNormalizer.ts:152
↓ 7 callers
Function
normalizeFlowVideoParams
(body: Record<string, unknown> | null | undefined)
open-sse/handlers/videoGeneration/googleFlow.ts:70
↓ 7 callers
Function
normalizeProxyUrl
( proxyUrl: string, source = "proxy", { allowSocks5 = isSocks5ProxyEnabled() } = {} )
open-sse/utils/proxyDispatcher.ts:253
↓ 7 callers
Function
normalizeQuotaEntry
(name: string, quota: any = {}, extras: any = {})
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/quotaParsing.ts:37
↓ 7 callers
Function
normalizeRoutingStrategy
(value: unknown)
src/shared/constants/routingStrategies.ts:63
↓ 7 callers
Function
normalizeThinkingForModel
( body: T, modelId: string )
src/shared/constants/modelSpecs.ts:499
↓ 7 callers
Function
normalizeThinkingLevel
(body: unknown)
open-sse/services/thinkingBudget.ts:126
↓ 7 callers
Function
notFound
(resource = "Resource")
src/domain/responses.ts:91
↓ 7 callers
Function
now
()
open-sse/services/batchProcessor.ts:819
↓ 7 callers
Function
oaiHeaders
Headers ChatGPT's web client sends on backend-api requests.
open-sse/executors/chatgpt-web.ts:152
↓ 7 callers
Function
obfuscateSensitiveWords
(text: string)
open-sse/services/claudeCodeObfuscation.ts:57
↓ 7 callers
Function
okJson
(data: unknown)
tests/unit/free-pool-tab.test.tsx:41
↓ 7 callers
Function
on
(level?: string)
tests/unit/compression/derive-default-plan.test.ts:5
↓ 7 callers
Function
onCancel
()
bin/cli/tui/OAuthFlow.jsx:161
↓ 7 callers
Function
onUsageRecorded
(listener: UsageRecordedListener)
src/lib/usage/usageEvents.ts:19
↓ 7 callers
Function
openaiToAntigravityResponse
(chunk, state)
open-sse/translator/response/openai-to-antigravity.ts:24
↓ 7 callers
Function
originHostMatches
(origin: string, allowedHosts: Set<string>)
src/server/ws/liveServerAllowList.ts:72
↓ 7 callers
Function
parseAccessSchedule
(value)
tests/unit/api-key-policy.test.ts:187
↓ 7 callers
Function
parseAndValidateClaudeAuth
(raw: unknown)
tests/unit/claude-import-route.test.ts:134
↓ 7 callers
Function
parseArrayFromHeader
( lines: string[], headerLine: number, depth: number, bracketPart: string )
open-sse/services/compression/engines/headroom/gcf/decode_generic.ts:205
↓ 7 callers
Function
parseCliProxyAuthRecord
(raw: unknown, now: number = 0)
src/lib/oauth/utils/cliProxyAuthImport.ts:72
↓ 7 callers
Function
parseComboRow
(row: unknown)
src/lib/db/combos.ts:68
↓ 7 callers
Function
parseCostRange
(value: string | null)
src/app/(dashboard)/dashboard/costs/costExplorerParams.ts:15
↓ 7 callers
Function
parseIsActive
(value)
tests/unit/api-key-policy.test.ts:181
↓ 7 callers
Function
parseNumber
(value: unknown)
src/lib/db/evals.ts:259
↓ 7 callers
Function
parseOutboundUrl
(input: string | URL)
src/shared/network/outboundUrlGuard.ts:114
↓ 7 callers
Function
parseProviderDisplayModePreference
( value: string | null | undefined )
src/app/(dashboard)/dashboard/providers/providerPageStorage.ts:21
↓ 7 callers
Function
parseProviderSpecificData
(raw: unknown)
src/lib/db/webSessionDedup.ts:45
↓ 7 callers
Function
parseSSEToClaudeResponse
(rawSSE, fallbackModel)
open-sse/handlers/sseParser.ts:313
↓ 7 callers
Function
parseScalar
(s: string, tabularContext: boolean)
open-sse/services/compression/engines/headroom/gcf/scalar.ts:137
↓ 7 callers
Function
parseSseOutput
(output)
tests/unit/responses-transformer.test.ts:36
↓ 7 callers
Function
parseTextualToolCallCandidate
( text: unknown )
open-sse/utils/textualToolCall.ts:57
↓ 7 callers
Function
patchResilience
(baseUrl: string, config: Record<string, unknown>)
tests/integration/resilience-http-e2e.test.ts:405
↓ 7 callers
Function
payload
(requestId: string)
tests/unit/ui/live-compression-accumulate.test.ts:16
↓ 7 callers
Function
persistCreditBalance
(accountId: string, balance: number)
src/lib/db/creditBalance.ts:80
↓ 7 callers
Function
pick
(arr: readonly T[])
open-sse/executors/chatgpt-web.ts:815
↓ 7 callers
Function
pickDefaultModel
( currentModel: string | undefined, availableModels: string[] )
src/app/(dashboard)/dashboard/playground/components/modelSelection.ts:39
↓ 7 callers
Function
pipeWithDisconnect
( providerResponse: Response, transformStream: TransformStream<Uint8Array, Uint8Array>, streamController
open-sse/utils/streamHandler.ts:569
↓ 7 callers
Function
processAntigravitySSEPayload
( payload: string, collected: AntigravityCollectedStream, log?: { debug?: (scope: string, message: strin
open-sse/executors/antigravity.ts:375
↓ 7 callers
Function
profileNameFromModel
(modelId)
bin/cli/commands/configure.mjs:23
↓ 7 callers
Function
providerText
( t: ProviderMessageTranslator, key: string, fallback: string, values?: Record<string, unknown> )
src/app/(dashboard)/dashboard/providers/components/ProviderDisplayModeControl.tsx:9
↓ 7 callers
Method
publicResolveBaseUrl
Public wrapper for the protected method.
tests/unit/refactor-resolveBaseUrl.test.ts:19
↓ 7 callers
Function
quotaEntries
(data: any)
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/quotaParsing.ts:6
↓ 7 callers
Function
quotaSnapshotChanged
( prior: | { quotas?: Record<string, { remainingPercentage: number }>; exhausted?: boolean } | null
src/domain/quotaCache.ts:174
↓ 7 callers
Function
read
(p: string)
tests/unit/v388-phase4-playground.test.ts:8
↓ 7 callers
Function
readFetchErrorMessage
(res: Response, fallback: string)
src/shared/utils/fetchError.ts:13
↓ 7 callers
Function
readPidFile
(service)
bin/cli/utils/pid.mjs:22
↓ 7 callers
Function
readProviderDisplayModePreference
( storage: StorageReaderWriter | null = getBrowserStorage() )
src/app/(dashboard)/dashboard/providers/providerPageStorage.ts:57
↓ 7 callers
Function
readText
(filePath)
scripts/check/check-docs-sync.mjs:13
↓ 7 callers
Function
reconcileContextWindows
( discovered: DiscoveredWindow[], deps: ReconcileDeps )
src/lib/contextWindowResolver.ts:47
↓ 7 callers
Function
record
(r)
scripts/quality/validate-release-green.mjs:167
↓ 7 callers
Function
recordPluginMetric
( pluginName: string, event: string, durationMs: number, isError: boolean )
src/lib/db/pluginMetrics.ts:40
↓ 7 callers
Function
recordReplay
()
open-sse/services/reasoningCache.ts:335
↓ 7 callers
Function
recordStreamingConsumption
( params: { apiKeyId?: string | null; connectionId?: string | null; provider?: string | null;
src/lib/quota/spendRecorder.ts:83
↓ 7 callers
Function
recordToolLatency
( provider: string, ttftAfterToolMs: number | null, gapAfterToolMs: number | null )
open-sse/services/toolLatencyTracker.ts:16
↓ 7 callers
Function
refreshKiroToken
( refreshToken, providerSpecificData, log, proxyConfig: unknown = null )
open-sse/services/tokenRefresh.ts:1200
↓ 7 callers
Function
removeQuotaCombosForPool
(poolId: string)
src/lib/quota/quotaCombos.ts:345
↓ 7 callers
Function
render
(props: Record<string, unknown>)
tests/unit/ui/edit-connection-modal-free-models.test.tsx:21
↓ 7 callers
Function
renderApiTab
()
tests/unit/ui/playground-api-tab.test.tsx:108
↓ 7 callers
Function
renderCard
(currentType: CliConceptType)
tests/unit/ui/CliComparisonCard.test.tsx:43
↓ 7 callers
Function
renderCard
(currentType: CliConceptType)
tests/unit/ui/CliConceptCard.test.tsx:34
↓ 7 callers
Function
renderComponent
(node: React.ReactElement)
src/app/(dashboard)/dashboard/providers/[id]/components/__tests__/phase1d.test.tsx:32
↓ 7 callers
Function
renderCounter
( tokensIn: number, tokensOut: number, costUsd: number | null )
tests/unit/ui/playground-token-cost-counter.test.tsx:15
↓ 7 callers
Function
renderIntoBody
(element: React.ReactElement)
src/app/(dashboard)/dashboard/webhooks/__tests__/webhook-wizard.test.tsx:86
↓ 7 callers
Function
renderResultsPanel
(props: { noProvidersConfigured?: boolean; response?: typeof MOCK_RESPONSE | null; loading?: boolean;
tests/unit/ui/search-tools-search-tab.test.tsx:114
↓ 7 callers
Function
replaceImageUrls
( body: ChatBody, options?: LiteCompressionOptions | string )
open-sse/services/compression/lite.ts:158
↓ 7 callers
Method
reportDead
* Report a non-recoverable error. Marks session as dead.
open-sse/services/sessionPool/sessionPool.ts:167
↓ 7 callers
Method
reportSuccess
* Report a successful request. Updates metrics pool-wide and per-session.
open-sse/services/sessionPool/sessionPool.ts:150
↓ 7 callers
Function
requireTailscaleAuth
(request: Request)
src/app/api/tunnels/tailscale/routeUtils.ts:20
↓ 7 callers
Function
reset
()
tests/unit/free-proxy-providers.test.ts:19
↓ 7 callers
Function
resetKeyStatus
(connectionId: string, keyId: string)
open-sse/services/apiKeyRotator.ts:276
↓ 7 callers
Method
resetStorage
()
tests/unit/_mocks/settings.ts:27
↓ 7 callers
Function
resetWindowIfElapsed
(limit: TokenLimit, now = Date.now())
src/lib/db/tokenLimits.ts:230
↓ 7 callers
Function
resolveAccountSemaphoreKey
({ provider, model, connectionId, credentials, }: { provider: string | null | undefined; model: st
open-sse/handlers/chatCore/executorHelpers.ts:47
↓ 7 callers
Function
resolveAllFeatureFlags
()
src/shared/utils/featureFlags.ts:34
↓ 7 callers
Function
resolveAutoUpdateMode
( rawMode: AutoUpdateMode, detection: { isGitRepo: boolean; currentDir: string } )
src/lib/system/autoUpdate.ts:93
↓ 7 callers
Function
resolveBlackboxValidatedToken
()
open-sse/executors/blackbox-web.ts:36
↓ 7 callers
Function
resolveCanonicalProviderId
(aliasOrProviderId: string, fallbackProviderId?: string)
src/app/api/v1/models/catalog.ts:111
↓ 7 callers
Function
resolveChatCoreTargetFormat
(opts: { provider: string; resolvedModel: string; apiFormat: string | undefined; customModelTargetForm
open-sse/handlers/chatCore/targetFormat.ts:17
↓ 7 callers
Function
resolveCliproxyapiBaseUrl
* Resolve CLIProxyAPI base URL. Priority: * 1. Settings table `cliproxyapi_url` (set via UI) * 2. Environment variables CLIPROXYAPI_HOST / CLIPR
open-sse/executors/cliproxyapi.ts:143
↓ 7 callers
Function
resolveComboTargets
( combo: ComboLike, allCombos: ComboCollectionLike, maxDepth: number = MAX_COMBO_DEPTH )
open-sse/services/combo/comboStructure.ts:606
↓ 7 callers
Function
resolveConnectionParams
( credentials: ProviderCredentials | undefined )
open-sse/executors/copilot-m365-connection.ts:126
↓ 7 callers
Function
resolveContextRoute
(value: string | undefined)
src/app/(dashboard)/dashboard/context/page.tsx:24
↓ 7 callers
Function
resolveDelayMs
(value: unknown, fallback: number)
open-sse/services/combo/comboPredicates.ts:148
↓ 7 callers
Function
resolveImageRouteModel
(modelStr: string)
src/lib/images/imageRouteModel.ts:76
↓ 7 callers
Function
resolveImageSource
(source)
open-sse/handlers/imageGeneration.ts:1954
↓ 7 callers
Function
resolveLatestVersion
(opts?: { npmCli?: () => Promise<string | null>; registry?: () => Promise<string | null>; github?: () =>
src/lib/system/versionCheck.ts:141
↓ 7 callers
Function
resolveLlmlinguaModel
(modelId: string | undefined | null)
open-sse/services/compression/engines/llmlingua/modelStore.ts:48
↓ 7 callers
Function
resolveModelLockoutSettings
( settings: Record<string, unknown> | null | undefined )
src/lib/resilience/modelLockoutSettings.ts:54
↓ 7 callers
Function
resolveProviderModelAlias
* Resolve provider-specific legacy model alias to canonical model ID.
open-sse/services/model.ts:213
↓ 7 callers
Function
resolveRelayRoutingBackend
( env: NodeJS.ProcessEnv = process.env )
src/app/api/v1/relay/chat/completions/routingBackend.ts:29
↓ 7 callers
Function
resolveSafeI18nSectionDir
( docsRoot: string, locale: string, slug: string[] )
src/lib/docsI18nPath.ts:18
↓ 7 callers
Function
resolveSocksHandshakeTimeoutMs
( env: Record<string, string | undefined> = process.env )
open-sse/utils/socksConnectorWithFamily.ts:15
↓ 7 callers
Function
resolveWildcardAlias
( model: string, aliases: WildcardAliasEntry[] )
open-sse/services/wildcardRouter.ts:67
↓ 7 callers
Function
roundUsd
(value: number)
src/lib/usage/providerWindowCosts.ts:102
↓ 7 callers
Function
run
(action: string, fn: () => Promise<void>)
src/app/(dashboard)/dashboard/tools/agent-bridge/components/AgentBridgeMaintenanceCard.tsx:54
↓ 7 callers
Function
run
(cmd, fallback = "N/A")
scripts/dev/system-info.mjs:28
↓ 7 callers
Function
run
(executor, { persistSession, historyWindow, messages, token } = {})
tests/unit/deepseek-web-session-persistence-2942.test.ts:112
↓ 7 callers
Function
runCompressionEval
( corpus: EvalCase[], compress: CompressFn )
open-sse/services/compression/harness/runner.ts:33
↓ 7 callers
Function
runConfigLangSetCommand
(code, opts = {})
bin/cli/commands/config.mjs:195
← previous
next →
2,701–2,800 of 20,485, ranked by callers