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
checkIdempotencyCache
({ clientRawRequest, provider, model, effectiveServiceTier, startTime, log, }: { clientRawReques
open-sse/handlers/chatCore/idempotency.ts:11
↓ 4 callers
Function
checkIpRateLimit
(tokenId: string, ip: string)
src/app/api/v1/relay/chat/completions/relaySecurity.ts:44
↓ 4 callers
Function
checkKiloStatus
()
src/app/(dashboard)/dashboard/cli-code/components/KiloToolCard.tsx:122
↓ 4 callers
Function
checkMcpToolsHaveScopes
(tools: McpToolLike[])
scripts/check/check-known-symbols.ts:224
↓ 4 callers
Function
checkOpenclawStatus
()
src/app/(dashboard)/dashboard/cli-code/components/OpenClawToolCard.tsx:109
↓ 4 callers
Function
checkedLen
(len: bigint, pos: number, buf: Buffer)
open-sse/utils/cursorAgentProtobuf/wire.ts:89
↓ 4 callers
Function
chmodSystrayBinAt
(runtimeRoot: string, platform: NodeJS.Platform)
bin/cli/runtime/trayRuntime.ts:34
↓ 4 callers
Function
chunk
(delta: object, finish?: string | null)
open-sse/executors/t3-chat-web.ts:153
↓ 4 callers
Function
chunk
(delta: object, finish?: string)
open-sse/executors/adapta-web.ts:253
↓ 4 callers
Function
clampCallId
(id: string)
open-sse/translator/request/openai-responses.ts:42
↓ 4 callers
Function
clampPercent
(value: number | null)
src/lib/db/quotaResetEvents.ts:59
↓ 4 callers
Function
classifyModelScope429
( errorText: string, headers: Record<string, string> )
open-sse/services/modelscopePolicy.ts:68
↓ 4 callers
Function
classifyResponse
(response)
bin/cli/provider-test.mjs:82
↓ 4 callers
Function
classifyRunError
(err, timeoutMs)
scripts/quality/validate-release-green.mjs:129
↓ 4 callers
Function
cleanup
()
src/app/api/tools/traffic-inspector/ws/route.ts:121
↓ 4 callers
Function
cleanup
()
tests/unit/capture-critical-db-state.test.ts:16
↓ 4 callers
Function
cleanupClientAbortListener
()
open-sse/utils/streamHandler.ts:252
↓ 4 callers
Function
cleanupDb
()
tests/unit/transform-stream-hwm.test.ts:16
↓ 4 callers
Function
cleanupOldSnapshotsForTest
(db: Database.Database, retentionDays = 90)
src/lib/db/__tests__/quotaSnapshots.test.ts:178
↓ 4 callers
Function
cleanupOverflowCallLogFiles
(baseDir = CALL_LOGS_DIR, maxEntries?: number)
src/lib/usage/callLogs.ts:370
↓ 4 callers
Function
cleanupTempPath
(path: string)
open-sse/services/grokTlsClient.ts:444
↓ 4 callers
Function
clearCooldownState
()
open-sse/services/providerCooldownTracker.ts:189
↓ 4 callers
Function
clearDetectedLimits
()
open-sse/services/toolLimitDetector.ts:80
↓ 4 callers
Function
clearIdleTimer
()
src/lib/services/embedWsProxy.ts:181
↓ 4 callers
Function
clearNotionToken
()
src/lib/db/notion.ts:33
↓ 4 callers
Function
clearPidFile
()
src/lib/cloudflaredTunnel.ts:240
↓ 4 callers
Function
clearResults
()
src/app/(dashboard)/dashboard/playground/components/tabs/ApiTab.tsx:343
↓ 4 callers
Function
clearSkillRegistry
()
tests/unit/skills-routes.test.ts:16
↓ 4 callers
Function
clearStoredCaPath
()
tests/unit/mitm-upstream-ca-wiring.test.ts:57
↓ 4 callers
Function
clearSystemProxy
()
src/lib/inspector/captureState.ts:72
↓ 4 callers
Function
clearTokenCache
()
tests/theoldllm-stress.test.ts:32
↓ 4 callers
Method
client
()
src/lib/quota/redisQuotaStore.ts:114
↓ 4 callers
Function
clientWantsJsonResponse
(acceptHeader: unknown)
open-sse/utils/aiSdkCompat.ts:37
↓ 4 callers
Function
close
(server)
tests/unit/responses-ws-proxy.test.mjs:16
↓ 4 callers
Function
closeLogRotation
()
src/lib/logRotation.ts:201
↓ 4 callers
Function
coerceBoolean
(value: unknown)
src/lib/db/backup.ts:214
↓ 4 callers
Function
coerceDisabledGuardrails
(value: unknown)
src/lib/guardrails/registry.ts:32
↓ 4 callers
Function
coerceProxyPayload
(value: unknown, fallbackName: string)
src/lib/db/proxies/mappers.ts:113
↓ 4 callers
Function
collectDbModules
(dbDir = DB_DIR)
scripts/check/check-db-rules.mjs:113
↓ 4 callers
Function
collectDoctorChecks
(context = {}, options = {})
bin/cli/commands/doctor.mjs:397
↓ 4 callers
Function
collectPassthroughTextualToolCall
( text: string, toolCalls: Map<string, ToolCall>, allowedToolNames?: Set<string> | null )
open-sse/utils/stream.ts:232
↓ 4 callers
Function
collectStreamOutput
( readable: ReadableStream<Uint8Array>, timeoutMs = 2000 )
tests/unit/transform-stream-hwm.test.ts:33
↓ 4 callers
Function
collectText
* Pull plain text out of the system-prompt shapes: `string`, `Array<…>`, `{text}` (OpenAI/Claude * text parts), and `{parts: [...]}` (Gemini `systemI
open-sse/services/compression/prefixFreeze.ts:68
↓ 4 callers
Function
collectText
(stream: ReadableStream<Uint8Array>)
tests/unit/stream-continuation-wiring.test.ts:35
↓ 4 callers
Function
color
(i)
scripts/research/gen-budget-card-svg.mjs:49
↓ 4 callers
Function
colorize
(text, code)
bin/cli/commands/redis.mjs:70
↓ 4 callers
Function
commandCodeStream
(lines: unknown[])
tests/unit/command-code-user-array-5166.test.ts:29
↓ 4 callers
Function
compatProtocolLabelKey
(protocol: string)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:740
↓ 4 callers
Function
compilePatterns
(patterns: string[])
open-sse/services/compression/engines/rtk/lineFilter.ts:34
↓ 4 callers
Function
composerReasoningRemainder
(thinking: string)
open-sse/executors/cursor.ts:362
↓ 4 callers
Function
compressMcpRegistryMetadata
( metadata: T, options: DescriptionCompressionOptions = {} )
open-sse/mcp-server/descriptionCompressor.ts:158
↓ 4 callers
Function
compressText
(text: string)
tests/golden-set/compression-quality.test.ts:31
↓ 4 callers
Function
compressToolResults
(body: ChatBody)
open-sse/services/compression/lite.ts:108
↓ 4 callers
Function
computeAdvertisedLimits
(candidates: Array<{ provider: string; model: string }>)
open-sse/services/autoCombo/virtualFactory.ts:200
↓ 4 callers
Function
computeAudioCost
( pricing: ModalPricing | null | undefined, usage: { seconds?: number; characters?: number } )
src/lib/usage/costCalculator.ts:190
↓ 4 callers
Function
computeImageCost
( pricing: ModalPricing | null | undefined, usage: { n?: number } )
src/lib/usage/costCalculator.ts:179
↓ 4 callers
Function
computeSavings
( fullBody: Record<string, unknown>, compressedBody: Record<string, unknown>, costPerKTokenIn?: number )
open-sse/services/compression/eval/savings.ts:16
↓ 4 callers
Function
computeVirtualItems
( items: string[], heights: Map<number, number>, scrollTop: number, containerHeight: number )
tests/unit/ui/use-virtual-list.test.tsx:10
↓ 4 callers
Function
configureProperties
()
tests/helpers/propertyConfig.ts:11
↓ 4 callers
Function
connLabel
(c: Connection)
src/app/(dashboard)/dashboard/costs/quota-share/components/PoolWizard.tsx:217
↓ 4 callers
Function
contentChunks
(chunks: unknown[])
tests/unit/think-close-marker-suppress-5245.test.ts:99
↓ 4 callers
Function
convWithAssistantText
A single finished assistant turn whose text is `parts`.
tests/unit/chatgpt-web-tools-5240.test.ts:34
↓ 4 callers
Function
convertCursorToOpenAI
(chunk, state)
open-sse/translator/response/cursor-to-openai.ts:13
↓ 4 callers
Function
convertOpenAIResponseToGemini
( response: Response, model: string )
open-sse/translator/response/openai-to-gemini-sse.ts:265
↓ 4 callers
Function
convertResponsesApiFormat
(body, credentials = null)
open-sse/translator/helpers/responsesApiHelper.ts:7
↓ 4 callers
Function
cooldownKey
* Build a cooldown key from provider and optional connectionId.
open-sse/services/providerCooldownTracker.ts:66
↓ 4 callers
Function
countArenaEloEntries
()
tests/unit/arena-elo-sync.test.ts:120
↓ 4 callers
Function
countEncryptedCredentials
(db: DbInstance = getDbInstance())
src/lib/db/recovery.ts:13
↓ 4 callers
Function
countFiles
(dir, suffix = ".ts")
scripts/check/check-docs-counts-sync.mjs:40
↓ 4 callers
Method
createAction
( comboId: string, actionType: HealActionType, modelId: string, providerId: string, reason
src/domain/assessment/selfHealer.ts:242
↓ 4 callers
Function
createComboInput
(overrides = {})
tests/unit/composite-tiers-validation.test.ts:6
↓ 4 callers
Function
createConnection
(isActive: boolean)
tests/unit/providers-batch-update.test.ts:30
↓ 4 callers
Function
createCooldownConnection
(provider = PROVIDER)
tests/unit/provider-health-autopilot.test.ts:39
↓ 4 callers
Function
createDateFormatter
(locale: string, options: Intl.DateTimeFormatOptions)
src/shared/components/analytics/charts.tsx:20
↓ 4 callers
Function
createEmptySuiteDraft
()
src/app/(dashboard)/dashboard/usage/components/EvalsTab.tsx:230
↓ 4 callers
Function
createForward
( connectRaw: (ip: string, port: number) => net.Socket, opts: { rejectUnauthorized?: boolean } = {} )
src/mitm/tproxy/tlsCapture.ts:302
↓ 4 callers
Function
createLocalTextResponse
(request: Request, body: unknown, text: string)
src/lib/usage/internalUsageCommand.ts:721
↓ 4 callers
Function
createLog
()
tests/unit/t23-t24-fallback-resilience.test.ts:12
↓ 4 callers
Function
createManager
(ttlMinutes = 5)
open-sse/mcp-server/__tests__/a2aLifecycle.test.ts:7
↓ 4 callers
Function
createManager
(ttlMinutes = 5)
tests/unit/t09-a2a-lifecycle.test.ts:9
↓ 4 callers
Function
createMiddlewareHook
(config: HookConfig)
src/lib/db/middleware.ts:100
↓ 4 callers
Function
createNoopAbortWritable
()
open-sse/utils/streamHandler.ts:444
↓ 4 callers
Function
createPatchRequest
(body: unknown)
src/app/api/settings/__tests__/settings.test.ts:17
↓ 4 callers
Function
createPlainUsageCommandResponse
(text: string, status = 200)
src/lib/usage/internalUsageCommand.ts:591
↓ 4 callers
Function
createSession
(name?: string)
tests/integration/traffic-inspector-session-requests.test.ts:35
↓ 4 callers
Function
createSqliteNativeError
(error)
bin/cli/sqlite.mjs:14
↓ 4 callers
Function
createStateDb
(dir, version)
tests/unit/cursor-version-detector.test.mjs:12
↓ 4 callers
Function
createStreamingErrorResult
( statusCode: number, message: string, code?: string, type?: string )
open-sse/handlers/chatCore/streamErrorResult.ts:22
↓ 4 callers
Function
createSyncServerClient
(syncToken: string, baseUrl?: string)
src/lib/obsidian/api.ts:352
↓ 4 callers
Function
createValidBatch
(prefix: string)
tests/unit/batch-processor.test.ts:497
↓ 4 callers
Function
createVirtualAutoCombo
( variant: AutoVariant | undefined, spec?: AutoComboSpec )
open-sse/services/autoCombo/virtualFactory.ts:226
↓ 4 callers
Function
credentialsWithProxies
()
tests/unit/opencode-proxy-rotation-4954.test.ts:60
↓ 4 callers
Function
debugLogDir
()
@omniroute/opencode-plugin/src/index.ts:4054
↓ 4 callers
Function
debugLogPath
(providerId: string)
@omniroute/opencode-plugin/src/index.ts:4061
↓ 4 callers
Function
decodeAgentServerMessage
(payload: Buffer)
open-sse/utils/cursorAgentProtobuf.ts:553
↓ 4 callers
Function
decodeChunk
(value)
tests/unit/sse-heartbeat-integration.test.ts:9
↓ 4 callers
Function
decodeJwtPayload
Decode JWT payload without verifying signature.
open-sse/executors/inner-ai.ts:78
↓ 4 callers
Function
decodeKvServerEvent
(payload: Buffer)
open-sse/utils/cursorAgentProtobuf.ts:647
↓ 4 callers
Function
dedupSystemPrompt
( body: ChatBody, options: LiteCompressionOptions = {} )
open-sse/services/compression/lite.ts:84
↓ 4 callers
Function
deepMergeCompatByProtocol
( prev: CompatByProtocolMap | undefined, patch: Partial<Record<ModelCompatProtocolKey, Partial<ModelCompat
src/lib/db/models/compat.ts:67
← previous
next →
4,401–4,500 of 20,485, ranked by callers