MCPcopy Create free account

hub / github.com/ding113/claude-code-hub / functions

Functions6,623 in github.com/ding113/claude-code-hub

↓ 1 callersMethodresolveLayoutTimeZone
()
tests/unit/public-status/layout-metadata.test.ts:25
↓ 1 callersFunctionresolveLongContextPricing
( priceData: ModelPriceData )
src/lib/utils/cost-calculation.ts:133
↓ 1 callersFunctionresolveManualPricing
( record: ModelPrice, modelName: string | null )
src/lib/utils/pricing-resolution.ts:257
↓ 1 callersFunctionresolveMaxAttemptsForProvider
( provider: ProxySession["provider"], envDefault: number )
src/app/v1/_lib/proxy/forwarder.ts:458
↓ 1 callersFunctionresolveMessageWaiter
()
src/app/v1/_lib/responses-ws/upstream-adapter.ts:623
↓ 1 callersMethodresolvePreAuthCandidateKey
(headers: { authHeader?: string; apiKeyHeader?: string; geminiApiKeyHeader?: string; geminiApi
src/app/v1/_lib/proxy/auth-guard.ts:128
↓ 1 callersFunctionresolvePricingKeyCandidates
( provider: Provider | null | undefined, modelName: string | null | undefined, priceData?: ModelPriceDat
src/lib/utils/pricing-resolution.ts:134
↓ 1 callersFunctionresolveProbeMethod
()
src/lib/provider-endpoints/probe.ts:35
↓ 1 callersMethodresolveRedisClient
()
src/lib/auth-session-store/redis-session-store.ts:112
↓ 1 callersMethodresolveRedisClient
()
src/lib/redis/redis-kv-store.ts:40
↓ 1 callersFunctionresolveRequestContext
()
src/lib/audit/request-context.ts:52
↓ 1 callersFunctionresolveRotateTtlSeconds
(expiresAt: number)
src/lib/auth-session-store/redis-session-store.ts:88
↓ 1 callersFunctionresolveSessionEndpointPolicy
(requestUrl: URL)
src/app/v1/_lib/proxy/session.ts:1121
↓ 1 callersFunctionresolveSessionTokenMode
()
src/app/api/auth/logout/route.ts:31
↓ 1 callersFunctionresolveSiteMetadataSource
()
src/lib/public-status/layout-metadata.ts:1
↓ 1 callersFunctionresolveSourceFile
( fromFile: string, specifier: string, fileSet: Set<string> )
tests/unit/frontend/no-client-actions-import.test.ts:143
↓ 1 callersMethodresolveStreamingHedgeEndpoint
( session: ProxySession, provider: Provider )
src/app/v1/_lib/proxy/forwarder.ts:4622
↓ 1 callersFunctionresolveTopLevel
(candidate: ModelRecordCandidate)
src/lib/utils/pricing-resolution.ts:351
↓ 1 callersFunctionresolveVersionlessOpenAiFallbackUrl
( config: ProviderTestConfig, requestUrl: string, responseStatus: number, responseBody: string, fall
src/lib/provider-testing/test-service.ts:170
↓ 1 callersFunctionresolveWindowMode
( mode: string | null | undefined, intervalMinutes: number )
src/lib/notification/tasks/cache-hit-rate-alert.ts:44
↓ 1 callersFunctionresolveWindowsBashCommand
()
tests/helpers/bash.ts:43
↓ 1 callersFunctionresolveZoom
(accuracyRadiusKm: number | null)
src/app/[locale]/dashboard/_components/ip-details/location-map-card.tsx:7
↓ 1 callersFunctionrestoreAuthEnv
()
tests/security/full-security-regression.test.ts:38
↓ 1 callersFunctionrestoreEnv
(snapshot: EnvSnapshot)
tests/unit/drizzle/db-pool-config.test.ts:13
↓ 1 callersFunctionrestoreEnv
()
tests/unit/lib/undici-timeouts.test.ts:21
↓ 1 callersFunctionrestoreEnv
(snapshot: EnvSnapshot)
tests/unit/repository/message-write-buffer.test.ts:13
↓ 1 callersFunctionrestoreRedactedHeaderValues
( incoming: Record<string, string>, existing: Record<string, string> )
src/app/api/v1/resources/providers/handlers.ts:706
↓ 1 callersFunctionrestoreRedactedHeaderValues
( incoming: Record<string, string>, existing: Record<string, string> )
src/app/api/v1/resources/webhook-targets/handlers.ts:209
↓ 1 callersFunctionrestoreSessionTokenModeEnv
()
tests/security/session-contract.test.ts:5
↓ 1 callersFunctionrestoreSoftDeletedEndpointForProvider
( tx: ProviderTransaction, provider: ProviderRestoreCandidate, now: Date )
src/repository/provider.ts:59
↓ 1 callersFunctionresubscribeAll
(sub: Redis)
src/lib/redis/pubsub.ts:37
↓ 1 callersMethodrevoke
(sessionId: string)
src/lib/auth-session-store/redis-session-store.ts:191
↓ 1 callersFunctionrewriteOpenAiVersionedPath
( pathname: string, versionedPath: string, versionlessPath: string )
src/lib/provider-testing/utils/test-prompts.ts:236
↓ 1 callersFunctionriskLevelLabel
(t: T, level: ReturnType<typeof asRiskLevel>)
src/app/[locale]/dashboard/_components/ip-details/hero.tsx:69
↓ 1 callersMethodrollback
(undo: UndoLog)
src/lib/vacuum-filter/vacuum-filter.ts:551
↓ 1 callersFunctionrun
(argv)
scripts/audit-settings-placeholders.js:217
↓ 1 callersFunctionrun
(argv)
scripts/audit-messages-no-emoji.js:91
↓ 1 callersFunctionrunCleanup
( redis: Redis, providers: ProviderRecord[], dryRun: boolean )
scripts/clear-session-bindings.ts:830
↓ 1 callersFunctionrunLegacyUpdateFallbacks
( executor: SystemSettingsMutationExecutor, settingsId: number, prunedUpdates: Partial<typeof systemSett
src/repository/system-config.ts:501
↓ 1 callersFunctionrunPublicStatusRebuild
(input: { flightKey: string; computeGeneration: () => Promise<PublicStatusRebuildResult>; })
src/lib/public-status/rebuild-worker.ts:282
↓ 1 callersFunctionrunSingleAttempt
( config: ProviderTestConfig, plan: AttemptPlan, timeoutMs: number, slowThresholdMs: number, fallbac
src/lib/provider-testing/test-service.ts:192
↓ 1 callersFunctionrunUsageLogsExportJob
( jobId: string, filters: Omit<UsageLogFilters, "page" | "pageSize">, format: UsageLogsExportFormat )
src/actions/usage-logs.ts:218
↓ 1 callersFunctionrunVacuum
* Run VACUUM ANALYZE to reclaim disk space after deletions. * NOTE: VACUUM cannot run inside a PostgreSQL transaction block. * Drizzle's db.execute(
src/lib/log-cleanup/service.ts:291
↓ 1 callersFunctionsafeClosePostgres
(client: PostgresClient | null)
scripts/clear-session-bindings.ts:308
↓ 1 callersFunctionsafeCloseRedis
(redis: Redis | null)
scripts/clear-session-bindings.ts:299
↓ 1 callersFunctionsafeEqual
(signature: string, expected: Buffer)
src/lib/api/v1/_shared/csrf.ts:63
↓ 1 callersFunctionsafeEquals
* Constant-time secret compare to avoid trivial timing oracles. The secret * is short (UUID), so this is just hygiene; the real protection is that th
src/app/v1/_lib/responses-ws/internal-secret.ts:81
↓ 1 callersFunctionsafeGetScopedAuthSession
()
src/lib/audit/emit.ts:10
↓ 1 callersFunctionsafeHostnameFromUrl
(input: string)
src/app/[locale]/dashboard/availability/_components/endpoint/probe-grid.tsx:67
↓ 1 callersFunctionsafeJsonParse
(text: string)
src/components/ui/code-display.tsx:44
↓ 1 callersFunctionsafeNumberOnChange
( onValidNumber: (value: number) => void, constraints: NumberInputConstraints = {} )
src/app/[locale]/settings/notifications/_components/notification-type-card.tsx:106
↓ 1 callersFunctionsafeUrlHost
(providerUrl?: string | null)
src/app/v1/_lib/headers.ts:46
↓ 1 callersFunctionsafeUtf8
(bytes: Buffer)
src/app/v1/_lib/proxy/thinking-signature-model.ts:106
↓ 1 callersFunctionsanitizeBackfillVendorScope
(vendorIds: number[] | undefined)
src/repository/provider-endpoints.ts:1691
↓ 1 callersFunctionsanitizeBucketSizeMinutes
( explicitBucketSize: number | undefined, timeRangeMinutes: number, maxBuckets: number )
src/lib/availability/availability-service.ts:243
↓ 1 callersFunctionsanitizeErrorTextForLogging
(text: string, maxLength = 500)
src/actions/providers.ts:3383
↓ 1 callersFunctionsanitizeExtraPriceData
(value: unknown, path = "")
src/actions/model-prices.ts:620
↓ 1 callersFunctionsanitizeGroupSnapshots
(input: unknown)
src/lib/public-status/read-store.ts:171
↓ 1 callersFunctionsanitizeLegacyNotificationBindingResponse
(binding: T)
src/lib/api/legacy-action-sanitizers.ts:115
↓ 1 callersFunctionsanitizeLegacyProviderResponse
( provider: T )
src/lib/api/legacy-action-sanitizers.ts:59
↓ 1 callersFunctionsanitizeMaxBuckets
(maxBuckets: number | undefined)
src/lib/availability/availability-service.ts:283
↓ 1 callersFunctionsanitizeModelSnapshots
(input: unknown)
src/lib/public-status/read-store.ts:134
↓ 1 callersFunctionsanitizeProviderType
(value: unknown)
src/lib/public-status/config.ts:88
↓ 1 callersFunctionsanitizeTimelineBuckets
(input: unknown)
src/lib/public-status/read-store.ts:100
↓ 1 callersFunctionsanitizeXmlText
(value: string)
src/lib/usage-logs/export/xlsx.ts:84
↓ 1 callersFunctionsaveCollapsedSet
(slugs: Set<string>)
src/app/[locale]/status/_lib/group-order-store.ts:69
↓ 1 callersFunctionsaveEndpointCircuitState
( endpointId: number, state: EndpointCircuitBreakerState )
src/lib/redis/endpoint-circuit-breaker-state.ts:166
↓ 1 callersFunctionsaveGroupOrder
(slugs: string[])
src/app/[locale]/status/_lib/group-order-store.ts:25
↓ 1 callersFunctionsaveSplitSettingsFromCanonical
(locale, merged, messagesDir)
scripts/sync-settings-keys.js:146
↓ 1 callersFunctionsaveVendorTypeCircuitState
( vendorId: number, providerType: ProviderType, state: VendorTypeCircuitBreakerState )
src/lib/redis/vendor-type-circuit-breaker-state.ts:76
↓ 1 callersFunctionscheduleAutoCleanup
()
src/lib/log-cleanup/cleanup-queue.ts:148
↓ 1 callersFunctionscheduleRerender
(rerender: React.DispatchWithoutAction)
src/hooks/use-virtualizer.ts:18
↓ 1 callersFunctionscopeLabel
(t: T, scope: string)
src/app/[locale]/dashboard/_components/ip-details/network-section.tsx:38
↓ 1 callersFunctionscrubProviderChainRequestForReadonly
( providerChain: ProviderChainItem[] | null )
src/actions/my-usage.ts:45
↓ 1 callersFunctionscrubSpecialSettingsForReadonly
( specialSettings: SpecialSetting[] | null | undefined )
src/actions/my-usage.ts:79
↓ 1 callersFunctionscrubUsageLogsBatchForReadonly
(result: UsageLogsBatchResult)
src/actions/my-usage.ts:89
↓ 1 callersFunctionsearchUsers
( searchTerm?: string, limit?: number )
src/actions/users.ts:613
↓ 1 callersMethodselectProviderType
(providers: ProviderRecord[])
scripts/clear-session-bindings.ts:740
↓ 1 callersMethodsendStreamingWithHedge
(session: ProxySession)
src/app/v1/_lib/proxy/forwarder.ts:3728
↓ 1 callersMethodserializePublicStatusDescription
(input: unknown)
tests/unit/public-status/public-status-config.test.ts:18
↓ 1 callersFunctionserializeState
(state: VendorTypeCircuitBreakerState)
src/lib/redis/vendor-type-circuit-breaker-state.ts:29
↓ 1 callersFunctionserializeState
(state: EndpointCircuitBreakerState)
src/lib/redis/endpoint-circuit-breaker-state.ts:30
↓ 1 callersFunctionserializeState
* 将状态对象序列化为 Redis Hash 格式
src/lib/redis/circuit-breaker-state.ts:55
↓ 1 callersFunctionsetBearerHeader
(token?: string)
tests/unit/auth/admin-token-opaque-fallback.test.ts:64
↓ 1 callersMethodsetCurrentModelRedirect
( providerId: number, redirect: NonNullable<ProviderChainItem["modelRedirect"]> )
src/app/v1/_lib/proxy/session.ts:697
↓ 1 callersMethodsetDraggable
(value: boolean)
src/components/ui/__tests__/map.test.tsx:133
↓ 1 callersFunctionsetInputValue
(element: HTMLInputElement, value: string)
tests/unit/dashboard/limit-rule-picker-5h-reset-mode.test.tsx:67
↓ 1 callersFunctionsetLogLevel
(newLevel: LogLevel)
src/lib/logger.ts:193
↓ 1 callersFunctionsetNativeValue
(element: HTMLInputElement, value: string)
tests/unit/settings/providers/vendor-keys-compact-list-ui.test.tsx:286
↓ 1 callersFunctionsetPendingLocaleRefreshTarget
(locale: Locale)
src/components/ui/language-switcher.tsx:40
↓ 1 callersMethodsetPitchAlignment
()
src/components/ui/__tests__/map.test.tsx:166
↓ 1 callersFunctionsetReactInputValue
(input: HTMLInputElement, value: string)
tests/unit/settings/prices/price-list-interactions.test.tsx:49
↓ 1 callersMethodsetRequestSequence
* 设置请求序号(Session 内)
src/app/v1/_lib/proxy/session.ts:496
↓ 1 callersFunctionsetResponsesWsSessionMaxEntriesForTests
(maxEntries: number)
src/app/v1/_lib/responses-ws/upstream-adapter.ts:323
↓ 1 callersMethodsetRotation
()
src/components/ui/__tests__/map.test.tsx:150
↓ 1 callersMethodsetRotationAlignment
()
src/components/ui/__tests__/map.test.tsx:158
↓ 1 callersMethodsetStyle
(style: unknown)
src/components/ui/__tests__/map.test.tsx:303
↓ 1 callersFunctionsetVendorTypeCircuitManualOpen
(input: unknown)
src/actions/provider-endpoints.ts:1058
↓ 1 callersFunctionsetZodErrorMap
( t: (key: string, params?: Record<string, string | number>) => string )
src/lib/utils/zod-i18n.ts:41
↓ 1 callersFunctionsetupCommonMocks
()
tests/unit/proxy/response-handler-endpoint-circuit-isolation.test.ts:314
← previousnext →4,401–4,500 of 6,623, ranked by callers