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
↓ 15 callers
Method
resolveBaseUrl
* Resolve the effective base URL for a request, preferring per-connection * providerSpecificData.baseUrl over the static provider config baseUrl.
open-sse/executors/base.ts:539
↓ 15 callers
Function
resolveComboTargetTimeoutMs
( config: Record<string, unknown> | null | undefined, upstreamTimeoutMs: number, defaultTimeoutMs: numbe
open-sse/services/comboConfig.ts:142
↓ 15 callers
Function
run
(source: string, path = "open-sse/executors/x.ts")
tests/unit/check-error-helper.test.ts:20
↓ 15 callers
Function
runCmd
(cmd)
scripts/ad-hoc/resolve_all_conflicts.js:26
↓ 15 callers
Function
sanitizeProviderSpecificDataForResponse
(value: unknown)
src/lib/providers/requestDefaults.ts:215
↓ 15 callers
Function
sanitizeResponsesInputItems
( items: readonly unknown[], clone = true, options: SanitizeResponsesInputOptions = {} )
open-sse/services/responsesInputSanitizer.ts:126
↓ 15 callers
Function
seedAntigravityVersionCache
(version: string, fetchedAt = Date.now())
open-sse/services/antigravityVersion.ts:153
↓ 15 callers
Function
seedSyncedModels
(providerId: string, connectionId: string, modelIds: string[])
tests/unit/combo-provider-wildcard.test.ts:46
↓ 15 callers
Function
setCached
(toolId: string, mtimeMs: number, result: ToolBatchStatus)
src/lib/cliTools/batchStatusCache.ts:31
↓ 15 callers
Function
sleep
(ms)
bin/cli/utils/pid.mjs:60
↓ 15 callers
Function
startQuotaMonitor
( sessionId: string, provider: string, accountId: string, connection: Record<string, unknown> )
open-sse/services/quotaMonitor.ts:268
↓ 15 callers
Function
sysText
(body: Record<string, unknown>)
tests/unit/compression/quantumLockStep.test.ts:14
↓ 15 callers
Function
toNonEmptyString
(value: unknown)
src/lib/oauth/utils/claudeAuthFile.ts:67
↓ 15 callers
Function
toNumber
(value: unknown, fallback = 0)
src/lib/usage/costCalculator.ts:40
↓ 15 callers
Function
toRecord
(value: unknown)
src/lib/db/compression.ts:62
↓ 15 callers
Function
trackConnectionExtraKeys
(connectionId: string, extraKeys: string[])
open-sse/services/apiKeyRotator.ts:32
↓ 15 callers
Function
translateNonStreamingResponse
( responseBody: unknown, targetFormat: string, sourceFormat: string, toolNameMap?: Map<string, string>
open-sse/handlers/responseTranslator.ts:131
↓ 15 callers
Function
useToolsBuilder
()
src/app/(dashboard)/dashboard/playground/hooks/useToolsBuilder.ts:48
↓ 15 callers
Function
waitForCondition
(fn: () => boolean, timeoutMs = 2000)
tests/unit/free-pool-tab.test.tsx:67
↓ 15 callers
Function
writePlugin
(version: string, name = "upgrade-test")
tests/unit/plugins-upgrade.test.ts:18
↓ 15 callers
Function
writeTestPlugin
(opts?: { name?: string; onRequest?: boolean; enabledByDefault?: boolean })
tests/integration/plugins-lifecycle.test.ts:23
↓ 14 callers
Function
OmniRoutePlugin
(_input, options)
@omniroute/opencode-plugin/src/index.ts:489
↓ 14 callers
Method
_onFailure
(kind?: FailureKind | null)
src/shared/utils/circuitBreaker.ts:346
↓ 14 callers
Function
aggregateComboEventsToSets
( events: ComboEventInput[], windowMs: number, now: number )
src/app/(dashboard)/dashboard/combos/live/fleetAggregation.ts:42
↓ 14 callers
Function
appendRequestLog
({ model: _model, provider: _provider, connectionId: _connectionId, tokens: _tokens, status: _status
src/lib/usage/usageHistory.ts:868
↓ 14 callers
Function
appendToolCallArgumentDelta
(current: unknown, incoming: unknown)
open-sse/utils/toolCallArguments.ts:19
↓ 14 callers
Function
asRecord
(value: unknown)
src/sse/services/auth.ts:135
↓ 14 callers
Function
buildCanonicalToAliasMap
( enrichment: OmniRouteEnrichmentMap | undefined )
@omniroute/opencode-plugin/src/index.ts:1654
↓ 14 callers
Function
buildClaudeResponse
(text = "ok", model = "claude-3-5-sonnet-20241022")
tests/integration/chat-pipeline.test.ts:171
↓ 14 callers
Function
buildFullRun
()
tests/unit/ui/comboFlowModel.test.ts:76
↓ 14 callers
Function
buildPullResult
( serverFiles: ManifestEntry[], serverFolders: string[], serverTombstones: TombstoneEntry[], localMap:
tests/unit/obsidian-plugin-sync.test.ts:31
↓ 14 callers
Function
coerceToArray
(v: unknown)
open-sse/translator/helpers/toolCallShim.ts:14
↓ 14 callers
Function
computeLogsSignature
(data: unknown)
src/shared/components/requestLoggerSignature.ts:51
↓ 14 callers
Function
createRequestLogger
( _sourceFormat?: string, _targetFormat?: string, _model?: string, options: RequestLoggerOptions = {}
open-sse/utils/requestLogger.ts:292
↓ 14 callers
Function
e
( score: number, category = "default", eloRaw: number | null = null, confidence: string | null = "high
tests/unit/freeProviderRankings.test.ts:21
↓ 14 callers
Function
ensureAntigravityProjectAssigned
( accessToken: string, fetchImpl: FetchLike = fetch, clientProfile: AntigravityClientProfile = "ide" )
open-sse/services/antigravityProjectBootstrap.ts:114
↓ 14 callers
Function
ensureBudgetSchema
()
src/lib/db/domainState.ts:74
↓ 14 callers
Function
evaluateMasking
(perFile, assertReductionAllowlist = new Set())
scripts/check/check-test-masking.mjs:117
↓ 14 callers
Function
execFileWithPassword
( command: string, args: string[], password: string, stdinAfterPassword = "" )
src/mitm/systemCommands.ts:62
↓ 14 callers
Function
fetchDeepseekQuota
( connectionId: string, connection?: Record<string, unknown> )
open-sse/services/deepseekQuotaFetcher.ts:168
↓ 14 callers
Function
findMigrationAnomalies
(filenames, knownDuplicates, knownGaps)
scripts/check/check-migration-numbering.mjs:64
↓ 14 callers
Function
fingerprintZedCredential
( service: string, account: string, token: string )
src/lib/zed-oauth/credentialFingerprint.ts:13
↓ 14 callers
Function
forceAuthRequired
()
tests/unit/authz/pipeline.test.ts:47
↓ 14 callers
Function
getApiKeyMetadata
( key: string | null | undefined )
src/lib/db/apiKeys.ts:1130
↓ 14 callers
Function
getBackgroundDegradationConfig
()
open-sse/services/backgroundTaskDetector.ts:106
↓ 14 callers
Function
getCached
(toolId: string, mtimeMs: number)
src/lib/cliTools/batchStatusCache.ts:21
↓ 14 callers
Function
getDailyRequestCount
(modelId: string)
open-sse/services/geminiRateLimitTracker.ts:75
↓ 14 callers
Function
getErrorMessage
(res: Response)
tests/integration/traffic-inspector-error-sanitization.test.ts:65
↓ 14 callers
Function
getPendingById
()
src/lib/usage/usageHistory.ts:472
↓ 14 callers
Function
getPendingRequests
()
src/lib/usage/usageHistory.ts:465
↓ 14 callers
Function
getRuleByName
(name: string)
open-sse/services/compression/cavemanRules.ts:414
↓ 14 callers
Function
getRuntimePorts
()
src/lib/runtime/ports.ts:18
↓ 14 callers
Function
getStats
()
open-sse/services/accountSemaphore.ts:330
↓ 14 callers
Method
getStats
@returns {{ size: number, maxSize: number, bytes: number, maxBytes: number, hits: number, misses: number, evictions: number, hitRate: number }}
src/lib/cacheLayer.ts:186
↓ 14 callers
Method
getTask
(taskId: string)
src/lib/a2a/taskManager.ts:112
↓ 14 callers
Function
getTokenLimit
(provider: string, model: string | null = null)
open-sse/services/contextManager.ts:63
↓ 14 callers
Function
isComposerModel
(model: string | undefined | null)
open-sse/executors/cursor.ts:327
↓ 14 callers
Function
isLocalOnlyBypassableByManageScope
(path: string)
src/server/authz/routeGuard.ts:210
↓ 14 callers
Function
isNativeSqliteLoadError
(error: unknown)
src/lib/db/core.ts:125
↓ 14 callers
Function
isPositiveFiniteNumber
(value: unknown)
src/app/api/v1/models/catalogHelpers.ts:36
↓ 14 callers
Function
isReDoSProne
(pattern: string)
open-sse/services/compression/engines/rtk/filterSchema.ts:155
↓ 14 callers
Function
isRecord
(value: unknown)
src/lib/combos/steps.ts:49
↓ 14 callers
Function
jsonResponse
(data: unknown)
src/app/(dashboard)/dashboard/endpoint/__tests__/EndpointPageClient.test.tsx:23
↓ 14 callers
Function
listMemories
(filters: { apiKeyId?: string; type?: MemoryType; sessionId?: string; query?: string; limit?: number
src/lib/memory/store.ts:458
↓ 14 callers
Function
log
(verbose, msg)
scripts/features/feature-triage.mjs:32
↓ 14 callers
Function
makeBody
Build a body whose single user message content is JSON of the given array
tests/unit/compression/headroom-smartcrusher.test.ts:47
↓ 14 callers
Function
makeContainer
()
tests/unit/translator-friendly-monitor-tab.test.tsx:107
↓ 14 callers
Function
makeLine
( customId: string, model: string = "gpt-4o", maxTokens: number | undefined = undefined, contentLen =
tests/unit/lib/batches/costEstimator.test.ts:10
↓ 14 callers
Function
makeReq
(overrides: Partial<InterceptedRequest> = {})
tests/unit/inspector-llm-metadata.test.ts:6
↓ 14 callers
Function
makeRequest
(url: string, options?: RequestInit)
tests/unit/obsidian-webdav-route.test.ts:44
↓ 14 callers
Function
makeRequest
(headers: Record<string, string>)
tests/unit/auth-extract-api-key.test.ts:6
↓ 14 callers
Function
makeResp
(data: unknown, status = 200)
tests/unit/cli-compression-commands.test.ts:4
↓ 14 callers
Function
makeSettings
(overrides: Partial<MemorySettingsExtended> = {})
tests/unit/memory-embedding-resolve.test.ts:7
↓ 14 callers
Function
makeTempDir
(prefix)
tests/unit/db-core-init.test.ts:38
↓ 14 callers
Function
markChanged
(section: RuntimeReloadSection)
src/lib/config/runtimeSettings.ts:434
↓ 14 callers
Function
maskEmail
(email: string | null | undefined, visibleChars = 3)
src/shared/utils/maskEmail.ts:13
↓ 14 callers
Function
maybeSkip
* Skip if the integration gate is not set. * Returns true when the test should be skipped (caller must return immediately).
tests/integration/services/full-lifecycle.int.test.ts:34
↓ 14 callers
Function
maybeThrottle
(headers: Headers)
open-sse/services/batchProcessor.ts:569
↓ 14 callers
Function
mkConn
Create a provider connection synchronously (wraps async createProviderConnection).
tests/unit/quota-group-allocations.test.ts:100
↓ 14 callers
Function
mkTmpDir
Creates an isolated tmp directory and returns its path.
tests/unit/agentSkills-generator.test.ts:29
↓ 14 callers
Function
mockFetch
(impl: (url: string, opts?: RequestInit) => Promise<Response>)
tests/unit/arena-elo-sync.test.ts:52
↓ 14 callers
Function
normalizeBooleanColumn
(value: unknown, fallback: boolean)
src/lib/db/providers/columns.ts:56
↓ 14 callers
Function
normalizeSkillsProvider
(value: unknown)
src/lib/skills/providerSettings.ts:7
↓ 14 callers
Function
openaiToClaudeResponse
(chunk, state)
open-sse/translator/response/openai-to-claude.ts:29
↓ 14 callers
Function
parseRetryAfterHeader
(value: string | null | undefined)
src/lib/api/modelTestRunner.ts:148
↓ 14 callers
Function
pipeline
(...ids: string[])
tests/unit/compression/bailout.test.ts:139
↓ 14 callers
Function
providerAllowsOptionalApiKey
(providerId: unknown)
src/shared/constants/providers.ts:158
↓ 14 callers
Function
removePath
(targetPath)
tests/unit/db-core-init.test.ts:42
↓ 14 callers
Function
renderButton
( props: Partial<React.ComponentProps<typeof import("./DistributeProxiesButton").default>> = {} )
src/shared/components/DistributeProxiesButton.test.tsx:35
↓ 14 callers
Function
resetBreakers
(url: string)
tests/e2e/system-failover.test.ts:224
↓ 14 callers
Function
resetConnectionCooldowns
()
tests/e2e/system-failover.test.ts:27
↓ 14 callers
Function
resolveAccountSemaphoreMaxConcurrency
( credentials: Record<string, unknown> | null | undefined )
open-sse/handlers/chatCore/executorHelpers.ts:41
↓ 14 callers
Function
resolveCursorImages
(imageUrls: string[])
open-sse/utils/cursorImages.ts:298
↓ 14 callers
Function
resolveEffectiveServiceTier
(requestBody?: unknown)
open-sse/handlers/chatCore.ts:468
↓ 14 callers
Function
resolveGeminiThoughtSignature
( toolCallId: unknown, clientSignature?: unknown )
open-sse/services/geminiThoughtSignatureStore.ts:283
↓ 14 callers
Function
resolveVisionBridgeBaseUrl
(model?: string)
src/lib/guardrails/visionBridgeHelpers.ts:71
↓ 14 callers
Function
rmTmpDir
Cleanup a tmp directory.
tests/unit/agentSkills-generator.test.ts:34
↓ 14 callers
Function
safeInvoke
(channel, ...args)
electron/preload.js:115
↓ 14 callers
Function
saveCliToolLastConfigured
( toolId: string, timestamp: string = new Date().toISOString() )
src/lib/db/cliToolState.ts:50
↓ 14 callers
Function
scopeSatisfies
(have: unknown, need: AccessScope)
src/lib/accessTokens/scopes.ts:39
← previous
next →
901–1,000 of 20,485, ranked by callers