MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 4 callersFunctioncheckIdempotencyCache
({ clientRawRequest, provider, model, effectiveServiceTier, startTime, log, }: { clientRawReques
open-sse/handlers/chatCore/idempotency.ts:11
↓ 4 callersFunctioncheckIpRateLimit
(tokenId: string, ip: string)
src/app/api/v1/relay/chat/completions/relaySecurity.ts:44
↓ 4 callersFunctioncheckKiloStatus
()
src/app/(dashboard)/dashboard/cli-code/components/KiloToolCard.tsx:122
↓ 4 callersFunctioncheckMcpToolsHaveScopes
(tools: McpToolLike[])
scripts/check/check-known-symbols.ts:224
↓ 4 callersFunctioncheckOpenclawStatus
()
src/app/(dashboard)/dashboard/cli-code/components/OpenClawToolCard.tsx:109
↓ 4 callersFunctioncheckedLen
(len: bigint, pos: number, buf: Buffer)
open-sse/utils/cursorAgentProtobuf/wire.ts:89
↓ 4 callersFunctionchmodSystrayBinAt
(runtimeRoot: string, platform: NodeJS.Platform)
bin/cli/runtime/trayRuntime.ts:34
↓ 4 callersFunctionchunk
(delta: object, finish?: string | null)
open-sse/executors/t3-chat-web.ts:153
↓ 4 callersFunctionchunk
(delta: object, finish?: string)
open-sse/executors/adapta-web.ts:253
↓ 4 callersFunctionclampCallId
(id: string)
open-sse/translator/request/openai-responses.ts:42
↓ 4 callersFunctionclampPercent
(value: number | null)
src/lib/db/quotaResetEvents.ts:59
↓ 4 callersFunctionclassifyModelScope429
( errorText: string, headers: Record<string, string> )
open-sse/services/modelscopePolicy.ts:68
↓ 4 callersFunctionclassifyResponse
(response)
bin/cli/provider-test.mjs:82
↓ 4 callersFunctionclassifyRunError
(err, timeoutMs)
scripts/quality/validate-release-green.mjs:129
↓ 4 callersFunctioncleanup
()
src/app/api/tools/traffic-inspector/ws/route.ts:121
↓ 4 callersFunctioncleanup
()
tests/unit/capture-critical-db-state.test.ts:16
↓ 4 callersFunctioncleanupClientAbortListener
()
open-sse/utils/streamHandler.ts:252
↓ 4 callersFunctioncleanupDb
()
tests/unit/transform-stream-hwm.test.ts:16
↓ 4 callersFunctioncleanupOldSnapshotsForTest
(db: Database.Database, retentionDays = 90)
src/lib/db/__tests__/quotaSnapshots.test.ts:178
↓ 4 callersFunctioncleanupOverflowCallLogFiles
(baseDir = CALL_LOGS_DIR, maxEntries?: number)
src/lib/usage/callLogs.ts:370
↓ 4 callersFunctioncleanupTempPath
(path: string)
open-sse/services/grokTlsClient.ts:444
↓ 4 callersFunctionclearCooldownState
()
open-sse/services/providerCooldownTracker.ts:189
↓ 4 callersFunctionclearDetectedLimits
()
open-sse/services/toolLimitDetector.ts:80
↓ 4 callersFunctionclearIdleTimer
()
src/lib/services/embedWsProxy.ts:181
↓ 4 callersFunctionclearNotionToken
()
src/lib/db/notion.ts:33
↓ 4 callersFunctionclearPidFile
()
src/lib/cloudflaredTunnel.ts:240
↓ 4 callersFunctionclearResults
()
src/app/(dashboard)/dashboard/playground/components/tabs/ApiTab.tsx:343
↓ 4 callersFunctionclearSkillRegistry
()
tests/unit/skills-routes.test.ts:16
↓ 4 callersFunctionclearStoredCaPath
()
tests/unit/mitm-upstream-ca-wiring.test.ts:57
↓ 4 callersFunctionclearSystemProxy
()
src/lib/inspector/captureState.ts:72
↓ 4 callersFunctionclearTokenCache
()
tests/theoldllm-stress.test.ts:32
↓ 4 callersMethodclient
()
src/lib/quota/redisQuotaStore.ts:114
↓ 4 callersFunctionclientWantsJsonResponse
(acceptHeader: unknown)
open-sse/utils/aiSdkCompat.ts:37
↓ 4 callersFunctionclose
(server)
tests/unit/responses-ws-proxy.test.mjs:16
↓ 4 callersFunctioncloseLogRotation
()
src/lib/logRotation.ts:201
↓ 4 callersFunctioncoerceBoolean
(value: unknown)
src/lib/db/backup.ts:214
↓ 4 callersFunctioncoerceDisabledGuardrails
(value: unknown)
src/lib/guardrails/registry.ts:32
↓ 4 callersFunctioncoerceProxyPayload
(value: unknown, fallbackName: string)
src/lib/db/proxies/mappers.ts:113
↓ 4 callersFunctioncollectDbModules
(dbDir = DB_DIR)
scripts/check/check-db-rules.mjs:113
↓ 4 callersFunctioncollectDoctorChecks
(context = {}, options = {})
bin/cli/commands/doctor.mjs:397
↓ 4 callersFunctioncollectPassthroughTextualToolCall
( text: string, toolCalls: Map<string, ToolCall>, allowedToolNames?: Set<string> | null )
open-sse/utils/stream.ts:232
↓ 4 callersFunctioncollectStreamOutput
( readable: ReadableStream<Uint8Array>, timeoutMs = 2000 )
tests/unit/transform-stream-hwm.test.ts:33
↓ 4 callersFunctioncollectText
* 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 callersFunctioncollectText
(stream: ReadableStream<Uint8Array>)
tests/unit/stream-continuation-wiring.test.ts:35
↓ 4 callersFunctioncolor
(i)
scripts/research/gen-budget-card-svg.mjs:49
↓ 4 callersFunctioncolorize
(text, code)
bin/cli/commands/redis.mjs:70
↓ 4 callersFunctioncommandCodeStream
(lines: unknown[])
tests/unit/command-code-user-array-5166.test.ts:29
↓ 4 callersFunctioncompatProtocolLabelKey
(protocol: string)
src/app/(dashboard)/dashboard/providers/[id]/providerPageHelpers.ts:740
↓ 4 callersFunctioncompilePatterns
(patterns: string[])
open-sse/services/compression/engines/rtk/lineFilter.ts:34
↓ 4 callersFunctioncomposerReasoningRemainder
(thinking: string)
open-sse/executors/cursor.ts:362
↓ 4 callersFunctioncompressMcpRegistryMetadata
( metadata: T, options: DescriptionCompressionOptions = {} )
open-sse/mcp-server/descriptionCompressor.ts:158
↓ 4 callersFunctioncompressText
(text: string)
tests/golden-set/compression-quality.test.ts:31
↓ 4 callersFunctioncompressToolResults
(body: ChatBody)
open-sse/services/compression/lite.ts:108
↓ 4 callersFunctioncomputeAdvertisedLimits
(candidates: Array<{ provider: string; model: string }>)
open-sse/services/autoCombo/virtualFactory.ts:200
↓ 4 callersFunctioncomputeAudioCost
( pricing: ModalPricing | null | undefined, usage: { seconds?: number; characters?: number } )
src/lib/usage/costCalculator.ts:190
↓ 4 callersFunctioncomputeImageCost
( pricing: ModalPricing | null | undefined, usage: { n?: number } )
src/lib/usage/costCalculator.ts:179
↓ 4 callersFunctioncomputeSavings
( fullBody: Record<string, unknown>, compressedBody: Record<string, unknown>, costPerKTokenIn?: number )
open-sse/services/compression/eval/savings.ts:16
↓ 4 callersFunctioncomputeVirtualItems
( items: string[], heights: Map<number, number>, scrollTop: number, containerHeight: number )
tests/unit/ui/use-virtual-list.test.tsx:10
↓ 4 callersFunctionconfigureProperties
()
tests/helpers/propertyConfig.ts:11
↓ 4 callersFunctionconnLabel
(c: Connection)
src/app/(dashboard)/dashboard/costs/quota-share/components/PoolWizard.tsx:217
↓ 4 callersFunctioncontentChunks
(chunks: unknown[])
tests/unit/think-close-marker-suppress-5245.test.ts:99
↓ 4 callersFunctionconvWithAssistantText
A single finished assistant turn whose text is `parts`.
tests/unit/chatgpt-web-tools-5240.test.ts:34
↓ 4 callersFunctionconvertCursorToOpenAI
(chunk, state)
open-sse/translator/response/cursor-to-openai.ts:13
↓ 4 callersFunctionconvertOpenAIResponseToGemini
( response: Response, model: string )
open-sse/translator/response/openai-to-gemini-sse.ts:265
↓ 4 callersFunctionconvertResponsesApiFormat
(body, credentials = null)
open-sse/translator/helpers/responsesApiHelper.ts:7
↓ 4 callersFunctioncooldownKey
* Build a cooldown key from provider and optional connectionId.
open-sse/services/providerCooldownTracker.ts:66
↓ 4 callersFunctioncountArenaEloEntries
()
tests/unit/arena-elo-sync.test.ts:120
↓ 4 callersFunctioncountEncryptedCredentials
(db: DbInstance = getDbInstance())
src/lib/db/recovery.ts:13
↓ 4 callersFunctioncountFiles
(dir, suffix = ".ts")
scripts/check/check-docs-counts-sync.mjs:40
↓ 4 callersMethodcreateAction
( comboId: string, actionType: HealActionType, modelId: string, providerId: string, reason
src/domain/assessment/selfHealer.ts:242
↓ 4 callersFunctioncreateComboInput
(overrides = {})
tests/unit/composite-tiers-validation.test.ts:6
↓ 4 callersFunctioncreateConnection
(isActive: boolean)
tests/unit/providers-batch-update.test.ts:30
↓ 4 callersFunctioncreateCooldownConnection
(provider = PROVIDER)
tests/unit/provider-health-autopilot.test.ts:39
↓ 4 callersFunctioncreateDateFormatter
(locale: string, options: Intl.DateTimeFormatOptions)
src/shared/components/analytics/charts.tsx:20
↓ 4 callersFunctioncreateEmptySuiteDraft
()
src/app/(dashboard)/dashboard/usage/components/EvalsTab.tsx:230
↓ 4 callersFunctioncreateForward
( connectRaw: (ip: string, port: number) => net.Socket, opts: { rejectUnauthorized?: boolean } = {} )
src/mitm/tproxy/tlsCapture.ts:302
↓ 4 callersFunctioncreateLocalTextResponse
(request: Request, body: unknown, text: string)
src/lib/usage/internalUsageCommand.ts:721
↓ 4 callersFunctioncreateLog
()
tests/unit/t23-t24-fallback-resilience.test.ts:12
↓ 4 callersFunctioncreateManager
(ttlMinutes = 5)
open-sse/mcp-server/__tests__/a2aLifecycle.test.ts:7
↓ 4 callersFunctioncreateManager
(ttlMinutes = 5)
tests/unit/t09-a2a-lifecycle.test.ts:9
↓ 4 callersFunctioncreateMiddlewareHook
(config: HookConfig)
src/lib/db/middleware.ts:100
↓ 4 callersFunctioncreateNoopAbortWritable
()
open-sse/utils/streamHandler.ts:444
↓ 4 callersFunctioncreatePatchRequest
(body: unknown)
src/app/api/settings/__tests__/settings.test.ts:17
↓ 4 callersFunctioncreatePlainUsageCommandResponse
(text: string, status = 200)
src/lib/usage/internalUsageCommand.ts:591
↓ 4 callersFunctioncreateSession
(name?: string)
tests/integration/traffic-inspector-session-requests.test.ts:35
↓ 4 callersFunctioncreateSqliteNativeError
(error)
bin/cli/sqlite.mjs:14
↓ 4 callersFunctioncreateStateDb
(dir, version)
tests/unit/cursor-version-detector.test.mjs:12
↓ 4 callersFunctioncreateStreamingErrorResult
( statusCode: number, message: string, code?: string, type?: string )
open-sse/handlers/chatCore/streamErrorResult.ts:22
↓ 4 callersFunctioncreateSyncServerClient
(syncToken: string, baseUrl?: string)
src/lib/obsidian/api.ts:352
↓ 4 callersFunctioncreateValidBatch
(prefix: string)
tests/unit/batch-processor.test.ts:497
↓ 4 callersFunctioncreateVirtualAutoCombo
( variant: AutoVariant | undefined, spec?: AutoComboSpec )
open-sse/services/autoCombo/virtualFactory.ts:226
↓ 4 callersFunctioncredentialsWithProxies
()
tests/unit/opencode-proxy-rotation-4954.test.ts:60
↓ 4 callersFunctiondebugLogDir
()
@omniroute/opencode-plugin/src/index.ts:4054
↓ 4 callersFunctiondebugLogPath
(providerId: string)
@omniroute/opencode-plugin/src/index.ts:4061
↓ 4 callersFunctiondecodeAgentServerMessage
(payload: Buffer)
open-sse/utils/cursorAgentProtobuf.ts:553
↓ 4 callersFunctiondecodeChunk
(value)
tests/unit/sse-heartbeat-integration.test.ts:9
↓ 4 callersFunctiondecodeJwtPayload
Decode JWT payload without verifying signature.
open-sse/executors/inner-ai.ts:78
↓ 4 callersFunctiondecodeKvServerEvent
(payload: Buffer)
open-sse/utils/cursorAgentProtobuf.ts:647
↓ 4 callersFunctiondedupSystemPrompt
( body: ChatBody, options: LiteCompressionOptions = {} )
open-sse/services/compression/lite.ts:84
↓ 4 callersFunctiondeepMergeCompatByProtocol
( prev: CompatByProtocolMap | undefined, patch: Partial<Record<ModelCompatProtocolKey, Partial<ModelCompat
src/lib/db/models/compat.ts:67
← previousnext →4,401–4,500 of 20,485, ranked by callers