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
applyDimensionsInjection
( body: Record<string, unknown>, combo: Record<string, unknown> )
tests/unit/embeddings-combo-dimensions.test.ts:75
↓ 4 callers
Function
applyFilter
(req: Req, sameContextKey?: string)
tests/unit/ui/same-context-filter.test.tsx:105
↓ 4 callers
Function
applyLegacyTypeMap
* Plan 21 Bug#4/D17 fix: remap legacy types in ALL CLI subcommands * (search/list/clear in addition to add), with a stderr warning on remap. * Retur
bin/cli/commands/memory.mjs:21
↓ 4 callers
Function
applyMetricOutcome
( metric: ModelMetrics, success: boolean, latencyMs: number, usedAt: string )
open-sse/services/comboMetrics.ts:136
↓ 4 callers
Function
applyResponsesPreviousResponseIdPolicy
( body: unknown, options: ApplyResponsesPreviousResponseIdPolicyOptions )
open-sse/utils/responsesStatePolicy.ts:54
↓ 4 callers
Function
applyTproxy
(cfg: TproxyConfig, run: CommandRunner = defaultRunner)
src/mitm/tproxy/setup.ts:40
↓ 4 callers
Function
asRecord
(value: unknown)
open-sse/executors/gitlab.ts:36
↓ 4 callers
Function
asRecord
(value: unknown)
open-sse/executors/nlpcloud.ts:25
↓ 4 callers
Function
asRecord
(value: unknown)
open-sse/services/kiroModels.ts:28
↓ 4 callers
Function
asRecord
(value: unknown)
src/lib/tailscaleTunnel.ts:109
↓ 4 callers
Function
asRecord
(value: unknown)
src/lib/providers/claudeFastMode.ts:16
↓ 4 callers
Function
asRecord
(value: unknown)
src/lib/oauth/gitlab.ts:13
↓ 4 callers
Function
asRecord
(value: unknown)
src/lib/api/modelTestRunner.ts:13
↓ 4 callers
Function
asRecord
(value: unknown)
src/lib/usage/apiKeyUsageLimits.ts:75
↓ 4 callers
Function
asRecord
(value: unknown)
src/lib/providerModels/modelDiscovery.ts:9
↓ 4 callers
Function
asRecord
(value: unknown)
src/app/api/resilience/route.ts:17
↓ 4 callers
Function
asRecord
(value: unknown)
tests/unit/openai-responses-verbosity.test.ts:15
↓ 4 callers
Function
asRecord
(value: unknown)
tests/unit/openai-responses-reasoning-effort.test.ts:24
↓ 4 callers
Function
assertConnection
(connection: Connection)
tests/unit/account-concurrency-cap.test.ts:17
↓ 4 callers
Function
assertResolvedAddressesPublic
(addresses: string[])
open-sse/utils/cursorImages.ts:137
↓ 4 callers
Function
assistant
(content: string)
tests/unit/mistral-trailing-assistant.test.ts:21
↓ 4 callers
Function
attachCompressionUsageReceipt
( requestId: string | null | undefined, usage: Record<string, unknown> | null | undefined, source: "prov
src/lib/db/compressionAnalytics.ts:255
↓ 4 callers
Function
attachCompressionUsageReceiptAfterAnalytics
( usage: Record<string, unknown>, source: "provider" | "estimated" | "stream" )
open-sse/handlers/chatCore.ts:728
↓ 4 callers
Method
authHeaders
(credentials: AgentCredentials, withBody = false)
src/lib/cloudAgent/agents/cursor.ts:58
↓ 4 callers
Function
baseArgs
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-nonstreaming-response-headers.test.ts:25
↓ 4 callers
Function
baseArgs
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-streaming-response-headers.test.ts:22
↓ 4 callers
Function
baseArgs
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-postcall-guardrail-context.test.ts:14
↓ 4 callers
Function
baseBody
(model)
tests/unit/opencode-executor.test.ts:548
↓ 4 callers
Function
baseCtx
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-non-streaming-usage-stats.test.ts:21
↓ 4 callers
Function
baseCtx
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-attempt-logging.test.ts:29
↓ 4 callers
Function
baseOpts
(extra: Record<string, unknown>)
tests/unit/chatgpt-web-tools-5240.test.ts:128
↓ 4 callers
Function
baseOpts
(requestId: string, statsOverrides = {})
tests/unit/chatcore-compression-analytics-write.test.ts:67
↓ 4 callers
Function
block
(tag: string)
tests/unit/compression/hard-budget.test.ts:204
↓ 4 callers
Function
body
(model: string)
tests/integration/combo-matrix/quota-aware.test.ts:30
↓ 4 callers
Function
body
()
tests/unit/compression/ultra-slm-tier.test.ts:23
↓ 4 callers
Function
bodyAsRecord
(init: RequestInit | undefined)
@omniroute/opencode-plugin/tests/gemini-sanitize.test.ts:44
↓ 4 callers
Function
bridgeSecretMatches
(expectedSecret: string, receivedSecret: string)
src/app/api/internal/codex-responses-ws/route.ts:270
↓ 4 callers
Function
buildAllowedHosts
(env: NodeJS.ProcessEnv = process.env)
src/server/ws/liveServerAllowList.ts:49
↓ 4 callers
Function
buildAllowedOrigins
(env: NodeJS.ProcessEnv = process.env)
src/server/ws/liveServerAllowList.ts:41
↓ 4 callers
Function
buildArtifactRelPath
(date: Date, label: string)
tests/unit/call-log-file-rotation.test.ts:72
↓ 4 callers
Function
buildCapability
(overrides = {})
tests/unit/model-capabilities-mimo-vision-override.test.ts:31
↓ 4 callers
Function
buildCapability
(overrides = {})
tests/unit/translator-helper-branches.test.ts:16
↓ 4 callers
Function
buildCertManualGuide
( certPath: string, platform: NodeJS.Platform = process.platform )
src/mitm/cert/install.ts:227
↓ 4 callers
Function
buildClaudePassthroughToolNameMap
(body: Record<string, unknown> | null | undefined)
open-sse/handlers/chatCore/passthroughToolNames.ts:3
↓ 4 callers
Function
buildClaudeResponse
(stream, text = "ok")
tests/unit/chatcore-translation-paths.test.ts:126
↓ 4 callers
Function
buildClineHeaders
( token: unknown, extraHeaders: Record<string, string> = {} )
src/shared/utils/clineAuth.ts:39
↓ 4 callers
Function
buildCodexEnv
(baseEnv, authToken)
bin/cli/commands/launch-codex.mjs:89
↓ 4 callers
Function
buildComboForecastResponse
(opts: { range: UtilizationTimeRange; horizon: ComboForecastHorizon; comboId?: string; now?: number;
src/lib/usage/comboForecast.ts:369
↓ 4 callers
Function
buildComboHealthResponse
(opts: { range: UtilizationTimeRange; comboId?: string; now?: number; combos?: ComboRecord[]; })
src/lib/usage/comboHealth.ts:520
↓ 4 callers
Function
buildElevatedScriptWrapper
(scriptPath: string)
src/mitm/systemCommands.ts:162
↓ 4 callers
Function
buildEnv
(overrides = {})
tests/unit/web-runtime-env.test.ts:10
↓ 4 callers
Function
buildExtractZipCommand
( platform: NodeJS.Platform, archivePath: string, destDir: string )
src/lib/versionManager/binaryManager.ts:63
↓ 4 callers
Function
buildGeminiResponse
(text = "ok", model = "gemini-2.5-flash")
tests/integration/chat-pipeline.test.ts:239
↓ 4 callers
Function
buildHashedGeminiToolName
( baseName: string, originalName: string, hashLength: number )
open-sse/translator/helpers/geminiToolsSanitizer.ts:69
↓ 4 callers
Method
buildHeaders
( _credentials: ProviderCredentials, stream = true, _clientHeaders?: Record<string, string> | null
open-sse/executors/mimocode.ts:362
↓ 4 callers
Method
buildHeaders
(_credentials: ProviderCredentials)
open-sse/executors/theoldllm.ts:188
↓ 4 callers
Method
buildHeaders
(_credentials: ProviderCredentials)
open-sse/executors/chipotle.ts:303
↓ 4 callers
Function
buildHeadroomStatus
(input: BuildHeadroomStatusInput)
src/lib/headroom/detect.ts:86
↓ 4 callers
Function
buildJudgePrompt
(fullAnswer: string, compressedAnswer: string)
open-sse/services/compression/eval/judge.ts:8
↓ 4 callers
Function
buildKiloAuth
(existing, { apiKey, baseUrl, model })
bin/cli/commands/setup-kilo.mjs:50
↓ 4 callers
Function
buildLegacyPipelinePayloads
(id: string)
src/lib/usage/callLogs.ts:487
↓ 4 callers
Function
buildLiteLLMFixture
()
tests/unit/pricing-sync-extended.test.ts:16
↓ 4 callers
Function
buildNamedComboLookup
( combos: Array<{ id: string; name?: string | null; pipeline: CompressionPipelineStep[] }> )
open-sse/services/compression/planResolution.ts:87
↓ 4 callers
Function
buildOpenAIStoreSessionId
(sessionId: unknown)
src/lib/providers/requestDefaults.ts:239
↓ 4 callers
Function
buildOutputStyleTelemetry
(input: { requestId: string; model: string; provider: string; source: string; tokensBefore: number;
open-sse/services/compression/outputStyles/telemetry.ts:20
↓ 4 callers
Function
buildPassthroughTestBody
(opts: { providerId: string; connectionId: string; modelId: string; autoHideFailed: boolean; })
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:842
↓ 4 callers
Function
buildPipelineResponse
( result: PipelineResult, body: Record<string, unknown> )
open-sse/services/autoCombo/pipelineRouter.ts:367
↓ 4 callers
Function
buildProfileSettings
(modelId, baseUrl, cfg)
bin/cli/commands/setup-claude.mjs:33
↓ 4 callers
Function
buildPropfindXml
(entries, selfHref)
scripts/dev/webdav-handler.mjs:280
↓ 4 callers
Function
buildProviderTranslatePathSnapshot
()
tests/unit/provider-translate-path-golden.test.ts:80
↓ 4 callers
Function
buildQuantizationConfig
( quantization: QdrantQuantization )
src/lib/memory/qdrant.ts:34
↓ 4 callers
Function
buildQuotaResponse
(usedPercent, resetAfterSeconds = 3600)
tests/unit/chat-context-relay.test.ts:59
↓ 4 callers
Function
buildRelayTestResult
(input: { statusCode: number; publicIp: string | null; latencyMs: number; relayUrl: string; relayAut
src/app/api/settings/proxy/test/relayTestResult.ts:15
↓ 4 callers
Function
buildResponsesResponse
(text = "ok", model = "gpt-5.4")
tests/unit/chat-context-relay.test.ts:12
↓ 4 callers
Function
buildRoot
* Build a root tree mirroring the real SLM optional shape: * @atjsh/llmlingua-2 → dep es-toolkit, PEER @huggingface/transformers (+ tfjs, js-tiktok
tests/unit/colocate-optionals.test.ts:37
↓ 4 callers
Function
buildSamplePayload
()
tests/unit/translator-openai-to-kiro.test.ts:6
↓ 4 callers
Function
buildSocksFamilySocketOptions
(family: 4 | 6 | null)
open-sse/utils/socksConnectorWithFamily.ts:26
↓ 4 callers
Function
buildThinkingDeltaPayload
(text: string)
tests/unit/cursor-streaming.test.ts:49
↓ 4 callers
Method
buildUrl
(_model: string, _stream: boolean)
open-sse/executors/chipotle.ts:299
↓ 4 callers
Function
buildUrlAnthropic
(credentials)
tests/unit/custom-endpoint-paths.test.ts:18
↓ 4 callers
Function
calculateAggregateCost
(row: JsonRecord)
src/lib/usage/usageStats.ts:154
↓ 4 callers
Function
calculateBackoffCooldown
(level = 0)
open-sse/config/errorConfig.ts:183
↓ 4 callers
Function
callGet
()
tests/unit/kiro-windows-auto-import-3363.test.ts:61
↓ 4 callers
Function
callGet
()
tests/unit/kiro-auto-import-idc-2059.test.ts:138
↓ 4 callers
Function
callHook
( hook: string, payload: unknown, timeout = DEFAULT_HOOK_TIMEOUT )
src/lib/plugins/loader.ts:186
↓ 4 callers
Function
callbackUrlFromBaseUrl
(baseUrl: string | undefined)
open-sse/utils/kieTask.ts:17
↓ 4 callers
Function
candidate
()
tests/unit/complexity-aware-scoring-wiring.test.ts:26
↓ 4 callers
Function
capBody
(body: string | null, maxBytes: number)
src/mitm/inspector/buffer.ts:34
↓ 4 callers
Function
captureFetch
(response: Response)
tests/unit/command-code-user-array-5166.test.ts:48
↓ 4 callers
Function
captureParams
(body: Record<string, unknown>)
tests/unit/command-code-maxtokens-negative-5166.test.ts:37
↓ 4 callers
Function
captureUrl
(body: unknown)
tests/unit/ninerouter-executor.test.ts:186
↓ 4 callers
Function
captureWarn
(fn: () => T)
tests/unit/vscode-token-in-url-warning.test.ts:8
↓ 4 callers
Function
certFilePath
()
tests/integration/agent-bridge-cert-flow.test.ts:28
↓ 4 callers
Function
cfg
(overrides: Partial<CompressionConfig> = {})
tests/unit/compression/strategySelector-cache-aware.test.ts:14
↓ 4 callers
Function
cfg
(overrides: Partial<CompressionConfig> = {})
tests/unit/compression/cache-aware-preserve-mode.test.ts:15
↓ 4 callers
Function
chat
(model: string, content: string)
tests/integration/gemini-live-429-classification.test.ts:30
↓ 4 callers
Function
checkClineStatus
()
src/app/(dashboard)/dashboard/cli-code/components/ClineToolCard.tsx:136
↓ 4 callers
Function
checkCreateConnectionPreconditions
( enriched: EnrichedClaudeAuth, options: CreateConnectionOptions, existingByAccountUUID: JsonRecord | nu
tests/unit/claudeAuthImport.test.ts:103
↓ 4 callers
Function
checkDroidStatus
()
src/app/(dashboard)/dashboard/cli-code/components/DroidToolCard.tsx:127
↓ 4 callers
Function
checkDup
(obj: Record<string, any>, key: string)
open-sse/services/compression/engines/headroom/gcf/decode_generic.ts:201
← previous
next →
4,301–4,400 of 20,485, ranked by callers