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
↓ 8 callers
Function
useServiceStatus
(name: string)
src/app/(dashboard)/dashboard/providers/services/hooks/useServiceStatus.ts:30
↓ 8 callers
Function
validateT3Credentials
(creds: T3ChatCredentials | null | undefined)
open-sse/executors/t3-chat-web.ts:102
↓ 8 callers
Function
waitFor
(fn: () => boolean, timeout = 3000)
tests/unit/ui/playground-api-tab.test.tsx:119
↓ 8 callers
Function
waitForAllBatches
()
open-sse/services/batchProcessor.ts:896
↓ 8 callers
Function
waitForNextDevCompileToFinish
(page: Page)
tests/e2e/api-keys-flow.spec.ts:60
↓ 8 callers
Function
waitForPageToSettle
(page: Page)
tests/e2e/api-keys-flow.spec.ts:51
↓ 8 callers
Function
wasRefreshTokenRotated
( attemptedRefreshToken: string | null | undefined, latestRefreshToken: string | null | undefined )
open-sse/services/refreshSerializer.ts:115
↓ 8 callers
Function
withFakeIntervals
(fn)
tests/unit/sse-heartbeat.test.ts:6
↓ 8 callers
Function
withFakeTimers
(fn)
tests/unit/quota-monitor.test.ts:50
↓ 8 callers
Function
withFetch
(handler: (url: string, init?: RequestInit) => Response | Promise<Response>)
tests/unit/codex-device-flow.test.ts:16
↓ 8 callers
Function
withMockServer
( handler: (req: http.IncomingMessage, res: http.ServerResponse) => void, fn: (baseUrl: string) => Promise
tests/unit/zai-validator.test.ts:19
↓ 8 callers
Function
withSanitizedPathTokenApiKey
(request: Request, token?: string)
src/lib/vscode/tokenizedRequest.ts:77
↓ 8 callers
Function
wrap
(body: React.ReactNode)
src/app/(dashboard)/dashboard/settings/components/RoutingTab.tsx:352
↓ 8 callers
Function
writePluginWithMain
* Write a minimal valid plugin and return its plugin directory (where plugin.json lives). * * Uses the DIRECT plugin-dir layout — plugin.json at the
tests/unit/plugins-fs-safety.test.ts:52
↓ 8 callers
Function
writeScript
(dir, name, content, executable = true)
tests/unit/cli-runtime-extended.test.ts:36
↓ 7 callers
Function
__setCodexWebSocketTransportForTesting
( websocket: WebsocketFn | null | undefined )
open-sse/executors/codex.ts:76
↓ 7 callers
Function
_injectPipeline
(fn: PipelineFn | null)
src/lib/memory/embedding/transformersLocal.ts:21
↓ 7 callers
Function
anthropicResult
(id: string, text: string)
tests/unit/compression/read-lifecycle.test.ts:26
↓ 7 callers
Function
antigravityHarnessUserAgent
( version = getCachedAntigravityVersion(), platform: NodeJS.Platform | string = getRuntimePlatform(), ar
open-sse/services/antigravityClientProfile.ts:68
↓ 7 callers
Function
antigravityToOpenAIRequest
(model, body, stream)
open-sse/translator/request/antigravity-to-openai.ts:9
↓ 7 callers
Function
apiFetch
(path: string, options?: RequestInit)
tests/e2e/protocol-clients.test.ts:18
↓ 7 callers
Function
apiPost
(path: string, body?: unknown)
tests/integration/services/full-lifecycle.int.test.ts:44
↓ 7 callers
Function
appendCondition
(whereClause: string, condition: string)
src/lib/db/compressionAnalytics.ts:317
↓ 7 callers
Function
applyEnrichment
( model: ModelV2, enrichment: OmniRouteEnrichmentEntry | undefined )
@omniroute/opencode-plugin/src/index.ts:1863
↓ 7 callers
Function
applyFilter
(req: { detectedKind?: string }, profile: string)
tests/unit/ui/use-traffic-stream.test.tsx:60
↓ 7 callers
Function
applyRerank
* Apply reranking via /v1/rerank (loopback-only) if rerankEnabled + rerankProviderModel is set. * Returns reordered array (or original order on any e
src/lib/memory/retrieval.ts:151
↓ 7 callers
Function
asRecord
(value: unknown)
open-sse/utils/passthroughTailProcessor.ts:50
↓ 7 callers
Function
asRecord
(value: unknown)
src/mitm/inspector/llmMetadataExtractor.ts:58
↓ 7 callers
Function
asRecord
(value: unknown)
src/lib/db/combos.ts:13
↓ 7 callers
Function
asRecord
(value: unknown)
src/app/api/providers/[id]/sync-models/route.ts:23
↓ 7 callers
Function
assertRouteRemovedFromMissingHelperAllowlist
(path: string)
tests/unit/check-error-helper.test.ts:170
↓ 7 callers
Function
attachLogMeta
( payload: Record<string, unknown> | null | undefined, meta: Record<string, unknown> | null | undefined )
open-sse/handlers/chatCore/cacheUsageMeta.ts:40
↓ 7 callers
Function
attachToolNameMap
(payload: T, toolNameMap: Map<string, string> | null)
open-sse/executors/antigravity.ts:498
↓ 7 callers
Function
autoCacheBody
(model: string)
tests/unit/compression-cache-guard-3955.test.ts:30
↓ 7 callers
Method
base
()
open-sse/executors/trae.ts:56
↓ 7 callers
Function
baseArgs
(over: Record<string, unknown> = {})
tests/unit/chatcore-streaming-pipeline.test.ts:41
↓ 7 callers
Function
baseArgs
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-semantic-cache-store.test.ts:39
↓ 7 callers
Function
baseBody
()
tests/unit/openai-to-claude-strip-temperature-thinking.test.ts:20
↓ 7 callers
Function
buildAutoCandidateFilter
( category?: AutoCategory, tier?: AutoTier )
open-sse/services/autoCombo/suffixComposition.ts:104
↓ 7 callers
Function
buildCallLogListRows
({ logs, connections, pendingDetails, completedDetails, now = Date.now(), }: CallLogListRowsInput)
src/app/api/usage/call-logs/route.ts:26
↓ 7 callers
Function
buildClientRawRequest
(request: Request, body: unknown)
src/sse/handlers/chat.ts:827
↓ 7 callers
Function
buildCodexQuotaPersistence
(opts: { headers: Record<string, string>; existingProviderData: Record<string, unknown>; modelForScope:
open-sse/handlers/chatCore/codexQuota.ts:31
↓ 7 callers
Function
buildErrorResponse
(status: number, body: string)
open-sse/executors/theoldllm.ts:159
↓ 7 callers
Function
buildImproveChatBody
(req: ImprovePromptRequest)
src/lib/playground/promptImprover.ts:49
↓ 7 callers
Function
buildJulesApiUrl
(path: string)
src/lib/cloudAgent/julesApi.ts:4
↓ 7 callers
Function
buildKiroImportError
(error: unknown)
src/app/api/oauth/kiro/import/route.ts:23
↓ 7 callers
Function
buildOAuthConnectionCreatePayload
( provider: string, tokenData: Record<string, any>, expiresAt: string | null )
src/lib/oauth/connectionPersistence.ts:43
↓ 7 callers
Function
buildProviderUrl
( provider, model, stream = true, options: { baseUrl?: string; baseUrlIndex?: number; prov
open-sse/services/provider.ts:249
↓ 7 callers
Method
buildRequestBody
(prompt: string, wantThinking: boolean)
open-sse/executors/kimi-web.ts:209
↓ 7 callers
Function
buildRetryableFallback
(reason: RateLimitReasonValue)
open-sse/services/accountFallback.ts:1397
↓ 7 callers
Function
buildSkillMarkdown
( skillId: string, sources: BuildSources, existingContent?: string, )
src/lib/agentSkills/generator.ts:192
↓ 7 callers
Function
buildTelegramPayload
( event: WebhookEvent, data: Record<string, unknown>, chatId: string )
src/lib/webhooks/integrations/telegram.ts:27
↓ 7 callers
Function
buildTokenDeltaPayload
(tokens: number)
tests/unit/cursor-streaming.test.ts:42
↓ 7 callers
Function
buildTproxyApplyCommands
(cfg: TproxyConfig)
src/mitm/tproxy/commands.ts:105
↓ 7 callers
Function
buildUrlOpenAI
(_provider, credentials)
tests/unit/custom-endpoint-paths.test.ts:7
↓ 7 callers
Function
buildUsable
Build a `usable` set bundle for the tests.
@omniroute/opencode-plugin/tests/usable-combo.test.ts:19
↓ 7 callers
Function
buildVercelRelayHeaders
( targetUrl: string, relayAuth: string )
open-sse/utils/proxyDispatcher.ts:310
↓ 7 callers
Function
bumpProxyConfigGeneration
()
src/lib/db/settings.ts:37
↓ 7 callers
Function
bumpProxyRegistryGeneration
()
src/lib/db/proxies.ts:38
↓ 7 callers
Function
cacheReasoningFromAssistantMessage
( message: AssistantMessageLike | null | undefined, provider: string, model: string, context?: Assista
open-sse/services/reasoningCache.ts:239
↓ 7 callers
Function
calculateDiversityScore
()
open-sse/services/autoCombo/providerDiversity.ts:70
↓ 7 callers
Function
calculateScore
(factors: ScoringFactors, weights: ScoringWeights)
open-sse/services/autoCombo/scoring.ts:98
↓ 7 callers
Function
candidate
(partial: Partial<ProviderCandidate> = {})
tests/unit/auto-combo-scoring-clamp.test.ts:40
↓ 7 callers
Function
candidate
( provider: string, model: string, connectionId: string, overrides: Partial<AutoProviderCandidate> = {
tests/unit/combo/auto-quota-cutoff.test.ts:41
↓ 7 callers
Function
captureOutput
(fn: () => Promise<void>)
tests/unit/cli-cost.test.ts:78
↓ 7 callers
Function
captureStdout
(fn: () => Promise<void>)
tests/unit/cli-usage.test.ts:100
↓ 7 callers
Function
captureStdout
(fn: () => Promise<void>)
tests/unit/cli-memory-commands.test.ts:35
↓ 7 callers
Function
chatCompletionChunk
( id: string, model: string, delta: JsonRecord, finishReason: unknown = null )
open-sse/executors/commandCode.ts:364
↓ 7 callers
Function
checkBodySize
(request: Request, limit: number = MAX_BODY_BYTES)
src/shared/middleware/bodySizeGuard.ts:65
↓ 7 callers
Function
checkCertInstalled
(certPath: string)
src/mitm/cert/install.ts:119
↓ 7 callers
Function
clampRefreshIntervalSec
(value: number)
src/shared/components/requestLoggerPreferences.ts:13
↓ 7 callers
Function
cleanup
()
tests/unit/agentSkills-cliRegistryParser.test.ts:33
↓ 7 callers
Function
cleanupModelLockKey
(key: string, now = Date.now())
open-sse/services/accountFallback.ts:412
↓ 7 callers
Function
cleanupPidFile
(service)
bin/cli/utils/pid.mjs:33
↓ 7 callers
Function
clearPendingPassthroughEvent
()
open-sse/utils/stream.ts:750
↓ 7 callers
Function
clearTierCache
()
open-sse/services/tierResolver.ts:128
↓ 7 callers
Method
collectStreamToResponse
* Collect an SSE streaming response into a single non-streaming JSON response. * Parses Gemini-format SSE chunks and assembles text content + usage
open-sse/executors/antigravity.ts:1019
↓ 7 callers
Function
compactStructuredStreamPayload
(payload: unknown)
open-sse/utils/streamPayloadCollector.ts:620
↓ 7 callers
Function
compatByProtocolHasEntries
(map: CompatByProtocolMap | undefined)
src/lib/db/models/compat.ts:170
↓ 7 callers
Function
compress
(content: string, options = {})
tests/unit/compression/caveman-v379.test.ts:10
↓ 7 callers
Function
compressionRunToFlow
(model: CompressionRunModel)
src/app/(dashboard)/dashboard/compression/studio/compressionFlowModel.ts:222
↓ 7 callers
Function
computeBurnRate
( history: BurnRateSample[], remaining?: number )
src/lib/quota/burnRate.ts:72
↓ 7 callers
Function
computeComboCapabilities
( combo: Record<string, unknown>, resolve: ComboCapabilityResolver = defaultCapabilityResolver )
src/app/api/v1/combos/projectCombo.ts:83
↓ 7 callers
Function
computeContextKey
(req: InterceptedRequest)
src/mitm/inspector/contextKey.ts:94
↓ 7 callers
Function
computeCoverage
()
src/lib/agentSkills/catalog.ts:126
↓ 7 callers
Function
computeFingerprint
(firstUserMessageText: string, version: string)
open-sse/services/claudeCodeFingerprint.ts:15
↓ 7 callers
Function
computeStableFingerprint
(ccVersion: string)
tests/unit/anthropic-cache-fingerprint.test.ts:12
↓ 7 callers
Function
createCurrencyFormatter
(locale: string)
src/app/(dashboard)/dashboard/costs/CostOverviewTab.tsx:155
↓ 7 callers
Function
createDebugLoggingFetch
( inner: typeof fetch, providerId: string, featureDefault: boolean )
@omniroute/opencode-plugin/src/index.ts:4154
↓ 7 callers
Function
createFakeProcess
({ onKill } = {})
tests/unit/skills-builtins-sandbox.test.ts:45
↓ 7 callers
Function
createKeyWithEndpoints
(allowedEndpoints: string[])
tests/unit/endpoint-restrictions-policy.test.ts:53
↓ 7 callers
Function
createLogger
(module: string)
src/shared/utils/logger.ts:171
↓ 7 callers
Function
createMockDeps
(overrides: { providers?: string[]; stats?: Record<string, any>; sessionDetails?: Record<string, any[]>;
tests/unit/session-pool-rest-api.test.ts:12
↓ 7 callers
Function
createPassthroughStreamWithLogger
( provider: string | null = null, reqLogger: StreamLogger | null = null, toolNameMap: unknown = null,
open-sse/utils/stream.ts:2701
↓ 7 callers
Function
createRandomUUIDPolyfill
* Extract the polyfill function from layout.tsx's dangerouslySetInnerHTML. * We replicate the logic here to test it in isolation since it runs in *
tests/unit/crypto-randomuuid-polyfill.test.ts:13
↓ 7 callers
Function
createResponsesApiTransformStream
(logger = null, keepaliveIntervalMs = 3000)
open-sse/transformer/responsesTransformer.ts:80
↓ 7 callers
Function
createStreamLogger
(onProgress: ((message: string) => void) | undefined)
src/lib/tailscaleTunnel.ts:963
↓ 7 callers
Function
creds
(connectionId: string, psd: Record<string, unknown> = {})
tests/unit/chatcore-key-health.test.ts:16
↓ 7 callers
Function
ctx
()
tests/unit/middleware-hook-sandbox-5872.test.ts:36
↓ 7 callers
Function
debugLogRead
(providerId: string, limit = 20)
@omniroute/opencode-plugin/src/index.ts:4101
← previous
next →
2,401–2,500 of 20,485, ranked by callers