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
↓ 9 callers
Function
supportsNativeWebSearchFallbackBypass
({ provider, sourceFormat, targetFormat, nativeCodexPassthrough, }: { provider?: string | null; so
open-sse/services/webSearchFallback.ts:140
↓ 9 callers
Function
target
(overrides: Record<string, unknown> = {})
tests/unit/combo/combo-target-exhaustion.test.ts:22
↓ 9 callers
Function
targetFormatBadgeI18nKey
(value: string)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:96
↓ 9 callers
Method
testConnection
( _credentials: ProviderCredentials, _signal?: AbortSignal | null, log?: ExecuteInput["log"] )
open-sse/executors/mimocode.ts:390
↓ 9 callers
Function
toArrayOfRecords
(value: unknown)
open-sse/mcp-server/tools/advancedTools.ts:71
↓ 9 callers
Function
toMemoryRetrievalConfig
( settings: MemorySettings, extra: { query?: string } = {} )
src/lib/memory/settings.ts:139
↓ 9 callers
Function
toNonEmptyString
(value: unknown)
src/lib/db/models/shared.ts:9
↓ 9 callers
Function
toNumber
(value: unknown, fallback = 0)
open-sse/services/bailianQuotaFetcher.ts:75
↓ 9 callers
Function
toNumber
(value: unknown)
src/lib/db/comboForecast.ts:43
↓ 9 callers
Function
toPositiveNumber
(value: unknown)
src/lib/combos/intelligentRouting.ts:94
↓ 9 callers
Function
toStringOrNull
(value: unknown)
src/lib/db/providers/columns.ts:110
↓ 9 callers
Function
toolText
(tool: GrokFunctionToolSummary)
open-sse/executors/grok-web.ts:430
↓ 9 callers
Function
tools
(count: number)
tests/unit/stream-readiness-policy.test.ts:12
↓ 9 callers
Method
transform
(chunk, controller)
scripts/sre/redact-logs.mjs:177
↓ 9 callers
Function
transformModelsDevToPricing
(raw: ModelsDevData)
src/lib/modelsDevSync/transform.ts:196
↓ 9 callers
Function
translateResponse
(targetFormat, sourceFormat, chunk, state)
open-sse/translator/index.ts:488
↓ 9 callers
Function
updateProviderCredentials
(connectionId: string, newCredentials: any)
src/sse/services/tokenRefresh.ts:116
↓ 9 callers
Function
useCopyToClipboard
(resetDelay = 2000)
src/shared/hooks/useCopyToClipboard.ts:12
↓ 9 callers
Function
userContent
(result: CompressionResult)
tests/unit/compression/bailout.test.ts:143
↓ 9 callers
Function
validateBinaryMagic
(path)
bin/cli/runtime/magicBytes.mjs:9
↓ 9 callers
Function
validateDashboardCsrfToken
(request: Request, nowMs: number = Date.now())
src/server/authz/csrf.ts:63
↓ 9 callers
Function
validateProviders
(map: Record<string, unknown>, name: string)
src/shared/validation/providerSchema.ts:44
↓ 9 callers
Function
validateTproxyConfig
(cfg: TproxyConfig)
src/mitm/tproxy/commands.ts:62
↓ 9 callers
Function
withEarlyStreamKeepalive
( handlerPromise: Promise<Response>, options: EarlyStreamKeepaliveOptions = {} )
open-sse/utils/earlyStreamKeepalive.ts:61
↓ 9 callers
Function
withEnv
(overrides, fn)
tests/unit/security-fase01.test.ts:12
↓ 9 callers
Function
withPathTokenApiKey
(request: Request, token?: string)
src/lib/vscode/tokenizedRequest.ts:47
↓ 9 callers
Function
withRateLimit
(provider, connectionId, model, fn, signal = null)
open-sse/services/rateLimitManager.ts:524
↓ 9 callers
Function
withSource
(plan: DerivedPlan, source: CompressionSource)
open-sse/services/compression/planResolution.ts:13
↓ 8 callers
Function
__resolveDispatcherFamilyForTest
(proxyUrl: string)
open-sse/utils/proxyDispatcher.ts:396
↓ 8 callers
Function
__setBrowserBackedChatOverrideForTesting
(fn: typeof testOverride)
open-sse/services/browserBackedChat.ts:72
↓ 8 callers
Function
__setHttpBackedChatOverrideForTesting
(fn: typeof httpOverride)
open-sse/services/browserBackedChat.ts:81
↓ 8 callers
Function
_resetAllDecks
()
src/shared/utils/shuffleDeck.ts:144
↓ 8 callers
Method
_transition
(newState: CircuitState, reason?: string)
src/shared/utils/circuitBreaker.ts:437
↓ 8 callers
Function
accumulateRun
( prev: CompressionRunModel[], payload: CompressionCompletedPayload, maxRuns = MAX_RUNS )
src/hooks/useLiveCompression.ts:29
↓ 8 callers
Function
acquireProviderDefaultSlot
(provider: string, connectionId?: string | null)
open-sse/services/providerDefaultRateLimit.ts:42
↓ 8 callers
Function
adjustMaxTokens
(body)
open-sse/translator/helpers/maxTokensHelper.ts:8
↓ 8 callers
Function
applyCavemanOutputMode
( body: ChatRequestBody, options?: Partial<CavemanOutputModeConfig>, language = "en" )
open-sse/services/compression/outputMode.ts:114
↓ 8 callers
Function
applyClaudeEffortVariant
(opts: { provider: string | null | undefined; effectiveModel: string; /** Mutated in place (model + reas
open-sse/handlers/chatCore/claudeEffortVariant.ts:32
↓ 8 callers
Function
arePrivateProviderUrlsAllowed
()
src/shared/network/outboundUrlGuard.ts:214
↓ 8 callers
Function
asJsonRecord
(value: unknown)
src/app/api/translator/translate/route.ts:16
↓ 8 callers
Function
asRecord
(value: unknown)
open-sse/config/toolCloaking.ts:47
↓ 8 callers
Function
assembleStreamingPipeline
( args: { providerResponse: unknown; transformStream: unknown; streamController: { signal: Abort
open-sse/handlers/chatCore/streamingPipeline.ts:51
↓ 8 callers
Function
assertNoStackTrace
(res: Response, label: string)
tests/integration/quota-routes-error-sanitization.test.ts:64
↓ 8 callers
Function
assertSanitized
(text: string | null | undefined, context: string)
tests/unit/dashboard/batch/sanitization.test.tsx:86
↓ 8 callers
Method
backup
Backup nativo ou file-copy fallback
src/lib/db/adapters/types.ts:28
↓ 8 callers
Function
baseArgs
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-streaming-cache-store.test.ts:28
↓ 8 callers
Function
body
(model: string)
tests/integration/combo-matrix/ordered.test.ts:9
↓ 8 callers
Function
bootstrapWithPassword
(password: string)
tests/unit/api/settings-audit.test.ts:58
↓ 8 callers
Function
bucketKey
(apiKeyId: string, dimensionKey: string, bucketIndex: number)
src/lib/quota/redisQuotaStore.ts:77
↓ 8 callers
Function
buildAccountSemaphoreKey
({ provider, accountKey, }: AccountSemaphoreKeyParts)
open-sse/services/accountSemaphore.ts:50
↓ 8 callers
Function
buildClaudeEnv
(baseEnv, baseUrlOrPort, authToken, opts = {})
bin/cli/commands/launch.mjs:26
↓ 8 callers
Function
buildClaudePromptCacheLogMeta
( targetFormat: string, finalBody: Record<string, unknown> | null | undefined, providerHeaders: Record<s
open-sse/handlers/chatCore/executorHelpers.ts:63
↓ 8 callers
Function
buildCompletion
(content: string)
tests/integration/resilience-http-e2e.test.ts:50
↓ 8 callers
Function
buildCursorUsage
(ctx: StreamCtx, body: { messages?: ChatMessage[] })
open-sse/executors/cursor.ts:456
↓ 8 callers
Function
buildFormParams
(entries: Record<string, unknown>)
open-sse/services/tokenRefresh.ts:256
↓ 8 callers
Function
buildKiroUsageResult
( data: JsonRecord )
open-sse/services/usage/kiro.ts:63
↓ 8 callers
Function
buildMcpArgsEvent
( execMsgId: number, execId: string, toolName: string, toolCallId: string, args: Record<string, unkn
tests/unit/cursor-agent-tool-calls.test.ts:41
↓ 8 callers
Function
buildOptionalBearerHeaders
( token: string | null | undefined )
src/app/api/providers/[id]/models/discovery/helpers.ts:54
↓ 8 callers
Function
buildReasoningConfigSchema
( supportedValues: string[], defaultReasoningEffort: string )
src/lib/vscode/reasoningMetadata.ts:165
↓ 8 callers
Method
buildRequestHeaders
(extra: Record<string, string> = {})
open-sse/executors/duckduckgo-web.ts:427
↓ 8 callers
Function
buildResilienceConfig
(overrides: Record<string, unknown> = {})
tests/integration/resilience-http-e2e.test.ts:319
↓ 8 callers
Function
buildSupportedReasoningEfforts
(supportedValues: string[])
src/lib/vscode/reasoningMetadata.ts:132
↓ 8 callers
Function
buildThinkingDeltaPayload
(text: string)
tests/unit/cursor-composer-thinking.test.ts:31
↓ 8 callers
Function
capability
(overrides = {})
tests/unit/models-catalog-route.test.ts:41
↓ 8 callers
Method
capture
(h: Record<string, string>, s: string)
open-sse/executors/antigravity.ts:1307
↓ 8 callers
Function
captureStdout
(fn: () => Promise<void>)
tests/unit/cli-skills-commands.test.ts:53
↓ 8 callers
Function
captureStdout
(fn: () => Promise<void>)
tests/unit/cli-webhooks-commands.test.ts:33
↓ 8 callers
Function
cfg
(over = {})
tests/unit/compression/adaptive-resolve-plan.test.ts:34
↓ 8 callers
Function
cfg
(overrides: Partial<CompressionConfig> = {})
tests/unit/compression/active-combo-dispatch.test.ts:15
↓ 8 callers
Function
chatUrlMatcher
(u: string, matchDomain: string, chatUrl: string)
open-sse/services/browserBackedChat.ts:221
↓ 8 callers
Function
checkConflict
(serverMtime: number, pushMtime: number)
tests/unit/obsidian-plugin-sync.test.ts:50
↓ 8 callers
Function
checkLockout
(identifier, config = DEFAULT_CONFIG)
src/domain/lockoutPolicy.ts:80
↓ 8 callers
Function
clampMcpAccessibilityConfig
(raw: unknown)
open-sse/services/compression/engines/mcpAccessibility/constants.ts:52
↓ 8 callers
Function
classifyKeyStatus
(k: ApiKeyShape)
src/app/(dashboard)/dashboard/api-manager/apiManagerPageUtils.ts:40
↓ 8 callers
Function
cleanup
()
tests/unit/ui/use-system-proxy-exit-guard.test.tsx:70
↓ 8 callers
Function
clearCliproxyapiUrlCache
()
open-sse/executors/cliproxyapi.ts:121
↓ 8 callers
Function
clearModelsDevPricing
()
src/lib/modelsDevSync.ts:238
↓ 8 callers
Function
cloneDefaults
()
tests/unit/resilience-settings-combo-cooldown-wait.test.ts:15
↓ 8 callers
Function
cloneLogPayload
(value: T)
src/lib/logPayloads.ts:23
↓ 8 callers
Function
collapseExcessiveNewlines
(text: string)
open-sse/handlers/responseSanitizer/reasoning.ts:25
↓ 8 callers
Function
combineModalCredential
(tokenId: string, tokenSecret: string)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:763
↓ 8 callers
Function
combo
(models: OmniRouteRawCombo["models"])
@omniroute/opencode-plugin/tests/usable-combo.test.ts:33
↓ 8 callers
Function
comboStepModelId
(step: unknown)
src/lib/combos/autoPromote.ts:19
↓ 8 callers
Method
complete
Single non-stream completion. `model` selects answer-model vs judge-model.
open-sse/services/compression/eval/types.ts:23
↓ 8 callers
Function
computeBackoff
(attempt, retryAfterHeader, defaults = RETRY_DEFAULTS)
bin/cli/api.mjs:111
↓ 8 callers
Function
computeUsageRowCost
( row: Record<string, unknown>, pricingByProvider: PricingByProvider, providerAliasMap: Record<string, s
src/app/api/usage/analytics/route.ts:236
↓ 8 callers
Function
configureUpstreamCa
(pemPath?: string)
src/mitm/upstreamTrust.ts:26
↓ 8 callers
Function
contextWindowFilter
* Simulates the context-window filter logic from combo.ts * Filters out candidates whose known context limit is smaller than estimated input tokens.
tests/unit/combo-context-window-filter.test.ts:21
↓ 8 callers
Function
cookieKey
(cookie: string)
open-sse/executors/chatgpt-web.ts:174
↓ 8 callers
Function
countRows
(db: ReturnType<typeof getDbInstance>)
tests/unit/usage/usageHistoryDedup.test.ts:60
↓ 8 callers
Function
createChunk
(state, delta, finishReason = null)
open-sse/translator/response/claude-to-openai.ts:15
↓ 8 callers
Function
createCombo
(def)
scripts/test/_vpsClient.mjs:129
↓ 8 callers
Function
createNotionClient
(apiKey: string)
src/lib/notion/api.ts:173
↓ 8 callers
Function
createProxyDispatcher
(proxyUrl: string)
open-sse/utils/proxyDispatcher.ts:417
↓ 8 callers
Function
createSSETransformStreamWithLogger
( targetFormat: string, sourceFormat: string, provider: string | null = null, reqLogger: StreamLogger
open-sse/utils/stream.ts:2668
↓ 8 callers
Function
createStructuredSSECollector
(options: CollectorOptions = {})
open-sse/utils/streamPayloadCollector.ts:652
↓ 8 callers
Function
createTestApiKey
(id: string, name: string)
tests/unit/obsidian-config.test.ts:20
↓ 8 callers
Function
createTestFile
( opts: { filename?: string; content?: Buffer | null; mimeType?: string; } = {} )
tests/unit/batch-file-download.test.ts:45
↓ 8 callers
Function
dashboardCookie
(expiresIn = "1h")
tests/unit/authz/pipeline.test.ts:51
↓ 8 callers
Function
debugLogClear
(providerId: string)
@omniroute/opencode-plugin/src/index.ts:4140
← previous
next →
2,001–2,100 of 20,485, ranked by callers