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
↓ 2 callers
Function
makeIdToken
Build a fake (unsigned) JWT whose payload carries the given claims.
tests/unit/codex-finalize-tokens.test.ts:7
↓ 2 callers
Function
makeInput
(stream = true)
tests/unit/copilot-m365-web-executor.test.ts:87
↓ 2 callers
Function
makeJsonRpcRequest
(body: unknown)
tests/unit/a2a-enabled-route.test.ts:26
↓ 2 callers
Function
makeLogger
()
tests/unit/management-password-insecure-default.test.ts:13
↓ 2 callers
Function
makeMachBinary
(cpuType)
tests/unit/native-binary-compat.test.ts:24
↓ 2 callers
Function
makePayload
()
tests/unit/translator-openai-to-kiro.test.ts:880
↓ 2 callers
Function
makePool
()
tests/unit/quota-per-key-model-hotpath.test.ts:82
↓ 2 callers
Function
makeProvider
(id: string, sync: () => Promise<unknown>)
tests/unit/proxy-pool-sync-4878.test.ts:131
↓ 2 callers
Function
makePutRequest
(id: string, body: Record<string, unknown>)
tests/unit/combos-quota-protected.test.ts:20
↓ 2 callers
Function
makeReader
(map: Record<string, string>)
tests/unit/tls-options.test.ts:24
↓ 2 callers
Function
makeReq
()
tests/unit/proxy-pool-sync-4878.test.ts:28
↓ 2 callers
Function
makeReq
()
tests/unit/vscode-token-in-url-warning.test.ts:26
↓ 2 callers
Function
makeReq
(body: unknown)
tests/unit/compression/retrieveRoute.test.ts:12
↓ 2 callers
Function
makeReq
(body: unknown)
tests/unit/compression/previewRoutePipeline.test.ts:12
↓ 2 callers
Function
makeReq
(body: unknown)
tests/unit/compression/previewRouteFidelity.test.ts:12
↓ 2 callers
Function
makeReq
(body: unknown)
tests/unit/compression/previewRouteFuzzy.test.ts:12
↓ 2 callers
Function
makeReq
(body: unknown)
tests/unit/compression/compareRoute.test.ts:12
↓ 2 callers
Function
makeRequest
( url: string | URL, { method = "GET", token, body }: { method?: string; token?: string; body?: unknown }
tests/integration/api-keys.test.ts:41
↓ 2 callers
Function
makeRequest
(headers?: HeadersInit)
tests/unit/model-test-route.test.ts:31
↓ 2 callers
Function
makeRequest
(method: string, body?: unknown, token?: string)
tests/unit/acp-agents-route.test.ts:36
↓ 2 callers
Function
makeResp
(data: unknown, status = 200)
tests/unit/cli-openapi-commands.test.ts:4
↓ 2 callers
Function
makeResponse
(data: unknown, status = 200)
tests/unit/cli-server-commands.test.ts:6
↓ 2 callers
Function
makeRunningStatus
(tool: string, port: number)
tests/unit/services/end-to-end-shape.test.ts:42
↓ 2 callers
Function
makeSseStream
(lines: string[])
tests/unit/cli-stream.test.ts:7
↓ 2 callers
Function
makeStoppedStatus
(tool: string, port: number)
tests/unit/services/end-to-end-shape.test.ts:52
↓ 2 callers
Function
makeSuccessSSE
()
tests/unit/agy-pro-fallback-chain-3786.test.ts:75
↓ 2 callers
Function
makeTarget
(provider: string, modelStr: string, connectionId: string | null = null)
tests/unit/combo-empty-content-failover-5085.test.ts:97
↓ 2 callers
Function
makeTranslator
Minimal translator stub mimicking next-intl's `t` + `t.has`.
tests/unit/t3chat-web-cookie-hint-5465.test.ts:18
↓ 2 callers
Function
makeTranslator
(messages: Record<string, string>)
tests/unit/service-tier-labels.test.ts:11
↓ 2 callers
Function
makeUpdateRequest
(id: string, body: Record<string, unknown>)
tests/unit/custom-headers-provider-nodes.test.ts:33
↓ 2 callers
Function
managementCliRequest
(token: string)
tests/unit/api-auth.test.ts:386
↓ 2 callers
Function
mapCapabilityRecord
(record: Record<string, unknown>)
src/lib/modelsDevSync.ts:167
↓ 2 callers
Function
mapCodeAssistSubscriptionToPlanLabel
(subscriptionInfo: unknown)
open-sse/services/usage/antigravity.ts:348
↓ 2 callers
Method
mapCursorStatus
(raw: string | undefined | null)
src/lib/cloudAgent/agents/cursor.ts:53
↓ 2 callers
Function
mapDetailedLogRow
(row: Record<string, unknown>)
src/lib/db/detailedLogs.ts:155
↓ 2 callers
Function
mapFalImageSize
(size, fallback = "square_hd")
open-sse/handlers/imageGeneration.ts:2020
↓ 2 callers
Function
mapFinishReason
(reason: unknown)
open-sse/executors/commandCode.ts:350
↓ 2 callers
Function
mapProxyRow
(row: unknown)
src/lib/db/oneproxy.ts:53
↓ 2 callers
Function
mapSubscriptionTierStringToPlanLabel
(tierText: string)
open-sse/services/usage/antigravity.ts:327
↓ 2 callers
Function
mapTextContent
( msg: ChatMessageLike, transform: (text: string, index: number) => string )
open-sse/services/compression/messageContent.ts:38
↓ 2 callers
Function
markBatchItemError
( batchId: string, item: { lineNumber: number; customId: string | null }, error: any )
src/lib/db/batches.ts:297
↓ 2 callers
Function
markBatchItemResult
( batchId: string, item: { lineNumber: number; customId: string | null }, result: any )
src/lib/db/batches.ts:277
↓ 2 callers
Function
markBlocked
(semaphoreKey: string, cooldownMs: number)
open-sse/services/accountSemaphore.ts:298
↓ 2 callers
Function
markConnectionQuotaExhausted
(connectionId: string, retryAfterMs: number)
open-sse/executors/antigravity.ts:363
↓ 2 callers
Function
markCreditsExhausted
(accountId: string)
open-sse/executors/antigravity.ts:339
↓ 2 callers
Function
markExpiredForState
(stateHash: string, now = nowIso())
src/lib/db/commandCodeAuth.ts:99
↓ 2 callers
Function
markMemoryNeedsReindex
(id: string, needs: boolean)
src/lib/db/memoryVec.ts:95
↓ 2 callers
Function
markMessageCacheControl
(msg: ClaudeMessage, ttl?: string)
open-sse/translator/helpers/claudeHelper.ts:207
↓ 2 callers
Function
markResponsesReasoningDeltaEmitted
(state, itemId)
open-sse/translator/response/openai-responses.ts:651
↓ 2 callers
Function
maskApiKey
(key: string)
src/lib/cloudAgent/credentials.ts:11
↓ 2 callers
Function
maskKey
(k)
bin/cli/commands/contexts.mjs:28
↓ 2 callers
Function
maskKeyId
(apiKey: string)
src/server/authz/policies/clientApi.ts:30
↓ 2 callers
Function
maskKeyName
(name: string)
src/shared/components/analytics/ApiKeyFilterDropdown.tsx:17
↓ 2 callers
Function
maskString
Mask one content string; returns masked text + blocks + per-category counts.
open-sse/services/compression/riskGate/riskGateStep.ts:22
↓ 2 callers
Function
matchesModelPattern
(pattern: string, model: string)
src/lib/db/apiKeyGroups.ts:279
↓ 2 callers
Function
matchesModelPrefix
(model: unknown, prefixes: string[])
open-sse/executors/claudeIdentity.ts:299
↓ 2 callers
Function
matchesPrefix
(path: string, prefixes: readonly string[])
src/server/authz/accessScopes.ts:41
↓ 2 callers
Function
matchesReadonlyPublic
(path: string, method: string)
src/server/authz/classify.ts:128
↓ 2 callers
Function
materialize
(counts, universe)
scripts/quality/mutation-radiography.mjs:98
↓ 2 callers
Function
maxIso
(left: string | null, right: string | null)
src/lib/monitoring/providerHealthMatrix.ts:203
↓ 2 callers
Function
maybeCcrReplace
* Replace a large text block with a CCR marker if it shrinks the content. * Returns the new text and a flag indicating whether replacement happened.
open-sse/services/compression/engines/ccr/index.ts:237
↓ 2 callers
Function
maybePersistProgress
(batchId: string, state: any)
open-sse/services/batchProcessor.ts:663
↓ 2 callers
Function
maybeRefresh
()
src/app/(dashboard)/home/ProviderQuotaWidget.tsx:164
↓ 2 callers
Function
meanRatio
(scored: EvalRecord[])
open-sse/services/compression/eval/aggregate.ts:15
↓ 2 callers
Method
measure
* Convenience: measure an async function as a phase. * @template T * @param {string} phase * @param {() => Promise<T>} fn * @returns {Prom
src/shared/utils/requestTelemetry.ts:83
↓ 2 callers
Function
mediaGenerationModelListResponse
( models: MediaModelListEntry[], type: "music" | "video" )
src/app/api/v1/_shared/mediaGenerationRoute.ts:39
↓ 2 callers
Function
mediaGenerationOptionsResponse
()
src/app/api/v1/_shared/mediaGenerationRoute.ts:30
↓ 2 callers
Function
mergeConsecutiveSameRoleContents
(contents: GeminiContent[])
open-sse/translator/request/openai-to-gemini.ts:129
↓ 2 callers
Function
mergeCredentials
( current: ProviderCredentials, patch: Partial<ProviderCredentials> | null | undefined )
open-sse/executors/gitlab.ts:210
↓ 2 callers
Function
mergeCrushConfig
(existing, provider)
bin/cli/commands/setup-crush.mjs:66
↓ 2 callers
Function
mergeHeadersCaseInsensitive
( ...sources: Array<Record<string, string> | undefined> )
open-sse/executors/duckduckgo-web.ts:215
↓ 2 callers
Function
mergeRtkConfig
(base?: Partial<RtkConfig>, override?: Record<string, unknown>)
open-sse/services/compression/engines/rtk/index.ts:77
↓ 2 callers
Function
mergeSectionObject
( target: UserDatabaseSettings, section: DatabaseSettingsSection, value: unknown )
src/lib/db/databaseSettings.ts:120
↓ 2 callers
Function
mergeTopLevelSections
(target: UserDatabaseSettings, values: Record<string, unknown>)
src/lib/db/databaseSettings.ts:137
↓ 2 callers
Function
messageContentToXaiBlocks
* Convert OpenAI message content (string | array of parts) into xAI input * content blocks. Mirrors CLIProxyAPI mapping: * "text" → { type:
src/lib/providers/xai/translators/openai-chat.ts:141
↓ 2 callers
Function
messageText
(output: AnyRecord[])
tests/unit/responses-textless-terminal-3948.test.ts:25
↓ 2 callers
Function
messagesToText
(messages: Array<{ role: string; content: unknown }>)
src/app/api/compression/preview/route.ts:84
↓ 2 callers
Function
metaAiSseText
(content: string, streamingState = "DONE")
tests/unit/provider-validation-specialty.test.ts:36
↓ 2 callers
Function
migrateProxyEntry
(value: unknown)
src/lib/db/settings.ts:235
↓ 2 callers
Function
migrationFiles
()
tests/unit/db-migration-version-uniqueness.test.ts:31
↓ 2 callers
Function
mkSucceeded
( targetIndex: number, provider = `prov${targetIndex}`, model = `model${targetIndex}` )
tests/unit/ui/comboFlowModel.test.ts:58
↓ 2 callers
Function
mockFetch
(overrides: Record<string, unknown> = {})
tests/unit/cli-audit-commands.test.ts:55
↓ 2 callers
Function
mockFetchCapture
()
tests/unit/context-editing-relays.test.ts:23
↓ 2 callers
Function
mockFetchCapture
(status = 200, text = "Hello from Blackbox")
tests/unit/blackbox-web.test.ts:30
↓ 2 callers
Function
mockFetchError
(error)
tests/unit/perplexity-web.test.ts:66
↓ 2 callers
Function
mockFetchErrorThenOk
First call returns `status` with `errorText`; subsequent calls return 200 OK.
tests/unit/context-editing-relays.test.ts:37
↓ 2 callers
Function
mockFetchOnce
(payload: unknown)
tests/unit/minimax-coding-plan-usage.test.ts:30
↓ 2 callers
Function
mockFetchText
(text, status = 200)
tests/unit/releaseChecker.test.ts:10
↓ 2 callers
Function
mockSettings
(partial: SettingsPatch)
tests/unit/_mocks/settings.ts:65
↓ 2 callers
Function
mockTextStream
(text: string)
tests/unit/blackbox-web.test.ts:8
↓ 2 callers
Function
modalitiesIncludeImage
(value: unknown)
src/lib/providerModels/modelDiscovery.ts:32
↓ 2 callers
Function
modelLockKey
(provider: string, connectionId: string | null, model: string)
src/lib/monitoring/providerHealthMatrix.ts:191
↓ 2 callers
Function
modelTargets
()
tests/unit/complexity-router.test.ts:18
↓ 2 callers
Function
modelsCacheKey
(baseURL: string, credentialId: string)
@omniroute/opencode-plugin/src/index.ts:2321
↓ 2 callers
Function
mount
(ui: React.ReactElement)
tests/unit/ui/flowCanvas.test.tsx:18
↓ 2 callers
Function
mount
(ui: React.ReactElement)
tests/unit/ui/studio-pages.test.tsx:26
↓ 2 callers
Function
mountInContainer
(ui: React.ReactElement)
tests/unit/ui/compression-settings-page.test.tsx:17
↓ 2 callers
Function
mountModal
()
tests/unit/dashboard/batch/sanitization.test.tsx:274
↓ 2 callers
Function
moveOp
(providerId: string, opIndex: number, direction: -1 | 1)
src/app/(dashboard)/dashboard/settings/components/RoutingTab.tsx:846
↓ 2 callers
Function
moveProviderOverride
(provider: string, direction: -1 | 1)
src/app/(dashboard)/dashboard/settings/components/ComboDefaultsTab.tsx:265
← previous
next →
8,501–8,600 of 20,485, ranked by callers