MCPcopy Create free account

hub / github.com/QingJ01/Agent-Zhihu / functions

Functions324 in github.com/QingJ01/Agent-Zhihu

↓ 1 callersFunctiondecideReplyTarget
(messages: DiscussionMessage[])
src/app/api/questions/route.ts:264
↓ 1 callersFunctiondecodeAuthPayload
(cookieValue: string | undefined)
src/app/api/auth/[...nextauth]/route.ts:61
↓ 1 callersFunctiondeleteAgentKey
(keyId: string)
src/app/profile/page.tsx:124
↓ 1 callersFunctiondeleteKeyForUser
( userId: string, keyId: string, )
src/lib/agent-auth.ts:86
↓ 1 callersFunctionescapeRegExp
(input: string)
src/app/api/questions/route.ts:41
↓ 1 callersFunctionexchangeCodeForTokens
(code: string, redirectUri?: string)
src/lib/secondme.ts:30
↓ 1 callersFunctionexchangeGitHubCode
(code: string, redirectUri: string)
src/lib/oauth.ts:33
↓ 1 callersFunctionexchangeGoogleCode
(code: string, redirectUri: string)
src/lib/oauth.ts:114
↓ 1 callersFunctionextractQuestionIdFromPath
(pathname: string)
src/components/AgentAutoRunner.tsx:149
↓ 1 callersFunctionextractTagsFromText
(text: string)
src/app/HomePageClient.tsx:25
↓ 1 callersFunctionfetchDebate
()
src/components/DebateViewer.tsx:47
↓ 1 callersFunctionfetchQuestionThread
(questionId: string)
src/components/AgentAutoRunner.tsx:44
↓ 1 callersFunctionformatCountdown
(targetDate: string)
src/components/TuringGame.tsx:41
↓ 1 callersFunctionformatDate
(timestamp: number)
src/components/DebateHistory.tsx:68
↓ 1 callersFunctionformatRevealedGame
(game: any)
src/app/api/turing/[questionId]/route.ts:157
↓ 1 callersFunctionformatTime
(timestamp: number)
src/components/AnswerCard.tsx:161
↓ 1 callersFunctionformatTime
(timestamp: number)
src/app/logs/LogsPageClient.tsx:27
↓ 1 callersFunctiongenerateAgentKey
()
src/lib/agent-auth.ts:12
↓ 1 callersFunctiongenerateAgentReply
( actor: UserAuthor, targetQuestion: Question, targetMessages: DiscussionMessage[], personaSnippet?: s
src/app/api/agent/participate/route.ts:222
↓ 1 callersFunctiongenerateExpertResponse
( expert: AIExpert, question: { title: string; description?: string }, messages: DiscussionMessage
src/app/api/questions/route.ts:301
↓ 1 callersFunctiongenerateQuestion
(recentTitles: string[] = [])
src/app/api/questions/route.ts:156
↓ 1 callersFunctiongenerateResponseStream
( systemPrompt: string, conversationHistory: { role: 'user' | 'assistant'; content: string }[] )
src/app/api/debate/reply/route.ts:56
↓ 1 callersFunctiongenerateSynthesis
( topic: string, messages: DebateMessage[], userProfile: SecondMeProfile, opponent: OpponentProfile )
src/app/api/debate/route.ts:151
↓ 1 callersFunctiongetAuthorizationUrl
(state: string, redirectUri?: string)
src/lib/secondme.ts:20
↓ 1 callersFunctiongetCookieHeader
(req: unknown)
src/app/api/auth/[...nextauth]/route.ts:41
↓ 1 callersFunctiongetDiscussionRounds
()
src/app/api/questions/route.ts:23
↓ 1 callersFunctiongetFallbackQuestions
(keyword: string)
src/app/api/questions/generate/route.ts:417
↓ 1 callersFunctiongetGitHubProfile
(accessToken: string)
src/lib/oauth.ts:63
↓ 1 callersFunctiongetGoogleProfile
(accessToken: string)
src/lib/oauth.ts:159
↓ 1 callersFunctiongetRandomFallback
()
src/app/api/questions/route.ts:88
↓ 1 callersFunctiongetUserProfile
(accessToken: string)
src/lib/secondme.ts:70
↓ 1 callersFunctiongetUserShades
(accessToken: string)
src/lib/secondme.ts:97
↓ 1 callersFunctiongetUserSoftMemory
(accessToken: string)
src/lib/secondme.ts:114
↓ 1 callersFunctionhandleActivityComment
(item: ActivityItem)
src/app/profile/page.tsx:359
↓ 1 callersFunctionhandleActivityFavorite
(item: ActivityItem)
src/app/profile/page.tsx:330
↓ 1 callersFunctionhandleBind
(provider: ProviderKey)
src/app/profile/page.tsx:293
↓ 1 callersFunctionhandleClose
()
src/components/profile/PersonaImportModal.tsx:34
↓ 1 callersFunctionhandleProviderLogin
(provider: LoginProvider)
src/components/AppHeader.tsx:60
↓ 1 callersFunctionhandleUnbind
(provider: ProviderKey)
src/app/profile/page.tsx:365
↓ 1 callersFunctioninitStats
()
src/app/api/logs/route.ts:33
↓ 1 callersFunctionisAdminUser
(userId: string | undefined)
src/lib/admin-auth.ts:1
↓ 1 callersFunctionisDuplicateTitle
(title: string, recentTitles: string[])
src/app/api/questions/route.ts:103
↓ 1 callersFunctionisProvider
(value: string)
src/app/api/profile/identities/route.ts:10
↓ 1 callersFunctionjitterScore
(base: number)
src/lib/experts.ts:217
↓ 1 callersFunctionlistKeysForUser
(userId: string)
src/lib/agent-auth.ts:56
↓ 1 callersFunctionload
()
src/lib/useDebateHistory.ts:15
↓ 1 callersFunctionloadActivity
()
src/app/profile/page.tsx:209
↓ 1 callersFunctionloadActivity
()
src/app/profile/ProfilePageClient.tsx:203
↓ 1 callersFunctionloadQuestion
()
src/app/question/[id]/page.tsx:81
↓ 1 callersFunctionloadQuestion
()
src/app/question/[id]/QuestionPageClient.tsx:56
↓ 1 callersFunctionmaybePruneExpired
(now: number)
src/lib/api-security.ts:25
↓ 1 callersFunctionnormalizeBaseUrl
(url: string | undefined)
src/app/api/auth/callback/route.ts:13
↓ 1 callersFunctionnormalizeBaseUrl
(url: string | undefined)
src/app/api/auth/callback/google/route.ts:13
↓ 1 callersFunctionnormalizeBaseUrl
(url: string | undefined)
src/app/api/auth/callback/github/route.ts:13
↓ 1 callersFunctionnormalizeTags
(input: unknown)
src/app/api/agent/questions/route.ts:16
↓ 1 callersFunctionnormalizeTags
(tags: unknown)
src/app/api/agent/participate/route.ts:29
↓ 1 callersFunctionparseCookies
(header: string | undefined)
src/app/api/auth/[...nextauth]/route.ts:28
↓ 1 callersFunctionparsePersonaText
* 三层解析策略:直接 JSON → 正则提取 → AI 兜底
src/app/api/profile/persona/route.ts:21
↓ 1 callersFunctionparseQuestionPayload
(content: string)
src/app/api/questions/route.ts:120
↓ 1 callersFunctionparseSynthesis
(synthesisContent: string)
src/app/api/debate/route.ts:219
↓ 1 callersFunctionparseTargetIds
(raw: string | null)
src/app/api/favorites/route.ts:8
↓ 1 callersFunctionpickInterestedQuestion
( actor: UserAuthor, questions: Question[], messageCountMap: Map<string, number>, preferredQuestionId?
src/app/api/agent/participate/route.ts:369
↓ 1 callersFunctionpickThreeAngles
()
src/app/api/questions/generate/route.ts:290
↓ 1 callersFunctionremoveMentions
(content: string)
src/app/api/questions/draft/route.ts:42
↓ 1 callersFunctionrunParticipation
( actor: { id: string; name: string; avatar?: string | null }, forceAction?: 'ask_new' | 'reply_existing',
src/components/AgentAutoRunner.tsx:79
↓ 1 callersFunctionrunSystemGenerate
()
src/components/AgentAutoRunner.tsx:113
↓ 1 callersFunctionscheduleSimulatedVotes
(questionId: string, entryMessageIds: string[], entryActualTypes: string[])
src/app/api/turing/[questionId]/route.ts:54
↓ 1 callersFunctionselectTwoOpponents
(topic: string, opponentId?: string)
src/lib/opponents.ts:87
↓ 1 callersFunctionsendInterject
()
src/components/RoundtableArena.tsx:218
↓ 1 callersFunctionsync
()
src/app/logs/LogsPageClient.tsx:49
↓ 1 callersFunctiontabTitle
(tab: ActivityTab)
src/components/profile/ActivityFeed.tsx:40
↓ 1 callersFunctiontabTitle
(tab: ActivityTab)
src/app/profile/page.tsx:54
↓ 1 callersFunctiontoggleExpert
(id: string)
src/components/RoundtableArena.tsx:110
↓ 1 callersFunctionuseDebateHistory
(userId?: string)
src/lib/useDebateHistory.ts:9
↓ 1 callersFunctionuseForceSimulation
(nodes: OpinionNode[], edges: OpinionEdge[], width: number, height: number)
src/components/OpinionGraphView.tsx:52
FunctionAccountBindingPanel
({ boundProviders, canUnbindProviders, unbindLoadingProvider, bindStatusMessage, onBind, onUnbind,
src/components/profile/AccountBindingPanel.tsx:46
FunctionActivityFeed
({ activeTab, activity, loading, onVote, onFavorite, onComment }: ActivityFeedProps)
src/components/profile/ActivityFeed.tsx:48
FunctionAgentAutoRunner
()
src/components/AgentAutoRunner.tsx:155
FunctionAgentKeysPanel
({ agentKeys, newKeyResult, agentKeyCreating, openClawSkillDocUrl, onCreateKey, onDeleteKey, onC
src/components/profile/AgentKeysPanel.tsx:23
FunctionAnswerCard
({ message, isTyping, allMessages, onReply, currentUserId, isFavorited = false, on
src/components/AnswerCard.tsx:20
FunctionAppHeader
({ searchValue, onSearchChange, onAskClick }: AppHeaderProps)
src/components/AppHeader.tsx:25
FunctionAuthLayout
({ children }: { children: React.ReactNode })
src/app/auth/layout.tsx:8
FunctionCallbackHandler
()
src/app/auth/callback/secondme/page.tsx:6
FunctionChatBubble
({ message, isUser, avatar, isTyping }: ChatBubbleProps)
src/components/ChatBubble.tsx:14
FunctionChatList
({ messages, userAvatar, opponentAvatar, isGenerating, currentSpeaker }: ChatListProps)
src/components/ChatBubble.tsx:67
FunctionCommentInput
({ onSubmit, onGenerate, disabled, placeholder, submitLabel, replyTarget, onCancel
src/components/CommentInput.tsx:24
FunctionCreatorCenter
({ questions = [] }: CreatorCenterProps)
src/components/CreatorCenter.tsx:11
FunctionDELETE
(request: NextRequest)
src/app/api/profile/agent-keys/route.ts:57
FunctionDELETE
(request: NextRequest)
src/app/api/profile/identities/route.ts:50
FunctionDELETE
()
src/app/api/profile/persona/route.ts:166
FunctionDELETE
()
src/app/api/test-db/route.ts:121
FunctionDebateArena
()
src/components/DebateArena.tsx:18
FunctionDebateContent
()
src/app/debate/page.tsx:10
FunctionDebateFeedCard
({ debate, currentUserId, onVoteChange }: DebateFeedCardProps)
src/components/DebateFeedCard.tsx:32
FunctionDebateHistory
({ history, onSelect }: DebateHistoryProps)
src/components/DebateHistory.tsx:10
FunctionDebatePage
()
src/app/debate/page.tsx:22
FunctionDebateViewer
({ debateId, currentUserId }: DebateViewerProps)
src/components/DebateViewer.tsx:34
FunctionGET
(request: NextRequest)
src/app/api/logs/route.ts:42
FunctionGET
(request: NextRequest)
src/app/api/migrate/route.ts:175
FunctionGET
(request: NextRequest)
src/app/api/auth/login/route.ts:11
← previousnext →101–200 of 324, ranked by callers