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
↓ 3 callers
Function
renderTestGreen
(text: string, _detection: CommandDetectionResult)
open-sse/services/compression/engines/rtk/renderers/testGreen.ts:21
↓ 3 callers
Function
repairInvalidJsonRows
( db: SqliteDatabase, table: "domain_fallback_chains" | "domain_lockout_state" | "domain_circuit_breakers"
src/lib/db/healthCheck.ts:336
↓ 3 callers
Function
repairMitmState
()
src/lib/inspector/agentBridgeMaintenanceApi.ts:50
↓ 3 callers
Function
replaceCustomModels
( providerId: string, models: Array<{ id: string; name?: string; source?: string; apiForma
src/lib/db/models.ts:138
↓ 3 callers
Function
replaceUserBypassPatterns
(patterns: string[])
src/lib/db/agentBridgeBypass.ts:42
↓ 3 callers
Function
req
(body: unknown)
tests/unit/chat-build-client-raw-request.test.ts:11
↓ 3 callers
Function
requestCancel
(reason: unknown)
open-sse/handlers/chatCore/nonStreamingResponseBody.ts:119
↓ 3 callers
Function
requestFromInput
(input: RequestInfo | URL)
src/shared/utils/dashboardCsrf.ts:89
↓ 3 callers
Function
requestJson
(url: string, init?: RequestInit)
src/lib/inspector/tproxyCaptureApi.ts:23
↓ 3 callers
Function
requireEnv
(name)
scripts/i18n/translate-endpoint-tier-keys.mjs:67
↓ 3 callers
Function
requireEnv
(name)
scripts/i18n/run-translation.mjs:311
↓ 3 callers
Function
requireEnv
(name)
scripts/i18n/sync-ui-keys.mjs:206
↓ 3 callers
Function
resetDb
()
tests/unit/command-code-auth-assist.test.ts:20
↓ 3 callers
Function
resetPricing
(provider: string, model?: string)
src/lib/db/settings/pricing.ts:211
↓ 3 callers
Function
resetSpendBatchWriterForTests
()
src/lib/spend/batchWriter.ts:202
↓ 3 callers
Function
resetStats
()
open-sse/services/backgroundTaskDetector.ts:118
↓ 3 callers
Function
resetStorage
()
tests/unit/provider-connection-healthcheck-interval-zero.test.ts:17
↓ 3 callers
Function
resetStorage
()
tests/unit/llm7-byteplus-models-fetch-3976.test.ts:28
↓ 3 callers
Function
resetStorage
()
tests/unit/auth-ollama-cloud-per-model-403-3027.test.ts:23
↓ 3 callers
Function
resetStorage
()
tests/unit/provider-request-failure-pipeline.test.ts:57
↓ 3 callers
Function
resetTaskRoutingStats
()
open-sse/services/taskAwareRouter.ts:196
↓ 3 callers
Function
resolveBedrockRegion
(providerSpecificData: unknown)
open-sse/config/bedrock.ts:25
↓ 3 callers
Function
resolveCanonicalProviderModel
( providerOrAlias: string | null | undefined, modelId: string | null | undefined )
open-sse/services/model.ts:353
↓ 3 callers
Function
resolveCliPath
()
bin/cli/tray/autostart.mjs:12
↓ 3 callers
Function
resolveClineTarget
(opts = {})
bin/cli/commands/setup-cline.mjs:26
↓ 3 callers
Function
resolveCodexTarget
(opts = {})
bin/cli/commands/launch-codex.mjs:40
↓ 3 callers
Function
resolveComboForModel
( modelStr: string )
src/lib/db/modelComboMappings.ts:222
↓ 3 callers
Function
resolveCompressionSettings
(log?: LoggerLike)
open-sse/handlers/chatCore/compressionSettings.ts:15
↓ 3 callers
Function
resolveContextRelayConfig
( config?: Record<string, unknown> | null )
open-sse/services/contextHandoff.ts:167
↓ 3 callers
Function
resolveContinueTarget
(opts = {})
bin/cli/commands/setup-continue.mjs:26
↓ 3 callers
Function
resolveCrushTarget
(opts = {})
bin/cli/commands/setup-crush.mjs:25
↓ 3 callers
Function
resolveDataDir
()
open-sse/mcp-server/runtimeHeartbeat.ts:27
↓ 3 callers
Function
resolveEmbeddingProviderId
(providerId: string)
open-sse/config/embeddingRegistry.ts:269
↓ 3 callers
Function
resolveForwardTarget
* Resolve the forward URL + the format the IDE expects back. `baseUrl` is the * router base (e.g. http://localhost:20128); trailing slashes are trimm
src/mitm/_internal/forwardTarget.cjs:42
↓ 3 callers
Function
resolveGitLabOAuthBaseUrl
(providerSpecificData?: unknown)
src/lib/oauth/gitlab.ts:22
↓ 3 callers
Function
resolveGitLabRoot
(credentials: ExecuteInput["credentials"])
open-sse/executors/gitlab.ts:225
↓ 3 callers
Function
resolveInferredProviderModel
(provider: string, modelId: string)
open-sse/services/model.ts:252
↓ 3 callers
Function
resolveInitialVisibility
()
src/shared/components/requestLoggerSignature.ts:13
↓ 3 callers
Function
resolveLaunchTarget
(opts = {})
bin/cli/commands/launch.mjs:62
↓ 3 callers
Function
resolveMcpHeartbeatPath
()
open-sse/mcp-server/runtimeHeartbeat.ts:35
↓ 3 callers
Function
resolveModelAlias
(modelId: string)
open-sse/services/modelDeprecation.ts:114
↓ 3 callers
Function
resolveOpencodeTarget
(opts = {})
bin/cli/commands/setup-opencode.mjs:21
↓ 3 callers
Function
resolvePlanValue
(plan, providerSpecificData)
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.tsx:179
↓ 3 callers
Function
resolvePrefixFreezeConfig
( env: NodeJS.ProcessEnv = process.env )
open-sse/services/compression/prefixFreeze.ts:46
↓ 3 callers
Function
resolvePublicCredMulti
( key: EmbeddedDefaultKey, envNames: readonly string[] )
open-sse/utils/publicCreds.ts:206
↓ 3 callers
Function
resolvePublicOrigin
(request: Request)
src/server/origin/publicOrigin.ts:239
↓ 3 callers
Function
resolveQwenTarget
(opts = {})
bin/cli/commands/setup-qwen.mjs:23
↓ 3 callers
Function
resolveRerankProviderId
(providerId)
open-sse/config/rerankRegistry.ts:114
↓ 3 callers
Function
resolveResetWindowConfig
(config: Record<string, unknown> | null | undefined)
open-sse/services/combo/quotaScoring.ts:90
↓ 3 callers
Function
resolveRiskGate
(options?: { riskGate?: RiskGateConfig; config?: CompressionConfig; })
open-sse/services/compression/riskGate/strategyWrap.ts:7
↓ 3 callers
Function
resolveRooTarget
(opts = {})
bin/cli/commands/setup-roo.mjs:26
↓ 3 callers
Function
resolveSelectedCombo
({ activeFilter, selectedIntelligentComboId })
tests/unit/autocombo-unification.test.ts:109
↓ 3 callers
Function
resolveSources
(source)
bin/cli/commands/audit.mjs:57
↓ 3 callers
Function
resolveStaticProviderCatalogEntry
( providerId: string )
src/lib/providers/catalog.ts:176
↓ 3 callers
Function
resolveVscodeModelMetadata
(model: VscodeCatalogModel)
src/lib/vscode/modelPresentation.ts:93
↓ 3 callers
Function
resolver
(modelStr: string)
tests/unit/auto-combo-codex-responses-3509.test.ts:17
↓ 3 callers
Function
responseFactory
()
tests/unit/responses-handler.test.ts:272
↓ 3 callers
Function
responsesToolCall
(id: unknown, index = 0)
tests/unit/stream-helpers.test.ts:19
↓ 3 callers
Function
restore
(fn: () => T)
tests/unit/image-generation-fetch-timeout.test.ts:8
↓ 3 callers
Function
restoreClaudePassthroughToolNames
( responseBody: Record<string, unknown>, toolNameMap: Map<string, string> | null )
open-sse/handlers/chatCore/passthroughToolNames.ts:23
↓ 3 callers
Function
restoreEnv
()
tests/unit/db-core-init.test.ts:18
↓ 3 callers
Function
restoreEnv
()
tests/unit/blackbox-web-validated-token.test.ts:30
↓ 3 callers
Function
restoreEnv
(name: string, value: string | undefined)
tests/unit/services/emergency-fallback.test.ts:24
↓ 3 callers
Function
restoreEnv
()
tests/unit/api/v1/bifrost-sidecar.test.ts:58
↓ 3 callers
Function
restoreRiskBlocks
( body: Record<string, unknown>, blocks: PreservedBlock[] )
open-sse/services/compression/riskGate/riskGateStep.ts:87
↓ 3 callers
Function
revertTproxy
(cfg: TproxyConfig, run: CommandRunner = defaultRunner)
src/mitm/tproxy/setup.ts:60
↓ 3 callers
Function
revokeSyncToken
(id: string)
src/lib/db/syncTokens.ts:138
↓ 3 callers
Function
rewriteMcpToolName
(name: string)
open-sse/executors/cliproxyapi.ts:38
↓ 3 callers
Function
rotateCallLogs
()
src/lib/usage/callLogs.ts:645
↓ 3 callers
Function
roundPercent
(value: number)
src/lib/usage/providerWindowCosts.ts:106
↓ 3 callers
Function
rowFor
(requestId: string)
tests/unit/chatcore-output-style-telemetry.test.ts:20
↓ 3 callers
Function
rowToCompressionCombo
(row: unknown)
src/lib/db/compressionCombos.ts:173
↓ 3 callers
Function
rowToConfig
(record: Record<string, unknown>)
src/lib/db/upstreamProxy.ts:79
↓ 3 callers
Function
rowToMemory
(row: MemoryRow)
src/lib/memory/store.ts:73
↓ 3 callers
Function
run
()
tests/unit/compression/pipeline-circuit-breaker.test.ts:121
↓ 3 callers
Function
runConfigLangGetCommand
(opts = {})
bin/cli/commands/config.mjs:181
↓ 3 callers
Function
runConnectionTest
(connection: OnboardingConnection)
src/app/(dashboard)/dashboard/providers/components/onboarding/ProviderOnboardingWizard.tsx:358
↓ 3 callers
Function
runDbHealthCheck
( db: SqliteDatabase, options: RunDbHealthCheckOptions = {} )
src/lib/db/healthCheck.ts:399
↓ 3 callers
Function
runFinalize
()
open-sse/handlers/chatCore/streamFinalize.ts:17
↓ 3 callers
Function
runLlmlinguaUltra
(text: string, opts?: UltraSlmOptions)
open-sse/services/compression/engines/llmlingua/ultraEntry.ts:64
↓ 3 callers
Function
runManagedDbHealthCheck
(options?: { autoRepair?: boolean })
src/lib/db/core.ts:921
↓ 3 callers
Function
runPatterns
* Run a set of patterns against text and collect extracted facts. * Deduplicates by key within the batch.
src/lib/memory/extraction.ts:92
↓ 3 callers
Function
runProcess
( command: string, args: string[], { env, timeoutMs = 3000, useShell = shouldUseShellForComm
src/shared/services/cliRuntime.ts:267
↓ 3 callers
Function
runProviderTest
(db, connection)
bin/cli/commands/providers.mjs:131
↓ 3 callers
Function
runProvidersStatusCommand
(opts = {})
bin/cli/commands/providers.mjs:449
↓ 3 callers
Function
runRedisRuntimeCommand
( runtime: string, args: readonly string[], timeout: number, runCommand: ExecFileAsync = execFileAsync
src/app/api/local/redis/redisRuntime.ts:38
↓ 3 callers
Function
runRestoreCommand
(backupId, opts = {})
bin/cli/commands/backup.mjs:385
↓ 3 callers
Function
runSelfTest
(client: ModelClient, judgeModel: string)
open-sse/services/compression/eval/judge.ts:54
↓ 3 callers
Function
runSudoShell
(command: string, password: string)
src/lib/tailscaleTunnel.ts:527
↓ 3 callers
Function
runTransformStream
(chunks)
tests/unit/responses-transformer-dense-output.test.ts:21
↓ 3 callers
Function
runWithCasGuard
( guard: CasGuard | undefined | null, fn: () => Promise<T> )
open-sse/services/tokenRefresh.ts:199
↓ 3 callers
Function
safeEnqueue
(bytes: Uint8Array)
open-sse/executors/chatgpt-web.ts:1983
↓ 3 callers
Function
safeEqual
* Constant-time string comparison to prevent timing-oracle attacks (CWE-208). * Handles null/undefined safely and different-length strings.
src/lib/oauth/connectionPersistence.ts:22
↓ 3 callers
Function
safeLogEvents
({ result, proxyInfo, proxyLatency, provider, model, sourceFormat, targetFormat, credentials,
src/sse/handlers/chatHelpers.ts:715
↓ 3 callers
Function
safePath
* Resolve a path within BACKUP_DIR and verify it stays within bounds. * Throws if the resolved path escapes BACKUP_DIR (path traversal guard).
src/shared/services/backupService.ts:12
↓ 3 callers
Function
safeProfilePath
* Resolve a path inside PROFILES_DIR and verify it stays within bounds. * Throws on path traversal attempts.
src/app/api/cli-tools/codex-profiles/route.ts:19
↓ 3 callers
Function
safeResolveProxy
(connectionId: string, apiKeyId?: string)
src/sse/handlers/chatHelpers.ts:685
↓ 3 callers
Function
safeSend
(channel, ...args)
electron/preload.js:122
↓ 3 callers
Function
sanitize
(headers: Record<string, unknown>)
tests/unit/provider-translate-path-golden.test.ts:44
↓ 3 callers
Function
sanitizeClaudeToolSchemas
(tools: unknown)
open-sse/translator/helpers/schemaCoercion.ts:402
← previous
next →
6,601–6,700 of 20,485, ranked by callers