MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 12 callersFunctiontoSafeNumber
(value: number | null | undefined)
src/lib/usage/comboHealth.ts:92
↓ 12 callersFunctionunregisterCompressionEngine
(id: string)
open-sse/services/compression/engines/registry.ts:37
↓ 12 callersFunctionupdate
(key: K, value: PlaygroundParams[K])
src/app/(dashboard)/dashboard/playground/components/ParamSliders.tsx:77
↓ 12 callersFunctionupdatePendingScope
(scope: PendingRequestScope, metadata: PendingRequestMetadata)
src/lib/usage/pendingRequestScope.ts:16
↓ 12 callersFunctionupdateVersionManagerTool
( tool: string, updates: Record<string, unknown> )
src/lib/db/versionManager.ts:243
↓ 12 callersFunctionupsertVersionManagerTool
(data: { tool: string; currentVersion?: string | null; installedVersion?: string | null; pinnedVersion
src/lib/db/versionManager.ts:179
↓ 12 callersFunctionuseStreamMetrics
(modelPricing?: { inUsdPer1k: number; outUsdPer1k: number; })
src/app/(dashboard)/dashboard/playground/hooks/useStreamMetrics.ts:45
↓ 12 callersMethodvalidateImportToken
* Validate and import refresh token. * First attempts to validate using cached AWS SSO client credentials (Builder ID path). * If that fails or
src/lib/oauth/services/kiro.ts:294
↓ 12 callersFunctionwaitFor
(fn, timeoutMs = 1500)
tests/integration/chat-pipeline.test.ts:484
↓ 12 callersFunctionwaitForCondition
(fn: () => boolean, timeoutMs = 2000)
tests/unit/ui/noauth-account-card.test.tsx:65
↓ 12 callersFunctionwalk
(buf: Buffer)
tests/unit/cursor-image-input.test.ts:30
↓ 12 callersFunctionwithBodyTimeout
( promise: Promise<T>, timeoutMs: number = FETCH_BODY_TIMEOUT_MS )
open-sse/utils/stream.ts:61
↓ 12 callersFunctionwithEnv
(overrides: Record<string, string | undefined>, fn: any)
tests/unit/prompt-injection-guard.test.ts:9
↓ 12 callersFunctionwrapExecClientMessage
* Build an ExecClientMessage frame: * AgentClientMessage { * exec_client_message (2): ExecClientMessage { * id (1): execMsgId, *
open-sse/utils/cursorAgentProtobuf.ts:932
↓ 12 callersFunctionwriteTempFile
(filename: string, content: string)
tests/unit/check-tool-config-status.test.ts:20
↓ 11 callersFunction__clearQoderJobTokenCache
()
open-sse/services/qoderCli.ts:506
↓ 11 callersFunction__resetChatGptImageCacheForTesting
()
open-sse/services/chatgptImageCache.ts:135
↓ 11 callersFunction__resetUltraEntryForTests
()
open-sse/services/compression/engines/llmlingua/ultraEntry.ts:106
↓ 11 callersFunctionacquireQuotaShareConcurrencySlot
( target: ResolvedComboTarget | undefined, cap: number | null, opts: QuotaShareSlotOptions, log: SlotL
open-sse/services/combo/quotaShareConcurrency.ts:51
↓ 11 callersFunctionantigravityUserAgent
( version = getCachedAntigravityVersion(), platform: NodeJS.Platform = process.platform )
open-sse/services/antigravityHeaders.ts:55
↓ 11 callersFunctionasRecord
(value)
open-sse/executors/bedrock.ts:16
↓ 11 callersFunctionaudioStreamResponse
* Return a CORS audio stream response
open-sse/handlers/audioSpeech.ts:74
↓ 11 callersFunctionboundedInt
(value: unknown, fallback: number, min: number, max: number)
src/lib/db/compression.ts:298
↓ 11 callersFunctionbuildCavemanOutputInstruction
( config: CavemanOutputModeConfig, language = "en" )
open-sse/services/compression/outputMode.ts:103
↓ 11 callersFunctionbuildCurl
({ endpoint, method = "POST", headers, body }: CurlOptions)
src/app/(dashboard)/dashboard/providers/utils/buildCurl.ts:40
↓ 11 callersFunctionbuildDiscoveryErrorFallbackResponse
( error: unknown, warnings?: { cacheWarning?: string; localWarning?: string;
src/app/api/providers/[id]/models/route.ts:304
↓ 11 callersFunctionbuildExecutorClientHeaders
( headers: Headers | Record<string, unknown> | null | undefined, userAgent?: string | null )
open-sse/handlers/chatCore/executorClientHeaders.ts:11
↓ 11 callersFunctionbuildGitLabOAuthEndpoints
(baseUrl?: unknown)
src/lib/oauth/gitlab.ts:27
↓ 11 callersFunctionbuildOpenAIChatBody
(model, content = `Route ${model}`)
tests/integration/combo-routing-e2e.test.ts:37
↓ 11 callersFunctionbuildOpenAiCompatibleRegistryEntry
( overrides: Pick<RegistryEntry, "id"> & Partial<Omit<RegistryEntry, "id" | "format" | "executor" | "aut
open-sse/config/providers/shared.ts:151
↓ 11 callersFunctionbuildTextDeltaPayload
(text: string)
tests/unit/cursor-streaming.test.ts:29
↓ 11 callersFunctionbuildToolAwareResult
* Build the executor result for a tool-translated reply. Emits OpenAI `tool_calls` * with `finish_reason: "tool_calls"` when tool calls were parsed,
open-sse/executors/deepseek-web.ts:727
↓ 11 callersFunctioncalculateCost
( provider: string, model: string, tokens: Record<string, number | undefined> | null | undefined, opti
src/lib/usage/costCalculator.ts:133
↓ 11 callersFunctioncapMemoryExtractionText
(value: string)
open-sse/handlers/chatCore/logTruncation.ts:12
↓ 11 callersFunctioncheckFidelity
( inputText: string, outputText: string, cfg: FidelityGateConfig )
open-sse/services/compression/fidelityGate.ts:58
↓ 11 callersFunctioncheckLoginGuard
( rawIp: string | null | undefined, options: { enabled: boolean } )
src/server/auth/loginGuard.ts:59
↓ 11 callersFunctioncloneBoundedForLog
(value: unknown, depth = 0, key: string | null = null)
open-sse/utils/requestLogger.ts:121
↓ 11 callersFunctioncompareSemver
(a: string, b: string)
src/lib/plugins/manager.ts:52
↓ 11 callersFunctioncomputeHeapPressureThresholdMb
( heapSizeLimitMb: number, override?: string | number | null )
open-sse/utils/heapPressure.ts:23
↓ 11 callersFunctioncreateGroup
(name: string)
src/lib/db/quotaGroups.ts:67
↓ 11 callersFunctioncreateKeyGroup
(name: string, description = "")
src/lib/db/apiKeyGroups.ts:68
↓ 11 callersFunctioncreateProxy
(payload: ProxyPayload)
src/lib/db/proxies.ts:261
↓ 11 callersFunctioncreateStreamingState
()
tests/unit/gemini-midstream-error-4177.test.ts:24
↓ 11 callersFunctionctx
(headers: Headers, method = "POST", normalizedPath = "/api/v1/chat/completions")
tests/unit/authz/client-api-policy.test.ts:53
↓ 11 callersFunctiondecodeVarint
(buf: Buffer, offset: number)
open-sse/utils/cursorAgentProtobuf/wire.ts:61
↓ 11 callersFunctiondedupeExactCatalogIds
(models: T[])
src/app/api/v1/models/catalogDedupe.ts:30
↓ 11 callersFunctiondim
(opts: { poolId?: string; unit?: string; window?: string; limit: number; consumedTotal: number; gl
tests/unit/quota-fair-share.test.ts:25
↓ 11 callersFunctionemit
(level: LogLevel, message: string, meta?: LogMetadata | null)
open-sse/utils/logger.ts:116
↓ 11 callersFunctionencodeCredentialBlob
(input: CredentialBlob)
src/lib/oauth/credentialBlob.ts:47
↓ 11 callersFunctionencodeString
Encode a UTF-8 string field.
open-sse/executors/windsurf.ts:193
↓ 11 callersFunctionengineStatus
()
src/lib/memory/retrieval.ts:967
↓ 11 callersMethodensureMinSessions
Ensure the pool has at least minSessions ready
open-sse/services/sessionPool/sessionPool.ts:78
↓ 11 callersFunctionerrorResp
(status: number, message: string)
src/app/api/playground/presets/[id]/route.ts:29
↓ 11 callersFunctionescapeXml
(value: string)
open-sse/services/contextHandoff.ts:326
↓ 11 callersFunctionevaluateFileSizes
(currentLocByFile, frozen, cap)
scripts/check/check-file-size.mjs:32
↓ 11 callersFunctionextractApiErrorMessage
(body: unknown, fallback: string)
src/shared/http/apiErrorMessage.ts:11
↓ 11 callersFunctionfeedStreamingChunk
(state: StreamingState, accumulated: string)
open-sse/utils/composerToolCalls.ts:250
↓ 11 callersFunctionfilterEmptyNameTools
(tools)
tests/unit/tools-filter-anthropic-format.test.ts:14
↓ 11 callersFunctionfisherYatesShuffle
(arr: readonly T[])
src/shared/utils/shuffleDeck.ts:30
↓ 11 callersFunctionformatScalar
(v: unknown, delimiter: number = 0)
open-sse/services/compression/engines/headroom/gcf/scalar.ts:96
↓ 11 callersFunctiongetActiveMonitorCount
()
open-sse/services/quotaMonitor.ts:326
↓ 11 callersFunctiongetApiKeyRequestScope
(request: Request)
src/app/api/v1/_helpers/apiKeyScope.ts:13
↓ 11 callersFunctiongetAuthGroup
(providerId)
src/app/api/providers/test-batch/route.ts:25
↓ 11 callersFunctiongetCfClearanceToken
(options?: { force?: boolean; headless?: boolean; })
open-sse/services/claudeTurnstileSolver.ts:146
↓ 11 callersFunctiongetCompressionCombo
(id: string)
src/lib/db/compressionCombos.ts:237
↓ 11 callersFunctiongetCursorVersion
()
open-sse/utils/cursorVersionDetector.ts:41
↓ 11 callersFunctiongetDb
()
src/lib/db/quotaPools.ts:107
↓ 11 callersFunctiongetEmbeddingProvider
(providerId: string)
open-sse/config/embeddingRegistry.ts:293
↓ 11 callersFunctiongetKeyGroup
(id: string)
src/lib/db/apiKeyGroups.ts:52
↓ 11 callersFunctiongetMinuteRequestCount
(modelId: string)
open-sse/services/geminiRateLimitTracker.ts:119
↓ 11 callersFunctiongetModelCatalogSourceLabel
(source?: string | null)
src/shared/utils/modelCatalogSearch.ts:36
↓ 11 callersFunctiongetPerEngineAnalytics
(engineId: string, days = 7)
src/lib/db/compressionAnalytics.ts:323
↓ 11 callersFunctiongetPromptCacheSessionId
( credentials: { providerSpecificData?: { workspaceId?: string } } | null, body: Record<string, unknown> |
tests/unit/codex-cache-key.test.ts:11
↓ 11 callersFunctiongetProviderProfile
(provider: string)
open-sse/services/accountFallback.ts:360
↓ 11 callersFunctiongetProxyById
(id: string, options?: { includeSecrets?: boolean })
src/lib/db/proxies.ts:228
↓ 11 callersFunctiongetQuotaStore
()
src/lib/quota/storeFactory.ts:74
↓ 11 callersFunctiongetRegistryState
()
src/lib/middleware/registry.ts:41
↓ 11 callersFunctiongetSessionAccountAffinity
( sessionKey: string, provider: string, ttlMs = 0, now: number = Date.now() )
src/lib/db/sessionAccountAffinity.ts:63
↓ 11 callersFunctiongetSkillById
(id: string)
src/lib/agentSkills/catalog.ts:106
↓ 11 callersFunctiongetWebSessionCredentialRequirement
( providerId: unknown )
src/shared/providers/webSessionCredentials.ts:245
↓ 11 callersFunctiongoldenSnapshot
(name: string, value: unknown, dir = DEFAULT_DIR)
tests/helpers/goldenSnapshot.ts:42
↓ 11 callersFunctionhandleBatchTest
(mode, providerId = null)
src/app/(dashboard)/dashboard/providers/page.tsx:442
↓ 11 callersFunctionhandleCompressionConfigure
( args: { enabled?: boolean; strategy?: string; autoTriggerMode?: string; maxTokens?: number
open-sse/mcp-server/tools/compressionTools.ts:155
↓ 11 callersFunctionhandleCompressionStatus
( args: Record<string, never>, extra?: McpToolExtraLike )
open-sse/mcp-server/tools/compressionTools.ts:26
↓ 11 callersFunctionhasPerModelQuota
( provider: string | null | undefined, _model: string | null | undefined = null, connectionPassthroughMo
open-sse/services/accountFallback.ts:628
↓ 11 callersFunctionhasUsableWebSessionCredential
( providerId: unknown, providerSpecificData: unknown )
src/shared/providers/webSessionCredentials.ts:265
↓ 11 callersFunctionidleResult
()
tests/unit/translator-friendly-result-narrated.test.tsx:76
↓ 11 callersFunctioninjectSystemPrompt
(body)
open-sse/services/systemPrompt.ts:80
↓ 11 callersFunctioninsertMemory
Insert a memory row with an auto-incremented INTEGER id (FTS5-compatible).
src/lib/memory/__tests__/retrieval.test.ts:118
↓ 11 callersFunctioninsertMemory
( db: ReturnType<typeof core.getDbInstance>, id: string, apiKeyId: string, content: string, key?: st
tests/unit/memory-retrieval-hybrid.test.ts:42
↓ 11 callersFunctioninstallFetchRecorder
(response: Response = new Response("ok"))
@omniroute/opencode-plugin/tests/fetch-interceptor.test.ts:20
↓ 11 callersFunctioninvalidateOpencodeQuotaCache
(connectionId: string)
open-sse/services/opencodeQuotaFetcher.ts:329
↓ 11 callersFunctionisEmptyContentResponse
(responseBody: unknown)
open-sse/services/errorClassifier.ts:16
↓ 11 callersFunctionisNoMemoryRequested
( headers: Record<string, unknown> | Headers | null | undefined )
open-sse/handlers/chatCore/headers.ts:26
↓ 11 callersFunctionisRecord
(value: unknown)
open-sse/executors/muse-spark-web.ts:66
↓ 11 callersFunctionisRecord
(value: unknown)
open-sse/services/comboConfig.ts:132
↓ 11 callersFunctionisStripReasoningRequested
( headers: Record<string, unknown> | Headers | null | undefined )
open-sse/handlers/chatCore/headers.ts:58
↓ 11 callersFunctionisValidModel
(aliasOrId, modelId)
src/shared/constants/models.ts:28
↓ 11 callersFunctionissue
( combo: ComboHealthMetrics, kind: ComboAutopilotIssueKind, severity: ComboAutopilotSeverity, title: s
src/lib/monitoring/comboHealthAutopilot.ts:117
↓ 11 callersFunctionload
()
src/app/(dashboard)/dashboard/settings/components/ResilienceTab.tsx:1065
← previousnext →1,301–1,400 of 20,485, ranked by callers