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
↓ 12 callers
Function
fetchRemoteImage
( input: string | URL, options: RemoteImageFetchOptions = {} )
src/shared/network/remoteImageFetch.ts:136
↓ 12 callers
Function
findMatchingIntelligence
( modelId: string, intelMap: Map< string, Array<{ score: number; eloRaw: number | null; confidence
src/lib/freeProviderRankings.ts:120
↓ 12 callers
Function
fixToolPairs
(messages: Record<string, unknown>[])
open-sse/services/contextManager.ts:334
↓ 12 callers
Function
formatCompressionPipeline
(pipeline: OmniRouteCompressionStep[])
@omniroute/opencode-plugin/src/index.ts:2021
↓ 12 callers
Function
forwardDashboardEventToLiveWs
( event: string, payload: unknown, fetchImpl: typeof fetch = fetch, now: () => number = Date.now )
open-sse/handlers/chatCore/telemetryHelpers.ts:22
↓ 12 callers
Function
generateRequestId
()
src/shared/utils/requestId.ts:100
↓ 12 callers
Function
getAntigravityLoadCodeAssistMetadata
()
open-sse/services/antigravityHeaders.ts:74
↓ 12 callers
Function
getBodySizeLimit
(pathname: string, settings?: Record<string, unknown>)
src/shared/middleware/bodySizeGuard.ts:55
↓ 12 callers
Function
getCacheAwareStrategy
(strategy: string, ctx: CachingContext)
open-sse/services/compression/cachingAware.ts:108
↓ 12 callers
Function
getChatGptImage
(id: string)
open-sse/services/chatgptImageCache.ts:98
↓ 12 callers
Method
getConfigSchema
()
open-sse/services/compression/engines/types.ts:69
↓ 12 callers
Function
getCooldownEntryCount
()
open-sse/services/providerCooldownTracker.ts:196
↓ 12 callers
Function
getCopilotMode
(model?: string)
open-sse/executors/copilot-web.ts:72
↓ 12 callers
Function
getFileContent
(id: string)
src/lib/db/files.ts:74
↓ 12 callers
Function
getImageProvider
(providerId)
open-sse/config/imageRegistry.ts:569
↓ 12 callers
Function
getModelRpd
(modelId: string)
open-sse/services/geminiRateLimitTracker.ts:59
↓ 12 callers
Function
getNodeRuntimeSupport
(version = process.versions.node)
bin/nodeRuntimeSupport.mjs:46
↓ 12 callers
Function
getPluginByName
(name: string)
src/lib/db/plugins.ts:134
↓ 12 callers
Function
getProviderAuditTarget
(connection: unknown)
src/lib/compliance/providerAudit.ts:85
↓ 12 callers
Function
getQuotaFetcher
(provider: string)
open-sse/services/quotaPreflight.ts:92
↓ 12 callers
Function
getSkillsProviderForFormat
( format: string )
open-sse/handlers/chatCore/skillsFormat.ts:11
↓ 12 callers
Function
get_value_by_path
Get value from nested dict using dot notation
scripts/i18n/validate_translation.py:133
↓ 12 callers
Function
hasChanged
(currentValue: T, previousValue: T)
src/lib/config/runtimeSettings.ts:438
↓ 12 callers
Function
hasTable
(db: SqliteAdapter, tableName: string)
src/lib/db/migrationRunner.ts:297
↓ 12 callers
Function
importFresh
(label)
tests/unit/cli-runtime-extended.test.ts:19
↓ 12 callers
Method
init
()
open-sse/executors/chipotle.ts:35
↓ 12 callers
Function
inner
(input)
@omniroute/opencode-plugin/tests/fork-features.test.ts:194
↓ 12 callers
Function
insertMemory
( db: ReturnType<typeof core.getDbInstance>, id: string, apiKeyId: string, content: string, )
tests/unit/memory-vectorstore-crud.test.ts:83
↓ 12 callers
Function
invalidateDeepseekQuotaCache
(connectionId: string)
open-sse/services/deepseekQuotaFetcher.ts:231
↓ 12 callers
Function
isClaudeCodeClient
(userAgent: string | null | undefined)
open-sse/utils/cacheControlPolicy.ts:141
↓ 12 callers
Function
isDashboardSessionAuthenticated
( request?: RequestLike | Request | null )
src/shared/utils/apiAuth.ts:208
↓ 12 callers
Function
isDeterministicStrategy
( strategy: RoutingStrategyValue | null | undefined )
open-sse/utils/cacheControlPolicy.ts:174
↓ 12 callers
Function
isFreeModel
(provider: string, model: FreeModelCandidate)
src/shared/utils/freeModels.ts:55
↓ 12 callers
Function
isPlainObject
(v: unknown)
open-sse/services/toolSchemaSanitizer.ts:21
↓ 12 callers
Function
isProviderFailureCode
(status: number)
open-sse/services/accountFallback.ts:938
↓ 12 callers
Function
isRecoverableCooldownConnection
( connection: RecoverableConnectionInput | null | undefined, nowMs: number )
src/lib/quota/connectionRecovery.ts:76
↓ 12 callers
Function
isUnrecoverableRefreshError
(result)
open-sse/services/tokenRefresh.ts:1673
↓ 12 callers
Function
jsonResponse
(body, status = 200)
tests/unit/token-refresh-route-service.test.ts:19
↓ 12 callers
Function
load_json
Load JSON file
scripts/i18n/validate_translation.py:89
↓ 12 callers
Function
lockModel
( provider: string, connectionId: string, model: string | null | undefined, reason: string, cooldown
open-sse/services/accountFallback.ts:478
↓ 12 callers
Function
make
(csv: string, mapping = DEFAULT_MAPPING, defaults = DEFAULT_DEFAULTS)
tests/unit/lib/batches/csvToJsonl.test.ts:17
↓ 12 callers
Function
makeCtx
()
tests/unit/plugins-index.test.ts:20
↓ 12 callers
Function
makeHeaders
(entries: Record<string, string>)
tests/unit/batch-maybe-throttle.test.ts:6
↓ 12 callers
Function
makeMockStorage
()
tests/unit/dashboard/providerPageStorage.test.ts:18
↓ 12 callers
Function
makeResponse
(body: unknown, contentType = "application/json")
tests/unit/combo-quality-validator-reasoning.test.ts:13
↓ 12 callers
Function
makeStatus
(installed: boolean)
tests/unit/batch-status-cache.test.ts:19
↓ 12 callers
Function
makeTool
(overrides: Partial<CliCatalogEntry> = {})
tests/unit/ui/CliToolCard.test.tsx:56
↓ 12 callers
Function
makeVec
(...values: number[])
tests/unit/memory-vectorstore-rrf.test.ts:44
↓ 12 callers
Function
makeZip
(files: Record<string, string>)
tests/unit/codexAuthZipExtract.test.ts:10
↓ 12 callers
Function
mkAttempt
( targetIndex: number, strategy = "priority", provider = `prov${targetIndex}`, model = `model${targetI
tests/unit/ui/comboFlowModel.test.ts:23
↓ 12 callers
Function
normalizeCursorModelId
(modelId: string)
open-sse/utils/cursorAgentProtobuf.ts:299
↓ 12 callers
Function
okResponse
(body = { choices: [{ message: { content: "ok" } }] })
tests/unit/combo-context-relay.test.ts:33
↓ 12 callers
Function
open
()
src/lib/db/adapters/sqljsAdapter.ts:175
↓ 12 callers
Function
openOmniRouteDb
()
bin/cli/sqlite.mjs:36
↓ 12 callers
Function
padLeft
(str, width)
scripts/i18n/check-ui-keys-coverage.mjs:116
↓ 12 callers
Function
parseDeepSeekToolCalls
( text: string, idSeed = "call", requestedTools?: unknown )
open-sse/translator/deepseekWebTools.ts:427
↓ 12 callers
Function
parseNonStreamingResponseBody
(opts: { providerResponse: Response; upstreamStream: boolean; providerHeaders: Record<string, unknown> |
open-sse/handlers/chatCore/nonStreamingResponseParse.ts:53
↓ 12 callers
Function
parseReflectJson
(text: string)
src/domain/pipeline.ts:143
↓ 12 callers
Function
postReq
(body: unknown)
tests/integration/playground-presets-zod.test.ts:41
↓ 12 callers
Function
projectCombo
( combo: Record<string, unknown>, options?: ProjectComboOptions )
src/app/api/v1/combos/projectCombo.ts:117
↓ 12 callers
Function
providerLacksModelListing
(providerId: string, kinds: readonly string[])
src/lib/providers/modelListingCapability.ts:22
↓ 12 callers
Function
providerText
( t: ProviderMessageTranslator, key: string, fallback: string, values?: Record<string, unknown> )
src/app/(dashboard)/dashboard/providers/components/onboarding/ProviderOnboardingWizard.tsx:82
↓ 12 callers
Function
pruneByScore
(text: string, keepRate = 0.5, minScore = 0.3)
open-sse/services/compression/ultraHeuristic.ts:123
↓ 12 callers
Function
pushCandidate
(candidate)
open-sse/handlers/imageGeneration.ts:1912
↓ 12 callers
Function
readVarint
Read a varint from buf starting at offset; returns [value, newOffset].
open-sse/executors/windsurf.ts:280
↓ 12 callers
Function
recordCost
(apiKeyId: string, cost: number)
src/domain/costRules.ts:399
↓ 12 callers
Function
recordKeyHealthStatus
( status: number, creds: Record<string, unknown> | null | undefined )
open-sse/handlers/chatCore.ts:496
↓ 12 callers
Function
registerBuiltinCompressionEngines
()
open-sse/services/compression/engines/index.ts:15
↓ 12 callers
Function
registerModel
(provider, model)
tests/unit/opencode-executor.test.ts:28
↓ 12 callers
Function
renderCard
( tool: CliCatalogEntry, batchStatus: ToolBatchStatus | null, detailHref: string, hasActiveProviders:
tests/unit/ui/CliToolCard.test.tsx:85
↓ 12 callers
Function
renderPage
(props: { machineId?: string } = {})
tests/unit/ui/CliCodePage.test.tsx:159
↓ 12 callers
Function
renderWizard
(props?: { onClose?: () => void; onCreated?: (id: string) => void; availableProviders?: Array<{ id: stri
tests/unit/dashboard/batch/components/NewBatchWizard.test.tsx:101
↓ 12 callers
Function
req
(method: string, pathname: string, token?: string)
tests/unit/require-management-auth-access-token.test.ts:23
↓ 12 callers
Function
requireExactPresence
( label: string, originalItems: string[], compressed: string, errors: string[] )
open-sse/services/compression/validation.ts:10
↓ 12 callers
Function
resetAllFallbacks
()
src/domain/fallbackPolicy.ts:152
↓ 12 callers
Function
resetStorage
()
tests/unit/glm-provider-model-import-route.test.ts:14
↓ 12 callers
Function
resolveAccountProxies
( entries: unknown, lookup: ProxyByIdLookup )
src/sse/services/noAuthProxyResolution.ts:70
↓ 12 callers
Function
resolvePreserveSystemPrompt
( mode: PreserveSystemPromptMode, { hasCache }: { hasCache: boolean } )
open-sse/services/compression/preserveSystemPromptMode.ts:52
↓ 12 callers
Function
resolveProxyForProvider
(providerId: string)
src/lib/db/proxies.ts:799
↓ 12 callers
Function
resolveUniversalHandoffConfig
( comboConfig: Record<string, unknown> | null | undefined, globalConfig: Record<string, unknown> | null |
open-sse/services/contextHandoff.ts:82
↓ 12 callers
Function
runHandler
( handler: MitmHandlerBase, body: unknown, mappedModel: string, opts: { upstreamStatus?: number;
tests/unit/_mitmHandlerHarness.ts:66
↓ 12 callers
Function
safeValidateManifest
( raw: unknown )
src/lib/plugins/manifest.ts:147
↓ 12 callers
Function
sanitizeErrorMessage
(message)
src/mitm/server.cjs:112
↓ 12 callers
Function
save
(updates: Partial<CompressionConfig>)
src/app/(dashboard)/dashboard/context/settings/CompressionPanel.tsx:133
↓ 12 callers
Function
selectBetaFlags
( body: Record<string, unknown> | null | undefined, model?: string | null, // The client's inbound `anth
open-sse/executors/claudeIdentity.ts:323
↓ 12 callers
Function
selectProvider
( explicitProvider?: string, searchType?: string )
open-sse/config/searchRegistry.ts:296
↓ 12 callers
Function
setCandidateQuotaSoftPenalty
( comboExecutionKey: string | null, comboStepId: string | null, penalty: boolean )
open-sse/services/combo/autoStrategy.ts:81
↓ 12 callers
Function
shouldMarkAccountExhaustedFrom429
( provider: string | null | undefined, model: string | null | undefined = null, connectionPassthroughMod
open-sse/services/accountFallback.ts:665
↓ 12 callers
Function
sleep
(ms: number)
tests/e2e/system-failover.test.ts:66
↓ 12 callers
Method
startPhase
* Begin a phase measurement. * @param {string} phase
src/shared/utils/requestTelemetry.ts:48
↓ 12 callers
Function
stopQuotaMonitor
(sessionId: string)
open-sse/services/quotaMonitor.ts:312
↓ 12 callers
Function
storeGeminiThoughtSignature
(toolCallId: unknown, signature: unknown)
open-sse/services/geminiThoughtSignatureStore.ts:130
↓ 12 callers
Function
stripCode
( text: string, language: CodeLanguage = "unknown", options: CodeStripperOptions = {} )
open-sse/services/compression/engines/rtk/codeStripper.ts:105
↓ 12 callers
Function
stripGpt5SamplingWhenReasoning
( body: T, provider: string | null | undefined, model: string | null | undefined, log?: { warn?: (tag:
open-sse/services/gpt5SamplingGuard.ts:53
↓ 12 callers
Function
supportsSearchType
( providerOrId: SearchProviderConfig | string | null | undefined, searchType: string )
open-sse/config/searchRegistry.ts:266
↓ 12 callers
Function
syncArenaElo
(dryRun = false)
src/lib/arenaEloSync.ts:367
↓ 12 callers
Function
target
(connectionId: string, modelStr = "testprov/model-a")
tests/unit/combo-headroom-strategy.test.ts:22
↓ 12 callers
Function
toNonEmptyString
(value: unknown)
src/lib/tailscaleTunnel.ts:113
↓ 12 callers
Function
toNonEmptyString
(value: unknown)
src/lib/providerModels/modelDiscovery.ts:13
↓ 12 callers
Function
toRecordedTarget
(target: ResolvedComboTarget)
open-sse/services/combo/comboPredicates.ts:202
← previous
next →
1,201–1,300 of 20,485, ranked by callers