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
↓ 3 callers
Function
dataDirFromChild
(envDataDir: string | undefined)
tests/unit/isolate-datadir.test.ts:11
↓ 3 callers
Function
dataOf
(db: TestDb, name: string)
tests/unit/migration-107-quota-share-strategy.test.ts:68
↓ 3 callers
Function
db
()
src/lib/gamification/antiCheat.ts:34
↓ 3 callers
Function
debugLog
(...args: unknown[])
open-sse/executors/cursor.ts:266
↓ 3 callers
Function
debugLogAppend
(entry: DebugLogEntry)
@omniroute/opencode-plugin/src/index.ts:4091
↓ 3 callers
Function
debugLogSetEnabled
(providerId: string, enabled: boolean)
@omniroute/opencode-plugin/src/index.ts:4080
↓ 3 callers
Function
decide429
(category: Category, retryAfterMs: number | null)
open-sse/services/antigravity429Engine.ts:102
↓ 3 callers
Function
decideProxyResolutionFailure
( err: unknown, env: { PROXY_FAIL_OPEN?: string } = process.env )
src/sse/handlers/chatHelpers.ts:669
↓ 3 callers
Function
declaredToolNames
(result: { request: { tools?: EnvelopeTool[] } })
tests/unit/antigravity-strip-builtin-tools-funcdecls-1095.test.ts:14
↓ 3 callers
Function
decodeJwtPayload
(jwt: string)
src/lib/oauth/utils/codexAuthImport.ts:20
↓ 3 callers
Function
decodeJwtPayload
(jwt: string)
tests/unit/codexAuthImport.test.ts:24
↓ 3 callers
Function
decodeToon
(text: string)
open-sse/services/compression/engines/headroom/toon.ts:26
↓ 3 callers
Function
decrementInflight
(connectionId: string, nowMs: number = Date.now())
open-sse/services/combo/quotaShareInflight.ts:82
↓ 3 callers
Function
dedupeProviderEntries
(entries: DashboardProviderEntry[])
src/app/(dashboard)/dashboard/providers/page.tsx:72
↓ 3 callers
Function
dedupedSum
( models: FreeModelBudget[], pick: (m: FreeModelBudget) => number, include: (m: FreeModelBudget) => bool
open-sse/config/freeModelCatalog.ts:74
↓ 3 callers
Function
defaultCompressionComboPipeline
()
src/lib/db/compressionCombos.ts:37
↓ 3 callers
Function
defaultMemorySettings
()
tests/e2e/memory-qdrant-routes.spec.ts:55
↓ 3 callers
Function
defaultProxyConfigResponses
(url: string)
tests/unit/shared/components/ProxyConfigModal.test.tsx:149
↓ 3 callers
Function
defaultQdrantSettings
()
tests/e2e/memory-qdrant-routes.spec.ts:43
↓ 3 callers
Function
defaultServerState
()
src/app/(dashboard)/dashboard/tools/agent-bridge/normalizeState.ts:8
↓ 3 callers
Function
defaultTargets
(port = DEFAULT_PORT)
src/app/api/settings/mitm/route.ts:73
↓ 3 callers
Method
del
(...keys: string[])
src/lib/quota/redisQuotaStore.ts:40
↓ 3 callers
Function
delay
(ms: number)
tests/unit/refresh-serializer.test.ts:28
↓ 3 callers
Function
deleteApiKey
(id: string)
src/lib/db/apiKeys.ts:954
↓ 3 callers
Function
deleteCallArtifact
(relativePath: string | null)
src/lib/usage/callLogArtifacts.ts:256
↓ 3 callers
Function
deleteCallLogsBefore
(cutoff: string)
src/lib/usage/callLogs.ts:396
↓ 3 callers
Function
deleteManagedAvailableModelAliasesForProvider
( providerId: string )
src/lib/providerModels/managedAvailableModels.ts:72
↓ 3 callers
Function
deleteRedisAuthCacheEntry
(keyHash: unknown)
src/lib/db/apiKeys.ts:234
↓ 3 callers
Function
deleteRedisAuthCacheForKeyId
(db: ApiKeysDbLike, id: string)
src/lib/db/apiKeys.ts:251
↓ 3 callers
Function
deliverRaw
( url: string, body: Record<string, unknown> )
src/lib/webhookDispatcher.ts:39
↓ 3 callers
Function
depsAvailable
()
open-sse/services/compression/engines/llmlingua/worker.ts:122
↓ 3 callers
Function
deriveConfig
()
tests/unit/compression/derived-pipeline-integration.test.ts:40
↓ 3 callers
Function
describeCacheControl
(cacheControl: Record<string, unknown> | undefined, extra = {})
open-sse/handlers/chatCore/executorHelpers.ts:71
↓ 3 callers
Function
det
(t: string)
tests/unit/compression/rtk-render-testgreen.test.ts:5
↓ 3 callers
Function
detectHomogeneous
(arr: unknown[])
open-sse/services/compression/engines/headroom/smartcrusher.ts:41
↓ 3 callers
Function
detectTool
(id: string)
src/lib/cli-helper/tool-detector.ts:112
↓ 3 callers
Function
diff
* Diff helper.
scripts/check/check-env-doc-sync.mjs:274
↓ 3 callers
Function
directHttpsRequest
( url: string, options: { method?: string; headers?: Record<string, string>; body?: string }, timeoutMs:
src/lib/providers/validation/headers.ts:44
↓ 3 callers
Function
directoryHasEntries
(dirPath)
scripts/dev/run-next-playwright.mjs:69
↓ 3 callers
Function
disableRateLimitProtection
(connectionId)
open-sse/services/rateLimitManager.ts:397
↓ 3 callers
Function
disableThinkingIfToolChoiceForced
(body: Record<string, unknown>)
open-sse/services/claudeCodeConstraints.ts:34
↓ 3 callers
Function
diskSnapshotPath
(providerId: string)
@omniroute/opencode-plugin/src/index.ts:3966
↓ 3 callers
Method
dispose
()
scripts/dev/responses-ws-proxy.mjs:765
↓ 3 callers
Method
dispose
()
scripts/dev/v1-ws-bridge.mjs:555
↓ 3 callers
Method
doRefreshSession
()
open-sse/executors/deepseek-web-with-auto-refresh.ts:96
↓ 3 callers
Function
done
(ok: boolean)
src/app/api/tools/agent-bridge/diagnose/route.ts:26
↓ 3 callers
Function
drainQueue
(semaphoreKey: string)
open-sse/services/accountSemaphore.ts:124
↓ 3 callers
Function
drainSetImmediate
* Drain setImmediate: scheduleVectorUpsert is fire-and-forget via setImmediate.
tests/unit/memory-store-sync.test.ts:64
↓ 3 callers
Function
effectiveUpstreamHeadersForProtocol
( modelId: string, protocol: string, customMap: CompatModelMap, overrideMap: CompatModelMap )
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:509
↓ 3 callers
Function
emitReasoningDelta
(state, emit, text)
open-sse/translator/response/openai-responses.ts:247
↓ 3 callers
Function
emitReasoningDelta
(controller, text)
open-sse/transformer/responsesTransformer.ts:180
↓ 3 callers
Function
emitTranslatedClientItem
( controller: TransformStreamDefaultController, item: Record<string, unknown> )
open-sse/utils/stream.ts:888
↓ 3 callers
Function
emptyCollected
()
tests/unit/executor-agy.test.ts:7
↓ 3 callers
Function
emptyStreak
()
src/lib/gamification/streaks.ts:63
↓ 3 callers
Function
enableManagementAuth
()
tests/unit/route-edge-coverage.test.ts:44
↓ 3 callers
Function
enableManagementAuth
()
tests/unit/payload-rules-route.test.ts:28
↓ 3 callers
Function
encodeExecMcpResult
( execMsgId: number, execId: string, content: string, isError: boolean )
open-sse/utils/cursorAgentProtobuf.ts:1061
↓ 3 callers
Function
encodeMessage
Encode a nested message field.
open-sse/executors/windsurf.ts:198
↓ 3 callers
Function
encodeObject
(obj: Record<string, unknown>, depth: number)
open-sse/services/compression/engines/headroom/gcf/generic.ts:27
↓ 3 callers
Function
encodeRequestContextResponse
( id: number, execId: string, tools?: McpToolDefinition[] )
open-sse/utils/cursorAgentProtobuf.ts:892
↓ 3 callers
Function
encodeResponseSseEvent
(raw: string)
open-sse/executors/codex.ts:818
↓ 3 callers
Function
encodeSseEvent
( data: unknown, { event, includeDone = false, }: { event?: string; includeDone?: boolea
open-sse/utils/streamHandler.ts:104
↓ 3 callers
Function
encodeVarint
(n)
scripts/ad-hoc/cursor-tap.cjs:57
↓ 3 callers
Function
encodeVector
* Encode a Float32Array as a Buffer of little-endian bytes. * sqlite-vec accepts this format for FLOAT[] column values. For int8 tables the * SAME f
src/lib/memory/vectorStore.ts:82
↓ 3 callers
Function
encodeWsFrame
(opcode: number, payload: Buffer = Buffer.alloc(0))
src/app/api/tools/traffic-inspector/ws/route.ts:33
↓ 3 callers
Function
encryptCredential
(value)
bin/cli/encryption.mjs:28
↓ 3 callers
Function
enforceCacheControlLimit
(body: Record<string, unknown>)
open-sse/services/claudeCodeConstraints.ts:50
↓ 3 callers
Function
enqueueStreamingToolCalls
( controller: ReadableStreamDefaultController<Uint8Array>, encoder: TextEncoder, params: { id: strin
open-sse/executors/grok-web.ts:1278
↓ 3 callers
Function
enrichWithAntigravityBackend
( parsed: ParsedAgyAuth )
src/lib/oauth/utils/agyAuthImport.ts:117
↓ 3 callers
Function
ensureEvalSuiteTables
(db: DbLike)
src/lib/db/evals.ts:94
↓ 3 callers
Function
ensureFile
(filePath: string, url: string)
src/lib/memory/embedding/staticPotion.ts:54
↓ 3 callers
Function
ensurePeerStampToken
()
scripts/dev/peer-stamp.mjs:39
↓ 3 callers
Function
ensureRole
()
open-sse/executors/deepseek-web.ts:218
↓ 3 callers
Function
ensureRole
()
open-sse/executors/adapta-web.ts:262
↓ 3 callers
Function
ensureTable
()
src/app/api/v1/agents/tasks/[id]/route.ts:22
↓ 3 callers
Function
ensureTestEnvironment
()
tests/integration/liveGeminiShared.ts:171
↓ 3 callers
Function
ensureToolCallIds
(body, options?: { use9CharId?: boolean })
open-sse/translator/helpers/toolCallHelper.ts:26
↓ 3 callers
Function
errorBody
(error, fallback = "Bedrock request failed")
open-sse/executors/bedrock.ts:468
↓ 3 callers
Function
errorRateLimit
(...args: unknown[])
open-sse/services/rateLimitManager.ts:73
↓ 3 callers
Function
errorResponse
(message: string, status = 502)
open-sse/executors/copilot-m365-web.ts:45
↓ 3 callers
Function
escapeCell
(value: string | undefined)
scripts/docs/gen-provider-reference.ts:51
↓ 3 callers
Function
escapeRe
(s: string)
tests/unit/compression/output-styles-apply.test.ts:153
↓ 3 callers
Function
escapeXml
(text: string)
open-sse/translator/request/openai-to-cursor.ts:53
↓ 3 callers
Function
estimateMessageTokens
(messages: Array<{ content?: string | unknown }>)
open-sse/services/specificityRules.ts:7
↓ 3 callers
Function
estimateOutputTokens
(contentLength)
open-sse/utils/usageTracking.ts:495
↓ 3 callers
Function
estimateRequestCost
( target: ResolvedComboTarget, inputTokens: number, estimatedOutputTokens: number )
open-sse/services/manifestAdapter.ts:107
↓ 3 callers
Function
estimateTokens
(text: string)
open-sse/executors/huggingchat.ts:115
↓ 3 callers
Function
estimateTokens
(text)
src/shared/utils/costEstimator.ts:39
↓ 3 callers
Function
evaluateAgainstBaseline
(orphans, baselineList)
scripts/check/check-test-discovery.mjs:144
↓ 3 callers
Function
evictExpired
(now = Date.now())
open-sse/services/chatgptImageCache.ts:61
↓ 3 callers
Function
evictIfNeeded
* LRU eviction for cache
src/lib/db/apiKeys.ts:276
↓ 3 callers
Function
evictOldest
(cache: Map<string, unknown>)
open-sse/executors/deepseek-web.ts:54
↓ 3 callers
Function
evictOldestMetric
( targetMap: Map<string, { lastUsedAt: string | null }>, options: { deletePairedShadow?: boolean } = {} )
open-sse/services/comboMetrics.ts:196
↓ 3 callers
Function
execute
()
open-sse/handlers/chatCore.ts:2176
↓ 3 callers
Function
executeA2ATaskWithState
( tm: TaskManagerLike, task: A2ATask, handler: (task: A2ATask) => Promise<StreamTaskResult> )
src/lib/a2a/taskExecution.ts:46
↓ 3 callers
Method
executeOnce
* #3786 — Run the request once for a SINGLE resolved upstream model id. The Pro-family * fallback chain in `execute()` calls this per candidate (`m
open-sse/executors/antigravity.ts:1196
↓ 3 callers
Method
executeTransport
( input: ExecuteInput, transport: GlmTransport )
open-sse/executors/glm.ts:339
↓ 3 callers
Function
exhaustedKiroUsage
(overrides: Record<string, unknown> = {})
tests/unit/kiro-overage-usage-4469.test.ts:19
↓ 3 callers
Function
exhaustedResult
(quotaPercent: number, resetAt: string | null)
open-sse/services/quotaPreflight.ts:145
↓ 3 callers
Function
expandTargetsByQuotaAwareConnections
( targets: ResolvedComboTarget[], comboName: string, log: { warn?: (...args: unknown[]) => void }, api
open-sse/services/combo/quotaStrategies.ts:153
← previous
next →
5,701–5,800 of 20,485, ranked by callers