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
↓ 2 callers
Function
cleanup
()
tests/integration/live-ws-startup.test.ts:66
↓ 2 callers
Function
cleanupArtifacts
(text: string)
open-sse/services/compression/caveman.ts:205
↓ 2 callers
Method
cleanupBuffers
()
scripts/dev/responses-ws-proxy.mjs:456
↓ 2 callers
Function
cleanupDbBackups
(options?: { maxFiles?: number; retentionDays?: number })
src/lib/db/backup.ts:163
↓ 2 callers
Function
cleanupDir
(dir: string)
tests/integration/plugins-lifecycle.test.ts:59
↓ 2 callers
Function
cleanupDirs
()
tests/unit/plugins-signing.test.ts:30
↓ 2 callers
Function
cleanupDirs
()
tests/unit/plugins-upgrade.test.ts:70
↓ 2 callers
Function
cleanupExpiredLogs
()
src/lib/compliance/index.ts:465
↓ 2 callers
Function
cleanupOverflowLogs
(logFilePath: string, maxFiles: number)
src/lib/logRotation.ts:130
↓ 2 callers
Function
cleanupPendingDetails
(connectionId: string, modelKey: string)
src/lib/usage/usageHistory.ts:358
↓ 2 callers
Function
cleanupRotationMap
(now: number = Date.now())
open-sse/services/tokenRefresh.ts:108
↓ 2 callers
Function
cleanupSourceDirs
()
tests/integration/plugins-lifecycle.test.ts:66
↓ 2 callers
Function
cleanupSourceDirs
()
tests/unit/plugins-edge-cases.test.ts:29
↓ 2 callers
Function
cleanupSourceDirs
()
tests/unit/plugins-tools.test.ts:57
↓ 2 callers
Function
cleanupTempPath
(path: string)
open-sse/services/chatgptTlsClient.ts:464
↓ 2 callers
Function
cleanupTempPath
(path: string)
open-sse/services/perplexityTlsClient.ts:457
↓ 2 callers
Function
cleanupTempPath
(path: string)
open-sse/services/claudeTlsClient.ts:454
↓ 2 callers
Function
cleanupTestDataDir
()
tests/unit/combo-strategy-fallbacks.test.ts:53
↓ 2 callers
Function
cleanupTestDataDir
()
tests/unit/combo-routing-engine.test.ts:121
↓ 2 callers
Function
cleanupTestDataDir
()
tests/unit/combo-sessionless-pin-3825.test.ts:54
↓ 2 callers
Function
clearAllHooks
()
src/lib/middleware/registry.ts:406
↓ 2 callers
Function
clearAllStickyBindings
()
open-sse/services/combo/sessionStickiness.ts:190
↓ 2 callers
Function
clearApiKeyCaches
()
src/lib/db/apiKeys.ts:1397
↓ 2 callers
Function
clearArtifactReference
(relativePath: string, nextState: CallLogDetailState)
src/lib/usage/callLogs.ts:293
↓ 2 callers
Function
clearBifrostFailure
(baseUrl: string)
src/app/api/v1/relay/chat/completions/bifrostCooldown.ts:48
↓ 2 callers
Function
clearCachedPassword
()
src/mitm/manager.ts:77
↓ 2 callers
Function
clearCompressionEngineRegistry
()
open-sse/services/compression/engines/registry.ts:85
↓ 2 callers
Function
clearDbHealthCheckScheduler
()
src/lib/db/core.ts:890
↓ 2 callers
Function
clearLegacyProxyForAssignment
( db: ReturnType<typeof getDbInstance>, assignment: ProxyAssignmentPayload )
src/lib/db/proxies.ts:48
↓ 2 callers
Function
clearObsidianToken
()
src/lib/db/obsidian.ts:40
↓ 2 callers
Function
clearProxyFallbackCache
()
open-sse/utils/proxyFallback.ts:55
↓ 2 callers
Function
clearSkillRegistry
()
tests/unit/skills-skillssh.test.ts:19
↓ 2 callers
Function
clearSkillState
()
tests/integration/_chatPipelineHarness.ts:46
↓ 2 callers
Function
clearSyncedPricing
()
src/lib/pricingSync.ts:281
↓ 2 callers
Function
click
(el: Element | null)
tests/unit/ui/compressionCockpit.test.tsx:49
↓ 2 callers
Function
cloneModelIdentifiers
(model: T, modelId: string)
src/lib/vscode/serviceTierVariants.ts:94
↓ 2 callers
Function
cloneRequestBodyForShadowRouting
(body: Record<string, unknown>)
open-sse/services/combo/shadowRouting.ts:94
↓ 2 callers
Function
cloneResponseItem
(item)
open-sse/handlers/sseParser.ts:521
↓ 2 callers
Function
cloneSchemaValue
(value: unknown)
open-sse/translator/helpers/geminiHelper.ts:266
↓ 2 callers
Function
close
()
src/lib/db/adapters/sqljsAdapter.ts:224
↓ 2 callers
Function
close
(server)
tests/unit/v1-ws-bridge.test.ts:16
↓ 2 callers
Method
close
(code = 1000, reason = "normal_closure")
scripts/dev/v1-ws-bridge.mjs:532
↓ 2 callers
Function
closeAllStreamableSessions
()
open-sse/mcp-server/httpTransport.ts:75
↓ 2 callers
Function
closeAuditDb
()
open-sse/mcp-server/audit.ts:301
↓ 2 callers
Function
closeDbInstance
(options?: { checkpointMode?: CheckpointMode | null })
src/lib/db/core.ts:1199
↓ 2 callers
Function
closeSseTransport
()
open-sse/mcp-server/httpTransport.ts:48
↓ 2 callers
Function
cloudAgentCredentialsRequiredResponse
(providerId: string, request: NextRequest)
src/app/api/v1/agents/tasks/[id]/route.ts:52
↓ 2 callers
Function
codexDropNonstandardEvents
()
open-sse/executors/codex.ts:773
↓ 2 callers
Function
codexRequest
(withSessionId = true)
tests/integration/combo-matrix/context-relay-codex.test.ts:145
↓ 2 callers
Function
coerceNumericString
(value: unknown)
open-sse/translator/helpers/schemaCoercion.ts:50
↓ 2 callers
Function
collect
(entries: unknown)
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.tsx:431
↓ 2 callers
Function
collectBackupFamilies
(backupDir: string)
src/lib/db/backup.ts:116
↓ 2 callers
Function
collectChunks
(results: ReturnType<typeof claudeToOpenAIResponse>[])
tests/unit/claude-to-openai-think-close-5123.test.ts:28
↓ 2 callers
Function
collectFrom
( container: Record<string, unknown>, scope: "currentMessage" | "history", historyIndex: number
open-sse/services/compression/bodyAdapter.ts:219
↓ 2 callers
Function
collectFromArray
(arr: AnyToolLike[])
open-sse/mcp-server/toolSearch/catalog.ts:43
↓ 2 callers
Function
collectLines
(text: string)
open-sse/services/compression/validation.ts:257
↓ 2 callers
Function
collectManagedHosts
()
src/mitm/manager.ts:202
↓ 2 callers
Function
collectRouteFiles
()
scripts/check/check-docs-symbols.mjs:82
↓ 2 callers
Function
collectSSEContent
( deepseekStream: ReadableStream, model: string )
open-sse/executors/deepseek-web.ts:369
↓ 2 callers
Function
collectSqlScanFiles
(apiDir = API_DIR, handlersDir = HANDLERS_DIR)
scripts/check/check-db-rules.mjs:216
↓ 2 callers
Function
collectStringKeys
(node, prefix = "", out = [])
scripts/i18n/generate-qa-checklist.mjs:145
↓ 2 callers
Function
colorFor
(provider: string)
src/app/(dashboard)/dashboard/usage/components/FreeBudgetCard.tsx:82
↓ 2 callers
Function
combo
(id: string, name: string)
tests/unit/ui/namedCombos-active-badge.test.tsx:41
↓ 2 callers
Function
comboModelNotFoundResponse
(message: string)
open-sse/services/combo/comboPredicates.ts:171
↓ 2 callers
Function
commitStepResult
* Success path: record the breaker success (when on), merge telemetry, and decide whether to * advance `currentBody`. Advance rule: TV1 bail-out uses
open-sse/services/compression/strategySelector.ts:789
↓ 2 callers
Function
compareByCostEffectiveness
( a: ResolvedComboTarget, b: ResolvedComboTarget, hint: RoutingHint )
open-sse/services/manifestAdapter.ts:118
↓ 2 callers
Function
compareP2CConnections
( provider: string, a: ProviderConnectionView, b: ProviderConnectionView, requestedModel: string | nul
src/sse/services/auth.ts:691
↓ 2 callers
Function
compatibleProviderSupportsModelImport
(providerId: string)
src/lib/providers/managedAvailableModels.ts:19
↓ 2 callers
Function
compileBlobPattern
(pattern: string)
open-sse/services/compression/engines/rtk/lineFilter.ts:45
↓ 2 callers
Function
completeDeviceFlowTicket
(token: string, result: DeviceFlowTicketResult)
src/lib/oauth/deviceFlowTickets.ts:86
↓ 2 callers
Function
completeOpenAIStream
()
tests/integration/stream-recovery-wiring.test.ts:34
↓ 2 callers
Function
compressMessageText
( text: string, backend: LlmCompressorBackend, opts?: LlmCompressorBackendOptions )
open-sse/services/compression/engines/llm/index.ts:119
↓ 2 callers
Function
compressMessageText
* Process a single message text string: * 1. Split into prose / preserved segments. * 2. Compress each prose segment via the backend (fail-open
open-sse/services/compression/engines/llmlingua/index.ts:177
↓ 2 callers
Function
computeCchSha256FirstUser
(firstUserText: string)
open-sse/services/ccBridgeTransforms.ts:261
↓ 2 callers
Function
computeClosestRetryAfter
(retryAfter: unknown)
src/sse/services/cooldownAwareRetry.ts:61
↓ 2 callers
Function
computeDaystampVersionSuffix
(version: string, now: Date = new Date())
open-sse/services/ccBridgeTransforms.ts:252
↓ 2 callers
Function
computeDecayDeadline
( memory: DecayCandidate, config: TypedDecayConfig )
src/lib/memory/typedDecay.ts:102
↓ 2 callers
Function
computeExMachinaVersionSuffix
(firstUserText: string, version: string)
open-sse/services/ccBridgeTransforms.ts:243
↓ 2 callers
Function
computeFinishReason
* Resolve the terminal finish_reason for a Responses→Chat stream. * * `currentToolCallId` is intentionally sticky for the current turn: it is set wh
open-sse/translator/response/openai-responses.ts:643
↓ 2 callers
Function
computeMcpClosure
()
tests/unit/mcp-published-files-closure-3578.test.ts:38
↓ 2 callers
Function
computeOldFingerprint
(firstUserMessageText: string, version: string)
tests/unit/anthropic-cache-fingerprint.test.ts:18
↓ 2 callers
Function
computeRetention
(original: string, compressed: string)
open-sse/services/compression/harness/measure.ts:62
↓ 2 callers
Function
computeZScore
* Compute the z-score for a user's hourly XP against the global distribution. * Returns null if insufficient data.
src/lib/gamification/antiCheat.ts:106
↓ 2 callers
Function
configuredPublicOrigins
()
src/server/origin/publicOrigin.ts:51
↓ 2 callers
Function
confirm
(q)
bin/cli/commands/sessions.mjs:17
↓ 2 callers
Function
confirm
(question)
bin/cli/commands/memory.mjs:73
↓ 2 callers
Function
confirm
(q)
bin/cli/commands/sync.mjs:12
↓ 2 callers
Function
connKey
(target: ResolvedComboTarget)
open-sse/services/combo/quotaStrategies.ts:601
↓ 2 callers
Function
connect
()
src/app/(dashboard)/dashboard/components/BadgeToast.tsx:44
↓ 2 callers
Function
connectionFromValue
(value: unknown)
src/lib/usage/internalUsageCommand.ts:234
↓ 2 callers
Function
connectionFromValue
(value: unknown)
src/lib/usage/apiKeyUsageLimits.ts:212
↓ 2 callers
Function
consumeViaHotPath
* Drive ONE consumption through the real non-streaming hot-path hook. * scheduleQuotaShareConsumption → scheduleRecordConsumption (setImmediate) → *
tests/unit/quota-per-key-model-hotpath.test.ts:93
↓ 2 callers
Function
containerRunning
(runtime, name)
bin/cli/commands/redis.mjs:37
↓ 2 callers
Function
containsMalformedTextualToolCall
( text: unknown, allowedToolNames?: Set<string> | null )
open-sse/utils/stream.ts:183
↓ 2 callers
Function
containsTextualToolCallCandidate
(text: unknown)
open-sse/utils/stream.ts:179
↓ 2 callers
Function
containsTextualToolCallMarker
(text: unknown)
open-sse/utils/textualToolCall.ts:103
↓ 2 callers
Function
conversationBody
()
tests/unit/combo-sessionless-pin-3825.test.ts:48
↓ 2 callers
Function
convertStopReason
(reason)
open-sse/executors/bedrock.ts:372
↓ 2 callers
Function
copyCommandCodeValue
(value: string | undefined, key: string)
src/app/(dashboard)/dashboard/providers/[id]/components/modals/AddApiKeyModal.tsx:240
↓ 2 callers
Function
copyIfMissing
(fromPath: string | null, toPath: string | null, label: string)
src/lib/usage/migrations.ts:67
← previous
next →
7,301–7,400 of 20,485, ranked by callers