Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ding113/claude-code-hub
/ functions
Functions
6,623 in github.com/ding113/claude-code-hub
⨍
Functions
6,623
◇
Types & classes
1,237
↓ 2 callers
Function
getVersionlessOpenAiFallbackUrl
(requestUrl: string)
src/lib/provider-testing/utils/test-prompts.ts:257
↓ 2 callers
Function
getViewport
(map: MapLibreGL.Map)
src/components/ui/map.tsx:167
↓ 2 callers
Function
globPatternToRegexSource
(pattern: string)
src/lib/provider-pattern-regex.ts:20
↓ 2 callers
Function
handleAvailableModels
(c: Context)
src/app/v1/_lib/models/available-models.ts:543
↓ 2 callers
Function
handleCancel
()
src/app/[locale]/settings/providers/_components/priority-edit-popover.tsx:103
↓ 2 callers
Function
handleChildSelectionChange
(presetValue: string, selectedChildren: string[])
src/components/form/client-restrictions-editor.tsx:81
↓ 2 callers
Function
handleEditKeyDown
(e: React.KeyboardEvent, originalRuleKey: string)
src/app/[locale]/settings/providers/_components/model-redirect-editor.tsx:210
↓ 2 callers
Function
handleExport
(exportFormat: "csv" | "xlsx")
src/app/[locale]/dashboard/logs/_components/usage-logs-filters.tsx:190
↓ 2 callers
Function
handleMove
(ruleKey: string, direction: -1 | 1)
src/app/[locale]/settings/providers/_components/model-redirect-editor.tsx:156
↓ 2 callers
Function
handleMove
(ruleKey: string, direction: -1 | 1)
src/app/[locale]/settings/providers/_components/allowed-model-rule-editor.tsx:152
↓ 2 callers
Method
handleNonStream
( session: ProxySession, response: Response )
src/app/v1/_lib/proxy/response-handler.ts:1036
↓ 2 callers
Function
handleOpenChange
(nextOpen: boolean)
src/app/[locale]/settings/providers/_components/inline-edit-popover.tsx:75
↓ 2 callers
Function
handleOpenChange
(nextOpen: boolean)
src/app/[locale]/settings/prices/_components/upload-price-dialog.tsx:71
↓ 2 callers
Function
handleRequestClose
(nextOpen: boolean)
src/app/[locale]/dashboard/_components/user/batch-edit/batch-edit-dialog.tsx:275
↓ 2 callers
Function
handleSave
()
src/app/[locale]/settings/providers/_components/priority-edit-popover.tsx:108
↓ 2 callers
Function
handleSaveEdit
(originalRuleKey: string)
src/app/[locale]/settings/providers/_components/model-redirect-editor.tsx:183
↓ 2 callers
Function
handleSaveEdit
(originalRuleKey: string)
src/app/[locale]/settings/providers/_components/allowed-model-rule-editor.tsx:179
↓ 2 callers
Function
handleSubmit
(event: React.FormEvent<HTMLFormElement>)
src/app/[locale]/settings/logs/_components/log-level-form.tsx:45
↓ 2 callers
Function
handleToggle
(user: UserDisplay, enabled: boolean)
src/app/[locale]/dashboard/_components/user/user-list.tsx:127
↓ 2 callers
Function
handleToggleEnabled
(id: number, isEnabled: boolean)
src/app/[locale]/settings/error-rules/_components/rule-list-table.tsx:42
↓ 2 callers
Function
handleToggleModel
(modelName: string)
src/app/[locale]/settings/providers/_components/model-multi-select.tsx:307
↓ 2 callers
Function
handleUserChange
(userId: string)
src/app/[locale]/dashboard/logs/_components/filters/identity-filters.tsx:152
↓ 2 callers
Function
hasActiveReferencesOnPreviousUrl
()
src/repository/provider-endpoints.ts:1262
↓ 2 callers
Function
hasActiveThreatSignals
(privacy: IpGeoPrivacy, threat: IpGeoThreat)
src/app/[locale]/dashboard/_components/ip-details/atoms.tsx:34
↓ 2 callers
Function
hasAnyPriceRecords
()
src/repository/model-price.ts:234
↓ 2 callers
Function
hasCountryContent
* 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 callers
Function
hasCrlf
(s: string)
src/lib/custom-headers.ts:29
↓ 2 callers
Function
hasForbiddenProviderLabel
(message: string, labels: string[])
src/app/v1/_lib/proxy/client-error-message.ts:93
↓ 2 callers
Function
hasGoogleSearchTool
* Check if a tools array contains a googleSearch tool
src/lib/gemini/provider-overrides.ts:20
↓ 2 callers
Function
hasMeaningfulValue
(value: unknown)
src/app/v1/_lib/proxy/response-fixer/index.ts:44
↓ 2 callers
Function
hasNonEmptyValue
(value: unknown)
src/lib/utils/upstream-error-detection.ts:224
↓ 2 callers
Function
hasPositiveBillableTokens
(usage: UsageMetrics | null)
src/app/v1/_lib/proxy/response-handler.ts:404
↓ 2 callers
Function
hasPriceTable
()
src/actions/model-prices.ts:405
↓ 2 callers
Function
hasProviderModelRedirectRules
( rules: ProviderModelRedirectRule[] | null | undefined )
src/lib/provider-model-redirects.ts:87
↓ 2 callers
Function
hasUsableClaudeMetadataUserId
(userId: unknown)
src/lib/claude-code/metadata-user-id.ts:44
↓ 2 callers
Function
hasUseClientDirective
(source: string)
tests/unit/frontend/no-client-actions-import.test.ts:39
↓ 2 callers
Function
hasUtf16Bom
(data: Uint8Array)
src/app/v1/_lib/proxy/response-fixer/encoding-fixer.ts:11
↓ 2 callers
Function
hasUtf8Bom
(data: Uint8Array)
src/app/v1/_lib/proxy/response-fixer/encoding-fixer.ts:7
↓ 2 callers
Function
headerRowXml
(headers: string[], rowNumber: number, refs: string[])
src/lib/usage-logs/export/xlsx.ts:152
↓ 2 callers
Function
headersToRecord
* 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 callers
Method
hgetall
(key: string)
src/lib/public-status/rollup-store.ts:95
↓ 2 callers
Method
hincrbyfloat
(key: string, field: string, increment: number)
src/lib/public-status/rollup-store.ts:82
↓ 2 callers
Function
importAggregationModule
()
tests/unit/public-status/rebuild-worker.test.ts:22
↓ 2 callers
Function
includesInsensitive
(haystacks: Array<string | null | undefined>, needle: string)
src/lib/public-status/public-api-contract.ts:376
↓ 2 callers
Function
info
(message)
scripts/validate-migrations.js:56
↓ 2 callers
Function
invalidateCache
()
src/lib/cache/provider-cache.ts:83
↓ 2 callers
Function
invalidateProviderSelectorSystemSettingsCache
()
src/app/v1/_lib/proxy/provider-selector-settings-cache.ts:8
↓ 2 callers
Function
ipv4ToInt
(ip: string)
src/lib/ip/private-ip.ts:3
↓ 2 callers
Function
isActiveMultiplier
(value: number)
src/app/[locale]/dashboard/logs/_components/virtualized-logs-table.tsx:435
↓ 2 callers
Function
isActualRequest
(item: ProviderChainItem)
src/lib/utils/provider-chain-formatter.ts:142
↓ 2 callers
Function
isApiError
(error: unknown)
src/lib/api-client/v1/errors.ts:22
↓ 2 callers
Method
isApiKey
(key: string)
src/app/v1/_lib/gemini/auth.ts:79
↓ 2 callers
Function
isAsciiWhitespace
(byte: number)
src/app/v1/_lib/proxy/response-fixer/sse-fixer.ts:3
↓ 2 callers
Function
isBlankValue
(value: string | number | Date | null | undefined)
src/lib/usage-logs/export/columns.ts:114
↓ 2 callers
Function
isCacheHitRateAlertDataPayload
(value: unknown)
src/lib/notification/notification-queue.ts:117
↓ 2 callers
Function
isCacheHitRateAlertSamplePayload
(value: unknown)
src/lib/notification/notification-queue.ts:67
↓ 2 callers
Function
isClaudeProviderType
(providerType: ProviderType)
src/actions/providers.ts:1830
↓ 2 callers
Function
isCodexProviderType
(providerType: ProviderType)
src/actions/providers.ts:1834
↓ 2 callers
Function
isColumnMissingError
* 检查是否是字段缺失错误(用于灰度上线时,代码先于迁移发布的场景)
src/repository/notifications.ts:155
↓ 2 callers
Function
isDirectEndpointEditConflictError
(error: unknown)
src/actions/provider-endpoints.ts:164
↓ 2 callers
Function
isEmptySecretEcho
(value: unknown)
src/app/api/v1/resources/webhook-targets/handlers.ts:199
↓ 2 callers
Function
isExceeded
(keyQuota: KeyQuota, userQuota: UserQuota)
src/lib/utils/quota-helpers.ts:146
↓ 2 callers
Function
isGeminiContentPayload
(value: unknown)
src/app/v1/_lib/proxy/format-mapper.ts:87
↓ 2 callers
Function
isGeminiFamily
(format: ClientFormat)
src/app/v1/_lib/proxy/fake-streaming/stream-intent.ts:12
↓ 2 callers
Function
isGeminiGenerationEndpointPath
(pathname: string)
src/app/v1/_lib/proxy/endpoint-family-catalog.ts:466
↓ 2 callers
Function
isGeminiProviderType
(providerType: ProviderType)
src/actions/providers.ts:1838
↓ 2 callers
Function
isGptImageModel
(model: string)
src/app/v1/_lib/proxy/openai-image-compat.ts:169
↓ 2 callers
Function
isHeaderRecord
(value: unknown)
src/lib/api/legacy-action-sanitizers.ts:215
↓ 2 callers
Function
isHttp2Enabled
()
src/lib/config/system-settings-cache.ts:185
↓ 2 callers
Function
isLangfuseEnabled
()
src/lib/langfuse/index.ts:10
↓ 2 callers
Function
isLegacyDocsPath
(pathname: string)
src/app/api/actions/[...route]/route.ts:2466
↓ 2 callers
Function
isLocale
(value: string)
src/i18n/pathname.ts:6
↓ 2 callers
Function
isNonEmptyPlainRecord
(value: unknown)
src/lib/session-detail-snapshots.ts:9
↓ 2 callers
Function
isObject
(v: unknown)
tests/unit/i18n/settings-split-guards.test.ts:10
↓ 2 callers
Function
isOpenAIImageMultipartContentType
(contentType: string | null)
src/app/v1/_lib/proxy/openai-image-compat.ts:776
↓ 2 callers
Method
isOpenAIImageMultipartRequest
()
src/app/v1/_lib/proxy/session.ts:752
↓ 2 callers
Function
isOpenAiStyleProvider
(providerType: ProviderTestConfig["providerType"])
src/lib/provider-testing/test-service.ts:148
↓ 2 callers
Function
isOutputTooLargeError
(err: unknown)
src/app/v1/_lib/proxy/request-body-codec.ts:107
↓ 2 callers
Function
isPlainObject
(value: unknown)
src/lib/gemini/provider-overrides.ts:13
↓ 2 callers
Function
isPlainRecord
(value: unknown)
src/lib/session-detail-snapshots.ts:3
↓ 2 callers
Function
isPrivateIpv4
(ip: string)
src/lib/ip/private-ip.ts:24
↓ 2 callers
Function
isProviderFamilyScope
(scope: LeaderboardLeafScope)
src/app/[locale]/dashboard/leaderboard/_components/leaderboard-tab-groups.ts:49
↓ 2 callers
Function
isRecord
(value: unknown)
src/lib/provider-model-redirects.ts:12
↓ 2 callers
Function
isRecord
(value: unknown)
src/app/v1/_lib/proxy/openai-image-compat.ts:89
↓ 2 callers
Function
isRedactedSecretEcho
(value: unknown, existing: string | null | undefined)
src/lib/api/legacy-action-sanitizers.ts:204
↓ 2 callers
Function
isRedactedUrlEcho
(value: unknown, existing: string | null | undefined)
src/lib/api/legacy-action-sanitizers.ts:209
↓ 2 callers
Function
isResponseCompactEndpointPath
(pathname: string)
src/app/v1/_lib/proxy/endpoint-paths.ts:56
↓ 2 callers
Function
isResponseMissing
(ctx: TraceContext)
src/lib/langfuse/trace-proxy-request.ts:96
↓ 2 callers
Function
isSecretHeaderName
(name: string)
src/lib/api/v1/_shared/redaction.ts:52
↓ 2 callers
Function
isSignedAdminAuthToken
(token: string)
src/lib/auth.ts:350
↓ 2 callers
Function
isSignedAdminSessionTokenFormat
(token: string)
src/lib/auth-admin-session-token.ts:114
↓ 2 callers
Function
isSmartProbingEnabled
()
src/lib/circuit-breaker-probe.ts:254
↓ 2 callers
Function
isTableMissingError
* 检查是否是表缺失错误
src/repository/notifications.ts:91
↓ 2 callers
Function
isTableMissingError
(error: unknown, depth = 0)
src/repository/system-config.ts:19
↓ 2 callers
Function
isUrlSafeForApiTest
* 检查 URL 是否可用于 API 测试(仅做基础格式校验) * 对 validateProviderUrlForConnectivity 的薄封装
src/actions/providers.ts:4643
↓ 2 callers
Function
isUserExceeded
(userQuota: UserQuota)
src/lib/utils/quota-helpers.ts:59
↓ 2 callers
Function
isValidErrorOverrideResponse
(response: unknown)
src/lib/error-override-validator.ts:277
↓ 2 callers
Function
isValidProviderType
(value: string)
scripts/clear-session-bindings.ts:81
↓ 2 callers
Function
isValidTime
(value: string)
src/app/[locale]/dashboard/_components/user/forms/limit-rule-picker.tsx:85
↓ 2 callers
Function
isValidUtf8
(data: Uint8Array)
src/app/v1/_lib/proxy/response-fixer/encoding-fixer.ts:52
← previous
next →
2,601–2,700 of 6,623, ranked by callers