MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 3 callersFunctiongetDb
* Lazy-load the database connection. * Uses the same SQLite database as the main OmniRoute app. * * Driver priority: * 1. better-sqlite3 — fast
open-sse/mcp-server/audit.ts:222
↓ 3 callersFunctiongetDb
()
src/lib/db/core.ts:467
↓ 3 callersFunctiongetDebugToggle
(page)
tests/e2e/settings-toggles.spec.ts:11
↓ 3 callersFunctiongetDefaultModel
(aliasOrId: string)
open-sse/config/providerModels.ts:21
↓ 3 callersFunctiongetDefaultPort
(type)
src/shared/components/ProxyConfigModal.tsx:145
↓ 3 callersFunctiongetDetectedToolLimit
(provider: string)
open-sse/services/toolLimitDetector.ts:76
↓ 3 callersFunctiongetDispatcherCache
()
open-sse/utils/proxyDispatcherCache.ts:70
↓ 3 callersFunctiongetEarliestRateLimitedUntil
( accounts: Array<{ rateLimitedUntil?: string | null }> )
open-sse/services/accountFallback.ts:1679
↓ 3 callersFunctiongetEffectiveBaseUrl
()
src/app/(dashboard)/dashboard/cli-code/components/CodexToolCard.tsx:128
↓ 3 callersFunctiongetEngine
(id: string)
open-sse/services/compression/engines/registry.ts:41
↓ 3 callersFunctiongetEngineEntry
(id: string)
open-sse/services/compression/engines/registry.ts:49
↓ 3 callersFunctiongetErrorMessage
(error: unknown, fallbackMessage: string)
src/app/api/settings/proxy/test/route.ts:20
↓ 3 callersFunctiongetExampleTemplates
(t: TranslatorMessage)
src/app/(dashboard)/dashboard/translator/exampleTemplates.tsx:9
↓ 3 callersFunctiongetExtractionConfig
(providerId: string)
open-sse/services/tokenExtractionConfig.ts:408
↓ 3 callersMethodgetFallbackCount
()
open-sse/executors/base.ts:493
↓ 3 callersFunctiongetFallbackModels
( excludeModel: string, config: Partial<VisionBridgeRouterConfig> = {} )
src/lib/guardrails/visionBridgeRouter.ts:218
↓ 3 callersFunctiongetGitHubCopilotInternalUserHeaders
(authorization: string)
open-sse/config/providerHeaderProfiles.ts:93
↓ 3 callersFunctiongetGitHubCopilotRefreshHeaders
(authorization: string)
open-sse/config/providerHeaderProfiles.ts:104
↓ 3 callersFunctiongetGlmAnthropicBaseUrl
( providerSpecificData: unknown, fallbackBaseUrl?: string | null )
open-sse/config/glmProvider.ts:294
↓ 3 callersFunctiongetGlmTransport
(providerSpecificData: unknown, fallbackBaseUrl?: string | null)
open-sse/config/glmProvider.ts:341
↓ 3 callersFunctiongetGroupMembers
(groupId: string)
src/lib/db/apiKeyGroups.ts:160
↓ 3 callersFunctiongetHelpResponse
()
src/lib/copilot/engine.ts:246
↓ 3 callersFunctiongetIdempotencyStats
()
src/lib/idempotencyLayer.ts:84
↓ 3 callersFunctiongetIds
()
tests/unit/models-catalog-block-auto-5192.test.ts:35
↓ 3 callersFunctiongetInstalledVersion
()
src/lib/services/installers/ninerouter.ts:35
↓ 3 callersMethodgetJwtForAccount
( account: AccountState, signal?: AbortSignal | null )
open-sse/executors/mimocode.ts:314
↓ 3 callersFunctiongetKeyGroupsForApiKey
(keyId: string)
src/lib/db/apiKeyGroups.ts:168
↓ 3 callersFunctiongetKieCallbackUrl
(body: KieCallbackBody = {})
open-sse/utils/kieTask.ts:45
↓ 3 callersFunctiongetKieErrorMessage
(error: unknown, fallback: string)
open-sse/utils/kieTask.ts:117
↓ 3 callersFunctiongetKieErrorStatus
(error: unknown, fallback = 502)
open-sse/utils/kieTask.ts:106
↓ 3 callersFunctiongetKiroServiceHeaders
( accept = "application/vnd.amazon.eventstream" )
open-sse/config/providerHeaderProfiles.ts:163
↓ 3 callersFunctiongetKiroUsage
* Kiro Credits * Fetches credit balance from Kiro's AWS CodeWhisperer backend. * The endpoint mirrors what Kiro IDE uses internally for the credit b
src/lib/usage/fetcher.ts:439
↓ 3 callersFunctiongetLKGP
(comboName: string, modelId: string)
src/lib/db/settings/lkgp.ts:12
↓ 3 callersFunctiongetLastProviderLimitsAutoSyncTime
()
src/lib/usage/providerLimits.ts:529
↓ 3 callersFunctiongetLastSessionModel
(sessionId: string, comboName: string)
src/lib/db/contextHandoffs.ts:205
↓ 3 callersFunctiongetLatestVersion
()
src/lib/services/installers/cliproxy.ts:50
↓ 3 callersFunctiongetLatestVersionFromGitHub
( fetchImpl: typeof fetch = fetch )
src/lib/system/versionCheck.ts:115
↓ 3 callersFunctiongetLegacyDotDataDir
()
src/lib/dataPaths.ts:31
↓ 3 callersFunctiongetLocalTargetUrl
()
src/lib/cloudflaredTunnel.ts:180
↓ 3 callersFunctiongetLogFilePath
()
src/lib/cloudflaredTunnel.ts:158
↓ 3 callersFunctiongetMappingsForAgent
(agentId: string)
src/lib/db/agentBridgeMappings.ts:9
↓ 3 callersFunctiongetMaxPendingRequestAgeMs
( rawValue: string | undefined = process.env.MAX_PENDING_REQUEST_AGE_MS )
src/lib/usage/usageHistory.ts:157
↓ 3 callersFunctiongetMcpDescriptionCompressionStats
()
open-sse/mcp-server/descriptionCompressor.ts:170
↓ 3 callersFunctiongetMergedBannedSignals
()
open-sse/services/accountFallback.ts:144
↓ 3 callersFunctiongetMetricValue
(metric: string)
src/lib/semanticCache.ts:63
↓ 3 callersFunctiongetMiniMaxUsage
(apiKey: string, provider: "minimax" | "minimax-cn")
open-sse/services/usage/minimax.ts:213
↓ 3 callersFunctiongetModePack
(name: string)
open-sse/services/autoCombo/modePacks.ts:96
↓ 3 callersFunctiongetModePackNames
()
open-sse/services/autoCombo/modePacks.ts:103
↓ 3 callersFunctiongetModelComboMappingById
(id: string)
src/lib/db/modelComboMappings.ts:102
↓ 3 callersFunctiongetModelContextLimitForModelString
(modelStr: string)
open-sse/services/combo/comboStructure.ts:405
↓ 3 callersFunctiongetModelPricing
(provider: string, model: string)
open-sse/services/providerCostData.ts:37
↓ 3 callersFunctiongetModelString
(entry)
src/app/(dashboard)/dashboard/combos/page.tsx:578
↓ 3 callersFunctiongetModelSyncInternalBaseUrl
()
src/shared/services/modelSyncScheduler.ts:36
↓ 3 callersFunctiongetMonthlyProviderTokensForConnection
( provider: string, connectionId: string )
src/lib/usage/usageStats.ts:198
↓ 3 callersFunctiongetMsUntilTomorrow
()
open-sse/services/accountFallback.ts:1216
↓ 3 callersFunctiongetMusicProvider
(providerId: string)
open-sse/config/musicRegistry.ts:99
↓ 3 callersFunctiongetNested
Read a nested property by key path without throwing on missing intermediates.
open-sse/config/contextEditing.ts:111
↓ 3 callersFunctiongetNodeRuntimeSupport
(version: string = process.versions.node)
src/shared/utils/nodeRuntimeSupport.ts:74
↓ 3 callersFunctiongetOmniRouteTokenCounts
(usage: UsageLike)
src/domain/omnirouteResponseMeta.ts:54
↓ 3 callersFunctiongetOpenAIIntermediateChunks
(value: unknown)
open-sse/utils/stream.ts:556
↓ 3 callersFunctiongetOrInitSupervisor
()
src/app/api/services/cliproxy/_lib.ts:13
↓ 3 callersFunctiongetPair
( apiKeyId: string, dimensionKey: string, currentBucket: number )
src/lib/db/quotaConsumption.ts:123
↓ 3 callersFunctiongetPathSegments
(pathValue: string)
open-sse/services/payloadRules.ts:252
↓ 3 callersFunctiongetPendingBatches
()
src/lib/db/batches.ts:360
↓ 3 callersFunctiongetPidFilePath
()
src/lib/tailscaleTunnel.ts:143
↓ 3 callersFunctiongetPidFilePath
()
src/lib/cloudflaredTunnel.ts:154
↓ 3 callersMethodgetPlugin
* Get plugin by name from DB.
src/lib/plugins/manager.ts:574
↓ 3 callersFunctiongetPluginAnalyticsSummary
(pluginName: string)
src/lib/db/plugins.ts:261
↓ 3 callersMethodgetPolicies
()
src/domain/policyEngine.ts:129
↓ 3 callersMethodgetPromptCacheSessionId
* Derive a stable session ID for prompt cache affinity. * Priority: per-conversation session_id/conversation_id from request body → workspaceId.
open-sse/executors/codex.ts:1190
↓ 3 callersFunctiongetProviderBaseUrlHint
( providerId?: string | null, t?: ((key: string, values?: Record<string, unknown>) => string) | null )
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:267
↓ 3 callersFunctiongetProviderBaseUrlPlaceholder
(providerId?: string | null)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:298
↓ 3 callersFunctiongetProviderCredentialsWithQuotaPreflight
( provider: string, excludeConnectionId: string | null = null, allowedConnections: string[] | null = nul
src/sse/services/auth.ts:1704
↓ 3 callersFunctiongetProviderDataString
( credentials: AntigravityCredentialsLike | null | undefined, key: string )
open-sse/services/antigravityIdentity.ts:37
↓ 3 callersFunctiongetProviderQuotaWindowStart
( connectionId: string, targetResetAtIso: string, nowMs = Date.now() )
src/lib/db/quotaResetEvents.ts:298
↓ 3 callersFunctiongetProviderSettingString
( params: Pick<SearchRequestParams, "providerOptions" | "providerSpecificData">, key: string )
open-sse/handlers/search.ts:241
↓ 3 callersFunctiongetProviderSpecificString
(data: JsonRecord | undefined, keys: string[])
open-sse/services/opencodeOllamaUsage.ts:92
↓ 3 callersFunctiongetProviderTimeout
(provider: string)
src/shared/utils/requestTimeout.ts:62
↓ 3 callersFunctiongetProxyLogsTableMaxRows
()
src/lib/logEnv.ts:119
↓ 3 callersFunctiongetProxyRowById
( db: ReturnType<typeof getDbInstance>, id: string, options?: { includeSecrets?: boolean } )
src/lib/db/proxies.ts:233
↓ 3 callersFunctiongetQuotaMonitorSnapshot
(sessionId: string)
open-sse/services/quotaMonitor.ts:330
↓ 3 callersFunctiongetQuotaMonitorSummary
()
open-sse/services/quotaMonitor.ts:345
↓ 3 callersFunctiongetQuotaRemainingPercentage
(q: any)
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.tsx:349
↓ 3 callersFunctiongetQuotaScopeLabelForProvider
( provider: string | null | undefined, model: string | null | undefined )
open-sse/services/antigravityQuotaFamily.ts:50
↓ 3 callersFunctiongetReadmeFileName
(code)
scripts/i18n/generate-multilang.mjs:441
↓ 3 callersFunctiongetReasoningCache
( toolCallId: string )
src/lib/db/reasoningCache.ts:102
↓ 3 callersFunctiongetReasoningCacheServiceEntries
( opts: { limit?: number; offset?: number; provider?: string; model?: string; } = {} )
open-sse/services/reasoningCache.ts:397
↓ 3 callersFunctiongetRecord
(value: unknown)
tests/unit/executor-codex.test.ts:38
↓ 3 callersFunctiongetRedisClient
()
src/shared/utils/rateLimiter.ts:46
↓ 3 callersFunctiongetRedisQuotaStore
(url: string)
src/lib/quota/redisQuotaStore.ts:341
↓ 3 callersFunctiongetRefreshCacheKey
(provider, refreshToken)
open-sse/services/tokenRefresh.ts:266
↓ 3 callersFunctiongetRelayLogs
(tokenId?: string, limit = 50)
src/lib/db/relayProxies.ts:354
↓ 3 callersFunctiongetRelayToken
(id: string)
src/lib/db/relayProxies.ts:153
↓ 3 callersFunctiongetReq
(id: string)
tests/integration/playground-presets-zod.test.ts:57
↓ 3 callersFunctiongetRequestPathname
(request: RequestLike | Request | null | undefined)
src/shared/utils/apiAuth.ts:32
↓ 3 callersFunctiongetResolvedComboControlCenterTargets
( health?: ComboControlCenterHealth | null )
src/lib/combos/controlCenter.ts:178
↓ 3 callersFunctiongetRtkFilterCatalog
()
open-sse/services/compression/engines/rtk/filterLoader.ts:208
↓ 3 callersFunctiongetSapResourceGroup
( providerSpecificData: Record<string, unknown> | null | undefined, fallback = "default" )
open-sse/config/sap.ts:41
↓ 3 callersFunctiongetSchedulePath
()
bin/cli/commands/backup.mjs:336
↓ 3 callersFunctiongetServicePidPath
(service)
bin/cli/utils/pid.mjs:7
← previousnext →6,001–6,100 of 20,485, ranked by callers