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
withRuntime
(fn, opts = {})
bin/cli/runtime.mjs:36
↓ 4 callers
Function
withServerFetch
(mockFetch: typeof fetch, fn: () => Promise<void>)
tests/unit/cli-server-commands.test.ts:16
↓ 4 callers
Function
withStatus
(error: Error, status: number)
src/lib/usage/providerLimits.ts:188
↓ 4 callers
Function
withTempDir
(fn)
tests/unit/build-next-isolated.test.ts:16
↓ 4 callers
Function
withTempEnv
(fn: (dataDir: string) => Promise<void>)
tests/unit/cli-setup-command.test.ts:17
↓ 4 callers
Function
withTmpBaseline
(content: string | null, fn: (p: string) => void)
tests/unit/check-openapi-breaking-ratchet.test.ts:112
↓ 4 callers
Function
workerBackend
(text, opts)
open-sse/services/compression/engines/llmlingua/worker.ts:346
↓ 4 callers
Function
wrapRequestListenerWithMethodGuard
(listener)
scripts/dev/http-method-guard.cjs:56
↓ 4 callers
Function
write
(rel: string, content: string)
tests/unit/check-fabricated-docs.test.ts:21
↓ 4 callers
Function
writeAwsSsoCache
Writes the standard AWS SSO cache layout under tmpHome.
tests/unit/kiro-auto-import-idc-2059.test.ts:73
↓ 4 callers
Function
writeEnvExample
(rootDir: string)
tests/unit/sync-env.test.ts:18
↓ 4 callers
Function
writeJson
(filePath: string, value: unknown)
tests/unit/compression/rtk-custom-filters.test.ts:18
↓ 4 callers
Function
writeStateFile
(state: PersistedTunnelState)
src/lib/cloudflaredTunnel.ts:229
↓ 3 callers
Function
Error
({ error, reset }: ErrorProps)
src/app/error.tsx:15
↓ 3 callers
Function
__getDefaultDispatcherOptionsForTest
( env: Record<string, string | undefined> = process.env )
open-sse/utils/proxyDispatcher.ts:407
↓ 3 callers
Function
__getSocksOptionsForTest
(proxyUrl: string)
open-sse/utils/proxyDispatcher.ts:472
↓ 3 callers
Function
__setSha3NativeForTesting
(state: NativeHasher | null | undefined)
open-sse/utils/sha3-512.ts:162
↓ 3 callers
Function
__setStickinessHeadroomFetcherForTests
(fetcher: SaturationFetcher | null)
open-sse/services/combo/sessionStickiness.ts:78
↓ 3 callers
Method
_checkCredentials
* Check if we have all required credentials, otherwise continue polling
electron/loginManager.js:298
↓ 3 callers
Function
_clearTokenRotationMap
()
open-sse/services/tokenRefresh.ts:148
↓ 3 callers
Function
_injectModel
(model: PotionModel | null)
src/lib/memory/embedding/staticPotion.ts:40
↓ 3 callers
Method
_onSuccess
()
src/shared/utils/circuitBreaker.ts:320
↓ 3 callers
Function
_resetCasGuardStats
()
open-sse/services/tokenRefresh.ts:217
↓ 3 callers
Function
_runSingleTest
(provider, model)
bin/cli/commands/test-provider.mjs:183
↓ 3 callers
Function
acknowledgeProviderRisk
(providerId: string)
src/app/(dashboard)/dashboard/providers/hooks/useRiskAcknowledged.ts:56
↓ 3 callers
Function
acquireAccessToken
( userToken: string, signal?: AbortSignal | null, log?: ExecuteInput["log"] )
open-sse/executors/deepseek-web.ts:576
↓ 3 callers
Function
acquireBrowserContext
( key: string, options: BrowserPoolContextOptions )
open-sse/services/browserPool.ts:309
↓ 3 callers
Function
activeProxyUrl
()
tests/integration/proxy-context-passthrough.test.ts:37
↓ 3 callers
Function
add
(a: EncoderSize, text: string, countTokens: (t: string) => number)
open-sse/services/compression/engines/headroom/encoderComparison.ts:28
↓ 3 callers
Function
addCustomAlias
(from: string, to: string)
open-sse/services/modelDeprecation.ts:152
↓ 3 callers
Function
addEntry
(entry)
electron/main.js:108
↓ 3 callers
Function
addFrequency
(date: Date, frequency: Exclude<ScheduledVacuum, "never">)
src/lib/db/vacuumScheduler.ts:159
↓ 3 callers
Function
addIP
()
src/app/(dashboard)/dashboard/settings/components/IPFilterSection.tsx:60
↓ 3 callers
Function
addLimitedQuota
(name: string)
open-sse/services/usage.ts:664
↓ 3 callers
Function
addModel
(model: CompatModelRow, source: string)
src/app/(dashboard)/dashboard/providers/[id]/components/CompatibleModelsSection.tsx:161
↓ 3 callers
Function
addModelsSuffix
(baseUrl: string)
src/lib/providers/validation/urlHelpers.ts:36
↓ 3 callers
Function
addSlowProvider
(id: string, alias?: string)
open-sse/utils/keepaliveThreshold.ts:25
↓ 3 callers
Function
addToBlacklist
(ip)
open-sse/services/ipFilter.ts:126
↓ 3 callers
Function
addToLayer
(layer: SignatureLayer, key: string | undefined)
open-sse/services/signatureCache.ts:75
↓ 3 callers
Function
addToWhitelist
(ip)
open-sse/services/ipFilter.ts:140
↓ 3 callers
Function
addXp
(apiKeyId: string, action: string, amount: number, metadata?: string)
src/lib/db/gamification.ts:156
↓ 3 callers
Function
affinityKey
(sessionKey: string, provider: string)
src/lib/db/sessionAccountAffinity.ts:21
↓ 3 callers
Function
aliasFor
(original: string)
open-sse/services/claudeCodeToolRemapper.ts:269
↓ 3 callers
Function
allRoleText
( items: unknown[], roles: Set<string>, contentKey: "content" | "parts" = "content" )
open-sse/services/taskAwareRouting.ts:418
↓ 3 callers
Function
allowedIntensities
( engine: string, table: EngineIntensities )
src/shared/components/compression/compressionPipelineModel.ts:17
↓ 3 callers
Function
analyticsText
(t: AnalyticsTranslator, key: string, fallback: string)
src/app/(dashboard)/dashboard/analytics/RouteExplainabilityTab.tsx:26
↓ 3 callers
Function
analyzeEgressSharing
(connections: ConnectionEgress[])
src/lib/proxyEgress.ts:150
↓ 3 callers
Function
analyzePrefix
(messages: Message[])
src/lib/promptCache/prefixAnalyzer.ts:25
↓ 3 callers
Function
anthropicBody
(toolResultBlock: Record<string, unknown>)
tests/unit/compression/rtk-cache-control-preserve.test.ts:28
↓ 3 callers
Function
anthropicBodyWithTools
(tools: unknown[], messages: unknown[] = [])
tests/unit/cliproxyapi-executor.test.ts:433
↓ 3 callers
Function
antigravityNativeOAuthUserAgent
()
open-sse/services/antigravityHeaders.ts:69
↓ 3 callers
Function
anyUpstreamHeadersBadge
( modelId: string, customMap: CompatModelMap, overrideMap: CompatModelMap )
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:530
↓ 3 callers
Function
apiCall
(endpoint: string, options: RequestInit = {})
src/app/(dashboard)/dashboard/settings/components/RedisLauncherPanel.tsx:17
↓ 3 callers
Function
apiGet
(path: string)
tests/integration/services/full-lifecycle.int.test.ts:60
↓ 3 callers
Function
apiKeyConnections
(provider: string)
tests/unit/provider-connection-apikey-dedup.test.ts:27
↓ 3 callers
Function
append
(arr: string[], bytes: { value: number; truncated: boolean }, chunk: string)
open-sse/utils/requestLogger.ts:270
↓ 3 callers
Function
appendByPath
(raw: string)
open-sse/executors/deepseek-web.ts:383
↓ 3 callers
Function
appendImageFormValue
(formData, key, source, filename)
open-sse/handlers/imageGeneration.ts:248
↓ 3 callers
Function
appendStreamReadinessSignal
(state: StreamReadinessSignalState, chunk: string)
open-sse/utils/streamReadiness.ts:157
↓ 3 callers
Function
apply
(port: number)
src/mitm/inspector/systemProxyConfig.ts:287
↓ 3 callers
Function
applyColorTheme
(colorTheme: string, customColor: string)
src/store/themeStore.ts:85
↓ 3 callers
Function
applyConfiguredUserAgent
( headers: Record<string, string>, providerSpecificData?: JsonRecord | null )
open-sse/executors/base.ts:190
↓ 3 callers
Function
applyDefaults
(manifest: PluginManifest)
src/lib/plugins/manifest.ts:114
↓ 3 callers
Function
applyIdleTimeout
(socket: Socket, ms: number = MITM_IDLE_TIMEOUT_MS)
src/mitm/socketTimeouts.ts:20
↓ 3 callers
Function
applyIonizerPass
( messages: MessageLike[], opts: IonizerPassOptions )
open-sse/services/compression/engines/ionizer/sample.ts:145
↓ 3 callers
Function
applyPersistentOptimizationPragmas
( db: SqliteDatabase, settings: DatabaseOptimizationSettings )
src/lib/db/optimizationSettings.ts:172
↓ 3 callers
Function
applyPreset
(presetId: SidebarPresetId)
src/app/(dashboard)/dashboard/settings/components/SidebarTab.tsx:450
↓ 3 callers
Function
applyProviderRequestDefaults
( body: unknown, defaults?: ProviderRequestDefaults | null )
open-sse/services/providerRequestDefaults.ts:36
↓ 3 callers
Function
applyStreamReadiness
(response: Response)
tests/unit/combo-stream-readiness-fallback.test.ts:75
↓ 3 callers
Function
applyTheme
(theme: string)
src/store/themeStore.ts:71
↓ 3 callers
Function
asProviderData
(value: unknown)
open-sse/handlers/chatCore/codexFailover.ts:9
↓ 3 callers
Function
asRecord
(value: unknown)
open-sse/services/claudeHaikuConstraints.ts:15
↓ 3 callers
Function
asRecord
(value: unknown)
src/lib/cloudSync.ts:18
↓ 3 callers
Function
asRecord
(value: unknown)
src/lib/semanticCache.ts:21
↓ 3 callers
Function
asRecord
(value: unknown)
src/lib/providers/codexFastTier.ts:9
↓ 3 callers
Function
asRecord
(value: unknown)
src/lib/db/tokenLimits.ts:55
↓ 3 callers
Function
asString
(value: unknown)
open-sse/translator/deepseekWebTools.ts:295
↓ 3 callers
Function
assertAlmostEqual
(actual, expected, epsilon = 1e-9, message = "")
tests/unit/domain-persistence.test.ts:8
↓ 3 callers
Function
assertCostTelemetryHeaders
(response: Response)
tests/unit/media-cost-headers.test.ts:44
↓ 3 callers
Function
assertNoConsecutiveSameRole
(contents: GeminiContent[], label: string)
tests/unit/translator-gemini-consecutive-role-2191.test.ts:19
↓ 3 callers
Function
assertNoFatalLogs
(logs)
scripts/dev/smoke-electron-packaged.mjs:192
↓ 3 callers
Function
assertStoredConnection
( connection: StoredConnection )
tests/unit/account-concurrency-cap.test.ts:21
↓ 3 callers
Function
assertWithinPluginDir
* Assert that `target` is strictly contained within `pluginRoot`. * Prevents a tampered/legacy DB `pluginDir` from causing deletion of an * arbitrar
src/lib/plugins/manager.ts:77
↓ 3 callers
Function
assignCodexWindows
( target: Record<string, { percentUsed: number; resetAt: string | null }>, rateLimit: Record<string, unkno
open-sse/services/codexQuotaFetcher.ts:340
↓ 3 callers
Function
auditHTML
(html)
src/shared/utils/a11yAudit.ts:35
↓ 3 callers
Function
authedRequest
(url: string)
tests/unit/reasoning-cache.test.ts:925
↓ 3 callers
Function
availableQuota
(provider: { quotaTotal: number | null; quotaUsed: number })
src/lib/a2a/skills/quotaManagement.ts:53
↓ 3 callers
Function
awsEncode
(value: string)
open-sse/utils/awsSigV4.ts:32
↓ 3 callers
Function
baseCtx
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-streaming-usage-stats.test.ts:20
↓ 3 callers
Function
blocksToXai
* Translate Anthropic content blocks into xAI input content blocks. * Anthropic block types: * "text", "image", "tool_use", "tool_result", "thinki
src/lib/providers/xai/translators/claude.ts:162
↓ 3 callers
Function
body
(model: string, content = `Route ${model}`)
tests/integration/combo-failover-e2e.test.ts:45
↓ 3 callers
Function
body
(model: string, content = "hi")
tests/integration/combo-matrix/cost-and-context.test.ts:25
↓ 3 callers
Function
body
()
tests/unit/compression/riskGateIntegration.test.ts:27
↓ 3 callers
Function
bodyWithClientMetadata
()
tests/unit/executor-default-strip-client-metadata.test.ts:18
↓ 3 callers
Function
bodyWithToolUseNeedingThinking
()
tests/unit/translator-redacted-thinking-model-aware-4479.test.ts:26
↓ 3 callers
Function
boundedNumber
(value: unknown, fallback: number, min: number, max: number)
src/lib/db/compression.ts:303
↓ 3 callers
Method
broadcast
(ev: WsEvent)
src/mitm/inspector/buffer.ts:186
↓ 3 callers
Function
buildAgentRequestBody
(input: AgentRunInput)
open-sse/utils/cursorAgentProtobuf.ts:535
↓ 3 callers
Function
buildAntigravityUpstreamError
( status: number, statusText: string, rawBody: string )
open-sse/executors/antigravityUpstreamError.ts:12
↓ 3 callers
Function
buildAntigravityUsageCacheKey
(accessToken: string, projectId?: string | null)
open-sse/services/usage/antigravity.ts:182
← previous
next →
5,401–5,500 of 20,485, ranked by callers