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
↓ 10 callers
Function
run
()
open-sse/services/combo/shadowRouting.ts:123
↓ 10 callers
Function
runWithCapture
(requestCapture: Capture, fn: () => Promise<T>)
open-sse/utils/providerRequestLogging.ts:130
↓ 10 callers
Function
runWithProxyContextOrDirect
(proxyConfig, fn)
open-sse/utils/proxyFetch.ts:409
↓ 10 callers
Function
sanitizeFileNamePart
(value: string)
tests/unit/codexAuthFile.test.ts:17
↓ 10 callers
Function
sanitizeFileNamePart
(value: string)
tests/unit/claudeAuthFile.test.ts:22
↓ 10 callers
Function
sanitizeHeaders
( headers: IncomingHttpHeaders | Record<string, string | string[] | undefined>, )
src/mitm/sanitizeHeaders.ts:30
↓ 10 callers
Function
scanOpenAiSseText
(sse: string)
open-sse/services/streamRecovery.ts:190
↓ 10 callers
Method
sendJson
(payload)
scripts/dev/v1-ws-bridge.mjs:273
↓ 10 callers
Function
sendTo
(ws: WebSocket, msg: WsServerMessage | Record<string, unknown>)
src/server/ws/liveServer.ts:267
↓ 10 callers
Function
serializeRefresh
(provider: string, fn: () => Promise<T>)
open-sse/services/refreshSerializer.ts:71
↓ 10 callers
Function
setApiKeyContextSource
( apiKeyId: string, sourceType: string, config: { token?: string; baseUrl?: string; vaultPath?: string;
src/lib/db/apiKeyContextSources.ts:47
↓ 10 callers
Function
setCachedPassword
(pwd: string | null | undefined)
src/mitm/manager.ts:74
↓ 10 callers
Function
setDetectedToolLimit
(provider: string, limit: number)
open-sse/services/toolLimitDetector.ts:33
↓ 10 callers
Function
shiftFor
(utcMs, rotation)
scripts/sre/oncall-rotation.mjs:153
↓ 10 callers
Function
shouldDetectLimit
(errorMessage: string, statusCode: number)
open-sse/services/toolLimitDetector.ts:70
↓ 10 callers
Function
shouldUseNativeCodexPassthrough
({ provider, sourceFormat, endpointPath, }: { provider?: string | null; sourceFormat?: string | null
open-sse/handlers/chatCore/passthroughHelpers.ts:5
↓ 10 callers
Function
stampedPeer
(ip: string)
tests/unit/authz/public-origin.test.ts:36
↓ 10 callers
Function
stopBatchProcessor
()
open-sse/services/batchProcessor.ts:64
↓ 10 callers
Function
stringField
(value: unknown)
src/app/(dashboard)/dashboard/providers/[id]/components/modals/EditConnectionModal.tsx:80
↓ 10 callers
Function
stubModelsFetcher
( payload: OmniRouteRawModelEntry[] )
@omniroute/opencode-plugin/tests/combos.test.ts:90
↓ 10 callers
Function
suggestFilter
(command: string, samples: CommandSample[])
open-sse/services/compression/engines/rtk/learn.ts:155
↓ 10 callers
Function
supportsXHighEffortForMaxNormalization
( aliasOrId: string, modelId: string )
open-sse/config/providerModels.ts:194
↓ 10 callers
Function
target
(connectionId: string)
tests/unit/combo/quota-share-concurrency.test.ts:21
↓ 10 callers
Function
thinkingMarkerHeaderSignal
( headerValue: string | null | undefined )
open-sse/utils/thinkCloseMarker.ts:49
↓ 10 callers
Function
toClientAntigravityModelId
(modelId: string)
open-sse/config/antigravityModelAliases.ts:246
↓ 10 callers
Function
toClientAntigravityQuotaModelId
(modelId: string)
open-sse/config/antigravityModelAliases.ts:280
↓ 10 callers
Function
toFiniteNumber
(value: unknown)
src/lib/usage/tokenAccounting.ts:7
↓ 10 callers
Function
toHar
(requests: InterceptedRequest[])
src/lib/inspector/harExport.ts:180
↓ 10 callers
Function
toNonEmptyString
(value: unknown)
tests/unit/claudeAuthImport.test.ts:12
↓ 10 callers
Function
toNumber
(value: unknown)
src/lib/monitoring/providerHealthMatrix.ts:136
↓ 10 callers
Function
toRecord
(value: unknown)
src/lib/db/providers/columns.ts:90
↓ 10 callers
Function
truncateForLog
(value: unknown)
open-sse/handlers/chatCore/logTruncation.ts:75
↓ 10 callers
Function
tryBackedChat
( req: BrowserBackedChatRequest )
open-sse/services/browserBackedChat.ts:757
↓ 10 callers
Function
unwrapFrame
(buf: Buffer)
tests/unit/cursor-agent-protobuf.test.ts:267
↓ 10 callers
Function
updateConfig
(patch: Record<string, unknown>)
src/app/(dashboard)/dashboard/combos/BuilderIntelligentStep.tsx:87
↓ 10 callers
Method
upgrade
* Upgrade an installed plugin to a newer version from sourceDir. * Preserves nothing (clean reinstall); config is reset to defaults. * Throws if
src/lib/plugins/manager.ts:254
↓ 10 callers
Function
useApiKey
(opts?: UseApiKeyOptions)
src/app/(dashboard)/dashboard/providers/hooks/useApiKey.ts:31
↓ 10 callers
Function
useDisplayBaseUrl
()
src/shared/hooks/useDisplayBaseUrl.ts:26
↓ 10 callers
Function
useIsElectron
()
src/shared/hooks/useElectron.ts:27
↓ 10 callers
Function
usePresets
()
src/app/(dashboard)/dashboard/playground/hooks/usePresets.ts:32
↓ 10 callers
Function
validateExternalUrl
(url)
tests/unit/electron-main.test.ts:112
↓ 10 callers
Function
verifyBasicAuth
(authHeader, expectedUsername, expectedPassword)
scripts/dev/webdav-handler.mjs:205
↓ 10 callers
Function
vlog
(level, msg)
src/mitm/server.cjs:172
↓ 10 callers
Function
waitForAsyncSideEffects
()
tests/unit/chatcore-translation-paths.test.ts:290
↓ 10 callers
Function
wantsProgress
(headers)
open-sse/utils/progressTracker.ts:108
↓ 10 callers
Function
withEnv
(value: string | undefined, fn: () => void)
tests/unit/services/emergency-fallback.test.ts:58
↓ 10 callers
Function
withMcpHttpAuthContext
( request: Request, callback: () => Promise<T> )
open-sse/mcp-server/httpAuthContext.ts:29
↓ 10 callers
Function
writeJson
(filePath, value)
tests/unit/usage-migrations.test.ts:34
↓ 9 callers
Function
DELETE
(req: NextRequest)
src/app/api/cache/route.ts:49
↓ 9 callers
Function
__setAnthropicSaturationDepsForTests
( deps: AnthropicSaturationDeps | null )
src/lib/quota/saturationSignals.ts:356
↓ 9 callers
Function
acceptHeaderForcesStream
(acceptHeader: unknown, bodyStream: unknown)
open-sse/utils/aiSdkCompat.ts:52
↓ 9 callers
Function
add
(val: unknown)
open-sse/handlers/imageGeneration.ts:524
↓ 9 callers
Function
aggressivenessOf
(engineOrMode: string)
open-sse/services/compression/adaptiveCompression/ladder.ts:37
↓ 9 callers
Function
alloc
(weight: number, policy: "hard" | "soft" | "burst", capValue?: number, capUnit?: string)
tests/unit/quota-fair-share.test.ts:45
↓ 9 callers
Function
applyFilters
( keys: ApiKeyShape[], opts: { activeOnly?: boolean; statusFilter?: string | null; typeFilter?
tests/unit/api-manager-filters.test.ts:222
↓ 9 callers
Function
applyLiteCompression
( body: Record<string, unknown>, options?: LiteCompressionOptions )
open-sse/services/compression/lite.ts:198
↓ 9 callers
Function
applyStackedCompressionAsync
( body: Record<string, unknown>, pipeline?: Array<CompressionPipelineStep | string>, options?: StackOpti
open-sse/services/compression/strategySelector.ts:907
↓ 9 callers
Function
asRecord
(value: unknown)
src/lib/providers/claudeExtraUsage.ts:34
↓ 9 callers
Function
assertSafeCatalogUrl
(rawUrl: string)
src/lib/cli-helper/config-generator/opencode.ts:21
↓ 9 callers
Function
assignNumber
(key, value)
open-sse/utils/usageTracking.ts:258
↓ 9 callers
Function
assignProxyToScope
( scope: string, scopeId: string | null, proxyId: string | null )
src/lib/db/proxies.ts:435
↓ 9 callers
Function
augmentDockerLocalhostHint
( error: unknown, baseUrl: string | undefined, fallbackMessage: string )
src/app/api/provider-nodes/validate/route.ts:37
↓ 9 callers
Function
block
(len: number)
tests/unit/compression/ccr-retrieval-ramp.test.ts:78
↓ 9 callers
Function
buildCapability
(overrides = {})
tests/unit/reasoning-cache.test.ts:48
↓ 9 callers
Function
buildClaudeCodeCompatibleHeaders
( apiKey: string, stream = false, sessionId?: string | null, options: { redactThinking?: boolean } = {
open-sse/services/claudeCodeCompatible.ts:172
↓ 9 callers
Function
buildComboErrorBody
( code: ComboErrorCode, details?: unknown )
src/lib/api/comboErrorResponse.ts:49
↓ 9 callers
Function
buildCompressionPreviewDiff
( original: string, compressed: string, stats: CompressionStats | null | undefined, options: Compressi
open-sse/services/compression/diffHelper.ts:173
↓ 9 callers
Function
buildDiscoveryCandidates
(input: DiscoveryCandidateInput)
tests/unit/obsidian-plugin-sync.test.ts:72
↓ 9 callers
Function
buildHeaders
(opts)
bin/cli/api.mjs:55
↓ 9 callers
Function
buildStaticProviderEntries
( category: StaticProviderCatalogCategory, getProviderStats: GetProviderStats )
src/app/(dashboard)/dashboard/providers/providerPageUtils.ts:115
↓ 9 callers
Function
buildStreamSummaryFromEvents
( events: StructuredSSEEvent[], fallbackFormat?: string | null, fallbackModel?: string | null )
open-sse/utils/streamPayloadCollector.ts:600
↓ 9 callers
Function
buildUpstreamHeadersForExecute
(modelToCall: string)
open-sse/handlers/chatCore.ts:782
↓ 9 callers
Function
calculateCost
(provider: string, model: string)
tests/unit/chatcore-streaming-quota-share.test.ts:22
↓ 9 callers
Function
captureStdout
(fn: () => Promise<void>)
tests/unit/cli-eval-commands.test.ts:41
↓ 9 callers
Function
captureStdout
(fn: () => void)
tests/unit/cli-output-render-table.test.ts:8
↓ 9 callers
Function
categoriseModel
(modelId)
bin/cli/commands/setup-codex.mjs:33
↓ 9 callers
Function
chatCreatedResponse
(id = "chat-abc")
tests/unit/executor-qwen-web.test.ts:31
↓ 9 callers
Function
claimDeviceFlowTicket
(token: string, provider: string)
src/lib/oauth/deviceFlowTickets.ts:78
↓ 9 callers
Function
classifyError
( status: number, errorText: unknown, context?: { provider?: string | null; headers?: Record<string, str
open-sse/services/accountFallback.ts:1169
↓ 9 callers
Function
classifyRoute
(rawPath: string, method: string = "GET")
src/server/authz/classify.ts:50
↓ 9 callers
Function
classifyWithConfig
( prompt: string, config: IntentClassifierConfig, systemPrompt?: string )
open-sse/services/intentClassifier.ts:633
↓ 9 callers
Function
clean
(obj: ComboConfigRecord)
open-sse/services/comboConfig.ts:199
↓ 9 callers
Function
clearUpstreamProxyConfigCache
(providerId?: string)
open-sse/handlers/chatCore/comboContextCache.ts:46
↓ 9 callers
Function
cloneDefaults
()
tests/unit/resilience-settings-quota-preflight.test.ts:10
↓ 9 callers
Function
cloneValue
(value: T)
open-sse/services/payloadRules.ts:61
↓ 9 callers
Function
coerceNum
(v: any)
src/lib/db/batches.ts:29
↓ 9 callers
Function
coerceSchemaNumericFields
(schema: unknown)
open-sse/translator/helpers/schemaCoercion.ts:71
↓ 9 callers
Function
computeCostFromPricing
( pricing: Record<string, unknown> | null | undefined, tokens: Record<string, number | undefined> | null |
src/lib/usage/costCalculator.ts:93
↓ 9 callers
Function
computeHeadroom
(sat: HeadroomSaturation | undefined)
open-sse/services/combo/headroomRanking.ts:54
↓ 9 callers
Function
convertUsageToQuotaInfo
(usage: unknown)
open-sse/services/genericQuotaFetcher.ts:114
↓ 9 callers
Function
copyToClipboard
(text: string)
src/shared/utils/clipboard.ts:13
↓ 9 callers
Function
createComboRoutingHarness
(prefix: string)
tests/integration/_comboRoutingHarness.ts:29
↓ 9 callers
Function
createMockHandleChatCore
( responses: string[] | ((body: Record<string, unknown>) => string) )
tests/integration/pipeline-combo.test.ts:72
↓ 9 callers
Function
createSqlJsAdapter
(filePath: string)
src/lib/db/adapters/sqljsAdapter.ts:51
↓ 9 callers
Function
createTestCombo
(models = ["openrouter/openai/gpt-5.4"])
tests/unit/combo-test-route.test.ts:26
↓ 9 callers
Function
ctx
(headers: Headers, normalizedPath = "/api/v1/chat/completions")
tests/unit/authz/client-api-policy-fallback.test.ts:80
↓ 9 callers
Function
cumulativeXpForLevel
(level: number)
src/lib/gamification/xp.ts:37
↓ 9 callers
Function
decodeConnectFrame
(buf: Uint8Array, byteOffset: number)
open-sse/executors/kimi-web.ts:79
↓ 9 callers
Function
defaultClaudeToolType
(tools: unknown)
open-sse/handlers/chatCore/claudeToolDefaults.ts:19
↓ 9 callers
Function
deleteCombo
(nameOrId)
scripts/test/_vpsClient.mjs:192
← previous
next →
1,701–1,800 of 20,485, ranked by callers