MCPcopy Create free account

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

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

↓ 1 callersMethodinputNamePattern
()
scripts/clear-session-bindings.ts:790
↓ 1 callersMethodinputPriority
()
scripts/clear-session-bindings.ts:780
↓ 1 callersFunctioninsertAtCursor
(text: string)
src/app/[locale]/settings/notifications/_components/template-editor.tsx:58
↓ 1 callersFunctioninsertAuditLog
(entry: AuditLogInput)
src/repository/audit-log.ts:52
↓ 1 callersMethodinterpolate
(value: unknown, variables: Record<string, string>)
src/lib/webhook/renderers/custom.ts:32
↓ 1 callersMethodinterpolateString
(template: string, variables: Record<string, string>)
src/lib/webhook/renderers/custom.ts:53
↓ 1 callersMethodinvalidateAndReload
* 外部触发:标记过滤器可能已过期,并强制后台重建。 * * 典型场景:多实例环境下,某个实例创建了新 key;其它实例需要尽快重建,避免误拒绝。
src/lib/security/api-key-vacuum-filter.ts:245
↓ 1 callersFunctioninvalidateConfiguredPublicStatusGroupsCache
()
src/lib/public-status/config.ts:424
↓ 1 callersFunctioninvoke
()
src/lib/api/v1/_shared/action-bridge.ts:14
↓ 1 callersFunctionisAbortError
(error: unknown)
src/app/v1/_lib/proxy/fake-streaming/orchestrator.ts:165
↓ 1 callersFunctionisAdaptiveThinkingConfig
( value: unknown )
src/lib/provider-patch-contract.ts:146
↓ 1 callersFunctionisAdminForbidden
(error: unknown)
src/lib/api-client/v1/errors.ts:28
↓ 1 callersFunctionisAllowedByAllowlist
(row, allowlist)
scripts/audit-settings-placeholders.js:76
↓ 1 callersFunctionisAnthropicModelFamily
(model: string | null)
src/app/v1/_lib/proxy/anthropic-actual-response-model.ts:96
↓ 1 callersFunctionisApiKeyRedisCacheEnabled
()
src/lib/security/api-key-auth-cache.ts:30
↓ 1 callersFunctionisAscii
(text: string)
src/app/v1/_lib/proxy/client-error-message.ts:81
↓ 1 callersFunctionisAuditCategory
(value: string)
src/actions/audit-logs.ts:34
↓ 1 callersFunctionisAuthorizationActionError
(errorCode?: string)
src/app/api/v1/resources/public/handlers.ts:142
↓ 1 callersFunctionisAvailabilitySuccessStatusCode
(statusCode: number)
src/lib/availability/availability-service.ts:163
↓ 1 callersFunctionisBatchProbeLogsDisabled
()
src/lib/provider-endpoints/probe-logs-batcher.ts:93
↓ 1 callersMethodisBlankSseSeparatorLine
(line: string)
src/app/v1/_lib/proxy/response-fixer/index.ts:636
↓ 1 callersFunctionisCircuitBreakerDisabled
(config: CircuitBreakerConfig)
src/lib/circuit-breaker.ts:207
↓ 1 callersFunctionisCircuitStateOpen
(health: ProviderHealth)
src/lib/circuit-breaker.ts:219
↓ 1 callersFunctionisClaudeErrorFormat
(response: unknown)
src/lib/error-override-validator.ts:284
↓ 1 callersFunctionisClipboardReadSupported
()
src/lib/utils/clipboard.ts:63
↓ 1 callersFunctionisCoreField
( path: string, key: string, kind: ModelPriceFieldKind, source: ModelPriceFieldSource )
src/lib/utils/model-price-fields.ts:139
↓ 1 callersFunctionisDateLike
(value: unknown)
src/lib/api/v1/_shared/serialization.ts:22
↓ 1 callersFunctionisDevBuild
(version: string)
src/app/api/version/route.ts:56
↓ 1 callersFunctionisDevelopmentRuntime
()
src/lib/security/csrf-origin-guard.ts:26
↓ 1 callersMethodisDraggable
()
src/components/ui/__tests__/map.test.tsx:138
↓ 1 callersFunctionisEdgeRuntime
()
src/lib/security/api-key-auth-cache.ts:25
↓ 1 callersFunctionisErrorReason
(reason: string | undefined)
src/lib/langfuse/trace-proxy-request.ts:65
↓ 1 callersFunctionisExpiresStart
(index: number)
tests/e2e/_helpers/auth.ts:12
↓ 1 callersFunctionisForeignKeyViolationError
(error: unknown)
src/actions/provider-endpoints.ts:199
↓ 1 callersFunctionisFresh
(cached: { data: LimitUsageData; timestamp: number } | undefined)
src/lib/dashboard/user-limit-usage-cache.ts:16
↓ 1 callersFunctionisGeminiErrorFormat
(response: unknown)
src/lib/error-override-validator.ts:291
↓ 1 callersFunctionisHeaderKey
(keyName: string | undefined)
src/lib/api/action-adapter-openapi.ts:105
↓ 1 callersFunctionisInProgressStatus
(statusCode: number | null)
src/app/[locale]/dashboard/logs/_components/error-details-dialog/types.ts:185
↓ 1 callersFunctionisInertChatCompletionChunkPayload
(payload: unknown)
src/app/v1/_lib/proxy/response-fixer/index.ts:69
↓ 1 callersMethodisInertChatCompletionDataLine
(line: string)
src/app/v1/_lib/proxy/response-fixer/index.ts:620
↓ 1 callersFunctionisJsonContentType
(contentType: string)
src/app/v1/_lib/proxy/response-output-normalizer.ts:16
↓ 1 callersFunctionisLegacyWindowsBash
(path: string)
tests/helpers/bash.ts:25
↓ 1 callersFunctionisLikelyHtmlDocument
* 判断文本是否“很像”一个完整的 HTML 文档(强信号)。 * * 规则(偏保守): * - 仅当文本以 `<` 开头时才继续; * - 仅在前 1024 字符内检测 `<!doctype html ...>` 或以 `<html ...>` 开头; * - 不做 HTML 解析/清洗
src/lib/utils/upstream-error-detection.ts:214
↓ 1 callersFunctionisMaxTokensPreference
(value: unknown)
src/lib/provider-patch-contract.ts:192
↓ 1 callersFunctionisMetricArray
( input: CacheHitRateAlertMetricCollection )
src/lib/cache-hit-rate-alert/decision.ts:77
↓ 1 callersMethodisMoving
()
src/components/ui/__tests__/map.test.tsx:299
↓ 1 callersFunctionisMutation
(method: string)
src/lib/api-client/v1/fetcher.ts:134
↓ 1 callersFunctionisNDJSONResponse
* Check if response is NDJSON format * Codex often uses NDJSON instead of SSE
src/lib/provider-testing/parsers/codex-parser.ts:44
↓ 1 callersFunctionisNonEmpty
(value: unknown)
src/app/[locale]/dashboard/_components/ip-details/atoms.tsx:50
↓ 1 callersFunctionisNonRetryableClientErrorAsync
(error: Error)
src/app/v1/_lib/proxy/errors.ts:649
↓ 1 callersFunctionisNotFoundActionCode
(code: string | undefined)
src/app/api/v1/resources/keys/handlers.ts:327
↓ 1 callersFunctionisNotificationType
(value: string)
src/app/[locale]/settings/notifications/_components/test-webhook-button.tsx:24
↓ 1 callersFunctionisNumberRecord
(value: unknown)
src/lib/provider-patch-contract.ts:138
↓ 1 callersFunctionisObject
(v)
scripts/audit-settings-placeholders.js:23
↓ 1 callersFunctionisObject
(v)
scripts/audit-messages-emoji.js:7
↓ 1 callersFunctionisOffsetUsageLogsQuery
(query: UsageLogsActionQueryInput)
src/app/api/v1/resources/usage-logs/handlers.ts:188
↓ 1 callersFunctionisOffsetUsageLogsQuery
(query: MeUsageLogsActionQueryInput)
src/app/api/v1/resources/me/handlers.ts:126
↓ 1 callersFunctionisOpenAIErrorFormat
(response: unknown)
src/lib/error-override-validator.ts:298
↓ 1 callersFunctionisOpenAIImageUrl
(value: string)
src/app/v1/_lib/proxy/openai-image-compat.ts:93
↓ 1 callersFunctionisOpenaiResponsesWebsocketEnabled
()
src/lib/config/system-settings-cache.ts:196
↓ 1 callersFunctionisOriginMatchingHost
* Compare Origin header against Host header (standard CSRF fallback). * Extracts host:port from the Origin URL and compares with the request host.
src/lib/security/csrf-origin-guard.ts:53
↓ 1 callersFunctionisPathLikeCommand
(command: string)
tests/e2e/responses-ws-codex-cli-transport.test.ts:291
↓ 1 callersFunctionisPermissionActionCode
(code: string | undefined)
src/app/api/v1/resources/keys/handlers.ts:332
↓ 1 callersFunctionisPlainObject
(value: unknown)
src/actions/model-prices.ts:616
↓ 1 callersFunctionisPlainObject
* True only for `{}` / `Object.create(null)` — rejects `Date`, `Map`, `Set`, * `Buffer`, `URL`, and user-defined classes. If we recursed into those v
src/lib/audit/redact.ts:27
↓ 1 callersFunctionisPriceDataEqual
* 检查价格数据是否相同
src/actions/model-prices.ts:39
↓ 1 callersFunctionisPrivateIpv6
(ip: string)
src/lib/ip/private-ip.ts:37
↓ 1 callersFunctionisProviderModelRedirectRule
(value: unknown)
src/lib/provider-model-redirects.ts:20
↓ 1 callersFunctionisProviderModelRedirectRuleList
( value: unknown )
src/lib/provider-model-redirects.ts:37
↓ 1 callersFunctionisProviderType
(value: string)
src/app/api/leaderboard/route.ts:19
↓ 1 callersFunctionisProviderType
(value: string | null)
src/app/api/availability/endpoints/route.ts:15
↓ 1 callersFunctionisPublicStatusFinalDetails
(details: PublicStatusFinalDetails)
src/repository/message.ts:105
↓ 1 callersFunctionisQuickPeriodActive
(quickPeriod: QuickPeriod)
src/app/[locale]/dashboard/leaderboard/_components/date-range-picker.tsx:141
↓ 1 callersFunctionisRateLimitError
(error: unknown)
src/app/v1/_lib/proxy/errors.ts:838
↓ 1 callersFunctionisRecord
(value: unknown)
src/lib/allowed-model-rules.ts:16
↓ 1 callersFunctionisRedactedUrlEcho
(value: unknown, existing: string | null | undefined)
src/app/api/v1/resources/providers/handlers.ts:700
↓ 1 callersFunctionisRedactedUrlEcho
(value: unknown, existing: string | null | undefined)
src/app/api/v1/resources/webhook-targets/handlers.ts:203
↓ 1 callersFunctionisRequestStreaming
(session: ProxySession)
src/app/v1/_lib/proxy/error-handler.ts:47
↓ 1 callersFunctionisResponsesPath
(path: string | undefined)
tests/e2e/responses-ws-codex-cli-transport.test.ts:496
↓ 1 callersFunctionisResponsesWsUpgrade
(req)
server.js:627
↓ 1 callersFunctionisRetryableHttpStatus
(responseStatus: number)
src/lib/provider-testing/test-service.ts:142
↓ 1 callersFunctionisRollupCoverageComplete
(input: { coverageStartedAt: string | null; coveredFrom: string; })
src/lib/public-status/rebuild-worker.ts:92
↓ 1 callersFunctionisSameProviderIdList
(left: number[], right: number[])
src/actions/providers.ts:1547
↓ 1 callersFunctionisSensitiveScalarKey
(keyName: string | undefined)
src/lib/api/action-adapter-openapi.ts:86
↓ 1 callersFunctionisSessionTokenKindAccepted
( mode: SessionTokenMode, kind: SessionTokenKind )
src/lib/auth.ts:109
↓ 1 callersFunctionisStandardEndpointPath
(pathname: string)
src/app/v1/_lib/proxy/endpoint-paths.ts:44
↓ 1 callersFunctionisStrictStandardEndpointPath
(pathname: string)
src/app/v1/_lib/proxy/endpoint-paths.ts:48
↓ 1 callersMethodisStyleLoaded
()
src/components/ui/__tests__/map.test.tsx:312
↓ 1 callersFunctionisSuccessStatus
(statusCode: number | null)
src/app/[locale]/dashboard/logs/_components/error-details-dialog/types.ts:178
↓ 1 callersFunctionisSuccessStatusCode
(statusCode: number | null | undefined)
src/lib/request-outcome.ts:193
↓ 1 callersFunctionisThinkingBudgetPreference
(value: unknown)
src/lib/provider-patch-contract.ts:175
↓ 1 callersFunctionisUnsafeAfterRedaction
(text: string)
src/app/v1/_lib/proxy/client-error-message.ts:140
↓ 1 callersFunctionisUrlSecretKey
(keyName: string | undefined)
src/lib/api/action-adapter-openapi.ts:96
↓ 1 callersFunctionisUserWarning
(userQuota: UserQuota)
src/lib/utils/quota-helpers.ts:108
↓ 1 callersFunctionisValidCspReportUri
(uri: string)
src/lib/security/security-headers.ts:16
↓ 1 callersFunctionisValidLevel
(level: string)
src/lib/logger.ts:49
↓ 1 callersFunctionisValidLookupResult
(data: unknown)
src/lib/ip-geo/client.ts:56
↓ 1 callersFunctionisValidSetValue
(field: ProviderBatchPatchField, value: unknown)
src/lib/provider-patch-contract.ts:209
↓ 1 callersFunctionisValidSignatureModel
* 签名解出字符串合理性校验:必须非空 + 长度可入库(varchar 128)。 * **不**限制必须含 "claude",避免在未来模型家族变革(如 Anthropic 改名 / 推 * 新系列时)误拒合法值。校验由"触发条件已经守卫上游是 Anthropic 协议"兜底。
src/app/v1/_lib/proxy/anthropic-actual-response-model.ts:106
↓ 1 callersFunctionisValidTimeRange
(value: string)
src/actions/admin-user-insights.ts:24
← previousnext →3,901–4,000 of 6,623, ranked by callers