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
↓ 4 callers
Function
stopMitm
(sudoPassword: string)
src/mitm/manager.ts:686
↓ 4 callers
Function
stopPeriodicSync
()
src/lib/pricingSync.ts:419
↓ 4 callers
Function
streamFromChunks
(chunks: string[], delayMs = 0)
tests/unit/stream-readiness.test.ts:12
↓ 4 callers
Function
stringField
(field: number, value: string)
tests/unit/cursor-agent-tool-calls.test.ts:27
↓ 4 callers
Function
stringifyLogValue
(value: unknown)
src/app/api/cli-tools/logs/route.ts:47
↓ 4 callers
Function
stringifyValue
(value: unknown)
src/shared/components/ConsoleLogViewer.tsx:122
↓ 4 callers
Function
stripAnthropicBillingHeader
* Port of decolua/9router commit 0aaa5ab3 (closes prompt-cache instability): * Anthropic injects a dynamic `x-anthropic-billing-header: <value>` line
open-sse/translator/request/claude-to-openai.ts:16
↓ 4 callers
Function
stripEmptyTextBlocks
(content: unknown[] | undefined)
open-sse/translator/request/openai-to-claude.ts:151
↓ 4 callers
Function
stripExtendedContextSuffix
(modelId: string)
src/lib/db/apiKeys/modelPermissions.ts:26
↓ 4 callers
Function
stripGroqUnsupportedFields
(body: T)
open-sse/config/providerFieldStrips.ts:20
↓ 4 callers
Function
stripMarkdownCodeFence
(text: unknown)
open-sse/utils/aiSdkCompat.ts:174
↓ 4 callers
Function
stripNoThinkingAlias
(modelId: string)
open-sse/utils/noThinkingAlias.ts:32
↓ 4 callers
Function
stripStaleForwardingHeaders
(headers: Headers)
open-sse/handlers/chatCore/responseHeaders.ts:134
↓ 4 callers
Function
stubAuthJson
(apiKey: string)
@omniroute/opencode-plugin/tests/features.test.ts:479
↓ 4 callers
Function
stubFetch
(payload: unknown)
tests/unit/copilot-free-quota-not-inverted.test.ts:30
↓ 4 callers
Function
summarizeEncoderCandidates
( messages: MessageLike[], minRows: number, countTokens: (text: string) => number )
open-sse/services/compression/engines/headroom/encoderComparison.ts:47
↓ 4 callers
Function
sweepDecayedMemories
( options: { config?: TypedDecayConfig; now?: Date; dryRun?: boolean; apiKeyId?: string; }
src/lib/memory/typedDecay.ts:145
↓ 4 callers
Function
syncBudgetSchedule
( apiKeyId: string, config: BudgetConfig, now = Date.now(), options: SyncBudgetScheduleOptions = {} )
src/domain/costRules.ts:279
↓ 4 callers
Function
syncClaudeProfilesFromModels
(models, opts = {})
bin/cli/commands/setup-claude.mjs:62
↓ 4 callers
Function
syncToCloudIfEnabled
* Sync to Cloud if enabled
src/app/api/oauth/[provider]/[action]/route.ts:900
↓ 4 callers
Function
synthOpenAIErrorChunk
(opts: { provider?: string | null; model?: string | null; reason?: MalformedReason; })
open-sse/utils/diagnostics.ts:104
↓ 4 callers
Function
sysText
(b: Record<string, unknown>)
tests/unit/compression/quantumLockIntegration.test.ts:15
↓ 4 callers
Function
tagAged
* Build the aged content for a message, keeping structured payloads intact: * - pure JSON: leave verbatim and untagged (stays JSON.parse-able). Aging
open-sse/services/compression/progressiveAging.ts:45
↓ 4 callers
Function
tailscaleUpArgs
(hostname?: string, authKey?: string)
src/lib/tailscaleTunnel.ts:334
↓ 4 callers
Function
target
()
tests/unit/complexity-aware-scoring-wiring.test.ts:15
↓ 4 callers
Function
task
(label: string, provider: string, ms: number)
tests/unit/refresh-serializer.test.ts:36
↓ 4 callers
Function
taskWeight
(level: TaskLevel)
open-sse/services/taskAwareRouting.ts:74
↓ 4 callers
Function
teardown
()
tests/unit/runtime-deps-save-exact-no-prune.test.ts:43
↓ 4 callers
Method
terminate
TLS-terminate a raw intercepted socket and capture/forward the exchange.
src/mitm/tproxy/tlsCapture.ts:232
↓ 4 callers
Function
testAllResultsText
( t: ProviderMessageTranslator, ok: number, total: number )
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:191
↓ 4 callers
Function
testDistDir
()
scripts/dev/run-next-playwright.mjs:36
↓ 4 callers
Function
text
(key: string, fallback: string)
src/app/(dashboard)/dashboard/providers/[id]/components/ExternalLinkModal.tsx:27
↓ 4 callers
Function
textResponse
(text: any, status = 400)
tests/unit/token-refresh-service.test.ts:74
↓ 4 callers
Function
toBoolean
(value: unknown, fallback = false)
open-sse/mcp-server/tools/advancedTools.ts:89
↓ 4 callers
Function
toBooleanOrDefault
(value: unknown, fallback: boolean)
src/sse/services/auth.ts:197
↓ 4 callers
Function
toFallbackResult
( fallbackModels: Array<{ id: string; name?: string }> | undefined )
open-sse/services/githubCopilotModels.ts:85
↓ 4 callers
Function
toMessageArray
(raw: unknown)
src/app/a2a/route.ts:22
↓ 4 callers
Function
toMetricView
( metric: T )
open-sse/services/comboMetrics.ts:177
↓ 4 callers
Function
toNonNegativeInteger
(value: unknown)
src/domain/omnirouteResponseMeta.ts:16
↓ 4 callers
Function
toNumber
(v: string | null)
open-sse/services/batchProcessor.ts:624
↓ 4 callers
Function
toNumber
(value: unknown, fallback = 0)
open-sse/services/rateLimitManager.ts:51
↓ 4 callers
Function
toNumber
(value: unknown, fallback = 0)
open-sse/services/opencodeQuotaFetcher.ts:121
↓ 4 callers
Function
toNumber
(value: unknown)
src/lib/monitoring/providerHealthAutopilot.ts:116
↓ 4 callers
Function
toNumberOrNull
(value: unknown)
src/lib/usage/resilienceExplain.ts:57
↓ 4 callers
Function
toPositiveInt
(value: unknown, fallback: number)
open-sse/mcp-server/audit.ts:144
↓ 4 callers
Function
toPositiveInteger
(value: unknown)
open-sse/services/reasoningTokenBuffer.ts:3
↓ 4 callers
Function
toProxyMap
(value: unknown)
src/lib/db/settings.ts:66
↓ 4 callers
Function
toRecord
(value: unknown)
open-sse/services/codeAssistSubscription.ts:8
↓ 4 callers
Function
toRecord
(value: unknown)
src/lib/oauth/utils/claudeAuthFile.ts:63
↓ 4 callers
Function
toRecord
(value: unknown)
tests/unit/codexAuthImport.test.ts:14
↓ 4 callers
Function
toStreamingToolCallDelta
(toolCall: ToolCall)
open-sse/utils/stream.ts:254
↓ 4 callers
Function
toToolName
(value: unknown)
open-sse/config/toolCloaking.ts:51
↓ 4 callers
Function
toWikiContent
(docMarkdown)
scripts/docs/sync-wiki.mjs:107
↓ 4 callers
Function
tr
(key: string, fallback: string)
src/app/(dashboard)/dashboard/translator/components/advanced/PipelineView.tsx:150
↓ 4 callers
Function
tr
(key: string, fallback: string, values?: UsageTranslationValues)
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/parts/QuotaCardExpanded.tsx:124
↓ 4 callers
Method
transformForTransport
( model: string, body: unknown, stream: boolean, credentials: ProviderCredentials, transpo
open-sse/executors/glm.ts:260
↓ 4 callers
Function
transformFromClaude
* Transform Claude Web response to OpenAI format
open-sse/executors/claude-web.ts:370
↓ 4 callers
Function
transformOpenAISSEToGeminiSSE
(upstreamResponse: Response, model: string)
open-sse/translator/response/openai-to-gemini-sse.ts:158
↓ 4 callers
Function
transformToOllama
(response, model)
open-sse/utils/ollamaTransform.ts:12
↓ 4 callers
Function
truncateChatLogText
(value: string)
open-sse/handlers/chatCore/logTruncation.ts:17
↓ 4 callers
Function
truncateOutput
(value: string)
src/lib/skills/builtins.ts:180
↓ 4 callers
Function
truncatedOpenAIStream
()
tests/integration/stream-recovery-wiring.test.ts:22
↓ 4 callers
Function
tryParseJSON
(str: unknown)
open-sse/translator/request/openai-to-claude.ts:749
↓ 4 callers
Function
ultraOpts
(ultra: Record<string, unknown>)
tests/unit/compression/ultra-slm-tier.test.ts:27
↓ 4 callers
Function
unavailableAccountQuota
(reason: string)
src/lib/usage/apiKeySelfService.ts:182
↓ 4 callers
Function
uniq
(values: Iterable<string>)
open-sse/services/compression/fidelityGate.ts:49
↓ 4 callers
Function
uniqueId
(prefix = "test")
tests/unit/db-backups-skills-3500.test.ts:32
↓ 4 callers
Function
unregisterSupervisor
(tool: string)
src/lib/services/registry.ts:16
↓ 4 callers
Function
update
(items)
bin/cli/tray/trayWin.ts:76
↓ 4 callers
Function
updateCloudAgentTask
( id: string, updates: Partial<Omit<CloudAgentTaskRow, "id">> )
src/lib/cloudAgent/db.ts:83
↓ 4 callers
Function
updateColumn
(id: string, patch: Partial<ColumnState>)
src/app/(dashboard)/dashboard/playground/components/tabs/CompareTab.tsx:196
↓ 4 callers
Function
updateCustomModel
( providerId: string, modelId: string, updates: Record<string, unknown> = {} )
src/lib/db/models.ts:591
↓ 4 callers
Function
updateLanguageConfig
(patch: Partial<LanguageConfig>)
src/app/(dashboard)/dashboard/context/caveman/CavemanContextPageClient.tsx:103
↓ 4 callers
Function
updateLayer
( steps: PipelineStep[], index: number, patch: Partial<PipelineStep>, table: EngineIntensities )
src/shared/components/compression/compressionPipelineModel.ts:68
↓ 4 callers
Function
upsertApiKeyProviderConnection
(db, input)
bin/cli/provider-store.mjs:195
↓ 4 callers
Function
upstreamHeadersRecordsEqual
( a: Record<string, string>, b: Record<string, string> )
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:479
↓ 4 callers
Function
useBatchActions
(opts: { onRefresh?: () => void; t: (key: string, params?: Record<string, unknown>) => string; })
src/app/(dashboard)/dashboard/batch/components/useBatchActions.ts:38
↓ 4 callers
Function
useLiveDashboard
({ wsUrl, enabled = true, apiKey, channels = ["requests", "combo", "credentials"], autoReconnect = t
src/hooks/useLiveDashboard.ts:86
↓ 4 callers
Function
useProviderModels
( providerId: string, isSearchProvider: boolean )
src/app/(dashboard)/dashboard/providers/[id]/hooks/useProviderModels.ts:38
↓ 4 callers
Function
useRecharts
()
src/shared/components/analytics/rechartsCore.tsx:27
↓ 4 callers
Function
useTheme
()
src/shared/hooks/useTheme.ts:25
↓ 4 callers
Function
userContent
(result: CompressionResult)
tests/unit/compression/stacked-async.test.ts:83
↓ 4 callers
Function
userContent
(result: CompressionResult)
tests/unit/compression/engine-enabled-toggle.test.ts:82
↓ 4 callers
Function
usesManagedAvailableModels
(providerId: string)
src/lib/providerModels/managedAvailableModels.ts:19
↓ 4 callers
Function
v
(n: number)
tests/unit/cursor-streaming.test.ts:12
↓ 4 callers
Function
validateCompression
(original: string, compressed: string)
open-sse/services/compression/validation.ts:94
↓ 4 callers
Function
validateQoderCliPat
({ apiKey, providerSpecificData = {}, }: { apiKey: string; providerSpecificData?: JsonRecord; })
open-sse/services/qoderCli.ts:511
↓ 4 callers
Function
vertexGenerateSpeech
( credentials: VertexMediaCredentials, options: { model: string; input: string; voice?: string } )
open-sse/executors/vertexMedia.ts:190
↓ 4 callers
Function
waitForServer
(url, timeoutMs = 180000)
electron/main.js:182
↓ 4 callers
Function
waitForState
Poll status until the state matches or timeout is exceeded.
tests/integration/services/full-lifecycle.int.test.ts:76
↓ 4 callers
Function
waitForText
(text: string, timeoutMs = 3000)
tests/unit/ui/runtime-page-client.test.tsx:21
↓ 4 callers
Method
warmFetch
( url: string, headers: Record<string, string>, signal: AbortSignal )
open-sse/executors/duckduckgo-web.ts:445
↓ 4 callers
Function
warmTokenCache
()
tests/theoldllm-stress.test.ts:27
↓ 4 callers
Function
withDbOverride
(value: string | undefined, fn: () => Promise<T> | T)
tests/unit/outbound-url-guard-feature-flag.test.ts:23
↓ 4 callers
Function
withEnv
(value: string | undefined, fn: () => void)
tests/unit/socks5-default-on.test.ts:13
↓ 4 callers
Function
withEnv
(value: string | undefined, fn: () => Promise<T> | T)
tests/unit/outbound-url-guard-feature-flag.test.ts:11
↓ 4 callers
Function
withMockedFetch
(impl: typeof fetch, fn: () => Promise<void>)
tests/unit/kiro-multi-account-isolation.test.ts:15
↓ 4 callers
Function
withPrepareOverride
(match, override, fn)
tests/unit/route-edge-coverage.test.ts:110
↓ 4 callers
Function
withProvidersEnv
(fn: (dataDir: string) => Promise<void>)
tests/unit/cli-providers-command.test.ts:16
↓ 4 callers
Function
withQuantumLock
( body: Record<string, unknown>, ql: QuantumLockConfig | undefined, ctx: { isCachingProvider: boolean },
open-sse/services/compression/quantumLock/strategyWrap.ts:48
← previous
next →
5,301–5,400 of 20,485, ranked by callers