MCPcopy Create free account

hub / github.com/TimeCyber/MCP-X-web / functions

Functions976 in github.com/TimeCyber/MCP-X-web

↓ 680 callersFunctiont
(key: string)
src/pages/ImageEditorPage.tsx:693
↓ 71 callersFunctiont
(key: string)
src/contexts/LanguageContext.tsx:33
↓ 62 callersFunctionupdateProject
(updates: Partial<VideoGenProject> | ((prev: VideoGenProject | null) => VideoGenProject | null))
src/pages/VideoGenPage.tsx:214
↓ 44 callersFunctionuseLanguage
()
src/contexts/LanguageContext.tsx:13
↓ 20 callersFunctiongenerateId
()
src/pages/ImageEditorPage.tsx:22
↓ 19 callersFunctionupdateShot
(shotId: string, transform: (s: Shot) => Shot)
src/components/video-gen/StageDirector.tsx:516
↓ 18 callersFunctiongetMousePos
(e: React.MouseEvent)
src/pages/ImageEditorPage.tsx:2608
↓ 14 callersFunctionrectsIntersect
(ax: number, ay: number, aw: number, ah: number, bx: number, by: number, bw: number, bh: number)
src/components/ui/TankBattle.tsx:261
↓ 13 callersFunctionaddAssetToLibrary
(asset: Omit<AssetLibraryItem, 'id' | 'createdAt'>)
src/services/videogenService.ts:181
↓ 13 callersFunctionisPermanentMediaUrl
(url: string)
src/utils/mediaCache.ts:54
↓ 11 callersFunctionloadMyMcp
(page = 1)
src/components/chat/McpManager.tsx:288
↓ 10 callersFunctiongetAgentName
(agent: DetailedAgent)
src/pages/AgentDetailPage.tsx:32
↓ 10 callersFunctionsortModelsByOrderBy
(models: ModelInfo[])
src/services/modelApi.ts:73
↓ 8 callersFunctiongetElementBounds
(element: Element, allElements: Element[] = [])
src/pages/ImageEditorPage.tsx:314
↓ 8 callersFunctionisValidThumbnail
(url?: string | null)
src/pages/CreatorHubPage.tsx:35
↓ 8 callersFunctionsaveProjectToDB
(project: VideoGenProject, skipServerSync: boolean = false)
src/services/videogenService.ts:74
↓ 8 callersFunctionsetMetaTag
(name: string, content: string, property = false)
src/utils/seo.ts:84
↓ 8 callersFunctionuseStore
()
src/components/workflow/stores/StoreContext.tsx:18
↓ 7 callersFunctiondecodeImageFromSrc
(src: string, useCrossOrigin = true)
src/utils/mediaCache.ts:168
↓ 7 callersFunctiongenerateImage
( prompt: string, referenceImages: string[] = [], imageModel?: string, sessionId?: string, size?: {
src/services/videogenService.ts:1496
↓ 7 callersFunctionloadMediaImage
(url: string)
src/utils/mediaCache.ts:193
↓ 7 callersFunctionopenDB
()
src/services/videogenService.ts:15
↓ 7 callersFunctionsetBatchProgress
(progress: {current: number, total: number, message: string} | null)
src/components/video-gen/StageDirector.tsx:91
↓ 7 callersFunctionsetCurrentSession
(sessionId: string)
src/contexts/ChatContext.tsx:241
↓ 6 callersFunctiongenerateVisualPrompts
( type: 'character' | 'scene', data: Character | Scene, genre: string )
src/services/videogenService.ts:1477
↓ 6 callersFunctiongetAssetsFromLibrary
(type?: 'character' | 'scene' | 'video')
src/services/videogenService.ts:197
↓ 6 callersFunctionhandleImageClick
(imageUrl: string, imageName?: string)
src/components/chat/ChatMessage.tsx:445
↓ 6 callersFunctionisAvatarUrl
(avatar: string | undefined | null)
src/pages/AgentDetailPage.tsx:152
↓ 6 callersFunctionstreamChatSend
( data: SendDTO, onChunk: (chunk: any) => void, onError?: (error: any) => void, onComplete?: () => voi
src/services/chatApi.ts:129
↓ 5 callersFunctioncleanJsonString
(str: string)
src/services/videogenService.ts:433
↓ 5 callersFunctionextractField
(field: string)
src/services/videogenService.ts:896
↓ 5 callersFunctionfetchOrders
(page: number = orderPagination.current)
src/pages/SettingsPage.tsx:336
↓ 5 callersFunctiongetDefaultScriptForVideoType
(videoType: 'script' | 'promotional' | 'shortvideo' | 'storyboard')
src/components/video-gen/StageScript.tsx:95
↓ 5 callersFunctiongetRefImagesForShot
(shot: Shot, shotsOverride?: Shot[])
src/components/video-gen/StageDirector.tsx:563
↓ 5 callersFunctionhandleGenerateAsset
(type: 'character' | 'scene', id: string)
src/components/video-gen/StageAssets.tsx:122
↓ 5 callersFunctionhandleSelectVideoFromLibrary
(asset: AssetLibraryItem)
src/components/video-gen/StageDirector.tsx:2801
↓ 5 callersFunctionhandleShare
(platform: string)
src/pages/AgentDetailPage.tsx:89
↓ 5 callersFunctionisTemporaryMediaUrl
(url: string)
src/utils/mediaCache.ts:69
↓ 5 callersFunctionisWeChatBrowser
()
src/utils/speechRecognition.ts:7
↓ 5 callersFunctionloadModels
()
src/components/video-gen/StageScript.tsx:194
↓ 5 callersFunctionloadServers
()
src/components/chat/McpManager.tsx:152
↓ 5 callersFunctionremoveToolCallStepsFromContent
(content: string)
src/pages/MobileChatPage.tsx:346
↓ 5 callersFunctionsetLanguage
(lang: string)
src/contexts/LanguageContext.tsx:64
↓ 5 callersFunctionstopPaymentPolling
()
src/pages/SettingsPage.tsx:251
↓ 5 callersFunctionstopPaymentPolling
()
src/pages/PricingPage.tsx:21
↓ 4 callersFunctionaddMessage
(sessionId: string, message: ChatMessageVo)
src/contexts/ChatContext.tsx:245
↓ 4 callersFunctionappendImageElement
(href: string, img?: HTMLImageElement | null)
src/pages/ImageEditorPage.tsx:3457
↓ 4 callersFunctionclamp
(v: number, min: number, max: number)
src/components/ui/TankBattle.tsx:84
↓ 4 callersFunctionclearHeartbeat
()
src/services/appBuildApi.ts:167
↓ 4 callersFunctionensureDetail
(id: string)
src/components/chat/McpManager.tsx:204
↓ 4 callersFunctionextractVideoUrl
(src: string | null | undefined)
src/pages/ImageEditorPage.tsx:2077
↓ 4 callersFunctionfetchMyAgents
()
src/pages/SettingsPage.tsx:85
↓ 4 callersFunctionformatDate
(s: SkillServer)
src/pages/SkillDetailPage.tsx:133
↓ 4 callersFunctionformatMessageTime
(timeStr?: string)
src/components/chat/ChatMessage.tsx:241
↓ 4 callersFunctiongenerateVideo
( prompt: string, startImageUrl?: string, endImageUrl?: string, videoModel?: string, resolution?: '4
src/services/videogenService.ts:1592
↓ 4 callersFunctiongetAgentName
(agent: Agent)
src/components/ui/AgentCard.tsx:17
↓ 4 callersFunctiongetInitialImageModel
(projectModel?: string)
src/components/video-gen/videoGenModelPrefs.ts:14
↓ 4 callersFunctiongetLastMessageTime
(session: any)
src/pages/MobileChatPage.tsx:1129
↓ 4 callersFunctionhandleAddShot
(afterIndex?: number)
src/components/video-gen/StageDirector.tsx:537
↓ 4 callersFunctionhandleCancelCrop
()
src/pages/ImageEditorPage.tsx:4226
↓ 4 callersFunctionhandleDrop
(e: React.DragEvent<HTMLDivElement>, targetId: string)
src/components/image-editor/LayerPanel.tsx:172
↓ 4 callersFunctionhandleError
(error: unknown, aiMessageIndex: number)
src/pages/AppBuildPage.tsx:886
↓ 4 callersFunctionhandleLine
(rawLine: string)
src/services/appBuildApi.ts:159
↓ 4 callersFunctionhandleOpenLibrary
(type: 'character' | 'scene', id: string)
src/components/video-gen/StageAssets.tsx:549
↓ 4 callersFunctionhandleSendMessage
(overrideMessage?: string)
src/pages/AppBuildPage.tsx:718
↓ 4 callersFunctionhandleTokenExpired
()
src/services/chatApi.ts:28
↓ 4 callersFunctioninferVideoType
(project: Partial<VideoGenProject>)
src/types/videogen.ts:109
↓ 4 callersFunctionisMachineUser
(id: number)
src/pages/MobileChatPage.tsx:1536
↓ 4 callersFunctionisMobileBrowser
()
src/utils/speechRecognition.ts:17
↓ 4 callersFunctionisPointOnImage
(point: Point, elements: Element[])
src/pages/ImageEditorPage.tsx:372
↓ 4 callersFunctionisSceneGeneratedShotUrl
(url?: string)
src/components/video-gen/StageDirector.tsx:579
↓ 4 callersFunctionload
(page = 1)
src/pages/MyMcpPage.tsx:13
↓ 4 callersFunctionloadApps
(page = 1, search = '')
src/pages/MyAppsPage.tsx:48
↓ 4 callersFunctionloadChatHistory
(isLoadMore = false)
src/pages/AppBuildPage.tsx:591
↓ 4 callersFunctionmergeElementsKeepLocal
(incoming: Element[], localCurrent: Element[])
src/pages/ImageEditorPage.tsx:2275
↓ 4 callersFunctionparseChinaTimeString
(timeStr: string)
src/pages/MobileChatPage.tsx:114
↓ 4 callersFunctionparseTime
(timeStr: any)
src/pages/MobileChatPage.tsx:1096
↓ 4 callersFunctionparseTime
(timeStr: string)
src/contexts/ChatContext.tsx:55
↓ 4 callersFunctionparseToolCallSteps
(content: string)
src/pages/MobileChatPage.tsx:344
↓ 4 callersFunctionpickNum
(obj: Record<string, unknown>, keys: string[])
src/pages/AppBuildPage.tsx:249
↓ 4 callersFunctionpush
()
src/components/ui/GoogleAd.tsx:33
↓ 4 callersFunctionremoveToolExecutionsFromContent
(content: string)
src/pages/MobileChatPage.tsx:350
↓ 4 callersFunctionrestoreAndApply
(board: Board)
src/pages/ImageEditorPage.tsx:2418
↓ 4 callersFunctionshouldShowSpeechRecognition
()
src/utils/speechRecognition.ts:152
↓ 4 callersFunctiontriggerFileUpload
(type: 'character' | 'scene', id: string)
src/components/video-gen/StageAssets.tsx:905
↓ 4 callersFunctionuploadFileToOss
(file: File)
src/services/videogenService.ts:1922
↓ 4 callersFunctionuseChat
()
src/contexts/ChatContext.tsx:274
↓ 3 callersMethodcheckFeedbackStatus
* 检查是否有等待人工反馈的任务
src/services/human-feedback.service.ts:18
↓ 3 callersFunctionclearError
()
src/contexts/ChatContext.tsx:253
↓ 3 callersFunctioncollides
(nx: number, ny: number)
src/components/ui/TankBattle.tsx:298
↓ 3 callersFunctionextractBalancedJsonObject
(text: string, start: number)
src/services/videogenService.ts:551
↓ 3 callersFunctionfetchOrders
()
src/pages/OrderPage.tsx:54
↓ 3 callersFunctionfileToDataUrl
(file: File)
src/utils/fileUtils.ts:2
↓ 3 callersFunctionfinish
(list: CaptureResult[])
src/utils/exportPptx.ts:328
↓ 3 callersFunctionflushBufferedTranscripts
()
src/components/chat/ChatInput.tsx:69
↓ 3 callersFunctionformatCodeGenType
(type: string)
src/services/appBuildApi.ts:559
↓ 3 callersFunctionformatMessageTime
(timeStr?: string | number, currentLanguage: string = 'zh')
src/pages/MobileChatPage.tsx:144
↓ 3 callersFunctiongetBrowserEnvironmentInfo
()
src/utils/speechRecognition.ts:178
↓ 3 callersMethodgetConfigKey
(config: MCPServiceConfig)
src/services/mcpService.ts:235
↓ 3 callersFunctiongetFullAvatarUrl
(avatar: string | undefined | null)
src/pages/AgentDetailPage.tsx:163
next →1–100 of 976, ranked by callers