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
↓ 4 callers
Function
normalizeContentText
(content: unknown)
open-sse/executors/commandCode.ts:51
↓ 4 callers
Function
normalizeDetailState
(value: unknown)
src/lib/usage/callLogs/format.ts:38
↓ 4 callers
Function
normalizeExcludedModelPatterns
(value: unknown)
src/domain/connectionModelRules.ts:49
↓ 4 callers
Function
normalizeExecutorResult
( result: | Response | { response: Response; url?: string; headers?: Record<
open-sse/handlers/chatCore/upstreamTimeouts.ts:78
↓ 4 callers
Function
normalizeGitLabBaseUrl
(baseUrl?: unknown)
src/lib/oauth/gitlab.ts:17
↓ 4 callers
Function
normalizeJulesSessionId
(externalId: string)
src/lib/cloudAgent/agents/jules.ts:51
↓ 4 callers
Function
normalizeMirrorBody
(content)
scripts/check/check-docs-sync.mjs:65
↓ 4 callers
Function
normalizeModelEntry
(entry: unknown)
open-sse/services/combo/targetSorters.ts:21
↓ 4 callers
Function
normalizeModelEntry
(entry)
src/app/(dashboard)/dashboard/combos/page.tsx:562
↓ 4 callers
Function
normalizeModelName
(model: string)
src/lib/usage/costCalculator.ts:21
↓ 4 callers
Function
normalizeOpenAIChatUrl
(baseUrl)
open-sse/executors/default.ts:121
↓ 4 callers
Function
normalizeOpenAICompatibleFinishReasonString
( value: unknown, fallback = "stop" )
open-sse/utils/finishReason.ts:29
↓ 4 callers
Function
normalizeOpenRouterModalities
(value: unknown)
src/app/api/v1/models/catalogOpenrouter.ts:10
↓ 4 callers
Function
normalizePageSizeBytes
(value: unknown, fallback: number)
src/lib/db/optimizationSettings.ts:40
↓ 4 callers
Function
normalizePathValue
(path: string)
open-sse/executors/grok-web.ts:185
↓ 4 callers
Function
normalizePayloadForLog
(payload: unknown)
src/lib/logPayloads.ts:31
↓ 4 callers
Function
normalizePayloadRulesConfig
(value: unknown)
open-sse/services/payloadRules.ts:121
↓ 4 callers
Function
normalizePendingMetadata
(metadata?: PendingRequestMetadata)
src/lib/usage/usageHistory.ts:78
↓ 4 callers
Function
normalizePort
(port: string | number | null | undefined, protocol: string)
open-sse/utils/proxyDispatcher.ts:213
↓ 4 callers
Function
normalizeProviderImagePayload
(payload, body, log)
open-sse/handlers/imageGeneration.ts:2051
↓ 4 callers
Function
normalizeRequestedImageFormat
( body, fallback = "png", allowedFormats = ["jpeg", "png", "webp"] )
open-sse/handlers/imageGeneration.ts:2000
↓ 4 callers
Function
normalizeResetAt
(value: unknown)
open-sse/services/combo/quotaScoring.ts:144
↓ 4 callers
Function
normalizeRoles
( messages: NormalizedMessage[] | unknown, provider: string, model: string, targetFormat: string, pr
open-sse/services/roleNormalizer.ts:269
↓ 4 callers
Function
normalizeStatus
(value: string | null)
src/sse/services/auth.ts:427
↓ 4 callers
Function
normalizeTimestamp
(value: unknown)
src/domain/costRules.ts:149
↓ 4 callers
Function
normalizeToolArgumentObject
(value: unknown)
open-sse/executors/grok-web.ts:151
↓ 4 callers
Function
normalizeUpstreamFailure
(data, fallbackType = "server_error")
open-sse/translator/response/openai-responses.ts:567
↓ 4 callers
Function
normalizeWaitForCooldownSettings
( next: unknown, fallback: WaitForCooldownSettings )
src/lib/resilience/settings/normalize.ts:282
↓ 4 callers
Function
notifyWebhookEvent
(event: WebhookEvent, data: Record<string, any>)
src/lib/webhookDispatcher.ts:137
↓ 4 callers
Function
nowIso
()
src/lib/db/commandCodeAuth.ts:63
↓ 4 callers
Function
num
(precise: unknown, plain: unknown)
open-sse/services/usage/codebuddy-cn.ts:60
↓ 4 callers
Function
numberValue
(value: unknown)
open-sse/executors/commandCode.ts:31
↓ 4 callers
Function
observePrefix
(hash: string)
open-sse/services/compression/prefixFreeze.ts:107
↓ 4 callers
Function
okResponse
(body: any = { choices: [{ message: { content: "ok" } }] })
tests/unit/combo-sessionless-pin-3825.test.ts:35
↓ 4 callers
Method
onChange
(mode: ProviderDisplayMode)
src/app/(dashboard)/dashboard/providers/components/ProviderDisplayModeControl.tsx:30
↓ 4 callers
Function
onFailure
(payload)
tests/unit/stream-utils.test.ts:1644
↓ 4 callers
Function
openAIToolsToMcpDefs
(tools: OpenAITool[])
open-sse/utils/cursorAgentProtobuf.ts:424
↓ 4 callers
Method
openExternal
(url: string)
electron/types.d.ts:27
↓ 4 callers
Function
openSqliteDatabase
(dbPath, options = {})
bin/cli/sqlite.mjs:27
↓ 4 callers
Function
openaiToCloudCodeGeminiRequest
( model: string, body: Record<string, unknown>, stream: boolean, options: { signatureNamespace?: s
open-sse/translator/request/openai-to-gemini.ts:577
↓ 4 callers
Function
pad
(n: number)
src/app/(dashboard)/dashboard/api-manager/apiManagerPageUtils.ts:91
↓ 4 callers
Function
pad
(n: number)
src/shared/components/analytics/CustomRangePicker.tsx:17
↓ 4 callers
Function
padTo
(bytes: number)
tests/unit/injection-guard-scan-bound-3932.test.ts:27
↓ 4 callers
Function
parse
(v: string)
src/lib/plugins/manager.ts:55
↓ 4 callers
Function
parseApiErrorMessage
(res: Response, fallback: string)
src/app/(dashboard)/dashboard/providers/[id]/hooks/useProviderConnections.ts:283
↓ 4 callers
Function
parseAutoSuffix
(suffix: string | null | undefined)
open-sse/services/autoCombo/suffixComposition.ts:60
↓ 4 callers
Function
parseBatchRow
(row: any)
src/lib/db/batches.ts:5
↓ 4 callers
Function
parseBody
(init?: RequestInit)
tests/unit/shared/components/ProxyConfigModal.test.tsx:48
↓ 4 callers
Function
parseChunk
(line: string)
tests/unit/cursor-agent-tool-calls.test.ts:141
↓ 4 callers
Function
parseCognitiveCount
(out)
scripts/quality/validate-release-green.mjs:98
↓ 4 callers
Function
parseCursorAgentModels
(text: string)
src/lib/providerModels/cursorAgent.ts:109
↓ 4 callers
Function
parseDataUrl
(value: unknown)
src/lib/images/imageRouteModel.ts:110
↓ 4 callers
Function
parseEnvExampleVars
(text)
scripts/check/check-env-doc-sync.mjs:231
↓ 4 callers
Function
parseExcludedModelsInput
(value: string)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:343
↓ 4 callers
Function
parseGrpcWebFramesLocal
( buf: Uint8Array )
tests/unit/windsurf-devin-executors.test.ts:145
↓ 4 callers
Function
parseHeaderInteger
(value: string | null)
open-sse/services/modelscopePolicy.ts:24
↓ 4 callers
Function
parseJson
(value: string | null | undefined, fallback: T)
src/lib/cloudAgent/api.ts:36
↓ 4 callers
Function
parseJsonDataPayloads
(text)
tests/unit/stream-utils.test.ts:65
↓ 4 callers
Function
parseJsonPath
(path: string)
open-sse/services/combo/responseValidation.ts:45
↓ 4 callers
Function
parseJsonlLine
(line: string)
open-sse/executors/huggingchat.ts:248
↓ 4 callers
Function
parseKeyFromHeader
(s: string)
open-sse/services/compression/engines/headroom/gcf/decode_generic.ts:195
↓ 4 callers
Function
parseKieResultJson
(recordData: unknown)
open-sse/utils/kieTask.ts:52
↓ 4 callers
Function
parseLines
(jsonl: string)
tests/unit/lib/batches/retryFailed.test.ts:31
↓ 4 callers
Function
parseLooseJsonObject
(raw: string)
open-sse/translator/webTools.ts:233
↓ 4 callers
Function
parseNullablePositiveNumber
(value: unknown)
src/lib/db/apiKeyUsageLimitFields.ts:13
↓ 4 callers
Function
parseQuotedString
(s: string)
open-sse/services/compression/engines/headroom/gcf/scalar.ts:178
↓ 4 callers
Method
parseRetryHeaders
(headers: Headers | null | undefined)
open-sse/executors/antigravity.ts:927
↓ 4 callers
Function
parseSSEDataPayload
( data: unknown, options: SSEPayloadOptions = {} )
open-sse/utils/streamHelpers.ts:56
↓ 4 callers
Function
parseShellPathOutput
(output: string)
src/shared/services/loginShellPath.ts:34
↓ 4 callers
Function
parseStreamDefaultMode
(value: unknown)
src/lib/db/apiKeys/rowParsers.ts:159
↓ 4 callers
Function
parseStreamLine
(line: string)
open-sse/executors/commandCode.ts:333
↓ 4 callers
Function
parseTargetKey
(value: string)
src/app/(dashboard)/dashboard/usage/components/EvalsTab.tsx:374
↓ 4 callers
Function
parseWikiPage
(page)
scripts/docs/sync-wiki.mjs:219
↓ 4 callers
Function
partitionZedCredentials
(credentials: ZedCredential[])
src/lib/zed-oauth/importUtils.ts:19
↓ 4 callers
Function
passthrough
(req, res, bodyBuffer)
src/mitm/server.cjs:374
↓ 4 callers
Function
pct
(n: number, d: number)
open-sse/services/compression/eval/aggregate.ts:3
↓ 4 callers
Function
persist
(payload: { enabled: boolean; supportedModels: string[] })
src/app/(dashboard)/dashboard/settings/components/ClaudeFastModeTab.tsx:49
↓ 4 callers
Method
persistHistory
({ status = 200, success = true, errorCode = null, errorMessage = null, terminalMessage =
scripts/dev/responses-ws-proxy.mjs:700
↓ 4 callers
Function
persistState
()
src/lib/db/vacuumScheduler.ts:229
↓ 4 callers
Function
persistState
* Persist state to both cache and DB. * @param {string} identifier * @param {{ attempts: number[], lockedUntil: number|null }} state
src/domain/lockoutPolicy.ts:64
↓ 4 callers
Function
phaseComboSetup
(ctx: ComboContext)
open-sse/services/combo/comboSetup.ts:80
↓ 4 callers
Function
pickDeclaredToolForIntent
( intent: NativeToolIntent, toolRegistry: GrokToolRegistry )
open-sse/executors/grok-web.ts:812
↓ 4 callers
Function
pickMaskedDisplayValue
( values: Array<string | null | undefined>, fallback = "" )
src/shared/utils/maskEmail.ts:49
↓ 4 callers
Function
pipeline
(...ids: string[])
tests/unit/compression/engine-enabled-toggle.test.ts:78
↓ 4 callers
Function
placeholderFor
(i: number)
open-sse/services/compression/quantumLock/quantumPatterns.ts:36
↓ 4 callers
Function
pollForAuthorization
( deviceAuthId: string, userCode: string, intervalSec: number, opts: { signal?: AbortSignal; timeoutMs
src/lib/oauth/codexDeviceFlow.ts:187
↓ 4 callers
Function
pollForCallLog
(id: string, tries = 120)
tests/unit/chatcore-attempt-logging.test.ts:55
↓ 4 callers
Method
poolConsumedTotal
* Return the real pool-wide consumption for a dimension in the current * sliding window — i.e. the sum of each key's effective consumption across
src/lib/quota/types.ts:46
↓ 4 callers
Method
poolUsageWithDimensions
* Build a PoolUsageSnapshot with explicit plan dimensions. This is the * primary method for dashboard / REST usage — it resolves per-key * consu
src/lib/quota/types.ts:58
↓ 4 callers
Function
postAjax
( nonce: string, params: Record<string, string>, signal?: AbortSignal )
open-sse/executors/veoaifree-web.ts:89
↓ 4 callers
Function
postIngestEntry
* Fire-and-forget POST of a captured entry to the ingest endpoint. NEVER throws * and NEVER rejects — inspector capture must not be able to break pro
src/mitm/_internal/ingest.cjs:64
↓ 4 callers
Function
prefixOf
(s: string)
tests/unit/compression/quantumLockStep.test.ts:13
↓ 4 callers
Function
prewarmLlmlinguaUltra
(opts?: UltraSlmOptions)
open-sse/services/compression/engines/llmlingua/ultraEntry.ts:89
↓ 4 callers
Function
probe
(label, url, method, headers)
scripts/ad-hoc/diag-trae-auth.mjs:45
↓ 4 callers
Function
probeHealth
({ port, hosts = DEFAULT_HOSTS, fetchImpl = fetch, timeoutMs = DEFAULT_TIMEOUT_MS, } = {})
scripts/dev/healthcheck.mjs:67
↓ 4 callers
Function
processLine
(line)
bin/cli/commands/logs.mjs:116
↓ 4 callers
Method
processResponse
( response: Response, streaming: boolean, hasTools?: boolean, requestedTools?: unknown )
open-sse/executors/duckduckgo-web.ts:823
↓ 4 callers
Function
processStreamingThinkDelta
(delta, ctx)
open-sse/utils/thinkTagParser.ts:82
↓ 4 callers
Function
providerText
( t: ProviderMessageTranslator, key: string, fallback: string, values?: Record<string, unknown> )
src/app/(dashboard)/dashboard/providers/components/ProviderSummaryCard.tsx:55
↓ 4 callers
Function
pruneRecentErrors
(now: number)
src/shared/utils/structuredLogger.ts:120
← previous
next →
5,001–5,100 of 20,485, ranked by callers