MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 29 callersFunctionvalidateJsonl
( content: string, opts: { endpoint: SupportedBatchEndpoint; maxLinesToInspect?: number; tailL
src/lib/batches/validateJsonl.ts:92
↓ 28 callersFunctioncaptureWarn
()
@omniroute/opencode-plugin/tests/config-shim.test.ts:184
↓ 28 callersFunctionclearProviderFailure
(provider: string | null | undefined)
open-sse/services/accountFallback.ts:908
↓ 28 callersFunctioncompressToolResult
(content: string, opts: ToolStrategiesConfig)
open-sse/services/compression/toolResultCompressor.ts:226
↓ 28 callersMethodconsume
(apiKeyId: string, dim: DimensionKey, cost: number)
src/lib/quota/types.ts:35
↓ 28 callersFunctioncountTextTokens
(text: string)
src/shared/utils/tiktokenCounter.ts:14
↓ 28 callersFunctioncreateBackup
(toolId: string, filePath: string)
src/shared/services/backupService.ts:51
↓ 28 callersFunctiondb
()
src/lib/db/gamification.ts:106
↓ 28 callersFunctiondetectIntent
(model?: string, prompt?: string)
open-sse/executors/veoaifree-web.ts:127
↓ 28 callersFunctiongetSaturation
( connectionId: string, provider: string, dim: DimensionSpec )
src/lib/quota/saturationSignals.ts:524
↓ 28 callersFunctiongetSettingsLabel
(key: string, fallback: string)
src/app/(dashboard)/dashboard/settings/components/AppearanceTab.tsx:52
↓ 28 callersFunctiongetStringValue
(value)
open-sse/handlers/audioSpeech.ts:177
↓ 28 callersFunctionisRecord
(value: unknown)
open-sse/services/combo/comboData.ts:13
↓ 28 callersFunctionlistFiles
( options: { apiKeyId?: string; purpose?: string; limit?: number; after?: string; order?
src/lib/db/files.ts:83
↓ 28 callersFunctionprintHeading
(title)
bin/cli/io.mjs:69
↓ 28 callersFunctionquotaGroupSlug
(name: string)
src/lib/quota/quotaModelNaming.ts:19
↓ 28 callersFunctionrecordKeyFailure
(connectionId: string, keyId: string)
open-sse/services/apiKeyRotator.ts:176
↓ 28 callersFunctionrenderComponent
( props: { forceOpen?: boolean; inputContent?: string; onOpenChange?: (open: boolean) => void;
tests/unit/translator-friendly-compression.test.tsx:89
↓ 28 callersFunctionresetHooks
()
src/lib/plugins/hooks.ts:319
↓ 28 callersFunctionresetStorage
()
tests/unit/db-domainState-crud.test.ts:13
↓ 28 callersFunctionrewriteHtml
(html: string, publicPrefix: string)
src/lib/services/htmlRewriter.ts:52
↓ 28 callersFunctionsanitizeOpenAITool
(tool: unknown)
open-sse/services/toolSchemaSanitizer.ts:121
↓ 28 callersFunctionsaveModelsDevCapabilities
(data: CapabilitiesByProvider)
src/lib/modelsDevSync.ts:397
↓ 28 callersFunctionstubCombosFetcher
( payload: OmniRouteRawCombo[] )
@omniroute/opencode-plugin/tests/config-shim.test.ts:125
↓ 28 callersFunctionstubModelsFetcher
( payload: OmniRouteRawModelEntry[] )
@omniroute/opencode-plugin/tests/config-shim.test.ts:112
↓ 28 callersMethodupsertVector
Insert/update vector for a memory.
src/lib/memory/vectorStore.ts:47
↓ 28 callersFunctionvalidationWrite
(url: string, init: RequestInit, isLocal: boolean = false)
src/lib/providers/validation/transport.ts:69
↓ 28 callersFunctionwithMockedFetch
(fetchImpl: TestFetch, fn: () => Promise<TResult>)
tests/unit/token-refresh-service.test.ts:87
↓ 27 callersFunctionbuildClaudeCodeCompatibleRequest
({ sourceBody, normalizedBody, claudeBody, model, stream = false, cwd = process.cwd(), sessionId
open-sse/services/claudeCodeCompatible.ts:233
↓ 27 callersFunctionbuildPipelineConfig
(request: string, taskType: TaskType)
src/domain/pipeline.ts:110
↓ 27 callersFunctionclearModelsDevCapabilities
()
src/lib/modelsDevSync.ts:450
↓ 27 callersMethodclose
()
src/lib/db/adapters/types.ts:31
↓ 27 callersFunctioncreateDb
()
tests/unit/db-migration-runner.test.ts:60
↓ 27 callersFunctiondecideFairShare
(input: FairShareInput)
src/lib/quota/fairShare.ts:85
↓ 27 callersFunctionencrypt
(plaintext: string | null | undefined)
src/lib/db/encryption.ts:109
↓ 27 callersFunctiongetConsistentMachineId
(salt = null)
src/shared/utils/machineId.ts:128
↓ 27 callersFunctiongetStrategy
(name: string)
open-sse/services/autoCombo/routerStrategy.ts:374
↓ 27 callersFunctionhandleChatCore
({ body, modelInfo, credentials, log, onCredentialsRefreshed, onRequestSuccess, onStreamFailure,
open-sse/handlers/chatCore.ts:348
↓ 27 callersFunctionimportHandler
Import the handler module fresh (bust module cache for env-dependent tests).
tests/unit/webdav-server-3485.test.ts:35
↓ 27 callersFunctioninvalidateDbCache
( scope?: "settings" | "pricing" | "connections" | "combos" )
src/lib/db/readCache.ts:171
↓ 27 callersFunctionisRecord
(value: unknown)
open-sse/utils/streamHelpers.ts:52
↓ 27 callersFunctionisRpdExhausted
(modelId: string)
open-sse/services/geminiRateLimitTracker.ts:84
↓ 27 callersFunctionparse
(body: unknown)
tests/unit/codex-import-route.test.ts:19
↓ 27 callersFunctionresetAllComboMetrics
()
open-sse/services/comboMetrics.ts:476
↓ 27 callersFunctionresolveEndpointCategory
(pathname: string)
src/shared/constants/endpointCategories.ts:125
↓ 27 callersFunctionretrieveMemories
( apiKeyId: string, config: RetrievalOptions = {} )
src/lib/memory/retrieval.ts:231
↓ 27 callersMethodselect
(pool: ProviderCandidate[], context: RoutingContext)
open-sse/services/autoCombo/routerStrategy.ts:47
↓ 27 callersMethodsetTimeout
(ms: number)
src/lib/skills/executor.ts:29
↓ 27 callersFunctiontoNonEmptyString
(value: unknown)
src/app/api/providers/[id]/models/discovery/helpers.ts:10
↓ 27 callersFunctiontoRecord
(value: unknown)
open-sse/handlers/responseSanitizer.ts:47
↓ 27 callersFunctionupdateCompressionSettings
( updates: Partial<CompressionConfig> )
src/lib/db/compression.ts:718
↓ 26 callersMethodactivate
* Activate a plugin — load into VM, register hooks, update DB.
src/lib/plugins/manager.ts:373
↓ 26 callersFunctionapplyComboTargetExhaustion
( target: ResolvedComboTarget, opts: ApplyComboTargetExhaustionOptions )
open-sse/services/combo/targetExhaustion.ts:67
↓ 26 callersFunctioncand
(p: Partial<ProviderCandidate> & { provider: string })
tests/unit/router-strategies.test.ts:20
↓ 26 callersFunctionconn
(overrides: Partial<RecoverableConnectionInput>)
tests/unit/quota-connection-recovery.test.ts:16
↓ 26 callersFunctioncreateInput
(model, stream = true, credentials = { apiKey: "test-key" })
tests/unit/opencode-executor.test.ts:15
↓ 26 callersFunctioncreateMemory
( memory: Omit<Memory, "id" | "createdAt" | "updatedAt" | "accessCount" | "lastAccessedAt"> )
src/lib/memory/store.ts:162
↓ 26 callersFunctioncreateStreamController
({ onDisconnect, onError, provider, model, connectionId, clientResponseFormat, clientAbortSignal
open-sse/utils/streamHandler.ts:210
↓ 26 callersFunctioncreateStreamingState
()
tests/unit/translator-resp-gemini-to-openai.test.ts:10
↓ 26 callersFunctionderiveMessageHash
( messages: Array<{ role?: string; content?: unknown }> | null | undefined )
open-sse/services/combo/sessionStickiness.ts:122
↓ 26 callersMethodemit
(event: string, ...args: unknown[])
tests/unit/copilot-m365-web-executor.test.ts:80
↓ 26 callersFunctionfmt
(n: number)
src/shared/components/UsageStats.tsx:199
↓ 26 callersFunctiongenerateSignature
( model, conversation, temperature = 0, topP = 1, apiKeyId?: string )
src/lib/semanticCache.ts:119
↓ 26 callersMethodgetCircuitState
()
open-sse/utils/tlsClient.ts:223
↓ 26 callersFunctiongetCombos
()
src/lib/db/combos.ts:93
↓ 26 callersFunctiongetFieldValue
(record: unknown, ...keys: string[])
open-sse/services/codexUsageQuotas.ts:19
↓ 26 callersFunctiongetProvider
(name)
src/lib/oauth/providers.ts:94
↓ 26 callersFunctiongetSettingsLabel
(key: string, fallback: string)
src/app/(dashboard)/dashboard/settings/components/SecurityTab.tsx:27
↓ 26 callersFunctionhandleAudioSpeech
({ body, credentials, resolvedProvider = null, resolvedModel = null, })
open-sse/handlers/audioSpeech.ts:929
↓ 26 callersFunctionhandleSearch
(options: SearchHandlerOptions)
open-sse/handlers/search.ts:1198
↓ 26 callersFunctionincrementInflight
( connectionId: string, leaseMs: number = DEFAULT_LEASE_MS, nowMs: number = Date.now() )
open-sse/services/combo/quotaShareInflight.ts:61
↓ 26 callersFunctioninsertTestMemory
( db: ReturnType<typeof core.getDbInstance>, id: string, content: string, key: string )
tests/unit/memory-needs-reindex.test.ts:24
↓ 26 callersFunctioninvokeChatCore
({ body, accept = "application/json", provider = "openai", model = "gpt-4o-mini", endpoint = "/v1/ch
tests/unit/chatcore-sanitization.test.ts:92
↓ 26 callersFunctionlogger
(tag: string)
open-sse/utils/logger.ts:115
↓ 26 callersFunctionmakeDiagnosis
( type: string, source: string, message: string | null, code: string | null = null )
src/app/api/providers/[id]/test/route.ts:155
↓ 26 callersFunctionmakeTarget
(connectionId: string)
tests/unit/combo-session-stickiness.test.ts:36
↓ 26 callersFunctionmaskSecret
(value: string)
src/mitm/maskSecrets.ts:26
↓ 26 callersFunctionmatchesTrafficFilter
(req: InterceptedRequest, f: TrafficFilters)
src/lib/inspector/matchesTrafficFilter.ts:18
↓ 26 callersFunctionopenaiToGeminiRequest
( model: string, body: Record<string, unknown>, stream: boolean, credentials: Record<string, unknown>
open-sse/translator/request/openai-to-gemini.ts:552
↓ 26 callersFunctionregisterQuotaFetcher
(provider: string, fetcher: QuotaFetcher)
open-sse/services/quotaPreflight.ts:88
↓ 26 callersFunctionrequest
(url: string, init?: RequestInit)
tests/unit/authz/pipeline.test.ts:60
↓ 26 callersFunctionresolveProviderName
( id: string | null | undefined, nodeMap: Map<string, ProviderNodeEntry> | null | undefined )
src/lib/display/useProviderNodeMap.ts:29
↓ 26 callersFunctionsanitizeOpenAIResponse
( body: unknown, options: SanitizeOpenAIResponseOptions = {} )
open-sse/handlers/responseSanitizer.ts:224
↓ 26 callersFunctionsendError
* Send a plain-text error response — no raw paths or stack traces in the body. * * @param {import("node:http").ServerResponse} res * @param {number
scripts/dev/webdav-handler.mjs:450
↓ 26 callersFunctionstoreBlock
(text: string, principalId?: string)
open-sse/services/compression/engines/ccr/index.ts:114
↓ 26 callersFunctiontestTransform
(transform: TransformStream, inputChunks: string[])
tests/unit/streamingPiiTransform.test.ts:18
↓ 26 callersFunctiontoRecord
(value: unknown)
open-sse/translator/helpers/geminiHelper.ts:278
↓ 26 callersFunctiontouchSession
(sessionId: string | null, connectionId: string | null = null)
open-sse/services/sessionManager.ts:150
↓ 26 callersFunctiontr
(key: string, fallback: string, values?: UsageTranslationValues)
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/QuotaCutoffModal.tsx:56
↓ 26 callersFunctionupdateBatch
(id: string, updates: Partial<BatchRecord>)
src/lib/db/batches.ts:172
↓ 26 callersMethodwarmUp
Warm up the pool to a specific size (bypasses minSessions limit)
open-sse/services/sessionPool/sessionPool.ts:90
↓ 25 callersFunctionassertClose
(actual: number, expected: number, epsilon = 0.000001)
tests/unit/usage-analytics-route.test.ts:60
↓ 25 callersFunctionclassify429
(response: { status: number; headers?: Record<string, string>; body?: unknown; })
src/shared/utils/classify429.ts:110
↓ 25 callersFunctioncreateLog
()
tests/unit/combo-strategy-fallbacks.test.ts:28
↓ 25 callersFunctioncreateProgram
()
bin/cli/program.mjs:11
↓ 25 callersFunctionemit
(obj: object)
open-sse/executors/adapta-web.ts:250
↓ 25 callersFunctionemitChunk
(ctx: StreamCtx, delta: object, finishReason: string | null = null)
open-sse/executors/cursor.ts:445
↓ 25 callersFunctionenforceQuotaShare
(input: EnforceInput)
src/lib/quota/enforce.ts:62
↓ 25 callersFunctionestimateTokens
* Exact replica of estimateTokens from src/lib/memory/retrieval.ts:34-37 * so the test does not pull in the full DB/SQLite dependency graph.
tests/unit/memory-stats-api.test.ts:13
↓ 25 callersFunctionevaluateToolScopes
( toolName: string, callerScopes: readonly string[], enforceScopes: boolean, inlineScopes?: readonly s
open-sse/mcp-server/scopeEnforcement.ts:99
← previousnext →301–400 of 20,485, ranked by callers