MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 2 callersFunctionparseNumberParam
(value: string | null, fallback: number)
src/app/api/mcp/audit/route.ts:11
↓ 2 callersFunctionparseOriginList
(value: string | null | undefined)
src/server/cors/origins.ts:41
↓ 2 callersFunctionparsePagination
(value: string | null, fallback: number, min: number, max: number)
src/app/api/compliance/audit-log/route.ts:9
↓ 2 callersFunctionparsePersistedEntry
(value: string, now = Date.now())
open-sse/services/geminiThoughtSignatureStore.ts:69
↓ 2 callersFunctionparsePositiveInt
(value: string | undefined, fallback: number)
src/shared/middleware/chatBodyAdmission.ts:25
↓ 2 callersFunctionparsePositiveIntOrNull
* Returns the explicit operator-set retention override (a positive integer), or `null` * when the env var is unset/empty/invalid. Callers give an exp
src/lib/logEnv.ts:80
↓ 2 callersFunctionparsePositiveInteger
(value, fallback)
scripts/dev/smoke-electron-packaged.mjs:28
↓ 2 callersFunctionparseProxyUrl
(url: string)
tests/integration/mimocode-proxy.integration.test.ts:7
↓ 2 callersFunctionparseRecord
(value: unknown)
src/lib/db/sessionAccountAffinity.ts:30
↓ 2 callersFunctionparseRelease
(raw: any)
src/lib/versionManager/releaseChecker.ts:36
↓ 2 callersFunctionparseRequestBodyLimitBytes
(value: string | undefined)
src/shared/constants/bodySize.ts:25
↓ 2 callersFunctionparseResetTime
(resetValue: unknown)
open-sse/services/codexUsageQuotas.ts:41
↓ 2 callersFunctionparseResetTime
(value)
open-sse/services/rateLimitManager/headers.ts:34
↓ 2 callersFunctionparseSSEDataLines
( dataLines: string[], options: SSEPayloadOptions = {} )
open-sse/utils/streamHelpers.ts:80
↓ 2 callersFunctionparseSSEJsonChunks
(text)
tests/unit/executor-kiro.test.ts:93
↓ 2 callersFunctionparseScalar
(raw)
scripts/features/lib/frontmatter.mjs:9
↓ 2 callersFunctionparseSemver
(v: string)
tests/unit/runtime/sqliteRuntime-node26-compat.test.ts:12
↓ 2 callersFunctionparseSpeechModel
(modelStr: string | null, dynamicProviders?: AudioProvider[])
open-sse/config/audioRegistry.ts:479
↓ 2 callersFunctionparseSseDelta
Parse one SSE line into a typed delta, or null if it carries no content.
open-sse/executors/qwen-web.ts:448
↓ 2 callersFunctionparseStringArray
(match)
scripts/check/check-openapi-security-tiers.mjs:17
↓ 2 callersFunctionparseTabularBody
( lines: string[], start: number, depth: number, fields: string[], expectedCount: number )
open-sse/services/compression/engines/headroom/gcf/decode_generic.ts:277
↓ 2 callersFunctionparseThreshold
(name, fallbackValue)
scripts/check/test-report-summary.mjs:16
↓ 2 callersFunctionparseToml
(content: string)
src/app/api/cli-tools/codex-settings/route.ts:25
↓ 2 callersFunctionparseToolInput
(value: unknown)
open-sse/translator/request/openai-to-kiro.ts:31
↓ 2 callersFunctionparseTranscriptionModel
( modelStr: string | null, dynamicProviders?: AudioProvider[] )
open-sse/config/audioRegistry.ts:472
↓ 2 callersFunctionparseUpstreamError
(response: Response, provider: string | null = null)
open-sse/utils/error.ts:217
↓ 2 callersFunctionparseUsdInput
(value: string)
src/app/(dashboard)/dashboard/costs/components/ApiKeyUsageLimitCard.tsx:44
↓ 2 callersFunctionparseZizmorOutput
(stdout)
scripts/check/check-workflows.mjs:117
↓ 2 callersFunctionpartsToXaiBlocks
* Convert Gemini parts[] into xAI input content blocks. * * Gemini part types: * text, inlineData (mime+data b64), fileData (uri), * functionC
src/lib/providers/xai/translators/gemini.ts:175
↓ 2 callersFunctionpatternMatches
* Match a Docker glob pattern against a file path without building a dynamic * RegExp (avoid ReDoS risk on patterns sourced from .dockerignore). We w
tests/unit/dockerignore-docs-coverage.test.ts:74
↓ 2 callersFunctionpcmToWav
(pcm: Buffer, sampleRate = 24000, channels = 1, bitsPerSample = 16)
open-sse/executors/vertexMedia.ts:134
↓ 2 callersMethodperformRequest
( input: ExecuteInput, target: GitLabRequestTarget, transformedBody: Record<string, unknown> )
open-sse/executors/gitlab.ts:554
↓ 2 callersFunctionpersistDbBackupRetentionSettings
(input: { keepLatest?: number; retentionDays?: number })
src/app/api/db-backups/route.ts:26
↓ 2 callersFunctionpersistLearnedLimitsNow
()
open-sse/services/rateLimitManager.ts:765
↓ 2 callersFunctionpersistSecret
(_key: string, _value: string)
src/instrumentation-node.ts:46
↓ 2 callersMethodpick
(candidates: ScoredProvider[])
open-sse/services/autoCombo/engine.ts:76
↓ 2 callersMethodpickAccount
()
open-sse/executors/mimocode.ts:326
↓ 2 callersFunctionpickConfirmedHealthy
* Pick up to `n` confirmed-healthy connections, preferring fast/cheap providers. * Returns empty when LIVE is disabled.
tests/integration/combo-live/auto.live.test.ts:132
↓ 2 callersFunctionpickConfirmedHealthy
* Pick up to `n` confirmed-healthy connections, preferring fast/cheap providers.
tests/integration/combo-live/cost-and-fusion.live.test.ts:93
↓ 2 callersFunctionpickFrom
(arr: unknown[])
open-sse/handlers/chatCore/memorySkillsInjection.ts:63
↓ 2 callersMethodpickFromPool
(pool: ScoredProvider[])
open-sse/services/autoCombo/engine.ts:112
↓ 2 callersFunctionpickNewestVersion
(...versions: Array<string | null | undefined>)
open-sse/services/antigravityVersion.ts:37
↓ 2 callersFunctionplatformBinaryLabel
()
bin/cli/runtime/magicBytes.mjs:43
↓ 2 callersFunctionpollStatus
(endpoint, timeoutMs)
bin/cli/commands/oauth.mjs:42
↓ 2 callersMethodpoolUsage
(poolId: string)
src/lib/quota/types.ts:47
↓ 2 callersMethodpostCall
( _response: unknown, _context: GuardrailContext )
src/lib/guardrails/base.ts:59
↓ 2 callersFunctionpostPreview
(payload: Record<string, unknown>)
src/hooks/usePreviewCompression.ts:8
↓ 2 callersFunctionpostReq
(body: unknown)
tests/unit/tproxy-route.test.ts:20
↓ 2 callersFunctionpreferClaudeCodeForUnprefixedClaudeModels
()
src/lib/db/apiKeys/modelPermissions.ts:13
↓ 2 callersFunctionprefetchDashboardCsrfToken
()
src/shared/utils/dashboardCsrf.ts:78
↓ 2 callersFunctionprefix
(output: string)
open-sse/utils/streamHelpers.ts:191
↓ 2 callersFunctionprepareClaudeCodeCompatibleBody
( claudeBody: Record<string, unknown>, preserveCacheControl: boolean )
open-sse/services/claudeCodeCompatible.ts:812
↓ 2 callersFunctionprependBufferedChunks
( chunks: Uint8Array[], reader: ReadableStreamDefaultReader<Uint8Array> )
open-sse/handlers/chatCore/jsonBodyToSse.ts:31
↓ 2 callersFunctionpreroutingRuleSpec
PREROUTING mangle TPROXY rule spec (assign marked, rerouted packets to the listener).
src/mitm/tproxy/commands.ts:89
↓ 2 callersFunctionpreviewClaudeJson
(json: unknown)
src/app/(dashboard)/dashboard/providers/[id]/components/modals/ImportClaudeAuthModal.tsx:36
↓ 2 callersFunctionpreviewCorruptedValue
* Truncate an unknown value (string) for safe inclusion in a log payload. * Returns the string verbatim when shorter than the cap, otherwise a * 200
src/lib/db/tierConfig.ts:34
↓ 2 callersFunctionprint_warning
(msg: str)
scripts/i18n/validate_translation.py:81
↓ 2 callersFunctionprobeChatFallback
({ baseUrl, apiKey, modelId, extraHeaders = {}, }: { baseUrl: string; apiKey: string; modelId: s
src/app/api/provider-nodes/validate/route.ts:91
↓ 2 callersFunctionprocessAntigravitySSEText
( text: string, partialLine: { value: string }, collected: AntigravityCollectedStream, log?: { debug?:
open-sse/executors/antigravity.ts:426
↓ 2 callersFunctionprocessFile
(file: File)
src/app/(dashboard)/dashboard/batch/components/wizard/InputStep.tsx:52
↓ 2 callersFunctionprocessStreamReadinessEvent
(state: StreamReadinessSignalState)
open-sse/utils/streamReadiness.ts:125
↓ 2 callersFunctionprocessStreamReadinessLine
(state: StreamReadinessSignalState, line: string)
open-sse/utils/streamReadiness.ts:139
↓ 2 callersFunctionprocessText
(text: string)
open-sse/services/compression/engines/rtk/index.ts:171
↓ 2 callersFunctionpromoteFreeProxyToPool
( freeProxyId: string, registryPayload: { name: string; type: string; host: string; port:
src/lib/db/freeProxies.ts:211
↓ 2 callersFunctionpromptRequiredResponse
(body: { prompt?: unknown })
src/app/api/v1/_shared/mediaGenerationRoute.ts:84
↓ 2 callersFunctionprotectText
(input, options = {})
scripts/i18n/generate-multilang.mjs:493
↓ 2 callersFunctionproviderBreakerOpenResponse
()
tests/unit/combo-routing-engine.test.ts:67
↓ 2 callersFunctionproviderEntryName
(providerId: string)
src/lib/combos/builderOptions.ts:634
↓ 2 callersFunctionproviderFromUrl
(url: string)
tests/integration/_comboRoutingHarness.ts:10
↓ 2 callersFunctionprune
()
src/lib/oauth/deviceFlowTickets.ts:45
↓ 2 callersMethodpruneDeadSessions
Remove dead sessions and idle sessions older than maxIdleMs
open-sse/services/sessionPool/sessionPool.ts:304
↓ 2 callersFunctionpruneEvalRoutingCache
(now = Date.now())
open-sse/services/evalRouting.ts:46
↓ 2 callersFunctionpruneMinuteWindow
Prune timestamps older than 60 seconds from a model's window.
open-sse/services/geminiRateLimitTracker.ts:97
↓ 2 callersMethodpublicHookUpdate
( intercepted: Parameters<MitmHandlerBase["hookBufferUpdate"]>[0], opts?: Parameters<MitmHandlerBase["
tests/unit/mitm-handler-base.test.ts:27
↓ 2 callersFunctionpump
Post the next queued item to the worker (one in-flight at a time).
open-sse/services/compression/engines/llmlingua/worker.ts:273
↓ 2 callersFunctionpurgeCallLogs
()
src/lib/db/cleanup.ts:308
↓ 2 callersFunctionpurgeDetailedLogs
()
src/lib/db/cleanup.ts:336
↓ 2 callersFunctionpurgeExpiredMemory
* Remove expired entries from memory cache.
open-sse/services/reasoningCache.ts:162
↓ 2 callersFunctionpushCandidate
(candidate: string)
src/shared/utils/providerModelAliases.ts:35
↓ 2 callersFunctionpushCapped
(chunk: Uint8Array)
open-sse/utils/cursorImages.ts:249
↓ 2 callersFunctionpushClampedPercentage
(percentages: number[], value: number)
src/sse/services/auth.ts:547
↓ 2 callersFunctionpushIfCompactable
(jsonStr: string)
open-sse/services/compression/engines/headroom/smartcrusher.ts:144
↓ 2 callersFunctionpushName
(name: unknown)
open-sse/translator/request/openai-to-kiro.ts:703
↓ 2 callersFunctionquantumCachingContext
( body: Record<string, unknown>, options?: { model?: string; cachingContext?: CachingDetectionContext } )
open-sse/services/compression/quantumLock/strategyWrap.ts:17
↓ 2 callersFunctionquietLogger
()
tests/unit/spend-batch-writer.test.ts:16
↓ 2 callersFunctionquotaFetch
(path: string)
src/lib/a2a/skills/quotaManagement.ts:15
↓ 2 callersFunctionquoteExecArg
(value)
bin/cli/tray/autostart.mjs:37
↓ 2 callersFunctionquoteString
(s: string)
open-sse/services/compression/engines/headroom/gcf/scalar.ts:58
↓ 2 callersFunctionraceDelays
(firstMs, secondMs)
tests/unit/electron-main.test.ts:23
↓ 2 callersFunctionraceWithTimeout
* Race a `client.request()` promise against (a) a JS-level hard timeout and * (b) the caller's abort signal. The native binding's `timeoutMillisecond
open-sse/services/chatgptTlsClient.ts:82
↓ 2 callersFunctionraceWithTimeout
* Race a `client.request()` promise against (a) a JS-level hard timeout and * (b) the caller's abort signal. The native binding's `timeoutMillisecond
open-sse/services/grokTlsClient.ts:85
↓ 2 callersFunctionraceWithTimeout
* Race a `client.request()` promise against (a) a JS-level hard timeout and * (b) the caller's abort signal. The native binding's `timeoutMillisecond
open-sse/services/perplexityTlsClient.ts:83
↓ 2 callersFunctionraceWithTimeout
* Race a `client.request()` promise against (a) a JS-level hard timeout and * (b) the caller's abort signal. The native binding's `timeoutMillisecond
open-sse/services/claudeTlsClient.ts:80
↓ 2 callersFunctionrandomHex
(bytes: number)
open-sse/executors/grok-web.ts:86
↓ 2 callersFunctionrandomHex
(n: number)
open-sse/executors/chatgpt-web.ts:770
↓ 2 callersFunctionrandomHex
(n: number)
src/lib/providers/validation/webProvidersA.ts:313
↓ 2 callersFunctionrandomSentinelSeed
()
open-sse/services/compression/preservation.ts:18
↓ 2 callersFunctionrandomServerId
()
open-sse/executors/chipotle.ts:14
↓ 2 callersFunctionrandomString
(length: number, alphanumeric = false)
open-sse/executors/grok-web.ts:65
↓ 2 callersFunctionrank
(id: string)
src/app/(dashboard)/home/ProviderTopology.tsx:190
← previousnext →8,801–8,900 of 20,485, ranked by callers