MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 5 callersFunctioncheckHeapPressureGuard
( heapUsedMb: number, thresholdMb: number = HEAP_PRESSURE_THRESHOLD_MB )
open-sse/utils/heapPressure.ts:62
↓ 5 callersFunctioncheckIdempotency
(key)
src/lib/idempotencyLayer.ts:53
↓ 5 callersFunctionchunk
(delta: object, finish?: string)
open-sse/executors/deepseek-web.ts:208
↓ 5 callersFunctionclampNumber
(value: unknown, fallback: number, min: number, max: number)
open-sse/services/evalRouting.ts:70
↓ 5 callersFunctionclassifyRequestComplexity
(input: RuleInput)
open-sse/services/autoCombo/complexityRouter.ts:51
↓ 5 callersFunctionclaudeMsg
(content: unknown[])
tests/unit/diagnostics-claude-thinking-5108.test.ts:22
↓ 5 callersFunctionclaudeRequestToXaiResponses
(req: AnthropicRequest)
src/lib/providers/xai/translators/claude.ts:231
↓ 5 callersFunctionclaudeUsageStub
(fiveHourUtil: number, sevenDayUtil: number)
tests/unit/quota-saturation-anthropic-oauth.test.ts:30
↓ 5 callersFunctioncleanNulls
(obj: unknown)
src/lib/db/caseMapping.ts:72
↓ 5 callersFunctioncleanup
()
tests/unit/compression-settings-cache.test.ts:16
↓ 5 callersFunctionclearAntigravityProjectCache
()
open-sse/services/antigravityProjectBootstrap.ts:135
↓ 5 callersFunctionclearCleanupTimer
(gate: AccountGate)
open-sse/services/accountSemaphore.ts:97
↓ 5 callersFunctionclearIdempotency
()
src/lib/idempotencyLayer.ts:103
↓ 5 callersFunctionclickButton
(container: HTMLElement, text: string)
tests/unit/shared/components/ProxyConfigModal.test.tsx:115
↓ 5 callersFunctionclickToggle
Click the accordion toggle button to open/close it.
tests/unit/translator-friendly-compression.test.tsx:108
↓ 5 callersFunctionclose
()
bin/cli/io.mjs:62
↓ 5 callersMethodclose
(code = 1000, reason = "normal_closure")
scripts/dev/responses-ws-proxy.mjs:738
↓ 5 callersFunctioncloseDetail
()
src/shared/components/RequestLoggerV2.tsx:579
↓ 5 callersFunctioncloseReasoning
(state, emit)
open-sse/translator/response/openai-responses.ts:259
↓ 5 callersFunctioncloseReasoning
(controller)
open-sse/transformer/responsesTransformer.ts:192
↓ 5 callersFunctioncloseStreamableSession
(sessionId: string)
open-sse/mcp-server/httpTransport.ts:61
↓ 5 callersFunctioncollect
(processed: RtkProcessResult)
open-sse/services/compression/engines/rtk/index.ts:391
↓ 5 callersFunctioncomboOf
(strategy: string)
tests/unit/combo-quota-share-cooldown-wait.test.ts:75
↓ 5 callersFunctioncommandToId
(command: string)
open-sse/services/compression/engines/rtk/learn.ts:109
↓ 5 callersFunctioncompareReports
(reports: Record<string, EvalReport>)
open-sse/services/compression/harness/benchmark.ts:242
↓ 5 callersFunctioncompressText
(text: string, intensity: "lite" | "full" | "ultra" = "full")
tests/golden-set/compression-caveman-v2.test.ts:6
↓ 5 callersFunctioncomputeBurnRateFromWindow
( consumedTotal: number, windowMs: number, remaining?: number )
src/lib/quota/burnRate.ts:41
↓ 5 callersFunctioncomputeRestartDelayMs
(restartCount)
bin/cli/runtime/supervisorPolicy.mjs:22
↓ 5 callersFunctionconcatBytes
(arrays: Uint8Array[])
open-sse/executors/windsurf.ts:171
↓ 5 callersFunctionconnectionId
(connection: unknown)
tests/unit/auth-antigravity-account-retry-v2.test.ts:17
↓ 5 callersFunctioncountAssertions
(src)
scripts/check/check-test-masking.mjs:20
↓ 5 callersFunctioncountTautologies
(src)
scripts/check/check-test-masking.mjs:27
↓ 5 callersFunctioncoveragePct
(p: (typeof allProviders)[number])
src/app/(dashboard)/dashboard/settings/components/PricingTab.tsx:155
↓ 5 callersFunctioncreateAbortedSyncResult
(dryRun: boolean)
src/lib/modelsDevSync.ts:101
↓ 5 callersFunctioncreateCloudAgentTaskTable
()
src/lib/cloudAgent/db.ts:19
↓ 5 callersFunctioncreateComboContext
(opts: { body: Record<string, unknown>; combo: ComboLike; settings?: Record<string, unknown> | null; r
open-sse/services/combo/context.ts:29
↓ 5 callersFunctioncreateDraftId
()
src/app/(dashboard)/dashboard/usage/components/EvalsTab.tsx:213
↓ 5 callersFunctioncreateEmptyCaseDraft
()
src/app/(dashboard)/dashboard/usage/components/EvalsTab.tsx:217
↓ 5 callersFunctioncreateInvite
( createdByApiKeyId: string, serverUrl?: string, maxUses: number = 1 )
src/lib/gamification/invites.ts:32
↓ 5 callersFunctioncreateLog
()
tests/unit/combo-quota-share-cooldown-wait.test.ts:33
↓ 5 callersFunctioncreateLogger
()
tests/unit/prompt-injection-guard.test.ts:34
↓ 5 callersFunctioncreateNodeSqliteAdapterFromDatabase
( db: NodeSqliteDatabaseLike, filePath: string, onClose?: () => void )
src/lib/db/adapters/nodeSqliteShared.ts:16
↓ 5 callersFunctioncreateOmniRouteAgentBlock
( options: OmniRouteAgentBlockOptions )
@omniroute/opencode-provider/src/index.ts:835
↓ 5 callersFunctioncreateOmniRouteMCPEntry
(options: OmniRouteMCPOptions)
@omniroute/opencode-provider/src/index.ts:444
↓ 5 callersFunctioncreateState
()
tests/unit/translator-resp-openai-to-claude.test.ts:10
↓ 5 callersFunctioncreateSyncTokenRecord
(data: { name: string; tokenHash: string; syncApiKeyId?: string | null; })
src/lib/db/syncTokens.ts:99
↓ 5 callersFunctioncreateTempRoot
()
tests/unit/sync-env.test.ts:14
↓ 5 callersFunctioncredentials
(region = "eu-west-2")
tests/unit/executor-bedrock.test.ts:7
↓ 5 callersFunctioncursorDbCandidatePaths
( platform: NodeJS.Platform, env: { home: string; appdata?: string } )
src/app/api/oauth/cursor/auto-import/route.ts:147
↓ 5 callersFunctioncustomAliases
()
open-sse/services/modelDeprecation.ts:78
↓ 5 callersFunctiondebugLogEnabled
(providerId: string)
@omniroute/opencode-plugin/src/index.ts:4069
↓ 5 callersFunctiondecayModelFailureCount
( provider: string, connectionId: string, model: string )
open-sse/services/accountFallback.ts:690
↓ 5 callersFunctiondeduplicateRepeatedLines
( text: string, options: DeduplicateOptions = {} )
open-sse/services/compression/engines/rtk/deduplicator.ts:5
↓ 5 callersFunctiondefaultOmniRouteEnrichmentFetcher
( baseURL, apiKey, timeoutMs = 10_000 )
@omniroute/opencode-plugin/src/index.ts:1287
↓ 5 callersFunctiondefaultUseUpstream429BreakerHints
(providerId: string)
src/shared/utils/providerHints.ts:43
↓ 5 callersFunctiondefaultValidationModelIdForProvider
(provider: string | undefined)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:759
↓ 5 callersFunctiondelay
(ms: number, signal?: AbortSignal)
src/lib/oauth/codexDeviceFlow.ts:99
↓ 5 callersFunctiondeleteMemory
(id: string)
src/lib/memory/store.ts:416
↓ 5 callersFunctiondeleteQuotaCacheForConnection
(connectionId: string)
open-sse/services/codexQuotaFetcher.ts:111
↓ 5 callersFunctiondeleteSessionAccountAffinity
(sessionKey: string, provider: string)
src/lib/db/sessionAccountAffinity.ts:126
↓ 5 callersFunctiondetectAndLearn
( text: unknown, context: SignatureContext = {} )
open-sse/services/signatureCache.ts:104
↓ 5 callersFunctiondim
( globalUsedPercent: number, consumed: number, limit = 1000, consumedTotal?: number )
tests/unit/quota-enforce.test.ts:150
↓ 5 callersFunctiondiscoverKiroProfileArn
( accessToken: string, usageBaseUrl: string, region: string )
open-sse/services/usage/kiro.ts:113
↓ 5 callersFunctiondiscoverManifests
(root)
scripts/check/check-deps.mjs:51
↓ 5 callersFunctiondiscoverNormalizeLine
(line: string)
open-sse/services/compression/engines/rtk/discover.ts:31
↓ 5 callersFunctiondrainEvents
* Reads all SSE events from a Response body until the stream ends or * the caller aborts. Returns parsed {event, data} pairs.
tests/unit/services/logs-sse.test.ts:39
↓ 5 callersFunctionembed
( text: string, settings: MemorySettingsExtended )
src/lib/memory/embedding/index.ts:166
↓ 5 callersFunctionemit
( controller: ReadableStreamDefaultController<Uint8Array>, chunk: Uint8Array )
open-sse/services/streamRecovery.ts:362
↓ 5 callersFunctionemitDelta
(delta: JsonRecord)
open-sse/utils/jsonToSse.ts:100
↓ 5 callersFunctionemitSettingsFailureAudit
Emit a settings.update_failed row. Never throws — audit must not break flow.
src/app/api/settings/route.ts:132
↓ 5 callersFunctionemitTextDelta
( content: string, state: GeminiToOpenAIState, results: Array<Record<string, unknown>>, field: "conten
open-sse/translator/response/gemini-to-openai.ts:198
↓ 5 callersFunctionemptyStats
()
open-sse/services/compression/quantumLock/quantumLockStep.ts:15
↓ 5 callersMethodencodeString
( text: string, allocate: (size: number, align: number) => number, reallocate: (ptr: number, oldSi
open-sse/lib/deepseek-pow.ts:21
↓ 5 callersFunctionencodeToonBlock
(arr: Record<string, unknown>[])
open-sse/services/compression/engines/headroom/toon.ts:14
↓ 5 callersFunctionenginesMapDerivesStackedPipeline
(config: CompressionConfig)
open-sse/services/compression/strategySelector.ts:163
↓ 5 callersFunctionensureCapabilitiesTable
()
src/lib/modelsDevSync.ts:251
↓ 5 callersFunctionensureEngineBreakdown
(stats: CompressionStats)
open-sse/services/compression/engineBreakdown.ts:14
↓ 5 callersFunctionensureLoaded
* Ensure in-memory cache is hydrated from SQLite.
src/domain/fallbackPolicy.ts:37
↓ 5 callersFunctionensureOpenAIStoreSessionFallback
( body: Record<string, unknown>, sessionId: unknown )
src/lib/providers/requestDefaults.ts:254
↓ 5 callersFunctionenvelopeModel
Extract the upstream model id from the serialized request envelope.
tests/unit/agy-pro-fallback-chain-3786.test.ts:90
↓ 5 callersFunctionerrResponse
(status = 500)
tests/unit/combo-fusion-strategy.test.ts:33
↓ 5 callersFunctionerrorResponse
(status: number, message: string, dsCode?: number)
open-sse/executors/deepseek-web.ts:76
↓ 5 callersFunctionestimateTokens
(text: string)
open-sse/services/compression/aggressive.ts:27
↓ 5 callersFunctionestimateUsage
(body, contentLength, targetFormat = FORMATS.OPENAI)
open-sse/utils/usageTracking.ts:532
↓ 5 callersFunctionevaluateDeletedFiles
(deletedPaths)
scripts/check/check-test-masking.mjs:65
↓ 5 callersFunctionevaluateDuplication
(current, baseline, eps = EPS)
scripts/check/check-duplication.mjs:37
↓ 5 callersFunctionevictStaleRateLimitWindows
(store: Map<string, number>, nowSeconds: number)
src/shared/utils/rateLimiter.ts:141
↓ 5 callersFunctionexecFileText
(command: string, args: string[])
src/mitm/systemCommands.ts:45
↓ 5 callersFunctionexpandProviderWildcardsInCollection
( combos: ComboLike[] )
open-sse/services/combo/providerWildcard.ts:249
↓ 5 callersFunctionexpectedReductionFactor
(engine: string)
open-sse/services/compression/adaptiveCompression/ladder.ts:57
↓ 5 callersFunctionextractCodeAssistSubscriptionTier
(subscriptionInfo: unknown)
open-sse/services/codeAssistSubscription.ts:35
↓ 5 callersFunctionextractCodexAccountId
( idToken: string, tokensAccountId: string | undefined )
tests/unit/codexAuthImport.test.ts:49
↓ 5 callersFunctionextractContentText
(json: unknown)
open-sse/services/combo/responseValidation.ts:115
↓ 5 callersFunctionextractInvocations
(messages: MessageLike[])
open-sse/services/compression/engines/readLifecycle/index.ts:94
↓ 5 callersFunctionextractQwenToken
(rawValue: string)
src/lib/providers/webCookieAuth.ts:101
↓ 5 callersFunctionextractResponsesWsContentText
(value: unknown)
src/app/api/internal/codex-responses-ws/route.ts:70
↓ 5 callersFunctionextractText
(content?: string | unknown[])
open-sse/services/compression/summarizer.ts:183
↓ 5 callersFunctionextractVersion
(binaryPath: string)
tests/unit/services/installers/cliproxy.test.ts:33
↓ 5 callersFunctionfailBatch
(batchId: string, reason: string)
open-sse/services/batchProcessor.ts:887
↓ 5 callersFunctionfakeLookup
(map: Record<string, string>)
tests/unit/compression/ccr-mcp-principal-5649.test.ts:23
← previousnext →3,601–3,700 of 20,485, ranked by callers