MCPcopy Create free account

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

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

↓ 2 callersFunctionqueuePublicStatusRollupForFinalDetails
( id: number, details: PublicStatusFinalDetails )
src/repository/message.ts:137
↓ 2 callersFunctionread
(name: string)
tests/unit/settings/system-settings-form-non-chat-fallback.test.tsx:96
↓ 2 callersFunctionread
(name: string)
tests/unit/settings/system-settings-form-upstream-error-message.test.tsx:64
↓ 2 callersFunctionread
(name: string)
tests/unit/settings/system-settings-form-ip-extraction.test.tsx:31
↓ 2 callersFunctionreadBody
(req: http.IncomingMessage)
tests/e2e/responses-ws-codex-cli-transport.test.ts:155
↓ 2 callersFunctionreadConsistentProviderEndpointAfterWrite
(input: { endpointId: number; expected: Partial<EditableEndpointFields>; })
src/repository/provider-endpoints.ts:294
↓ 2 callersMethodreadCurrentInternalPublicStatusConfigSnapshot
(input: { redis: { status: string; get: (key: string) => Promise<string | null>; }; al
tests/unit/public-status/config-snapshot.test.ts:47
↓ 2 callersFunctionreadHeader
(source: HeadersLike, name: string)
src/lib/ip/extract-client-ip.ts:11
↓ 2 callersFunctionreadHeader
(headers: Headers | Record<string, string>, name: string)
src/app/v1/_lib/responses-ws/internal-secret.ts:90
↓ 2 callersFunctionreadJson
(relPath: string)
tests/unit/i18n/ja-providers-strings-quality.test.ts:5
↓ 2 callersFunctionreadProjectFile
(...segments: string[])
tests/unit/settings/prices-layout.test.ts:5
↓ 2 callersFunctionreadPublicStatusRollupBuckets
(input: { redis: RedisRollupReader; bucketStarts: string[]; })
src/lib/public-status/rollup-store.ts:487
↓ 2 callersFunctionreadPublicStatusRoute
(params: URLSearchParams)
src/lib/public-status/public-api-loader.ts:32
↓ 2 callersFunctionreadRedisValue
(key: string)
tests/unit/actions/providers-apply-engine.test.ts:10
↓ 2 callersFunctionreadSource
(relativePath: string)
tests/unit/auth/auth-cookie-constant-sync.test.ts:6
↓ 2 callersFunctionreadTopLevelModel
(obj: unknown)
src/app/v1/_lib/proxy/actual-response-model.ts:138
↓ 2 callersFunctionreadValue
(key: string)
tests/unit/actions/redis-mock-utils.ts:6
↓ 2 callersFunctionreclusterProviderVendors
(c: Context)
src/app/api/v1/resources/providers/handlers.ts:519
↓ 2 callersMethodrecordFailureForScope
(params: { scopeKey: string; threshold: number; now: number; })
src/lib/security/login-abuse-policy.ts:177
↓ 2 callersFunctionrecordSuccess
(providerId: number)
src/lib/circuit-breaker.ts:612
↓ 2 callersMethodrecordTtfb
* Record Time To First Byte (TTFB) for streaming responses. * * Definition: first body chunk received. * Non-stream responses should persist
src/app/v1/_lib/proxy/session.ts:465
↓ 2 callersFunctionredactGeminiCandidates
* Redact Gemini candidates array in response
src/lib/utils/message-redaction.ts:372
↓ 2 callersFunctionredactGeminiContents
* Redact Gemini contents array
src/lib/utils/message-redaction.ts:158
↓ 2 callersFunctionredactHeaders
(headers: Headers)
src/lib/api/v1/_shared/redaction.ts:18
↓ 2 callersFunctionredactProviderUrlFields
(value: T)
src/actions/providers.ts:226
↓ 2 callersFunctionrefresh
()
src/app/[locale]/dashboard/availability/_components/availability-dashboard.tsx:126
↓ 2 callersFunctionrefresh
()
src/app/[locale]/status/_components/public-status-view.tsx:192
↓ 2 callersFunctionrefreshCacheAction
()
src/actions/error-rules.ts:418
↓ 2 callersMethodrefreshSessionTTL
* 刷新 session TTL(滑动窗口)
src/lib/session-manager.ts:578
↓ 2 callersFunctionrefreshThrottled
()
src/app/[locale]/dashboard/availability/_components/endpoint/endpoint-tab.tsx:281
↓ 2 callersFunctionregisterCors
(app: Hono)
src/app/v1/_lib/cors.ts:156
↓ 2 callersFunctionregisterCrashDiagnostics
()
src/instrumentation.ts:40
↓ 2 callersFunctionregisterDocs
( app: OpenAPIHono, buildDocument: BuildOpenApiDocument = buildOpenApiDocument )
src/app/api/v1/_root/docs.ts:10
↓ 2 callersMethodreload
(queue = true)
src/lib/request-filter-engine.ts:341
↓ 2 callersFunctionremoveAllRepeatableJobs
* 移除队列中所有 repeatable 定时任务。 * 逐个尝试移除(单个 key 失败不影响其余 key),返回是否全部成功。 * 调用方应在“仍要新增任务”的场景下检查返回值:若有旧任务未能移除, * 继续新增会导致旧任务与新任务同时触发(重复发送),应中止本次重调度等待重试。
src/lib/notification/notification-queue.ts:738
↓ 2 callersMethodremoveSource
(id: string)
src/components/ui/__tests__/map.test.tsx:325
↓ 2 callersFunctionrender
(node: ReactNode)
src/components/ui/__tests__/badge.test.tsx:11
↓ 2 callersFunctionrender
(node: ReactNode)
src/app/[locale]/dashboard/audit-logs/_components/audit-log-detail-sheet.test.tsx:86
↓ 2 callersFunctionrender
(node: ReactNode)
src/app/[locale]/dashboard/_components/ip-display-trigger.test.tsx:11
↓ 2 callersFunctionrender
()
tests/unit/auth/login-page-site-title.test.tsx:81
↓ 2 callersFunctionrender
(node: ReactNode)
tests/unit/lib/use-in-view-once.test.tsx:6
↓ 2 callersFunctionrender
(node: ReactNode)
tests/unit/settings/providers/allowed-model-tester.test.tsx:27
↓ 2 callersFunctionrender
(node: ReactNode)
tests/unit/settings/providers/model-redirect-tester.test.tsx:27
↓ 2 callersFunctionrender
(node: ReactNode)
tests/unit/settings/prices/delete-model-dialog.test.tsx:26
↓ 2 callersFunctionrender
()
tests/unit/login/login-visual-regression.test.tsx:58
↓ 2 callersFunctionrender
()
tests/unit/login/login-overlay-a11y.test.tsx:57
↓ 2 callersFunctionrender
(node: ReactNode)
tests/unit/dashboard/add-key-form-self-service.test.tsx:56
↓ 2 callersFunctionrender
(node: ReactNode)
tests/unit/dashboard/limit-rule-picker-5h-reset-mode.test.tsx:50
↓ 2 callersFunctionrenderAndConfirm
()
tests/unit/delete-key-error-toast-ui.test.tsx:69
↓ 2 callersFunctionrenderClientWithIntl
(node: ReactNode)
src/app/[locale]/dashboard/logs/_components/error-details-dialog.test.tsx:382
↓ 2 callersFunctionrenderHedgeAttemptUsage
(params: { accent: "winner" | "loser"; costUsd: string; inputTokens?: number | null; outputTok
src/app/[locale]/dashboard/logs/_components/error-details-dialog/components/LogicTraceTab.tsx:86
↓ 2 callersFunctionrenderItem
( label: string, value: Date | null, countdown: ReturnType<typeof useCountdown> )
src/app/[locale]/my-usage/_components/expiration-info.tsx:70
↓ 2 callersFunctionrenderSection
(section: Section)
src/lib/webhook/templates/placeholders.ts:223
↓ 2 callersMethodrenderSection
(section: Section)
src/lib/webhook/renderers/telegram.ts:50
↓ 2 callersMethodrenderSection
(section: Section)
src/lib/webhook/renderers/dingtalk.ts:48
↓ 2 callersMethodrenderSection
(section: Section)
src/lib/webhook/renderers/wechat.ts:68
↓ 2 callersMethodrenderSection
(section: Section)
src/lib/webhook/renderers/feishu.ts:77
↓ 2 callersFunctionrenderSimple
(node: ReactNode)
tests/unit/dashboard/dashboard-home-layout.test.tsx:78
↓ 2 callersFunctionrenderSuccessRateCell
( row: { successRate: number | null; basisDisclosureRequired?: boolean }, t: ReturnType<typeof useTranslat
src/app/[locale]/dashboard/leaderboard/_components/leaderboard-view.tsx:83
↓ 2 callersFunctionrenderTextContent
(options?: { showTokensCost?: boolean; sessionOverrides?: Partial<ActiveSessionInfo>; })
tests/unit/components/session-list-item.test.tsx:69
↓ 2 callersFunctionrenderValueBlock
({ primary, secondary, emphasize = false, secondaryClassName, }: { primary:
src/app/[locale]/dashboard/logs/_components/virtualized-logs-table.tsx:391
↓ 2 callersFunctionrenderWithIntl
(node: ReactNode)
tests/unit/dashboard-logs-warmup-ui.test.tsx:27
↓ 2 callersFunctionrenderWithIntl
(node: ReactNode)
tests/unit/dashboard-logs-filters-time-range.test.tsx:29
↓ 2 callersFunctionrenderWithProviders
(node: ReactNode)
tests/unit/frontend/use-api-mutation.test.tsx:18
↓ 2 callersFunctionrenderWithProviders
(node: ReactNode)
tests/unit/dashboard/dashboard-home-layout.test.tsx:96
↓ 2 callersFunctionrenewKey
(c: Context)
src/app/api/v1/resources/keys/handlers.ts:194
↓ 2 callersFunctionrenewUser
(c: Context)
src/app/api/v1/resources/users/handlers.ts:171
↓ 2 callersMethodreset
(ip: string, key?: string)
src/lib/security/login-abuse-policy.ts:116
↓ 2 callersFunctionresetAllOnboarding
()
src/lib/onboarding.ts:84
↓ 2 callersFunctionresetCircuit
(providerId: number)
src/lib/circuit-breaker.ts:861
↓ 2 callersFunctionresetDrafts
()
src/app/[locale]/settings/providers/_components/priority-edit-popover.tsx:84
↓ 2 callersFunctionresetForm
()
src/app/[locale]/dashboard/_components/user/batch-edit/batch-edit-dialog.tsx:267
↓ 2 callersFunctionresetGlobalAgentPool
()
src/lib/proxy-agent/agent-pool.ts:956
↓ 2 callersFunctionresetProviderCircuit
(c: Context)
src/app/api/v1/resources/providers/handlers.ts:238
↓ 2 callersMethodresetToOriginal
* 重置模型到原始值(用于供应商切换时) * * @param session - 代理会话 * @param originalModel - 原始模型名称 * @param provider - 新供应商
src/app/v1/_lib/proxy/model-redirector.ts:193
↓ 2 callersMethodresolveClientIp
(headers: Headers)
src/app/v1/_lib/proxy/forwarder.ts:5101
↓ 2 callersFunctionresolveCodexInvocation
()
tests/e2e/responses-ws-codex-cli-transport.test.ts:349
↓ 2 callersFunctionresolveCsrfSecret
(authToken: string, explicitSecret?: string | null)
src/lib/api/v1/_shared/csrf.ts:59
↓ 2 callersFunctionresolveFromPricingMap
( candidate: ModelRecordCandidate, keyCandidates: PricingKeyCandidate[], type: PricingKeyCandidate["type
src/lib/utils/pricing-resolution.ts:281
↓ 2 callersFunctionresolveKeyCacheTtlSeconds
(key: Key)
src/lib/security/api-key-auth-cache.ts:211
↓ 2 callersFunctionresolveLaterResetAt
( primaryResetAt: Date | null | undefined, secondaryResetAt: Date | null | undefined )
src/lib/rate-limit/cost-reset-utils.ts:1
↓ 2 callersFunctionresolveLongContextThreshold
(priceData: ModelPriceData)
src/lib/utils/cost-calculation.ts:114
↓ 2 callersFunctionresolveProviderType
(providerType?: ProviderType | null)
src/app/[locale]/settings/providers/_components/forms/api-test-button.tsx:42
↓ 2 callersFunctionresolvePublicStatusManifestState
( manifest: PublicStatusManifest | null, nowIso: string )
src/lib/public-status/redis-contract.ts:194
↓ 2 callersFunctionresolveRequestTypeBadge
(modelName: string, providerTypeOverride?: ProviderType)
src/lib/public-status/config-publisher.ts:22
↓ 2 callersMethodresolveSiteMetadataSource
()
tests/unit/public-status/layout-metadata.test.ts:21
↓ 2 callersFunctionresolveSuccessRateModelKey
(input: { originalModel?: string | null; model?: string | null; })
src/lib/request-outcome.ts:112
↓ 2 callersFunctionresolveUsageLogFiltersForSession
( session: UsageLogsSession, filters: Omit<UsageLogFilters, "userId" | "page" | "pageSize"> )
src/actions/usage-logs.ts:97
↓ 2 callersFunctionrestoreProviderInTransaction
( tx: ProviderTransaction, providerId: number, now: Date )
src/repository/provider.ts:148
↓ 2 callersFunctionrestoreRedactedHeaderValues
( incoming: Record<string, string>, existing: Record<string, string> )
src/lib/api/legacy-action-sanitizers.ts:224
↓ 2 callersFunctionretryDisabledConfig
()
tests/e2e/responses-ws-codex-cli-transport.test.ts:799
↓ 2 callersMethodrevoke
(sessionId: string)
src/lib/auth-session-store/index.ts:17
↓ 2 callersMethodrun
(store: AuditRequestContext, callback: () => T)
src/lib/audit/request-context.ts:13
↓ 2 callersFunctionrunApplicationCleanup
( signal: string, opts: RunCleanupOptions = {} )
src/lib/lifecycle/shutdown.ts:58
↓ 2 callersFunctionrunBashScript
(scriptBody: string, options: RunBashOptions = {})
tests/helpers/bash.ts:123
↓ 2 callersFunctionrunCleanupOnce
()
src/lib/provider-endpoints/probe-log-cleanup.ts:35
↓ 2 callersFunctionrunCycle
()
src/lib/public-status/scheduler.ts:131
↓ 2 callersFunctionrunImageEditPerRequestScenario
( billingModelSource: SystemSettings["billingModelSource"] )
tests/integration/billing-model-source.test.ts:1049
↓ 2 callersFunctionrunNoPriceScenario
(options: { billingModelSource: SystemSettings["billingModelSource"]; isStream: boolean; priceLook
tests/integration/billing-model-source.test.ts:1375
↓ 2 callersFunctionrunProbeCycle
* Run a single probe cycle
src/lib/circuit-breaker-probe.ts:148
← previousnext →2,801–2,900 of 6,623, ranked by callers