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
withEnv
(name, value, fn)
tests/unit/proxy-management-v1-route.test.ts:20
↓ 2 callers
Function
withEnv
(value: string | undefined, fn: () => void | Promise<void>)
tests/unit/refresh-serializer-spacing.test.ts:26
↓ 2 callers
Function
withFakeIntervals
(fn)
tests/unit/progress-tracker.test.ts:7
↓ 2 callers
Function
withFeatureFlagOverride
(value: string, fn: () => void)
tests/unit/services/emergency-fallback.test.ts:74
↓ 2 callers
Function
withHttpServer
(handler, fn)
tests/unit/token-refresh-route-service.test.ts:52
↓ 2 callers
Function
withHttpServer
(handler, fn)
tests/unit/proxy-fetch.test.ts:39
↓ 2 callers
Method
withLock
(fn: () => Promise<T>)
src/lib/services/ServiceSupervisor.ts:136
↓ 2 callers
Function
withMockedNow
(now: number, fn: () => Promise<TResult>)
tests/unit/token-refresh-service.test.ts:97
↓ 2 callers
Function
withMutex
(key: string, fn: () => Promise<T>)
src/lib/quota/sqliteQuotaStore.ts:34
↓ 2 callers
Function
withPatchedConsole
(methodName, replacement, fn)
tests/unit/quota-preflight.test.ts:18
↓ 2 callers
Function
withQuantumLockAsync
( body: Record<string, unknown>, ql: QuantumLockConfig | undefined, ctx: { isCachingProvider: boolean },
open-sse/services/compression/quantumLock/strategyWrap.ts:61
↓ 2 callers
Function
withRiskGate
( body: Record<string, unknown>, riskGate: RiskGateConfig | undefined, run: (b: Record<string, unknown>)
open-sse/services/compression/riskGate/strategyWrap.ts:25
↓ 2 callers
Function
withSessionHeader
(response: Response, sessionId: string)
open-sse/mcp-server/httpTransport.ts:152
↓ 2 callers
Function
withStateFileLock
(operation: () => Promise<T>)
src/lib/cloudflaredTunnel.ts:214
↓ 2 callers
Function
withTempDb
(fn)
tests/unit/electron-main.test.ts:482
↓ 2 callers
Function
withWarnCapture
( fn: (warnings: Array<{ args: unknown[] }>) => Promise<T> )
@omniroute/opencode-plugin/tests/combos.test.ts:133
↓ 2 callers
Function
wrapGcf
(blockContent: string)
open-sse/services/compression/engines/headroom/tabular.ts:57
↓ 2 callers
Function
wrapTabular
(blockContent: string)
open-sse/services/compression/engines/headroom/tabular.ts:80
↓ 2 callers
Function
wrapUpgradeListener
(server, listener)
scripts/dev/standalone-server-ws.mjs:74
↓ 2 callers
Function
writeCache
Write catalog to disk cache.
src/lib/catalog/openrouterCatalog.ts:74
↓ 2 callers
Function
writePluginWithConfig
(version: string, name = "upgrade-config-test")
tests/unit/plugins-upgrade.test.ts:42
↓ 2 callers
Function
writeStartupDiagnostics
(params: { providerId: string; baseURL: string; modelCount: number; comboCount: number; enrichmentSi
@omniroute/opencode-plugin/src/index.ts:1492
↓ 2 callers
Function
writeStateFileNow
(state: PersistedTunnelState)
src/lib/cloudflaredTunnel.ts:208
↓ 2 callers
Function
writeStoredCaPath
(caPath: string)
tests/unit/mitm-upstream-ca-wiring.test.ts:43
↓ 2 callers
Function
writeUpgradeProxyError
(socket: net.Socket, status: number, body: string)
src/lib/apiBridgeServer.ts:94
↓ 2 callers
Method
wsChat
* Send a message via WebSocket and collect the streamed response.
open-sse/executors/copilot-web.ts:240
↓ 2 callers
Function
xaiCompletedToChatJson
( completed: XaiCompleted, origReq: OpenAiChatRequest | null = null )
src/lib/providers/xai/translators/openai-chat.ts:280
↓ 2 callers
Function
xaiCompletedToClaudeJson
( completed: XaiCompleted, origReq: AnthropicRequest | null = null, )
src/lib/providers/xai/translators/claude.ts:316
↓ 2 callers
Function
xaiCompletedToOpenaiResponses
( completed: XaiCompletedResponse, )
src/lib/providers/xai/translators/openai-responses.ts:53
↓ 2 callers
Function
xaiSseEventToOpenaiResponses
(ev: SseEvent)
src/lib/providers/xai/translators/openai-responses.ts:71
↓ 1 callers
Method
#estimateSize
* Estimate size of a value in bytes.
src/lib/cacheLayer.ts:131
↓ 1 callers
Function
A
(t,e)
open-sse/lib/deepseek-pow-solver.cjs:2
↓ 1 callers
Function
B
open-sse/lib/deepseek-pow-solver.cjs:2
↓ 1 callers
Function
CliAgentsDetailPage
({ params, }: { params: Promise<{ id: string }>; })
src/app/(dashboard)/dashboard/cli-agents/[id]/page.tsx:5
↓ 1 callers
Function
CliCodeDetailPage
({ params, }: { params: Promise<{ id: string }>; })
src/app/(dashboard)/dashboard/cli-code/[id]/page.tsx:5
↓ 1 callers
Function
E
open-sse/lib/deepseek-pow-solver.cjs:2
↓ 1 callers
Function
GET
(request: Request)
src/app/api/settings/mitm/route.ts:162
↓ 1 callers
Function
HEAD
( request: Request, { params }: { params: Promise<RouteParams> } )
src/app/(dashboard)/dashboard/providers/services/[name]/embed/[...path]/route.ts:66
↓ 1 callers
Function
PATCH
(request: Request)
src/app/api/settings/route.ts:200
↓ 1 callers
Function
PATCH
(request: NextRequest)
src/app/api/settings/database/route.ts:22
↓ 1 callers
Function
PATCH
(request)
src/app/api/pricing/route.ts:40
↓ 1 callers
Function
PUT
(request: Request)
src/app/api/settings/mitm/route.ts:188
↓ 1 callers
Function
SYSTEM_PROMPT
(englishName, native)
scripts/i18n/run-translation.mjs:387
↓ 1 callers
Function
TRANSLATION_SYSTEM
(englishName, native)
scripts/i18n/translate-endpoint-tier-keys.mjs:81
↓ 1 callers
Function
TRANSLATION_SYSTEM
(englishName, native)
scripts/i18n/sync-ui-keys.mjs:309
↓ 1 callers
Function
__cacheProxyDispatcherForTest
(key: string, dispatcher: Dispatcher)
open-sse/utils/proxyDispatcherCache.ts:122
↓ 1 callers
Function
__createRoundRobinDispatcherForTest
(dispatchers: Dispatcher[])
open-sse/utils/proxyDispatcher.ts:413
↓ 1 callers
Function
__getChatGptImageCacheBytesForTesting
()
open-sse/services/chatgptImageCache.ts:141
↓ 1 callers
Function
__getCircuitRegistrySizeForTests
()
src/shared/utils/circuitBreaker.ts:481
↓ 1 callers
Function
__resetBrowserBackedChatOverrideForTesting
()
open-sse/services/browserBackedChat.ts:76
↓ 1 callers
Function
__resetCaptureManager
()
src/mitm/tproxy/captureManager.ts:116
↓ 1 callers
Function
__resetGeminiStreamingWarning
()
@omniroute/opencode-plugin/src/index.ts:3331
↓ 1 callers
Function
__resetHttpBackedChatOverrideForTesting
()
open-sse/services/browserBackedChat.ts:85
↓ 1 callers
Function
__resetLiveWsForwardingState
()
open-sse/handlers/chatCore/telemetryHelpers.ts:17
↓ 1 callers
Function
__tlsFetchStreamingForTesting
( client: { request: (url: string, opts: Record<string, unknown>) => Promise<unknown> }, url: string, re
open-sse/services/chatgptTlsClient.ts:478
↓ 1 callers
Function
_clearInflightForTest
()
open-sse/services/combo/quotaShareInflight.ts:126
↓ 1 callers
Method
_completeLogin
* Complete the login flow successfully
electron/loginManager.js:324
↓ 1 callers
Method
_connect
()
open-sse/executors/chipotle.ts:75
↓ 1 callers
Function
_getAccessTokenWithStalenessCheck
* Internal helper: performs the DB staleness check then calls the actual refresh. * Only called from the per-connection mutex path (Layer 1 above).
open-sse/services/tokenRefresh.ts:1825
↓ 1 callers
Function
_insertConnectionRow
(db: DbLike, conn: JsonRecord)
src/lib/db/providers.ts:365
↓ 1 callers
Function
_loadBufferFromDb
()
open-sse/utils/usageTracking.ts:76
↓ 1 callers
Method
_maybeEmitProgress
@private
src/shared/utils/streamTracker.ts:143
↓ 1 callers
Method
_openLoginWindow
* Open the Electron BrowserWindow for login
electron/loginManager.js:112
↓ 1 callers
Function
_printResult
(result, showLatency)
bin/cli/commands/test-provider.mjs:226
↓ 1 callers
Function
_registerExecutionCandidates
( candidates: Array<{ executionKey: string; stepId: string; quotaSoftPenalty?: boolean }> )
open-sse/services/combo/autoStrategy.ts:102
↓ 1 callers
Function
_resetClaudeOauthUsageCooldown
()
open-sse/services/claudeUsageCooldown.ts:49
↓ 1 callers
Method
_restoreFromDb
()
src/shared/utils/circuitBreaker.ts:165
↓ 1 callers
Function
_runAllProviders
(opts)
bin/cli/commands/test-provider.mjs:72
↓ 1 callers
Function
_runCompare
(provider, opts)
bin/cli/commands/test-provider.mjs:124
↓ 1 callers
Method
_shouldAttemptReset
()
src/shared/utils/circuitBreaker.ts:407
↓ 1 callers
Method
_startPolling
* Poll the Electron session cookie store for the target cookies
electron/loginManager.js:214
↓ 1 callers
Function
_unregisterExecutionCandidates
(executionKeys: string[])
open-sse/services/combo/autoStrategy.ts:121
↓ 1 callers
Function
_uploadBackupToCloud
(backupPath, info)
bin/cli/commands/backup.mjs:279
↓ 1 callers
Function
a
({ href, children })
src/app/(dashboard)/dashboard/changelog/components/ChangelogViewer.tsx:66
↓ 1 callers
Function
abort
()
open-sse/executors/veoaifree-web.ts:31
↓ 1 callers
Function
acceptKey
(clientKey: string)
src/app/api/tools/traffic-inspector/ws/route.ts:27
↓ 1 callers
Function
accountReason
( connection: ProviderConnectionView, options: Required<Pick<InspectTargetResilienceOptions, "provider" |
src/lib/usage/resilienceExplain.ts:176
↓ 1 callers
Method
acquireVqdHeaders
(signal: AbortSignal)
open-sse/executors/duckduckgo-web.ts:685
↓ 1 callers
Function
actionSet
( target: ComboAutopilotTargetRef, includeActions: boolean, types: ComboAutopilotActionType[] )
src/lib/monitoring/comboHealthAutopilot.ts:95
↓ 1 callers
Function
adaptKiroBodyForCompression
* Flatten a Kiro / AWS CodeWhisperer body so compression engines can rewrite the * tool-result text, then restore the rewritten text back into the or
open-sse/services/compression/bodyAdapter.ts:212
↓ 1 callers
Function
addAntigravityTextualToolCall
( collected: AntigravityCollectedStream, parsed: { name: string; args: unknown } )
open-sse/executors/antigravity.ts:206
↓ 1 callers
Function
addApiKeyAlias
(target: Set<string>, value: unknown)
src/app/api/usage/analytics/route.ts:121
↓ 1 callers
Function
addBannedKeyword
()
src/app/(dashboard)/dashboard/settings/components/SecurityTab.tsx:120
↓ 1 callers
Function
addColumn
()
src/app/(dashboard)/dashboard/playground/components/tabs/CompareTab.tsx:168
↓ 1 callers
Function
addCustomModel
( providerId: string, modelId: string, modelName?: string, source = "manual", apiFormat: | "chat
src/lib/db/models.ts:80
↓ 1 callers
Function
addExactAlias
()
src/app/(dashboard)/dashboard/settings/components/ModelAliasesUnified.tsx:66
↓ 1 callers
Function
addHost
()
src/app/(dashboard)/dashboard/tools/traffic-inspector/components/CustomHostsManager.tsx:44
↓ 1 callers
Function
addKey
(id: string)
src/app/(dashboard)/dashboard/costs/quota-share/components/PoolWizard.tsx:352
↓ 1 callers
Function
addOp
(providerId: string)
src/app/(dashboard)/dashboard/settings/components/RoutingTab.tsx:855
↓ 1 callers
Function
addPathToZip
(zipFile: ZipFile, sourcePath: string, archivePath: string)
src/lib/usage/migrations.ts:143
↓ 1 callers
Function
addPlaceholders
(obj: unknown)
open-sse/translator/helpers/geminiHelper.ts:626
↓ 1 callers
Function
addReadableReasoning
(message: JsonRecord, delta: JsonRecord)
open-sse/utils/jsonToSse.ts:29
↓ 1 callers
Function
addRequestIdHeader
(headers: Record<string, string> = {})
src/shared/utils/requestId.ts:67
↓ 1 callers
Function
addUnsupportedReasoning
(message: JsonRecord, delta: JsonRecord)
open-sse/utils/jsonToSse.ts:45
↓ 1 callers
Function
addWildcardAlias
()
src/app/(dashboard)/dashboard/settings/components/ModelAliasesUnified.tsx:109
↓ 1 callers
Function
addonCandidates
* Candidate require() specifiers, in priority order: * - module-relative (`./native/...`) — dev / source runs where this file sits * next to `na
src/mitm/tproxy/transparentSocket.ts:48
↓ 1 callers
Function
advancedWindowResetAt
* T08 — Auto-advance quota window. * If we know the window duration, advance past the expired window(s) to * avoid blocking requests when the quota
src/domain/quotaCache.ts:80
↓ 1 callers
Function
aggregateByGroup
(data, groupBy, limit)
bin/cli/commands/cost.mjs:83
↓ 1 callers
Function
aggregateTokens
(db: DbLike, apiKeyId: string, periodStartAt: string)
src/lib/usage/apiKeySelfService.ts:148
↓ 1 callers
Function
aggressiveEnabled
(value: AggressiveConfig | undefined)
src/lib/db/compression.ts:521
← previous
next →
9,701–9,800 of 20,485, ranked by callers