MCPcopy Create free account

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

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

↓ 2 callersFunctiongetVersionlessOpenAiFallbackUrl
(requestUrl: string)
src/lib/provider-testing/utils/test-prompts.ts:257
↓ 2 callersFunctiongetViewport
(map: MapLibreGL.Map)
src/components/ui/map.tsx:167
↓ 2 callersFunctionglobPatternToRegexSource
(pattern: string)
src/lib/provider-pattern-regex.ts:20
↓ 2 callersFunctionhandleAvailableModels
(c: Context)
src/app/v1/_lib/models/available-models.ts:543
↓ 2 callersFunctionhandleCancel
()
src/app/[locale]/settings/providers/_components/priority-edit-popover.tsx:103
↓ 2 callersFunctionhandleChildSelectionChange
(presetValue: string, selectedChildren: string[])
src/components/form/client-restrictions-editor.tsx:81
↓ 2 callersFunctionhandleEditKeyDown
(e: React.KeyboardEvent, originalRuleKey: string)
src/app/[locale]/settings/providers/_components/model-redirect-editor.tsx:210
↓ 2 callersFunctionhandleExport
(exportFormat: "csv" | "xlsx")
src/app/[locale]/dashboard/logs/_components/usage-logs-filters.tsx:190
↓ 2 callersFunctionhandleMove
(ruleKey: string, direction: -1 | 1)
src/app/[locale]/settings/providers/_components/model-redirect-editor.tsx:156
↓ 2 callersFunctionhandleMove
(ruleKey: string, direction: -1 | 1)
src/app/[locale]/settings/providers/_components/allowed-model-rule-editor.tsx:152
↓ 2 callersMethodhandleNonStream
( session: ProxySession, response: Response )
src/app/v1/_lib/proxy/response-handler.ts:1036
↓ 2 callersFunctionhandleOpenChange
(nextOpen: boolean)
src/app/[locale]/settings/providers/_components/inline-edit-popover.tsx:75
↓ 2 callersFunctionhandleOpenChange
(nextOpen: boolean)
src/app/[locale]/settings/prices/_components/upload-price-dialog.tsx:71
↓ 2 callersFunctionhandleRequestClose
(nextOpen: boolean)
src/app/[locale]/dashboard/_components/user/batch-edit/batch-edit-dialog.tsx:275
↓ 2 callersFunctionhandleSave
()
src/app/[locale]/settings/providers/_components/priority-edit-popover.tsx:108
↓ 2 callersFunctionhandleSaveEdit
(originalRuleKey: string)
src/app/[locale]/settings/providers/_components/model-redirect-editor.tsx:183
↓ 2 callersFunctionhandleSaveEdit
(originalRuleKey: string)
src/app/[locale]/settings/providers/_components/allowed-model-rule-editor.tsx:179
↓ 2 callersFunctionhandleSubmit
(event: React.FormEvent<HTMLFormElement>)
src/app/[locale]/settings/logs/_components/log-level-form.tsx:45
↓ 2 callersFunctionhandleToggle
(user: UserDisplay, enabled: boolean)
src/app/[locale]/dashboard/_components/user/user-list.tsx:127
↓ 2 callersFunctionhandleToggleEnabled
(id: number, isEnabled: boolean)
src/app/[locale]/settings/error-rules/_components/rule-list-table.tsx:42
↓ 2 callersFunctionhandleToggleModel
(modelName: string)
src/app/[locale]/settings/providers/_components/model-multi-select.tsx:307
↓ 2 callersFunctionhandleUserChange
(userId: string)
src/app/[locale]/dashboard/logs/_components/filters/identity-filters.tsx:152
↓ 2 callersFunctionhasActiveReferencesOnPreviousUrl
()
src/repository/provider-endpoints.ts:1262
↓ 2 callersFunctionhasActiveThreatSignals
(privacy: IpGeoPrivacy, threat: IpGeoThreat)
src/app/[locale]/dashboard/_components/ip-details/atoms.tsx:34
↓ 2 callersFunctionhasAnyPriceRecords
()
src/repository/model-price.ts:234
↓ 2 callersFunctionhasCountryContent
* Upstream uses these sentinel values when a country is not resolvable * (e.g. CGN/bogon IPs). Treating them as "has data" would render empty * sub-
src/app/[locale]/dashboard/_components/ip-details/location-section.tsx:23
↓ 2 callersFunctionhasCrlf
(s: string)
src/lib/custom-headers.ts:29
↓ 2 callersFunctionhasForbiddenProviderLabel
(message: string, labels: string[])
src/app/v1/_lib/proxy/client-error-message.ts:93
↓ 2 callersFunctionhasGoogleSearchTool
* Check if a tools array contains a googleSearch tool
src/lib/gemini/provider-overrides.ts:20
↓ 2 callersFunctionhasMeaningfulValue
(value: unknown)
src/app/v1/_lib/proxy/response-fixer/index.ts:44
↓ 2 callersFunctionhasNonEmptyValue
(value: unknown)
src/lib/utils/upstream-error-detection.ts:224
↓ 2 callersFunctionhasPositiveBillableTokens
(usage: UsageMetrics | null)
src/app/v1/_lib/proxy/response-handler.ts:404
↓ 2 callersFunctionhasPriceTable
()
src/actions/model-prices.ts:405
↓ 2 callersFunctionhasProviderModelRedirectRules
( rules: ProviderModelRedirectRule[] | null | undefined )
src/lib/provider-model-redirects.ts:87
↓ 2 callersFunctionhasUsableClaudeMetadataUserId
(userId: unknown)
src/lib/claude-code/metadata-user-id.ts:44
↓ 2 callersFunctionhasUseClientDirective
(source: string)
tests/unit/frontend/no-client-actions-import.test.ts:39
↓ 2 callersFunctionhasUtf16Bom
(data: Uint8Array)
src/app/v1/_lib/proxy/response-fixer/encoding-fixer.ts:11
↓ 2 callersFunctionhasUtf8Bom
(data: Uint8Array)
src/app/v1/_lib/proxy/response-fixer/encoding-fixer.ts:7
↓ 2 callersFunctionheaderRowXml
(headers: string[], rowNumber: number, refs: string[])
src/lib/usage-logs/export/xlsx.ts:152
↓ 2 callersFunctionheadersToRecord
* Convert Headers to a plain record. * * Security note: session.headers are the CLIENT's original request headers * (user -> CCH), which may includ
src/lib/langfuse/trace-proxy-request.ts:38
↓ 2 callersMethodhgetall
(key: string)
src/lib/public-status/rollup-store.ts:95
↓ 2 callersMethodhincrbyfloat
(key: string, field: string, increment: number)
src/lib/public-status/rollup-store.ts:82
↓ 2 callersFunctionimportAggregationModule
()
tests/unit/public-status/rebuild-worker.test.ts:22
↓ 2 callersFunctionincludesInsensitive
(haystacks: Array<string | null | undefined>, needle: string)
src/lib/public-status/public-api-contract.ts:376
↓ 2 callersFunctioninfo
(message)
scripts/validate-migrations.js:56
↓ 2 callersFunctioninvalidateCache
()
src/lib/cache/provider-cache.ts:83
↓ 2 callersFunctioninvalidateProviderSelectorSystemSettingsCache
()
src/app/v1/_lib/proxy/provider-selector-settings-cache.ts:8
↓ 2 callersFunctionipv4ToInt
(ip: string)
src/lib/ip/private-ip.ts:3
↓ 2 callersFunctionisActiveMultiplier
(value: number)
src/app/[locale]/dashboard/logs/_components/virtualized-logs-table.tsx:435
↓ 2 callersFunctionisActualRequest
(item: ProviderChainItem)
src/lib/utils/provider-chain-formatter.ts:142
↓ 2 callersFunctionisApiError
(error: unknown)
src/lib/api-client/v1/errors.ts:22
↓ 2 callersMethodisApiKey
(key: string)
src/app/v1/_lib/gemini/auth.ts:79
↓ 2 callersFunctionisAsciiWhitespace
(byte: number)
src/app/v1/_lib/proxy/response-fixer/sse-fixer.ts:3
↓ 2 callersFunctionisBlankValue
(value: string | number | Date | null | undefined)
src/lib/usage-logs/export/columns.ts:114
↓ 2 callersFunctionisCacheHitRateAlertDataPayload
(value: unknown)
src/lib/notification/notification-queue.ts:117
↓ 2 callersFunctionisCacheHitRateAlertSamplePayload
(value: unknown)
src/lib/notification/notification-queue.ts:67
↓ 2 callersFunctionisClaudeProviderType
(providerType: ProviderType)
src/actions/providers.ts:1830
↓ 2 callersFunctionisCodexProviderType
(providerType: ProviderType)
src/actions/providers.ts:1834
↓ 2 callersFunctionisColumnMissingError
* 检查是否是字段缺失错误(用于灰度上线时,代码先于迁移发布的场景)
src/repository/notifications.ts:155
↓ 2 callersFunctionisDirectEndpointEditConflictError
(error: unknown)
src/actions/provider-endpoints.ts:164
↓ 2 callersFunctionisEmptySecretEcho
(value: unknown)
src/app/api/v1/resources/webhook-targets/handlers.ts:199
↓ 2 callersFunctionisExceeded
(keyQuota: KeyQuota, userQuota: UserQuota)
src/lib/utils/quota-helpers.ts:146
↓ 2 callersFunctionisGeminiContentPayload
(value: unknown)
src/app/v1/_lib/proxy/format-mapper.ts:87
↓ 2 callersFunctionisGeminiFamily
(format: ClientFormat)
src/app/v1/_lib/proxy/fake-streaming/stream-intent.ts:12
↓ 2 callersFunctionisGeminiGenerationEndpointPath
(pathname: string)
src/app/v1/_lib/proxy/endpoint-family-catalog.ts:466
↓ 2 callersFunctionisGeminiProviderType
(providerType: ProviderType)
src/actions/providers.ts:1838
↓ 2 callersFunctionisGptImageModel
(model: string)
src/app/v1/_lib/proxy/openai-image-compat.ts:169
↓ 2 callersFunctionisHeaderRecord
(value: unknown)
src/lib/api/legacy-action-sanitizers.ts:215
↓ 2 callersFunctionisHttp2Enabled
()
src/lib/config/system-settings-cache.ts:185
↓ 2 callersFunctionisLangfuseEnabled
()
src/lib/langfuse/index.ts:10
↓ 2 callersFunctionisLegacyDocsPath
(pathname: string)
src/app/api/actions/[...route]/route.ts:2466
↓ 2 callersFunctionisLocale
(value: string)
src/i18n/pathname.ts:6
↓ 2 callersFunctionisNonEmptyPlainRecord
(value: unknown)
src/lib/session-detail-snapshots.ts:9
↓ 2 callersFunctionisObject
(v: unknown)
tests/unit/i18n/settings-split-guards.test.ts:10
↓ 2 callersFunctionisOpenAIImageMultipartContentType
(contentType: string | null)
src/app/v1/_lib/proxy/openai-image-compat.ts:776
↓ 2 callersMethodisOpenAIImageMultipartRequest
()
src/app/v1/_lib/proxy/session.ts:752
↓ 2 callersFunctionisOpenAiStyleProvider
(providerType: ProviderTestConfig["providerType"])
src/lib/provider-testing/test-service.ts:148
↓ 2 callersFunctionisOutputTooLargeError
(err: unknown)
src/app/v1/_lib/proxy/request-body-codec.ts:107
↓ 2 callersFunctionisPlainObject
(value: unknown)
src/lib/gemini/provider-overrides.ts:13
↓ 2 callersFunctionisPlainRecord
(value: unknown)
src/lib/session-detail-snapshots.ts:3
↓ 2 callersFunctionisPrivateIpv4
(ip: string)
src/lib/ip/private-ip.ts:24
↓ 2 callersFunctionisProviderFamilyScope
(scope: LeaderboardLeafScope)
src/app/[locale]/dashboard/leaderboard/_components/leaderboard-tab-groups.ts:49
↓ 2 callersFunctionisRecord
(value: unknown)
src/lib/provider-model-redirects.ts:12
↓ 2 callersFunctionisRecord
(value: unknown)
src/app/v1/_lib/proxy/openai-image-compat.ts:89
↓ 2 callersFunctionisRedactedSecretEcho
(value: unknown, existing: string | null | undefined)
src/lib/api/legacy-action-sanitizers.ts:204
↓ 2 callersFunctionisRedactedUrlEcho
(value: unknown, existing: string | null | undefined)
src/lib/api/legacy-action-sanitizers.ts:209
↓ 2 callersFunctionisResponseCompactEndpointPath
(pathname: string)
src/app/v1/_lib/proxy/endpoint-paths.ts:56
↓ 2 callersFunctionisResponseMissing
(ctx: TraceContext)
src/lib/langfuse/trace-proxy-request.ts:96
↓ 2 callersFunctionisSecretHeaderName
(name: string)
src/lib/api/v1/_shared/redaction.ts:52
↓ 2 callersFunctionisSignedAdminAuthToken
(token: string)
src/lib/auth.ts:350
↓ 2 callersFunctionisSignedAdminSessionTokenFormat
(token: string)
src/lib/auth-admin-session-token.ts:114
↓ 2 callersFunctionisSmartProbingEnabled
()
src/lib/circuit-breaker-probe.ts:254
↓ 2 callersFunctionisTableMissingError
* 检查是否是表缺失错误
src/repository/notifications.ts:91
↓ 2 callersFunctionisTableMissingError
(error: unknown, depth = 0)
src/repository/system-config.ts:19
↓ 2 callersFunctionisUrlSafeForApiTest
* 检查 URL 是否可用于 API 测试(仅做基础格式校验) * 对 validateProviderUrlForConnectivity 的薄封装
src/actions/providers.ts:4643
↓ 2 callersFunctionisUserExceeded
(userQuota: UserQuota)
src/lib/utils/quota-helpers.ts:59
↓ 2 callersFunctionisValidErrorOverrideResponse
(response: unknown)
src/lib/error-override-validator.ts:277
↓ 2 callersFunctionisValidProviderType
(value: string)
scripts/clear-session-bindings.ts:81
↓ 2 callersFunctionisValidTime
(value: string)
src/app/[locale]/dashboard/_components/user/forms/limit-rule-picker.tsx:85
↓ 2 callersFunctionisValidUtf8
(data: Uint8Array)
src/app/v1/_lib/proxy/response-fixer/encoding-fixer.ts:52
← previousnext →2,601–2,700 of 6,623, ranked by callers