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
↓ 13 callers
Function
mapImageSize
(sizeParam?: string | null)
open-sse/translator/image/sizeMapper.ts:14
↓ 13 callers
Function
matchesProviderFilter
( connection: { provider?: unknown } | null | undefined, providerFilter: string )
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.tsx:486
↓ 13 callers
Function
maybePersistRtkRawOutput
( raw: string, options: { retention: RtkRawOutputRetention; command?: string | null; maxBytes?
open-sse/services/compression/engines/rtk/rawOutput.ts:74
↓ 13 callers
Function
mockClient
()
tests/unit/cursor-agent-session.test.ts:33
↓ 13 callers
Function
mockFetchJson
(data, status = 200)
tests/unit/releaseChecker.test.ts:6
↓ 13 callers
Function
mockReq
()
tests/unit/cursor-agent-session.test.ts:17
↓ 13 callers
Function
mountAndFlushInitialFetch
* Helper: mount the component and flush the initial async fetch * WITHOUT triggering the recurring setInterval loop. * Uses vi.advanceTimersByTimeAs
tests/unit/translator-friendly-monitor-tab.test.tsx:121
↓ 13 callers
Function
mountHook
(useHook: () => T)
tests/unit/ui/use-tools-builder.test.tsx:17
↓ 13 callers
Function
noStoreJson
(body: unknown, init: ResponseInit = {})
src/app/api/providers/command-code/auth/shared.ts:45
↓ 13 callers
Function
nonEmptyString
(value: unknown)
open-sse/utils/reasoningFields.ts:7
↓ 13 callers
Function
normalizeClaudeAdaptiveThinking
( body: T, model: string | null | undefined )
open-sse/services/claudeAdaptiveThinking.ts:31
↓ 13 callers
Function
normalizeModelName
(rawName: string)
src/lib/arenaEloSync.ts:208
↓ 13 callers
Function
normalizeProviderSpecificData
( provider: string | null | undefined, value: unknown )
src/lib/providers/requestDefaults.ts:125
↓ 13 callers
Function
normalizeSystemRole
( messages: NormalizedMessage[] | unknown, provider: string, model: string )
open-sse/services/roleNormalizer.ts:203
↓ 13 callers
Function
ok
(name, message, details = {})
bin/cli/commands/doctor.mjs:16
↓ 13 callers
Function
omniRouteFetch
(path: string, options: RequestInit = {})
open-sse/mcp-server/server.ts:213
↓ 13 callers
Function
parse
(overrides: unknown)
tests/unit/provider-rate-limit-overrides-schema.test.ts:6
↓ 13 callers
Function
parseAndValidateWebhookUrl
(input: string | URL)
src/shared/network/outboundUrlGuard.ts:185
↓ 13 callers
Function
parseBulkApiKeys
(text: string)
src/shared/utils/bulkApiKeyParser.ts:26
↓ 13 callers
Function
parseBulkImportText
(text: string)
src/app/(dashboard)/dashboard/settings/components/parseBulkProxyImport.ts:31
↓ 13 callers
Function
parseDuckDuckGoLite
(rawHtml: string)
open-sse/services/freeWebSearch.ts:98
↓ 13 callers
Function
recordFailedAttempt
(identifier, config = DEFAULT_CONFIG)
src/domain/lockoutPolicy.ts:118
↓ 13 callers
Function
recordLoginFailure
( rawIp: string | null | undefined, options: { enabled: boolean } )
src/server/auth/loginGuard.ts:76
↓ 13 callers
Function
recordProviderFailure
( provider: string | null | undefined, log?: { warn?: (...args: unknown[]) => void }, connectionId?: str
open-sse/services/accountFallback.ts:872
↓ 13 callers
Function
relativeTime
( iso: string, locale: "en" | "pt-BR", referenceNowMs?: number )
src/lib/audit/timeline.ts:101
↓ 13 callers
Function
renderTab
()
tests/unit/free-pool-tab.test.tsx:56
↓ 13 callers
Method
reportCooldown
* Report a rate-limit (429). Puts the session into exponential-backoff cooldown.
open-sse/services/sessionPool/sessionPool.ts:158
↓ 13 callers
Function
reset
()
tests/unit/claude-web.test.ts:11
↓ 13 callers
Function
reset
()
tests/unit/security/local-endpoints.test.ts:15
↓ 13 callers
Function
resetStorage
()
tests/unit/db-core-extended.test.ts:21
↓ 13 callers
Function
resolveApiKey
( apiKeyId?: string | null, apiKey?: string | null )
src/shared/services/apiKeyResolver.ts:4
↓ 13 callers
Function
resolveImageBaseUrl
( credentials: | { baseUrl?: unknown; providerSpecificData?: { baseUrl?: unknown } | null } | null
open-sse/handlers/imageGeneration.ts:127
↓ 13 callers
Function
resolveModelOrError
( modelStr: string, body: any, endpointPath: string = "", requestHeaders: Record<string, unknown> | nu
src/sse/handlers/chatHelpers.ts:113
↓ 13 callers
Function
resolveOmniRouteBaseUrl
(env: OmniRouteBaseUrlEnv = process.env)
src/shared/utils/resolveOmniRouteBaseUrl.ts:15
↓ 13 callers
Function
resolveProviderId
(aliasOrId: string)
src/shared/constants/providers.ts:339
↓ 13 callers
Function
resolveProxyForConnection
(connectionId: string, apiKeyId?: string)
src/lib/db/settings.ts:343
↓ 13 callers
Function
resolveRelayTarget
( target: string, relayPath: string )
src/app/api/settings/proxy/deno-deploy/route.ts:28
↓ 13 callers
Function
roundCost
(value: number)
src/app/api/usage/analytics/route.ts:81
↓ 13 callers
Function
sanitizeClaudeToolSchema
(schema: unknown)
open-sse/translator/helpers/schemaCoercion.ts:393
↓ 13 callers
Function
saveRequestUsage
(entry: any)
src/lib/usage/usageHistory.ts:566
↓ 13 callers
Function
sel
( ...entries: Array<[string, "lite" | "full" | "ultra"]> )
tests/unit/compression/output-styles-apply.test.ts:9
↓ 13 callers
Function
selectAccount
( accounts, strategy = "fill-first", state: { lastIndex?: number } = {}, model = null )
open-sse/services/accountSelector.ts:47
↓ 13 callers
Method
sendProtocolError
(code, message, id = null)
scripts/dev/v1-ws-bridge.mjs:277
↓ 13 callers
Function
set
(k: string, v: unknown)
src/shared/components/compression/EngineConfigForm.tsx:11
↓ 13 callers
Function
settle
(callback: () => void)
src/lib/tailscaleTunnel.ts:652
↓ 13 callers
Function
shouldRetryStreamEarlyEof
( errorCode: string | null | undefined, attempt: number )
src/sse/handlers/chatHelpers.ts:657
↓ 13 callers
Function
showStatus
(type: "success" | "error", message: string)
src/app/(dashboard)/dashboard/settings/components/ComboDefaultsTab.tsx:195
↓ 13 callers
Function
stat
(sx, label, val, vc)
scripts/research/gen-budget-card-svg.mjs:68
↓ 13 callers
Function
str
(v: unknown)
src/lib/images/imageRouteModel.ts:136
↓ 13 callers
Function
stringifyIdValue
(value: unknown)
open-sse/utils/responsesStreamHelpers.ts:3
↓ 13 callers
Function
supportsClaudeMaxEffort
(modelId: string | null | undefined)
open-sse/config/providerModels.ts:80
↓ 13 callers
Function
tlsFetchChatGpt
( url: string, options: TlsFetchOptions = {} )
open-sse/services/chatgptTlsClient.ts:255
↓ 13 callers
Function
tlsFetchClaude
( url: string, options: TlsFetchOptions = {} )
open-sse/services/claudeTlsClient.ts:253
↓ 13 callers
Function
toRecord
(value: unknown)
open-sse/services/thinkingBudget.ts:78
↓ 13 callers
Function
toRecord
(value: unknown)
open-sse/services/codexUsageQuotas.ts:28
↓ 13 callers
Function
toRecord
(value: unknown)
open-sse/services/payloadRules.ts:53
↓ 13 callers
Function
updateAntigravityRemainingCredits
(accountId: string, balance: number)
open-sse/executors/antigravity.ts:318
↓ 13 callers
Function
userContent
(calls: FetchCall[])
tests/unit/command-code-vision.test.ts:54
↓ 13 callers
Function
writeTestPlugin
(opts?: { name?: string; onRequest?: boolean })
tests/unit/plugins-tools.test.ts:25
↓ 12 callers
Function
abort
()
open-sse/executors/commandCode.ts:468
↓ 12 callers
Function
add
(condition: boolean, reason: string)
open-sse/services/taskAwareRouting.ts:220
↓ 12 callers
Function
anthropicRead
(id: string, path: string)
tests/unit/compression/read-lifecycle.test.ts:18
↓ 12 callers
Function
apiAuth
(key: string)
@omniroute/opencode-plugin/tests/combos.test.ts:128
↓ 12 callers
Function
asRecord
(value: unknown)
open-sse/utils/stream.ts:161
↓ 12 callers
Function
assertNoStale
(allowlist, liveViolations, gateName)
scripts/check/lib/allowlist.mjs:46
↓ 12 callers
Function
budgetToEffort
(budget: number)
src/lib/providers/xai/thinking.ts:33
↓ 12 callers
Function
buildJwt
(payload: JsonRecord)
tests/unit/codexAuthImport.test.ts:8
↓ 12 callers
Function
chat
(model, { maxTokens = 16, content } = {})
scripts/test/_vpsClient.mjs:80
↓ 12 callers
Function
checkBudget
(apiKeyId: string, additionalCost = 0)
src/domain/costRules.ts:437
↓ 12 callers
Function
checkSemanticCache
({ semanticCacheEnabled, body, clientRawRequest, model, provider, stream, reqLogger, effective
open-sse/handlers/chatCore/semanticCache.ts:13
↓ 12 callers
Function
classifyHostLocality
(ip: string | null)
src/server/authz/routeGuard.ts:111
↓ 12 callers
Function
classifyStampedPeerLocality
( peerHeader: string | null, viaProxyHeader: string | null, token: string | undefined )
src/server/authz/peerStamp.ts:89
↓ 12 callers
Function
cleanJSONSchemaForAntigravity
(schema: unknown)
open-sse/translator/helpers/geminiHelper.ts:576
↓ 12 callers
Function
clearAllModelLockouts
()
open-sse/services/accountFallback.ts:715
↓ 12 callers
Function
clearDispatcherCache
()
open-sse/utils/proxyDispatcherCache.ts:108
↓ 12 callers
Function
clearRecoveredProviderState
( credentials: Partial<RecoverableConnectionState> | null )
src/sse/services/auth.ts:2279
↓ 12 callers
Function
cloneBoundedChatLogPayload
(value: unknown, depth = 0)
open-sse/handlers/chatCore/logTruncation.ts:25
↓ 12 callers
Function
codexQuota
({ used5h, reset5hSeconds, used7d, reset7dSeconds, }: { used5h: number; reset5hSeconds: number;
tests/unit/combo-strategies.test.ts:105
↓ 12 callers
Method
configureToken
( token: string, config: { defaultResponse: PlannedResponse; queue?: PlannedResponse[] } )
tests/e2e/helpers/mockUpstreamServer.ts:92
↓ 12 callers
Function
convertOpenAIContentToParts
(content: unknown)
open-sse/translator/helpers/geminiHelper.ts:108
↓ 12 callers
Method
count
Number of available profiles
open-sse/services/sessionPool/fingerprintRotator.ts:101
↓ 12 callers
Function
createKeyWithPolicy
(update = {})
tests/unit/api-key-policy.test.ts:72
↓ 12 callers
Function
createLog
()
tests/unit/combo-stream-readiness-fallback.test.ts:21
↓ 12 callers
Function
createMockDeps
(overrides: { providers?: string[]; stats?: Record<string, MockPoolStats>; sessionDetails?: Record<strin
tests/unit/web-session-pool-health.test.ts:41
↓ 12 callers
Function
createOmniRouteFetchInterceptor
(config: { apiKey: string; baseURL: string; })
@omniroute/opencode-plugin/src/index.ts:2997
↓ 12 callers
Function
createPrompt
()
bin/cli/io.mjs:3
↓ 12 callers
Function
createRecoverableStream
( initialStream: ReadableStream<Uint8Array>, reopen: () => Promise<ReadableStream<Uint8Array> | null>, o
open-sse/services/streamRecovery.ts:303
↓ 12 callers
Function
createSseHeartbeatTransform
({ intervalMs = DEFAULT_SSE_HEARTBEAT_INTERVAL_MS, signal, shape = DEFAULT_SSE_HEARTBEAT_SHAPE, chunkI
open-sse/utils/sseHeartbeat.ts:64
↓ 12 callers
Function
decodeProtobufValue
(buf: Buffer)
open-sse/utils/cursorAgentProtobuf.ts:1173
↓ 12 callers
Function
dimensionKeyToString
(k: DimensionKey)
src/lib/quota/dimensions.ts:59
↓ 12 callers
Function
enc
(s: string)
tests/unit/stream-recovery.test.ts:13
↓ 12 callers
Function
encodeTabular
(arr: Record<string, unknown>[])
open-sse/services/compression/engines/headroom/tabular.ts:65
↓ 12 callers
Function
enrichRunWithBreakers
( run: ComboRunModel | null, providerHealth: Record<string, ProviderBreakerSnapshot> | null | undefined )
src/app/(dashboard)/dashboard/combos/live/comboFlowModel.ts:398
↓ 12 callers
Function
entry
(id: string, owned_by = "anthropic")
tests/unit/no-thinking-alias.test.ts:105
↓ 12 callers
Function
evaluateCase
(evalCase: any, actualOutput: string)
src/lib/evals/evalRunner.ts:125
↓ 12 callers
Function
executeInputs
(messages: Array<{ role: string; content: string }>)
tests/unit/muse-spark-web-continuation.test.ts:53
↓ 12 callers
Function
extractCozeValidationError
(body: unknown)
src/lib/providers/validation/cozeError.ts:33
↓ 12 callers
Function
extractDelta
(msg: Record<string, unknown> | null)
open-sse/executors/kimi-web.ts:116
↓ 12 callers
Function
extractMemoryTextFromRequestBody
( body: Record<string, unknown> | null | undefined )
open-sse/handlers/chatCore/memoryExtraction.ts:31
↓ 12 callers
Function
fakeSocket
(localAddress: string, localPort: number)
tests/unit/tproxy-capture-mode.test.ts:30
← previous
next →
1,101–1,200 of 20,485, ranked by callers