MCPcopy Create free account

hub / github.com/AntiHub-Project/AntiHub / functions

Functions671 in github.com/AntiHub-Project/AntiHub

↓ 326 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 12 callersFunctioncx
(...parts: Array<string | false | null | undefined>)
components/LogoLoop.tsx:48
↓ 9 callersFunctionrandom
(base: number | [number, number])
components/Hyperspeed.tsx:410
↓ 8 callersFunctionfetchWithAuth
( url: string, options: RequestInit = {} )
lib/api.ts:220
↓ 8 callersFunctionsaveAuthCredentials
* 保存登录凭证到 localStorage
lib/api.ts:127
↓ 8 callersFunctionuseContextValue
()
components/ai-elements/context.tsx:32
↓ 7 callersFunctionsupportsImageSize
(modelName: string)
app/dashboard/playground/page.tsx:109
↓ 6 callersFunctionhandleResponse
* 处理 API 响应
lib/api.ts:89
↓ 6 callersFunctionnsin
(val: number)
components/Hyperspeed.tsx:98
↓ 6 callersFunctionuseOpenInContext
()
components/ai-elements/open-in-chat.tsx:188
↓ 6 callersFunctionuseSidebar
()
components/ui/sidebar.tsx:47
↓ 5 callersFunctiongetCurrentUser
()
lib/api.ts:452
↓ 5 callersFunctionrefreshToken
* 刷新 Token * 尝试从多个来源获取 refresh_token
lib/api.ts:164
↓ 5 callersFunctionuseMessageBranch
()
components/ai-elements/message.tsx:124
↓ 4 callersFunctionanimate
(timestamp: number)
components/LogoLoop.tsx:158
↓ 4 callersFunctionclearAuthCredentials
* 清除所有认证凭证
lib/api.ts:142
↓ 4 callersFunctioncn
(...classes: (string | undefined | null | boolean)[])
components/RotatingText.tsx:11
↓ 4 callersFunctiongetX
(p: number)
components/Hyperspeed.tsx:259
↓ 4 callersFunctiongetY
(p: number)
components/Hyperspeed.tsx:263
↓ 4 callersFunctionmakeRequest
(authToken: string)
lib/api.ts:1118
↓ 4 callersFunctionupdateMousePosition
(mouseX: number, mouseY: number)
components/ui/tooltip-card.tsx:75
↓ 4 callersFunctionuseCarousel
()
components/ui/carousel.tsx:35
↓ 4 callersFunctionuseConfirmation
()
components/ai-elements/confirmation.tsx:51
↓ 4 callersFunctionusePromptInputAttachments
()
components/ai-elements/prompt-input.tsx:251
↓ 3 callersMethodcreatePlane
(side: number, width: number, isRoad: boolean)
components/Hyperspeed.tsx:751
↓ 3 callersFunctionformatQuota
(quota: string)
app/dashboard/analytics/page.tsx:216
↓ 3 callersFunctiongetModelDisplayName
(model: string)
app/dashboard/analytics/page.tsx:184
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
components/ui/chart.tsx:312
↓ 3 callersFunctiongetQuotaConsumption
(params?: { limit?: number; start_date?: string; end_date?: string; })
lib/api.ts:965
↓ 3 callersFunctionhandleAntigravityPageChange
(page: number)
app/dashboard/analytics/page.tsx:155
↓ 3 callersFunctionhandlePageChange
(page: number)
app/dashboard/analytics/page.tsx:151
↓ 3 callersFunctionisAuthenticated
()
lib/api.ts:483
↓ 3 callersFunctionloadAPIKeys
()
app/dashboard/settings/page.tsx:42
↓ 3 callersFunctionloadAccounts
()
app/dashboard/accounts/page.tsx:113
↓ 3 callersFunctiononChange
()
hooks/use-mobile.ts:10
↓ 3 callersMethodsetSize
(width: number, height: number, updateStyles: boolean)
components/Hyperspeed.tsx:1201
↓ 3 callersFunctionshowConfirmDialog
(config: { title: string; description: string; confirmText?: string; cancelText?: string;
app/dashboard/accounts/page.tsx:218
↓ 3 callersFunctiontoCssLength
(value?: number | string)
components/LogoLoop.tsx:45
↓ 3 callersFunctionuseCarouselApi
()
components/ai-elements/inline-citation.tsx:94
↓ 3 callersFunctionuseIsMobile
()
hooks/use-mobile.ts:5
↓ 3 callersFunctionuseWebPreview
()
components/ai-elements/web-preview.tsx:30
↓ 2 callersFunctioncalculatePosition
(mouseX: number, mouseY: number)
components/ui/tooltip-card.tsx:31
↓ 2 callersMethoddispose
()
components/Hyperspeed.tsx:1175
↓ 2 callersFunctiongetAPIKeys
()
lib/api.ts:785
↓ 2 callersFunctiongetHandleCoordsByPosition
( node: InternalNode<Node>, handlePosition: Position )
components/ai-elements/edge.tsx:42
↓ 2 callersFunctiongetKiroAccountBalance
(accountId: number)
lib/api.ts:1594
↓ 2 callersFunctiongetKiroAccounts
()
lib/api.ts:1544
↓ 2 callersFunctiongetModelDisplayName
(model: string)
app/dashboard/accounts/page.tsx:543
↓ 2 callersFunctiongetModelProvider
(modelName: string)
app/dashboard/playground/page.tsx:150
↓ 2 callersFunctiongetSharedPoolQuotas
()
lib/api.ts:984
↓ 2 callersFunctiongetSharedPoolStats
()
lib/api.ts:1003
↓ 2 callersFunctiongetStoredToken
()
lib/api.ts:500
↓ 2 callersFunctiongetTokenExpiresAt
()
lib/api.ts:556
↓ 2 callersFunctiongetTrustLevelText
(level: number)
app/dashboard/profile/page.tsx:80
↓ 2 callersFunctionhandleBranchChange
(newBranch: number)
components/ai-elements/message.tsx:150
↓ 2 callersFunctionhandleCopyKey
(key: string)
app/dashboard/settings/page.tsx:177
↓ 2 callersFunctionhandleUpdatePreference
(newPreference: number)
app/dashboard/settings/page.tsx:79
↓ 2 callersFunctionlerp
(current: number, target: number, speed = 0.1, limit = 0.001)
components/Hyperspeed.tsx:424
↓ 2 callersFunctionloadUserInfo
()
app/dashboard/profile/page.tsx:34
↓ 2 callersFunctionpickRandom
(arr: T | T[])
components/Hyperspeed.tsx:417
↓ 2 callersFunctionprocessQueue
(error: Error | null, token: string | null = null)
lib/api.ts:73
↓ 2 callersFunctionresetState
()
components/add-account-drawer.tsx:345
↓ 2 callersMethodstop
()
components/ai-elements/prompt-input.tsx:1047
↓ 2 callersFunctionuseChainOfThought
()
components/ai-elements/chain-of-thought.tsx:29
↓ 2 callersFunctionuseChart
()
components/ui/chart.tsx:27
↓ 2 callersFunctionuseOptionalPromptInputController
()
components/ai-elements/prompt-input.tsx:120
↓ 2 callersFunctionusePlan
()
components/ai-elements/plan.tsx:30
↓ 1 callersFunctionanimateLoading
()
components/ui/stateful-button.tsx:14
↓ 1 callersFunctionanimateSuccess
()
components/ui/stateful-button.tsx:28
↓ 1 callersFunctioncheckBetaStatus
()
components/add-account-drawer.tsx:52
↓ 1 callersFunctioncheckBetaStatus
()
app/dashboard/settings/page.tsx:70
↓ 1 callersFunctioncheckEmailExists
(email: string)
lib/api.ts:309
↓ 1 callersFunctionconvertBlobUrlToDataUrl
(url: string)
components/ai-elements/prompt-input.tsx:678
↓ 1 callersFunctiondeleteAPIKey
(keyId: number)
lib/api.ts:820
↓ 1 callersFunctiondeleteAccount
(cookieId: string)
lib/api.ts:680
↓ 1 callersFunctiondeleteKiroAccount
(accountId: number)
lib/api.ts:1646
↓ 1 callersFunctionformatCountdown
(seconds: number)
components/add-account-drawer.tsx:303
↓ 1 callersFunctionformatQuota
(quota: number)
components/shared-pool-models.tsx:99
↓ 1 callersFunctionformatResetTime
(time: string | null)
components/shared-pool-models.tsx:116
↓ 1 callersFunctiongenerateAPIKey
( name: string = 'My API Key', configType: 'antigravity' | 'kiro' = 'antigravity' )
lib/api.ts:804
↓ 1 callersFunctiongenerateImage
( request: ImageGenerationRequest, onError?: (error: Error) => void, onHeartbeat?: () => void )
lib/api.ts:1106
↓ 1 callersFunctiongetAccountQuotas
(cookieId: string)
lib/api.ts:844
↓ 1 callersFunctiongetAccounts
()
lib/api.ts:658
↓ 1 callersFunctiongetAllModels
()
app/dashboard/playground/page.tsx:167
↓ 1 callersFunctiongetAntihookUrl
()
components/add-account-drawer.tsx:370
↓ 1 callersFunctiongetAuthHeaders
* 获取认证 header
lib/api.ts:116
↓ 1 callersFunctiongetCookie
* 从 cookie 中获取值
lib/api.ts:508
↓ 1 callersFunctiongetCookiePreference
()
lib/api.ts:883
↓ 1 callersFunctiongetEdgeParams
( source: InternalNode<Node>, target: InternalNode<Node> )
components/ai-elements/edge.tsx:86
↓ 1 callersFunctiongetInitials
(username: string)
app/dashboard/profile/page.tsx:99
↓ 1 callersFunctiongetKiroAccountConsumption
( accountId: number, params?: { limit?: number; offset?: number; start_date?: string; end_
lib/api.ts:1605
↓ 1 callersFunctiongetKiroConsumptionStats
(params?: { start_date?: string; end_date?: string; })
lib/api.ts:1629
↓ 1 callersFunctiongetKiroOAuthAuthorizeUrl
( provider: 'Google' | 'Github', isShared: number = 0 )
lib/api.ts:1528
↓ 1 callersFunctiongetModelDisplayName
(model: string)
components/shared-pool-models.tsx:78
↓ 1 callersFunctiongetModelIcon
(modelName: string)
components/shared-pool-models.tsx:103
↓ 1 callersFunctiongetModelIcon
(modelName: string)
app/dashboard/accounts/page.tsx:576
↓ 1 callersFunctiongetModelIcon
(modelName: string)
app/dashboard/analytics/page.tsx:221
↓ 1 callersFunctiongetOAuthAuthorizeUrl
(isShared: number = 0)
lib/api.ts:745
↓ 1 callersFunctiongetStatusBadge
(status: ExtendedToolState)
components/ai-elements/tool.tsx:41
↓ 1 callersFunctiongetStoredUser
()
lib/api.ts:491
next →1–100 of 671, ranked by callers