MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 2 callersFunctionensureGate
(semaphoreKey: string, maxConcurrency: number)
open-sse/services/accountSemaphore.ts:70
↓ 2 callersFunctionensureGlobal
(pattern: RegExp)
open-sse/services/compression/preservation.ts:28
↓ 2 callersFunctionensureMessageContentArray
(msg: ClaudeMessage)
open-sse/translator/helpers/claudeHelper.ts:198
↓ 2 callersFunctionensureMigrationsTable
* Ensure the schema_migrations tracking table exists.
src/lib/db/migrationRunner.ts:146
↓ 2 callersFunctionensureNonEmptyContent
(message)
open-sse/executors/bedrock.ts:192
↓ 2 callersFunctionensureProfilesDir
* Ensure profiles directory exists
src/app/api/cli-tools/codex-profiles/route.ts:31
↓ 2 callersFunctionensureProviderConnectionsColumns
(db: SqliteDatabase)
src/lib/db/schemaColumns.ts:15
↓ 2 callersFunctionensureResponsesFunctionCallItem
(outputItems, outputIndex, itemId, callId, name)
open-sse/handlers/sseParser.ts:592
↓ 2 callersFunctionensureResponsesMessageItem
(outputItems, outputIndex)
open-sse/handlers/sseParser.ts:546
↓ 2 callersFunctionensureResponsesReasoningItem
(outputItems, outputIndex, itemId)
open-sse/handlers/sseParser.ts:568
↓ 2 callersFunctionensureRuntimeDir
()
bin/cli/runtime/trayRuntime.ts:73
↓ 2 callersFunctionensureRuntimeDir
()
bin/cli/runtime/nativeDeps.mjs:25
↓ 2 callersFunctionensureTailscaleDir
()
src/lib/tailscaleTunnel.ts:155
↓ 2 callersFunctionensureVisibleResponsesReasoningSummary
(payload: Record<string, unknown>)
open-sse/utils/stream.ts:993
↓ 2 callersFunctionepochToDayKey
* Returns YYYY-MM-DD for a given epoch ms (local server time).
src/lib/audit/timeline.ts:32
↓ 2 callersFunctionerrorMessage
(error: unknown)
src/app/api/cache/route.ts:15
↓ 2 callersFunctionerrorMessage
(error: unknown)
src/app/api/cache/reasoning/route.ts:11
↓ 2 callersFunctionerrorResponse
(message: string, code: number, status = 400)
open-sse/mcp-server/httpTransport.ts:138
↓ 2 callersFunctionerrorResponse
(status: number)
tests/unit/combo-strict-random-distribution-3959.test.ts:48
↓ 2 callersFunctionescDq
(v: string)
src/lib/agentSkills/generator.ts:54
↓ 2 callersFunctioneslintCounts
()
scripts/quality/collect-metrics.mjs:19
↓ 2 callersFunctionestimateInputTokens
(body)
open-sse/utils/usageTracking.ts:466
↓ 2 callersFunctionestimateTokenCount
* Improved token estimation heuristic (no dependency). * Splits text on common token boundaries (whitespace, punctuation, camelCase) * and applies a
open-sse/utils/usageTracking.ts:438
↓ 2 callersFunctionevaluateAccessTokenAuth
(request: Request)
src/server/authz/accessTokenAuth.ts:47
↓ 2 callersFunctionevaluateFirstAllowed
(models: string[], baseRequest: Omit<PolicyRequest, "model">)
src/domain/policyEngine.ts:90
↓ 2 callersFunctionevaluateQuotaLimitPolicy
( provider: string, connection: ProviderConnectionView, requestedModel: string | null = null )
src/sse/services/auth.ts:487
↓ 2 callersFunctionevictContinuationIfNeeded
( cached: CachedConversation | null, cacheKey: string | null )
open-sse/executors/muse-spark-web.ts:1048
↓ 2 callersFunctionexchangeCodeForTokens
( authorizationCode: string, codeVerifier: string, clientId: string = DEFAULT_CLIENT_ID, signal?: Abor
src/lib/oauth/codexDeviceFlow.ts:243
↓ 2 callersFunctionexchangeQoderJobToken
( pat: string, options: { fetchImpl?: FetchLike; signal?: AbortSignal | null } = {} )
open-sse/services/qoderCli.ts:451
↓ 2 callersFunctionexec
(sql: string)
src/lib/db/adapters/sqljsAdapter.ts:187
↓ 2 callersFunctionexec
(command, args = [])
scripts/ad-hoc/dbsetup.js:16
↓ 2 callersMethodexecute
({ model, body, stream, credentials, signal, log, onCredentialsRefreshed, clie
open-sse/executors/chatgpt-web.ts:2772
↓ 2 callersMethodexecute
(fn: () => Promise<T>)
src/shared/utils/circuitBreaker.ts:234
↓ 2 callersMethodexecuteBase
(input: ExecuteInput)
open-sse/executors/deepseek-web-with-auto-refresh.ts:124
↓ 2 callersFunctionexecuteChatWithBreaker
({ bypassCircuitBreaker, breaker, body, provider, model, refreshedCredentials, proxyInfo, appl
src/sse/handlers/chatHelpers.ts:360
↓ 2 callersFunctionexecuteComboWithFailure
()
tests/unit/model-lockout-max-cooldown.test.ts:142
↓ 2 callersFunctionexecuteFetch
()
src/shared/network/safeOutboundFetch.ts:290
↓ 2 callersMethodexecuteInSandbox
(skillName: string, input: any, context: any)
src/lib/skills/hybrid.ts:56
↓ 2 callersFunctionexecuteWithUpstreamStartTimeout
({ executor, provider, model, signal, log, execute, }: { executor: unknown; provider: string;
open-sse/handlers/chatCore/upstreamTimeouts.ts:99
↓ 2 callersFunctionexecutor
(args)
tests/unit/pipeline.test.ts:221
↓ 2 callersFunctionexistsSyncFn
(p: string)
tests/unit/mcp-server-entry.test.ts:14
↓ 2 callersFunctionexitWithError
(message)
bin/reset-password.mjs:33
↓ 2 callersFunctionexpandHome
(p: string)
src/lib/cli-helper/tool-detector.ts:68
↓ 2 callersFunctionexpandRuntimeStep
( step: ComboRuntimeStep, allCombos: ComboCollectionLike, visited = new Set<string>(), depth = 0, pa
open-sse/services/combo/comboStructure.ts:224
↓ 2 callersFunctionexpectLiveWsOpen
(headers: Record<string, string>)
tests/integration/live-ws-startup.test.ts:119
↓ 2 callersFunctionexpectedInternalUrl
(pathname: string)
tests/unit/combo-test-route.test.ts:42
↓ 2 callersMethodexpire
(key: string, seconds: number)
src/lib/quota/redisQuotaStore.ts:37
↓ 2 callersFunctionexplainRouteByRequestId
( requestId: string )
src/lib/usage/routeExplain.ts:659
↓ 2 callersMethodexport
()
src/types/sqljs.d.ts:18
↓ 2 callersFunctionexportAllLanguages
(state: PlaygroundState)
src/lib/playground/codeExport.ts:402
↓ 2 callersFunctionextractBearer
(request: Request)
src/server/authz/accessTokenAuth.ts:28
↓ 2 callersFunctionextractBuildId
(url)
public/sw.js:46
↓ 2 callersFunctionextractClientJwt
(rawApiKey: string)
open-sse/executors/adapta-web.ts:57
↓ 2 callersFunctionextractCodeBlocks
(text: string)
tests/golden-set/compression-quality.test.ts:21
↓ 2 callersFunctionextractContent
( eventStream: ReadableStream<Uint8Array>, isThinkingModel: boolean, toolRegistry: GrokToolRegistry, s
open-sse/executors/grok-web.ts:1156
↓ 2 callersFunctionextractContent
( eventStream: ReadableStream<Uint8Array>, signal?: AbortSignal | null )
open-sse/executors/perplexity-web.ts:447
↓ 2 callersFunctionextractContent
( eventStream: ReadableStream<Uint8Array>, signal?: AbortSignal | null )
open-sse/executors/chatgpt-web.ts:1341
↓ 2 callersFunctionextractCookieValue
(cookie: string, name: string)
open-sse/executors/gemini-business.ts:396
↓ 2 callersFunctionextractDeltaContent
(line: string)
src/app/(dashboard)/dashboard/media-providers/components/LlmChatCard.tsx:87
↓ 2 callersFunctionextractDocApiPaths
(src)
scripts/check/check-docs-symbols.mjs:153
↓ 2 callersFunctionextractDomain
(url: string)
tests/unit/tokenExtractionConfig.test.ts:68
↓ 2 callersFunctionextractEntities
(text: string)
open-sse/services/compression/harness/measure.ts:49
↓ 2 callersFunctionextractErrorMessage
(value: unknown)
src/shared/utils/upstreamError.ts:82
↓ 2 callersFunctionextractFencedCodeBlocks
(text: string, addBlock: (content: string) => string)
open-sse/services/compression/preservation.ts:175
↓ 2 callersFunctionextractFirstField
(validationError: { message: string; details: Array<{ field: string; message: string }>; })
tests/unit/api/combo-002-first-field.test.ts:79
↓ 2 callersFunctionextractI18nMirrorBody
(content)
scripts/check/check-docs-sync.mjs:56
↓ 2 callersFunctionextractImagePointers
* Pull image asset pointers out of a multimodal_text parts array. * * For text-only messages parts is `["text..."]` and this returns `[]`. For * `i
open-sse/executors/chatgpt-web.ts:1329
↓ 2 callersFunctionextractJulesResult
(outputs: unknown)
src/lib/cloudAgent/agents/jules.ts:91
↓ 2 callersFunctionextractLastRoleText
(items: unknown, role: string)
src/lib/usage/internalUsageCommand.ts:192
↓ 2 callersFunctionextractLatestResponsesWsInputText
(input: unknown)
src/app/api/internal/codex-responses-ws/route.ts:115
↓ 2 callersFunctionextractMarkdownImageUrls
(text: string)
open-sse/handlers/imageGeneration/providers/chatgptWeb.ts:13
↓ 2 callersFunctionextractNumericUserParam
(text: string, names: string[])
open-sse/executors/grok-web.ts:643
↓ 2 callersFunctionextractOllamaUsagePercent
(trackHtml: string)
open-sse/services/opencodeOllamaUsage.ts:470
↓ 2 callersFunctionextractPath
Extract a file path from a tool input object across common field names.
open-sse/services/compression/engines/readLifecycle/index.ts:60
↓ 2 callersFunctionextractRefs
Regex-extract every [ref=eNN] anchor from a blob, as a sorted unique list.
tests/unit/compression/mcpAccessibility-anchors.test.ts:7
↓ 2 callersFunctionextractResolvedProxyConfig
(resolvedProxy: unknown)
src/lib/tokenHealthCheck.ts:54
↓ 2 callersFunctionextractResponsesWsItemText
(value: unknown)
src/app/api/internal/codex-responses-ws/route.ts:96
↓ 2 callersFunctionextractStringLiterals
(code)
scripts/check/check-db-rules.mjs:183
↓ 2 callersFunctionextractStructuredReasoning
(value: object | undefined)
open-sse/executors/grok-web.ts:1133
↓ 2 callersFunctionextractTailscaleEnableUrl
(text: string)
src/lib/tailscaleTunnel.ts:416
↓ 2 callersFunctionextractTailscaleFunnelUrl
(text: string)
src/lib/tailscaleTunnel.ts:421
↓ 2 callersFunctionextractText
Extract plain text from an OpenAI message content (string or content-parts array).
open-sse/executors/adapta-web.ts:189
↓ 2 callersFunctionextractText
(content: unknown)
open-sse/services/taskAwareRouter.ts:211
↓ 2 callersFunctionextractTextContent
(msg: Record<string, unknown>)
open-sse/executors/grok-web.ts:131
↓ 2 callersFunctionextractTextFromContent
(content: unknown)
open-sse/services/roleNormalizer.ts:97
↓ 2 callersFunctionextractTextParts
(value: unknown)
src/lib/evals/runtime.ts:92
↓ 2 callersFunctionextractTierSuffix
(modelId: string)
src/lib/vscode/familyFirstModelIds.ts:22
↓ 2 callersFunctionextractTime
(text: string)
open-sse/services/opencodeOllamaUsage.ts:485
↓ 2 callersFunctionextractToken
(request: Request)
src/app/api/v1/relay/chat/completions/relaySecurity.ts:19
↓ 2 callersFunctionextractUsageCommandApiKey
(request: Request)
src/lib/usage/internalUsageCommand.ts:143
↓ 2 callersFunctionfailedMediaGenerationResponse
( result: MediaGenerationResult, fallbackMessage: string )
src/app/api/v1/_shared/mediaGenerationRoute.ts:124
↓ 2 callersFunctionfakeClient
(verdictLine: string, usdPerCall: number)
tests/unit/compression/fidelityCheck.test.ts:5
↓ 2 callersFunctionfakeEngine
(id: string, compressed: boolean, orig: number, comp: number)
tests/unit/compression/compression-step-streaming.test.ts:69
↓ 2 callersFunctionfakeReq
Create a simple IncomingMessage-like object for unit tests.
tests/unit/webdav-server-3485.test.ts:54
↓ 2 callersFunctionfakeSocket
()
tests/unit/responses-ws-proxy-headers.test.mjs:20
↓ 2 callersFunctionfakeStream
(tag: string, log: string[])
tests/unit/chatcore-streaming-pipeline.test.ts:15
↓ 2 callersFunctionfetchAgentBridgeConfig
()
src/lib/inspector/agentBridgeMaintenanceApi.ts:59
↓ 2 callersFunctionfetchAndPersistProviderLimits
( connectionId: string, source: SyncSource = "manual", opts: { allowRotatingRefresh?: boolean } = {} )
src/lib/usage/providerLimits.ts:751
↓ 2 callersFunctionfetchAuditEntries
(sources, params)
bin/cli/commands/audit.mjs:43
↓ 2 callersFunctionfetchBedrockJson
( fetcher: BedrockNativeFetch, url: string, apiKey: string, init: RequestInit = {} )
open-sse/services/bedrock.ts:73
← previousnext →7,601–7,700 of 20,485, ranked by callers