MCPcopy Create free account

hub / github.com/diegosouzapw/OmniRoute / functions

Functions20,485 in github.com/diegosouzapw/OmniRoute

↓ 65 callersMethodtransaction
Retorna uma função que quando chamada executa fn em uma transação DEFERRED
src/lib/db/adapters/types.ts:22
↓ 63 callersFunctioncreateFile
(dir, name, content)
tests/unit/cli-runtime-detection.test.ts:25
↓ 63 callersMethodgetItem
(key: string)
src/app/(dashboard)/dashboard/api-manager/apiManagerPageStorage.ts:4
↓ 63 callersMethodinstall
* Install a plugin from a source directory. * Copies to a staging dir first, validates manifest.main containment, then * atomically renames into
src/lib/plugins/manager.ts:126
↓ 62 callersFunctionrequireCliToolsAuth
(request: Request)
src/lib/api/requireCliToolsAuth.ts:3
↓ 62 callersFunctiontoValidationErrorResult
(error: unknown)
src/lib/providers/validation/transport.ts:95
↓ 61 callersFunctioncallRoute
(connectionId, search = "")
tests/unit/provider-models-route.test.ts:47
↓ 61 callersFunctionerrorResponse
(statusCode: number, message: string)
open-sse/utils/error.ts:128
↓ 61 callersFunctionlogToolCall
( toolName: string, input: unknown, output: unknown, durationMs: number, success: boolean, errorCo
open-sse/mcp-server/audit.ts:336
↓ 60 callersFunctiongetModelSpec
(modelId: string)
src/shared/constants/modelSpecs.ts:463
↓ 59 callersFunctionhandleImageGeneration
({ body, credentials, log, resolvedProvider = null, signal = null, clientHeaders = null, })
open-sse/handlers/imageGeneration.ts:279
↓ 59 callersFunctionincrementRequestCount
(modelId: string)
open-sse/services/geminiRateLimitTracker.ts:135
↓ 59 callersMethodkill
* Kill a session and clean up.
src/lib/acp/manager.ts:159
↓ 59 callersFunctionseedConnection
(provider, overrides = {})
tests/unit/provider-models-route.test.ts:33
↓ 57 callersMethodpragma
(pragmaStr: string, options?: { simple?: boolean })
src/lib/db/adapters/types.ts:19
↓ 57 callersMethodsetItem
(key: string, value: string)
src/app/(dashboard)/dashboard/api-manager/apiManagerPageStorage.ts:8
↓ 56 callersFunctionclaudeToOpenAIResponse
(chunk, state)
open-sse/translator/response/claude-to-openai.ts:32
↓ 56 callersFunctionlogAuditEvent
(entry: { action: string; actor?: string; target?: string; details?: unknown; metadata?: unknown;
src/lib/compliance/index.ts:330
↓ 56 callersFunctionresolveStreamFlag
( bodyStream: unknown, acceptHeader: unknown, sourceFormat?: string, optionsOrUserAgent?: unknown )
open-sse/utils/aiSdkCompat.ts:75
↓ 55 callersFunctionrender
(props: ModelVisibilityToolbarProps)
src/app/(dashboard)/dashboard/providers/[id]/__tests__/modelVisibilityToolbarActiveCount.test.tsx:47
↓ 55 callersFunctionresetStorage
()
tests/unit/db-apiKeys-crud.test.ts:28
↓ 54 callersFunctiontoNumber
(value: unknown, fallback = 0)
open-sse/services/usage/scalars.ts:17
↓ 51 callersFunctionrunWithProxyContext
( proxyConfig, fn, opts?: { directFallbackOnUnreachable?: boolean } )
open-sse/utils/proxyFetch.ts:305
↓ 51 callersFunctionsanitizeReasoningEffortForProvider
( body: unknown, provider: string, model: string | undefined, log?: { info?: (tag: string, msg: string
open-sse/executors/base.ts:327
↓ 50 callersFunctionsetThinkingBudgetConfig
(config: Partial<ThinkingBudgetConfig>)
open-sse/services/thinkingBudget.ts:90
↓ 50 callersFunctiontoNumber
(value: unknown, fallback = 0)
open-sse/mcp-server/tools/advancedTools.ts:79
↓ 50 callersMethoduninstall
* Uninstall a plugin — deactivate, delete directory (containment-checked), remove from DB.
src/lib/plugins/manager.ts:463
↓ 49 callersFunctiongeminiToOpenAIResponse
(chunk, state)
open-sse/translator/response/gemini-to-openai.ts:293
↓ 49 callersFunctiongetModelsByProviderId
(providerId: string)
open-sse/config/providerModels.ts:71
↓ 49 callersFunctiontoRecord
(value: unknown)
open-sse/services/usage/scalars.ts:13
↓ 48 callersFunctionclearReasoningCacheAll
(provider?: string)
open-sse/services/reasoningCache.ts:416
↓ 48 callersFunctionsetConfig
(cfg: SystemPromptConfig)
open-sse/services/systemPrompt.ts:38
↓ 47 callersFunction__setTlsFetchOverrideForTesting
(fn: typeof testOverride)
open-sse/services/grokTlsClient.ts:237
↓ 47 callersFunctiongetModelInfoCore
( modelStr: string, aliasesOrGetter: ModelAliasMap | (() => Promise<ModelAliasMap>) | null )
open-sse/services/model.ts:636
↓ 47 callersFunctionresetDbInstance
()
src/lib/db/core.ts:1237
↓ 46 callersFunctionclassifyPromptIntent
(prompt: string, systemPrompt?: string)
open-sse/services/intentClassifier.ts:594
↓ 46 callersFunctiongetBatch
(id: string)
src/lib/db/batches.ts:165
↓ 46 callersFunctioninsertCompressionAnalyticsRow
(row: CompressionAnalyticsRow)
src/lib/db/compressionAnalytics.ts:127
↓ 46 callersFunctionprocessFrame
( payload: Buffer, ctx: StreamCtx, ackedExecIds: Set<string>, opts: { h2Req?: import("http2").Clie
open-sse/executors/cursor.ts:513
↓ 46 callersFunctionrecordComboRequest
( comboName: string, modelStr: string | null, { success, latencyMs, fallbackCount = 0, s
open-sse/services/comboMetrics.ts:244
↓ 46 callersFunctionsanitizePII
(text: string, isStreaming = false)
src/lib/piiSanitizer.ts:125
↓ 45 callersFunctionexportCode
(state: PlaygroundState, language: ExportLanguage)
src/lib/playground/codeExport.ts:390
↓ 45 callersMethodlist
(filters: { protocol?: string; country?: string; minQuality?: number; limit?: number; })
src/lib/freeProxyProviders/types.ts:27
↓ 45 callersFunctionmockFetch
(status: number, events: unknown[])
tests/unit/grok-web.test.ts:21
↓ 45 callersFunctionresetAllCircuitBreakers
()
src/shared/utils/circuitBreaker.ts:601
↓ 45 callersFunctionresolveResilienceSettings
( settings: Record<string, unknown> | null | undefined )
src/lib/resilience/settings.ts:253
↓ 45 callersFunctiontranslateOrFallback
(key: string, fallback: string)
src/app/(dashboard)/dashboard/translator/components/advanced/TestBenchAccordion.tsx:69
↓ 44 callersMethodabort
()
tests/unit/ui/playground-compare-tab.test.tsx:31
↓ 44 callersFunctionextractApiKey
(request: AuthRequestLike, opts?: { allowUrl?: boolean })
src/sse/services/auth.ts:2358
↓ 44 callersFunctionfulfillJson
(route: Route, body: unknown, status = 200)
tests/e2e/api-keys-flow.spec.ts:17
↓ 44 callersFunctiongetCircuitBreaker
(name: string, options?: CircuitBreakerOptions)
src/shared/utils/circuitBreaker.ts:533
↓ 44 callersFunctiongetCompressionSettings
()
src/lib/db/compression.ts:525
↓ 44 callersFunctionisProviderInCooldown
(provider: string | null | undefined)
open-sse/services/accountFallback.ts:842
↓ 44 callersMethodpush
* Append a new intercepted request. Applies kind detection and * context-key fingerprinting if missing, and clamps body sizes. * Broadcasts a `n
src/mitm/inspector/buffer.ts:97
↓ 44 callersFunctiontoggleSort
(field: string)
src/shared/components/UsageStats.tsx:62
↓ 44 callersFunctiontranslateRequest
( sourceFormat, targetFormat, model, body, stream = true, credentials = null, provider = null,
open-sse/translator/index.ts:149
↓ 43 callersFunctionparseModel
(modelStr: string | null | undefined)
open-sse/services/model.ts:375
↓ 43 callersFunctionreadProjectFile
(relPath: string)
tests/integration/integration-wiring.test.ts:17
↓ 43 callersFunctionresetForTests
()
bin/cli/i18n.mjs:102
↓ 43 callersFunctionsyncQuotaCombos
(poolId: string)
src/lib/quota/quotaCombos.ts:129
↓ 42 callersFunctionbuildRequest
(body: any)
tests/unit/guide-settings-route.test.ts:43
↓ 42 callersFunctionencodeMessage
(fieldNumber: number, parts: Buffer[])
open-sse/utils/cursorAgentProtobuf/wire.ts:39
↓ 42 callersFunctiongetRegistryEntry
(provider: string)
open-sse/config/providerRegistry.ts:174
↓ 42 callersFunctioninsertEntry
( model: string, source: string, category: string, score: number, opts: { eloRaw?: number | null
tests/unit/model-intelligence-db.test.ts:32
↓ 42 callersFunctionmatchesSearch
( text: string | null | undefined, query: string | null | undefined )
src/shared/utils/turkishText.ts:41
↓ 42 callersFunctionopenaiToClaudeRequest
(model, body, stream)
open-sse/translator/request/openai-to-claude.ts:200
↓ 42 callersFunctionseedConnection
(provider: string, overrides: Record<string, unknown> = {})
tests/unit/models-catalog-route.test.ts:28
↓ 41 callersFunctionapplyCompression
( body: Record<string, unknown>, mode: CompressionMode, options?: { model?: string; supportsVisi
open-sse/services/compression/strategySelector.ts:252
↓ 41 callersFunctiongetHooks
(event: string)
src/lib/plugins/hooks.ts:305
↓ 41 callersFunctiongetResolvedModelCapabilities
(input: CapabilityInput)
src/lib/modelCapabilities.ts:321
↓ 41 callersFunctionhandleCorsOptions
()
src/shared/utils/cors.ts:22
↓ 41 callersFunctionlookupReasoning
(toolCallId: string)
open-sse/services/reasoningCache.ts:286
↓ 41 callersFunctionparseQuotaModelName
( name: string, )
src/lib/quota/quotaModelNaming.ts:52
↓ 41 callersFunctionprintError
(message)
bin/cli/io.mjs:81
↓ 41 callersFunctionreadTransformed
(chunks, options)
tests/unit/stream-utils.test.ts:32
↓ 41 callersFunctionresolvePublicCred
(key: EmbeddedDefaultKey, envName?: string)
open-sse/utils/publicCreds.ts:194
↓ 41 callersMethodstart
()
src/types/global.d.ts:74
↓ 41 callersFunctiontoString
(value: unknown, fallback = "")
open-sse/translator/request/openai-responses.ts:50
↓ 40 callersMethodresetState
(token: string, queue?: PlannedResponse[])
tests/e2e/helpers/mockUpstreamServer.ts:111
↓ 40 callersFunctionupdateSettings
(updates: Record<string, unknown>)
src/lib/db/settings.ts:173
↓ 39 callersMethodacquire
Increment inflight counter and mark as used
open-sse/services/sessionPool/session.ts:81
↓ 39 callersMethodcancel
* Cancel the current login flow
electron/loginManager.js:339
↓ 39 callersMethodcleanup
()
tests/unit/_mocks/settings.ts:28
↓ 39 callersFunctiongetProviderCredentials
( provider: string, excludeConnectionId: string | null = null, allowedConnections: string[] | null = nul
src/sse/services/auth.ts:1048
↓ 39 callersFunctionhasColumn
(db: SqliteAdapter, tableName: string, columnName: string)
src/lib/db/migrationRunner.ts:304
↓ 39 callersMethodpoll
()
electron/loginManager.js:218
↓ 39 callersFunctionrowToCamel
(row: unknown)
src/lib/db/caseMapping.ts:31
↓ 38 callersFunctionclassifyTier
(provider: string, model: string)
open-sse/services/tierResolver.ts:21
↓ 38 callersMethodfail
* Mark as failed with an error. * @param {Error|string} error
src/sse/services/streamState.ts:138
↓ 38 callersFunctionhealthText
( t: HealthMessageTranslator, key: string, fallback: string, values?: Record<string, unknown> )
src/app/(dashboard)/dashboard/health/ProviderHealthMatrixCard.tsx:93
↓ 38 callersFunctionmakeErrorResult
(status: number, message: string, body: unknown)
open-sse/executors/inner-ai.ts:115
↓ 38 callersFunctionmakeKey
(overrides: Partial<ApiKeyShape> = {})
tests/unit/api-manager-filters.test.ts:19
↓ 37 callersMethodconnect
()
open-sse/executors/chipotle.ts:63
↓ 37 callersFunctioncreateLog
()
tests/unit/token-refresh-service.test.ts:51
↓ 37 callersFunctioncreateOmniRouteConfigHook
( opts?: OmniRoutePluginOptions, deps: { readAuthJson?: OmniRouteReadAuthJson; fetcher?: OmniRoute
@omniroute/opencode-plugin/src/index.ts:4342
↓ 37 callersMethodemit
(obj: JsonRecord)
open-sse/executors/trae.ts:273
↓ 37 callersFunctiongetFile
(id: string)
src/lib/db/files.ts:66
↓ 37 callersFunctionopenaiResponsesToOpenAIResponse
(chunk, state)
open-sse/translator/response/openai-responses.ts:696
↓ 37 callersFunctiontoString
(value: unknown)
src/lib/monitoring/providerHealthMatrix.ts:132
↓ 37 callersFunctionwithScopeEnforcement
( toolName: string, handler: (args: unknown, extra?: McpToolExtraLike) => Promise<TextToolResult>, toolS
open-sse/mcp-server/server.ts:432
← previousnext →101–200 of 20,485, ranked by callers