MCPcopy Create free account

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

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

↓ 1 callersFunctionmergeLegacyResponseAfterSnapshot
( snapshot: SessionDetailSnapshots["response"]["after"], legacySnapshot: SessionDetailSnapshots["response"
src/actions/active-sessions.ts:131
↓ 1 callersFunctionmergeVaryHeader
* 合并 Vary 头并去重(保留原始大小写)
src/app/v1/_lib/cors.ts:46
↓ 1 callersFunctionmergeWithCanonical
(cn, target)
scripts/sync-settings-keys.js:39
↓ 1 callersFunctionmessageRole
(message: unknown)
src/app/v1/_lib/proxy/fake-streaming/emitters.ts:275
↓ 1 callersFunctionmurmur3X86_32
(bytes: Uint8Array, len: number, seed: number, words?: Uint32Array)
src/lib/vacuum-filter/vacuum-filter.ts:210
↓ 1 callersFunctionneedsFailureThresholdConfirm
()
src/app/[locale]/settings/providers/_components/forms/provider-form/index.tsx:287
↓ 1 callersFunctionneedsHealthResetToClosed
(health: ProviderHealth)
src/lib/circuit-breaker.ts:223
↓ 1 callersFunctionneedsNullValue
(bytes: number[], stack: number[])
src/app/v1/_lib/proxy/response-fixer/json-fixer.ts:25
↓ 1 callersFunctionnetworkTypeLabel
(t: T, type: string)
src/app/[locale]/dashboard/_components/ip-details/hero.tsx:55
↓ 1 callersMethodnextBool
()
src/lib/vacuum-filter/vacuum-filter.ts:106
↓ 1 callersFunctionnextId
(base: number)
tests/integration/non-chat-endpoint-fallback-observability.test.ts:21
↓ 1 callersMethodnextInt
(maxExclusive: number)
src/lib/vacuum-filter/vacuum-filter.ts:102
↓ 1 callersFunctionnextLedgerProviderId
()
tests/api/my-usage-readonly.test.ts:73
↓ 1 callersFunctionnextLedgerRequestId
()
tests/api/my-usage-readonly.test.ts:68
↓ 1 callersFunctionnextRequestId
()
tests/integration/my-usage-imported-ledger.test.ts:38
↓ 1 callersFunctionnodeInvocationForCodexScript
(scriptPath: string, display = scriptPath)
tests/e2e/responses-ws-codex-cli-transport.test.ts:283
↓ 1 callersFunctionnormalizeAllowedModelRule
(value: AllowedModelRuleInput)
src/lib/allowed-model-rules.ts:39
↓ 1 callersFunctionnormalizeBlockedBy
(blockedBy: string | null | undefined)
src/lib/request-outcome.ts:102
↓ 1 callersFunctionnormalizeClientMessage
(text: string)
src/app/v1/_lib/proxy/client-error-message.ts:111
↓ 1 callersFunctionnormalizeContentPart
(part: unknown, fixes: string[], path: string)
src/app/v1/_lib/proxy/response-output-normalizer.ts:56
↓ 1 callersFunctionnormalizeCursorQuery
(input: { cursor?: string | null; limit?: string | number | null; })
src/lib/api/v1/_shared/pagination.ts:21
↓ 1 callersFunctionnormalizeEnabledGroups
( groups: SavePublicStatusSettingsInput["groups"] )
src/actions/public-status.ts:44
↓ 1 callersFunctionnormalizeEndpointForBilling
(endpoint: string)
src/lib/utils/performance-formatter.ts:8
↓ 1 callersFunctionnormalizeFakeStreamingWhitelist
(value: unknown)
src/repository/_shared/transformers.ts:198
↓ 1 callersFunctionnormalizeFallback
(fallback: string)
src/i18n/pathname.ts:10
↓ 1 callersFunctionnormalizeHostWithPort
* Normalize URL to host:port format for vendor key when websiteUrl is empty. * - IPv6 addresses are formatted as [ipv6]:port * - Default ports: http
src/repository/provider-endpoints.ts:117
↓ 1 callersFunctionnormalizeIp
* Normalize a raw header value into a bare IP string (no port, no brackets). * Returns null when the value is not a parseable IP.
src/lib/ip/extract-client-ip.ts:26
↓ 1 callersFunctionnormalizeKeyFingerprint
(fingerprint: string)
src/lib/auth.ts:427
↓ 1 callersFunctionnormalizeLegacySearchTerm
(params?: GetUsersBatchParams)
src/actions/users.ts:81
↓ 1 callersFunctionnormalizeLocales
(locales)
scripts/audit-settings-placeholders.js:122
↓ 1 callersFunctionnormalizeLocales
(messagesRoot, locales)
scripts/audit-messages-no-emoji.js:12
↓ 1 callersFunctionnormalizeLocales
(messagesRoot, locales)
scripts/audit-messages-emoji.js:68
↓ 1 callersFunctionnormalizeMessage
(message: string)
src/lib/utils/user-visible-error.ts:11
↓ 1 callersFunctionnormalizeNumber
(value: unknown)
src/lib/public-status/rollup-store.ts:175
↓ 1 callersFunctionnormalizeOrigin
(origin: string)
src/lib/security/csrf-origin-guard.ts:22
↓ 1 callersFunctionnormalizeOutputItem
(item: unknown, fixes: string[], path: string)
src/app/v1/_lib/proxy/response-output-normalizer.ts:84
↓ 1 callersFunctionnormalizeProbeLog
(value: unknown)
src/lib/provider-endpoints/probe-logs-batcher.ts:10
↓ 1 callersFunctionnormalizeProbeLogsByEndpointId
(data: unknown)
src/lib/provider-endpoints/probe-logs-batcher.ts:44
↓ 1 callersFunctionnormalizeProviderModelRedirectRule
( value: ProviderModelRedirectRule )
src/lib/provider-model-redirects.ts:43
↓ 1 callersFunctionnormalizePublicInterval
(value: number | undefined)
src/lib/public-status/config-publisher.ts:49
↓ 1 callersFunctionnormalizePublicRange
(value: number | undefined)
src/lib/public-status/config-publisher.ts:53
↓ 1 callersFunctionnormalizePublicSiteDescription
(value: unknown)
src/lib/public-status/config-snapshot.ts:112
↓ 1 callersFunctionnormalizePublicStatusVendorIconKey
( vendorIconKey?: string | null )
src/lib/public-status/vendor-icon-key.ts:109
↓ 1 callersFunctionnormalizeRequestCostBreakdownOptions
( context1mAppliedOrOptions: boolean | RequestCostBreakdownOptions = false, priorityServiceTierApplied: bo
src/lib/utils/cost-calculation.ts:278
↓ 1 callersFunctionnormalizeRequestCostOptions
( multiplierOrOptions: number | RequestCostCalculationOptions = 1.0, context1mApplied: boolean = false,
src/lib/utils/cost-calculation.ts:254
↓ 1 callersFunctionnormalizeScopes
(scopes)
scripts/audit-settings-placeholders.js:108
↓ 1 callersFunctionnormalizeSearchUsersLimit
(limit?: number)
src/actions/users.ts:174
↓ 1 callersFunctionnormalizeSeed
(seed?: VacuumFilterInitOptions["seed"])
src/lib/vacuum-filter/vacuum-filter.ts:183
↓ 1 callersFunctionnormalizeStatusCodeMode
(config: CacheHitRateAlertQueryConfig)
src/repository/cache-hit-rate-alert.ts:105
↓ 1 callersFunctionnormalizeTargetInput
(input: z.infer<typeof BaseTargetSchema>)
src/actions/webhook-targets.ts:111
↓ 1 callersFunctionnormalizeTargetUpdateInput
( existing: WebhookTarget, input: z.infer<typeof UpdateTargetSchema> )
src/actions/webhook-targets.ts:165
↓ 1 callersFunctionnormalizeThresholdTokens
(value: unknown)
src/lib/utils/cost-calculation.ts:54
↓ 1 callersFunctionnormalizeToolCall
(toolCall: unknown, fixes: string[], path: string)
src/app/v1/_lib/proxy/response-output-normalizer.ts:75
↓ 1 callersFunctionnormalizeTtlFallbackSeconds
(config: CacheHitRateAlertQueryConfig)
src/repository/cache-hit-rate-alert.ts:63
↓ 1 callersFunctionnormalizeUsage
(usage?: Record<string, unknown>)
src/app/[locale]/settings/providers/_components/forms/api-test-button.tsx:57
↓ 1 callersFunctionnormalizeUsageLogEndpoint
(endpoint: string)
src/repository/_shared/usage-log-filters.ts:20
↓ 1 callersFunctionnormalizeUsageLogsCursor
( cursor: { createdAt: string; id: number } | string | null | undefined )
src/app/api/v1/resources/usage-logs/handlers.ts:238
↓ 1 callersFunctionnormalizeUsageLogsCursor
( cursor: { createdAt: string; id: number } | string | null | undefined )
src/app/api/v1/resources/me/handlers.ts:176
↓ 1 callersFunctionnormalizeWebsiteDomainKeyFromUrl
(rawUrl: string)
src/repository/provider-endpoints.ts:78
↓ 1 callersFunctionnormalizeWindowMode
(config: CacheHitRateAlertQueryConfig)
src/repository/cache-hit-rate-alert.ts:109
↓ 1 callersFunctionnotifyMessageWaiters
()
tests/unit/server-ws-close-handshake.test.ts:159
↓ 1 callersMethodobserve
(target: Element, callback: ObserverTargetCallback)
src/lib/hooks/use-in-view-once.ts:44
↓ 1 callersFunctionobservedTransport
(events: ProbeEvent[])
tests/e2e/responses-ws-codex-cli-transport.test.ts:505
↓ 1 callersFunctionokResponse
()
tests/unit/proxy/proxy-forwarder-thinking-effort-conflict-rectifier.test.ts:131
↓ 1 callersFunctiononAbort
()
src/app/v1/_lib/proxy/fake-streaming/runner.ts:71
↓ 1 callersFunctiononAbort
()
src/app/v1/_lib/responses-ws/upstream-adapter.ts:670
↓ 1 callersFunctiononAbort
()
tests/unit/proxy/proxy-forwarder-hedge-first-byte.test.ts:255
↓ 1 callersFunctiononSubmit
(data: AutoCleanupFormData)
src/app/[locale]/settings/config/_components/auto-cleanup-form.tsx:53
↓ 1 callersFunctionopenDetail
(log: AuditLogRow)
src/app/[locale]/dashboard/audit-logs/_components/audit-logs-view.tsx:107
↓ 1 callersFunctionopenIp
(ip: string)
src/app/[locale]/dashboard/audit-logs/_components/audit-logs-view.tsx:112
↓ 1 callersFunctionopenIpDialog
(ip: string)
src/app/[locale]/dashboard/audit-logs/_components/audit-log-detail-sheet.tsx:69
↓ 1 callersFunctionopenTemplateDialog
(targetId: number)
src/app/[locale]/settings/notifications/_components/binding-selector.tsx:122
↓ 1 callersFunctionoptimizeRequestMessage
(message: Record<string, unknown>)
src/app/v1/_lib/proxy/session.ts:1105
↓ 1 callersFunctionparseAuditCursor
( c: Context, cursor?: string )
src/app/api/v1/resources/audit-logs/handlers.ts:78
↓ 1 callersFunctionparseBearerToken
(raw: string | null | undefined)
src/lib/auth.ts:472
↓ 1 callersFunctionparseBlockedReason
( blockedReason: string | null | undefined )
src/app/[locale]/dashboard/logs/_components/error-details-dialog/types.ts:114
↓ 1 callersFunctionparseBoolean
(value: string | undefined, fallback: boolean)
tests/vitest.base.ts:50
↓ 1 callersFunctionparseBooleanQueryParam
(value: string, fieldName: string)
src/app/api/availability/route.ts:25
↓ 1 callersFunctionparseCliArgs
(args: string[])
scripts/clear-session-bindings.ts:157
↓ 1 callersFunctionparseConfigInvalidationProviderIds
(message: string)
src/lib/circuit-breaker.ts:80
↓ 1 callersFunctionparseContentLengthHeader
(value: string | undefined)
src/app/v1/_lib/proxy/session.ts:1162
↓ 1 callersFunctionparseDatabaseDSN
(dsn: string)
src/lib/database-backup/db-config.ts:24
↓ 1 callersFunctionparseDate
* Parse YYYY-MM-DD string to Date object * Uses local timezone to avoid off-by-one errors
src/components/form/date-picker-field.tsx:44
↓ 1 callersFunctionparseDateRangeToTimestamps
( startDate?: string, endDate?: string, timezone?: string )
src/lib/utils/date-range.ts:8
↓ 1 callersFunctionparseDateStringEndOfDay
(value: string)
src/app/[locale]/dashboard/_components/user/forms/key-edit-section.tsx:103
↓ 1 callersFunctionparseDevBuildShortSha
(version: string)
src/app/api/version/route.ts:60
↓ 1 callersFunctionparseGroupTags
(groupTag?: string | null)
src/app/[locale]/dashboard/logs/_components/provider-chain-popover.tsx:41
↓ 1 callersFunctionparseHeadersJson
( value: string | null | undefined, t: TranslateFn )
src/app/[locale]/settings/notifications/_components/webhook-target-dialog.tsx:93
↓ 1 callersFunctionparseIntWithDefault
(value: string | undefined, fallback: number)
src/lib/provider-endpoints/probe.ts:25
↓ 1 callersFunctionparseJsonObject
(text: string)
tests/e2e/responses-ws-codex-cli-transport.test.ts:639
↓ 1 callersFunctionparseJsonObjectOrNull
(value: string | null | undefined)
src/app/[locale]/settings/notifications/_components/binding-selector.tsx:69
↓ 1 callersFunctionparseJsonOrThrow
(body: string)
src/app/v1/_lib/proxy/fake-streaming/emitters.ts:385
↓ 1 callersFunctionparseJsonSafe
(text: string)
src/app/v1/_lib/proxy/fake-streaming/response-validator.ts:358
↓ 1 callersFunctionparseKeysetCursor
(raw: string)
src/repository/user.ts:172
↓ 1 callersFunctionparseLegacySunsetDate
(value: string)
src/app/api/actions/[...route]/route.ts:2511
↓ 1 callersFunctionparseLoginType
(value: unknown)
src/app/[locale]/login/page.tsx:35
↓ 1 callersFunctionparseMetadata
(requestBody: Record<string, unknown>)
src/app/v1/_lib/codex/session-extractor.ts:34
↓ 1 callersFunctionparseNDJSONStream
(body: string)
src/lib/provider-testing/utils/sse-collector.ts:453
↓ 1 callersFunctionparseOptionalInteger
(value: unknown)
src/repository/_shared/transformers.ts:25
↓ 1 callersFunctionparsePositiveNumberQueryParam
( value: string, fieldName: string, bounds?: { minValue?: number; maxValue?: number; } )
src/app/api/availability/route.ts:56
← previousnext →4,101–4,200 of 6,623, ranked by callers