MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 6 callersFunctionwithFixtureOpenapi
* Creates a temporary directory with a minimal openapi.yaml fixture, * changes CWD to it, and returns a cleanup function.
tests/unit/agentSkills-openapiParser.test.ts:17
↓ 6 callersFunctionwithHttpServer
(handler, fn)
tests/unit/token-health-check.test.ts:41
↓ 6 callersFunctionwithMockedFetch
(fetchImpl, fn)
tests/unit/token-refresh-route-service.test.ts:32
↓ 6 callersFunctionwithNonTestEnvironment
(fn)
tests/unit/db-migration-runner.test.ts:125
↓ 6 callersFunctionwithPrepareFailure
(match, message, fn)
tests/unit/proxy-management-v1-route.test.ts:46
↓ 6 callersFunctionwithSelectedConnectionHeader
( response: Response, connectionId: string | null | undefined )
src/sse/handlers/chatHelpers.ts:823
↓ 6 callersFunctionwithSessionHeader
(response: Response, sessionId: string | null)
src/sse/handlers/chatHelpers.ts:789
↓ 6 callersFunctionwriteError
(socket: net.Socket, status: number, message: string)
src/lib/services/embedWsProxy.ts:56
↓ 6 callersFunctionwriteHttpError
(socket, status, body, headers = {})
scripts/dev/v1-ws-bridge.mjs:110
↓ 5 callersFunctionOPTIONS
()
src/app/a2a/route.ts:255
↓ 5 callersFunction__resetLoopbackReadinessForTests
()
src/app/api/providers/[id]/sync-models/route.ts:213
↓ 5 callersFunction__setProviderDefaultRateLimitsForTests
( map: Record<string, RateLimitWindow> | null )
open-sse/services/providerDefaultRateLimit.ts:25
↓ 5 callersFunction_bucketCountForTest
()
src/lib/quota/accountBuckets.ts:223
↓ 5 callersMethod_cleanup
* Clean up all resources
electron/loginManager.js:355
↓ 5 callersFunction_clearBucketsForTest
()
src/lib/quota/accountBuckets.ts:218
↓ 5 callersMethod_persistToDb
()
src/shared/utils/circuitBreaker.ts:199
↓ 5 callersFunctionaccountKey
(provider: string, connectionId: string | null)
src/lib/monitoring/providerHealthMatrix.ts:187
↓ 5 callersMethodacquireBlocking
As acquire(), but blocks until a session is available
open-sse/services/sessionPool/sessionPool.ts:247
↓ 5 callersFunctionaction
( type: ComboAutopilotActionType, label: string, target: ComboAutopilotTargetRef, href?: string )
src/lib/monitoring/comboHealthAutopilot.ts:80
↓ 5 callersFunctionaction
(verb: Action)
src/app/(dashboard)/dashboard/providers/services/components/ServiceLifecycleButtons.tsx:23
↓ 5 callersFunctionadaptArgumentsToDeclaredTool
( toolName: string, args: Record<string, unknown>, toolRegistry: GrokToolRegistry, intent: string, o
open-sse/executors/grok-web.ts:652
↓ 5 callersFunctionaddUsage
( bucket: UsageBucket, requests: number, promptTokens: number, completionTokens: number, cost: numbe
src/lib/usage/usageStats.ts:174
↓ 5 callersFunctionaggregateRecords
( records: EvalRecord[], stamps: RunStamps, run: { partial: boolean; totalCostUsd: number } )
open-sse/services/compression/eval/aggregate.ts:37
↓ 5 callersFunctionallPrimitives
(arr: unknown[])
open-sse/services/compression/engines/headroom/gcf/generic.ts:330
↓ 5 callersFunctionanthropicBody
(extras: Record<string, unknown>)
tests/unit/cliproxyapi-executor.test.ts:367
↓ 5 callersFunctionanthropicResultText
(msg: unknown, id: string)
tests/unit/compression/read-lifecycle.test.ts:30
↓ 5 callersFunctionapiCall
(action: string, body?: Record<string, unknown>)
src/app/(dashboard)/dashboard/cli-code/components/CliproxyapiToolCard.tsx:63
↓ 5 callersFunctionappendField
(name: string, value: string)
open-sse/handlers/imageGeneration.ts:1057
↓ 5 callersFunctionappendInFlightStep
( state: InFlightCompressionRun | null, step: CompressionStepPayload )
src/app/(dashboard)/dashboard/compression/studio/compressionFlowModel.ts:195
↓ 5 callersFunctionappendNoThinkingVariants
( models: T[], aliasToCanonical?: Record<string, string> )
open-sse/utils/noThinkingAlias.ts:135
↓ 5 callersFunctionapplyCcBridgeTransformPipeline
( body: RequestBody, config: CcBridgeTransformsConfig = getCcBridgeTransformsConfig() )
open-sse/services/ccBridgeTransforms.ts:491
↓ 5 callersFunctionapplyClientUsageBuffer
( translatedResponse: ResponseLike, body: unknown, clientResponseFormat: unknown, deps: ClientUsageBuf
open-sse/handlers/chatCore/clientUsageBuffer.ts:34
↓ 5 callersFunctionapplyItemOrder
( children: readonly SidebarSectionChild[], order: string[] )
src/shared/constants/sidebarVisibility.ts:255
↓ 5 callersFunctionapplyNoThinkingAlias
( body: Record<string, unknown> | null | undefined, opts: { claudeFormat?: boolean } = {} )
open-sse/utils/noThinkingAlias.ts:50
↓ 5 callersFunctionapplyRiskMask
(body: Record<string, unknown>, cfg: RiskGateConfig)
open-sse/services/compression/riskGate/riskGateStep.ts:41
↓ 5 callersFunctionasRecord
(value: unknown)
open-sse/executors/kimi.ts:86
↓ 5 callersFunctionasRecord
(value: unknown)
open-sse/config/glmProvider.ts:163
↓ 5 callersFunctionasRecord
(value: unknown)
src/lib/providers/requestDefaults.ts:14
↓ 5 callersFunctionasRecord
(value: unknown)
src/lib/a2a/skills/healthReport.ts:35
↓ 5 callersFunctionasRecord
(value: unknown)
src/lib/usage/usageStats.ts:43
↓ 5 callersFunctionasTextCompletionResponse
(res: Response)
src/app/api/v1/completions/textCompletionTransform.ts:99
↓ 5 callersFunctionassembleStreamingResponseHeaders
( args: { providerHeaders: Headers; provider: string | null | undefined; model: string | null |
open-sse/handlers/chatCore/streamingResponseHeaders.ts:14
↓ 5 callersFunctionassertCostTelemetryHeaders
(response: Response)
tests/unit/media-cost-headers-handlers.test.ts:41
↓ 5 callersFunctionassertErrorShape
(body: unknown)
tests/unit/services/end-to-end-shape.test.ts:74
↓ 5 callersFunctionassertInOrder
(source: string, labels: string[])
tests/unit/settings-ui-layout-static.test.ts:13
↓ 5 callersFunctionauthError
(status = 401)
src/app/api/v1/me/status/route.ts:13
↓ 5 callersFunctionautoSyncClaudeProfilesFromLiveCatalog
( request: Request, reason: string )
src/lib/cli-helper/claudeProfileAutoSync.ts:36
↓ 5 callersFunctionautoSyncCodexProfilesFromLiveCatalog
( request: Request, reason: string )
src/lib/cli-helper/codexProfileAutoSync.ts:36
↓ 5 callersFunctionbaseArgs
(overrides: Record<string, unknown> = {})
tests/unit/chatcore-plugin-onrequest.test.ts:19
↓ 5 callersFunctionbaseConfig
(overrides: Partial<HookConfig> & Pick<HookConfig, "name" | "code">)
tests/unit/middleware-hook-sandbox-5872.test.ts:23
↓ 5 callersFunctionboundedInt
(value: unknown, min: number, fallback: number)
open-sse/services/compression/engines/mcpAccessibility/constants.ts:41
↓ 5 callersFunctionbuildAliasEnvVar
(alias: string)
src/app/(dashboard)/dashboard/cli-code/components/customCliConfig.ts:30
↓ 5 callersFunctionbuildApiKeyCreateScopes
(options: CreateScopeOptions)
src/app/(dashboard)/dashboard/api-manager/apiManagerScopes.ts:20
↓ 5 callersFunctionbuildApiResponseFromPending
(id: string)
tests/unit/active-request-stream-chunks-lifecycle.test.ts:33
↓ 5 callersFunctionbuildAutostartCommand
()
tests/unit/autostart-cli-shorthand-3331.test.ts:15
↓ 5 callersFunctionbuildCatalogEntries
()
tests/unit/providers-free-tier-filter.test.ts:44
↓ 5 callersFunctionbuildClaudeAuthPayload
(connection: ClaudeConnectionLike)
tests/unit/claudeAuthFile.test.ts:85
↓ 5 callersFunctionbuildCloudflareWorkerScript
(relayAuth: string)
src/lib/proxyRelay/cloudflareWorkerScript.ts:25
↓ 5 callersFunctionbuildCloudflaredChildEnv
( sourceEnv: NodeJS.ProcessEnv = process.env, runtimeDirs: CloudflaredRuntimeDirs = getCloudflaredRuntimeD
src/lib/cloudflaredTunnel.ts:341
↓ 5 callersFunctionbuildCodexUsageQuotas
(dataValue: unknown)
open-sse/services/codexUsageQuotas.ts:163
↓ 5 callersFunctionbuildComboTestResult
(target, partial = {})
src/app/api/combos/test/route.ts:23
↓ 5 callersFunctionbuildCompletion
( text: string, overrides: Partial<PlannedResponse> & { model?: string } = {} )
tests/e2e/helpers/mockUpstreamServer.ts:39
↓ 5 callersFunctionbuildConsumptionCost
( usage: unknown, estimatedCost: number )
src/lib/quota/spendRecorder.ts:50
↓ 5 callersFunctionbuildDimensionsInfo
(pool: { connectionIds?: string[] }, globalUsedPercent: number)
tests/unit/quota-summed-budget.test.ts:179
↓ 5 callersFunctionbuildDiscordPayload
( event: WebhookEvent, data: Record<string, unknown> )
src/lib/webhooks/integrations/discord.ts:26
↓ 5 callersFunctionbuildEntry
( level: string, component: string, message: string, meta?: Record<string, unknown> )
src/shared/utils/structuredLogger.ts:88
↓ 5 callersFunctionbuildFailureUsageRecord
(opts: { provider: string | null | undefined; model: string | null | undefined; connectionId: string | n
open-sse/handlers/chatCore/failureUsage.ts:11
↓ 5 callersFunctionbuildMenuItems
(args: { port: number; autostartEnabled: boolean })
bin/cli/tray/tray.ts:60
↓ 5 callersFunctionbuildMockMigrationFiles
(startVersion, endVersion, prefix)
tests/unit/db-migration-runner.test.ts:113
↓ 5 callersFunctionbuildModelRequest
* Build the request URL + headers for a Vertex publisher-model action. * SA path → project-scoped regional endpoint + Bearer auth. * Express path
open-sse/executors/vertexMedia.ts:79
↓ 5 callersFunctionbuildModelSyncInternalHeaders
()
src/shared/services/modelSyncScheduler.ts:60
↓ 5 callersFunctionbuildNonStreamingResponseHeaders
( args: { provider: string | null | undefined; model: string | null | undefined; startTime: numb
open-sse/handlers/chatCore/nonStreamingResponseHeaders.ts:14
↓ 5 callersFunctionbuildOpenAIToolCallResponse
({ model = "gpt-4o-mini", toolName = "lookupWeather@1.0.0", toolCallId = "call_weather", argumentsObje
tests/integration/chat-pipeline.test.ts:127
↓ 5 callersFunctionbuildOpenCodeProviderConfig
({ baseUrl, apiKey, model, models, modelLabels, }: OpenCodeConfigInput)
src/shared/services/opencodeConfig.ts:41
↓ 5 callersFunctionbuildPassthroughAliasModels
( modelAliases: Record<string, string>, providerId: string )
src/shared/components/modelSelectModalHelpers.ts:24
↓ 5 callersFunctionbuildPatchRequest
(url, body)
tests/unit/provider-models-management-route.test.ts:22
↓ 5 callersFunctionbuildPostCallGuardrailContext
( args: { apiKeyInfo: unknown; body: unknown; clientRawRequest: { headers?: unknown; endpoint?:
open-sse/handlers/chatCore/postCallGuardrailContext.ts:16
↓ 5 callersFunctionbuildPrompt
(messages: OpenAIMessage[] | undefined)
open-sse/executors/gitlab.ts:66
↓ 5 callersFunctionbuildProviderOptions
( connections: ReadonlyArray<{ provider?: unknown }>, compare: (a: string, b: string) => number = (a, b) =
src/app/(dashboard)/dashboard/usage/components/ProviderLimits/utils.tsx:501
↓ 5 callersFunctionbuildRefreshFailureUpdate
(conn: any, now: string)
src/lib/tokenHealthCheck.ts:130
↓ 5 callersFunctionbuildSseResponse
(content: string)
tests/unit/ui/playground-chat-tab.test.tsx:79
↓ 5 callersFunctionbuildStepId
( kind: ComboStep["kind"], comboName: string | null, index: number, seed: string )
src/lib/combos/steps.ts:120
↓ 5 callersFunctionbuildStoreKey
(hash: string, principalId?: string)
open-sse/services/compression/engines/ccr/index.ts:83
↓ 5 callersFunctionbuildUsageCommandText
( metadata: UsageCommandApiKeyMetadata, deps: InternalUsageCommandDeps = {}, selection: UsageCommandSele
src/lib/usage/internalUsageCommand.ts:528
↓ 5 callersFunctionbyText
(el: HTMLElement, text: string)
tests/unit/ui/model-visibility-toolbar-free.test.tsx:37
↓ 5 callersFunctionbytezValidationResultFromStatus
(status: number)
src/lib/providers/validation.ts:165
↓ 5 callersFunctioncacheStillValid
(populatedAtTs: number, populatedAtVersion: number)
tests/unit/combo-cache-invalidation.test.ts:68
↓ 5 callersFunctioncalculateModalCost
( modality: Modality, provider: string, model: string, usage: ModalUsage )
src/lib/usage/costCalculator.ts:247
↓ 5 callersFunctioncalculateScore
(log: ExplainLog, targetStats: TargetStats)
src/lib/usage/routeExplain.ts:221
↓ 5 callersFunctioncallGET
(provider: string)
tests/unit/provider-models-v1-route.test.ts:27
↓ 5 callersFunctioncandidate
(over: Record<string, unknown> = {})
tests/unit/memory/typed-decay.test.ts:37
↓ 5 callersFunctioncaptureFetch
(reply: () => Response)
tests/unit/muse-spark-web-continuation.test.ts:29
↓ 5 callersFunctioncaptureFetch
(captured: { body?: Record<string, unknown> })
tests/unit/embeddings-gemini-dimensions.test.ts:19
↓ 5 callersFunctioncheck
(name: string, ok: boolean, failHint: string)
src/mitm/inspector/diagnostics.ts:34
↓ 5 callersMethodcheck
* Check all stored credentials for validity. * Makes a lightweight HEAD/GET request to the provider's home page.
open-sse/services/autoRefreshDaemon.ts:107
↓ 5 callersFunctioncheckAndUnlockBadge
* Check and unlock a specific badge.
src/lib/gamification/events.ts:117
↓ 5 callersFunctioncheckChatAdmission
( request: Request, heapOverride?: { heapUsedBytes: number; heapLimitBytes: number } )
src/shared/middleware/chatBodyAdmission.ts:118
↓ 5 callersFunctioncheckCodexStatus
()
src/app/(dashboard)/dashboard/cli-code/components/CodexToolCard.tsx:132
↓ 5 callersFunctioncheckComboOverride
( config: CompressionConfig, comboId: string | null )
open-sse/services/compression/strategySelector.ts:72
↓ 5 callersFunctioncheckConnection
(conn)
src/lib/tokenHealthCheck.ts:355
← previousnext →3,501–3,600 of 20,485, ranked by callers