MCPcopy Create free account

hub / github.com/THU-MAIC/OpenMAIC / functions

Functions4,064 in github.com/THU-MAIC/OpenMAIC

↓ 1 callersFunctionfindOmmlNode
Recursively find the first OMML container (`m:oMathPara`/`m:oMath`).
packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:81
↓ 1 callersFunctionfindOmmlNode
* Recursively search for an element with localName 'oMathPara' or 'oMath'.
packages/@openmaic/importer/src/model/nodes/MathNode.ts:42
↓ 1 callersFunctionfindParentNodeClosestToPos
($pos: ResolvedPos, predicate: (node: Node) => boolean)
lib/prosemirror/utils.ts:92
↓ 1 callersFunctionfindParentNodeOfType
(nodeType: NodeType)
lib/prosemirror/utils.ts:110
↓ 1 callersFunctionfindRelsByType
* Find ALL rels entries matching a type substring, returning [rId, entry] pairs.
packages/@openmaic/importer/src/model/Presentation.ts:95
↓ 1 callersFunctionfindSequence
* Find the first occurrence of a byte sequence in a buffer.
packages/@openmaic/importer/src/utils/emfParser.ts:288
↓ 1 callersFunctionfindTable
* Locate the `a:tbl` element inside a graphicFrame. * Path: `a:graphic > a:graphicData > a:tbl`
packages/@openmaic/importer/src/model/nodes/TableNode.ts:78
↓ 1 callersFunctionfindTableStyle
( tableStyleId: string | undefined, ctx: RenderContext, )
packages/@openmaic/importer/src/serializer/tableSerializer.ts:75
↓ 1 callersFunctionfindTextEnd
(str: string, index: number)
lib/export/html-parser/lexer.ts:19
↓ 1 callersFunctionfindToughestMilestone
(project: PBLProjectV2)
lib/pbl/v2/operations/completion-stats.ts:417
↓ 1 callersFunctionfindXfrm
* Find the transform (xfrm) node. Shapes use `p:spPr > a:xfrm`, * groups use `p:grpSpPr > a:xfrm`, graphic frames use `p:xfrm`.
packages/@openmaic/importer/src/model/nodes/BaseNode.ts:80
↓ 1 callersFunctionfirstParagraph
(s: string)
lib/pbl/v2/agents/instructor-memory.ts:146
↓ 1 callersFunctionfirstTaskProject
()
tests/pbl/v2/instructor.test.ts:214
↓ 1 callersFunctionfixElementDefaults
* Fix elements with missing required fields * Adds default values for fields that AI might not have generated correctly
lib/generation/scene-generator.ts:535
↓ 1 callersFunctionfontUrl
(family)
packages/@openmaic/renderer/fonts.config.mjs:29
↓ 1 callersFunctionformat
(nodes: HTMLNode[])
lib/export/html-parser/format.ts:28
↓ 1 callersFunctionformatAttributes
(attributes: string[])
lib/export/html-parser/format.ts:19
↓ 1 callersFunctionformatBochaError
(status: number, statusText: string, errorText: string)
lib/web-search/bocha.ts:25
↓ 1 callersFunctionformatCompactThinkingValue
(value?: string, t?: (key: string) => string)
components/generation/generation-toolbar.tsx:417
↓ 1 callersFunctionformatCourseContext
(input: PBLPlannerV2Input)
lib/pbl/v2/agents/planner.ts:288
↓ 1 callersFunctionformatDate
(timestamp: number)
app/page.tsx:350
↓ 1 callersFunctionformatElementsForPrompt
* Format element list for AI to select elementId
lib/generation/scene-generator.ts:1495
↓ 1 callersFunctionformatExcelSerialDate
(raw: string, formatCode: string)
packages/@openmaic/importer/src/serializer/chartSerializer.ts:76
↓ 1 callersFunctionformatHighlight
( h: StandardCompletionStats['highlights'][number], t: ReturnType<typeof useI18n>['t'], )
components/scene-renderers/pbl/v2/completion.tsx:478
↓ 1 callersFunctionformatLine
(level: LogLevel, tag: string, args: unknown[])
lib/logger.ts:13
↓ 1 callersFunctionformatMiniMaxError
(status: number, statusText: string, errorText: string)
lib/web-search/minimax.ts:35
↓ 1 callersFunctionformatNum
(n: number)
eval/whiteboard-layout/reporter.ts:10
↓ 1 callersFunctionformatQuestionsForPrompt
* Format question list for AI reference
lib/generation/scene-generator.ts:1522
↓ 1 callersFunctionformatRecordingTime
(seconds: number)
components/settings/tts-settings.tsx:1141
↓ 1 callersFunctionformatText
(text: string)
components/slide-renderer/components/element/TableElement/tableUtils.ts:30
↓ 1 callersFunctionformatTime
(ts: number)
components/whiteboard/whiteboard-history.tsx:98
↓ 1 callersFunctiongenChart
(node, warpObj)
packages/@openmaic/importer/src1/pptxtojson.js:1257
↓ 1 callersFunctiongenDiagram
(node, warpObj)
packages/@openmaic/importer/src1/pptxtojson.js:1296
↓ 1 callersFunctiongenScenarioCharId
()
lib/pbl/v2/operations/progress.ts:212
↓ 1 callersFunctiongenSpanElement
(node, pNode, textBodyNode, pFontStyle, slideLayoutSpNode, slideMasterSpNode, type, warpObj)
packages/@openmaic/importer/src1/text.js:156
↓ 1 callersFunctiongenTable
(node, warpObj)
packages/@openmaic/importer/src1/pptxtojson.js:1061
↓ 1 callersFunctiongenXmlBodyProperties
* Builds `<a:bodyPr></a:bodyPr>` tag for "genXmlTextBody()" * @param {ISlideObject | TableCell} slideObject - various options * @return {string} XML
packages/pptxgenjs/src/gen-xml.ts:1125
↓ 1 callersFunctiongenXmlTextRun
* Build textBody text runs [`<a:r></a:r>`] for paragraphs [`<a:p>`] * @param {TextProps} textObj - Text object * @return {string} XML string
packages/pptxgenjs/src/gen-xml.ts:1087
↓ 1 callersFunctiongenerateAgentProfiles
( requirement: string, languageDirective: string, aiCall: AICallFn, )
lib/server/classroom-generation.ts:115
↓ 1 callersFunctiongenerateAutoNumber
(type: string, index: number)
packages/@openmaic/importer/src/serializer/textSerializer.ts:723
↓ 1 callersFunctiongenerateAzureTTS
* Azure TTS implementation (direct API call with SSML)
lib/audio/tts-providers.ts:559
↓ 1 callersFunctiongenerateDoubaoTTS
* Doubao TTS 2.0 implementation (Volcengine Seed-TTS 2.0)
lib/audio/tts-providers.ts:850
↓ 1 callersFunctiongenerateElevenLabsTTS
* ElevenLabs TTS implementation (direct API call with voice-specific endpoint)
lib/audio/tts-providers.ts:766
↓ 1 callersFunctiongenerateFullScenes
( sceneOutlines: SceneOutline[], store: StageStore, aiCall: AICallFn, callbacks?: GenerationCallbacks,
lib/generation/scene-generator.ts:114
↓ 1 callersFunctiongenerateGLMTTS
* GLM TTS implementation (GLM API)
lib/audio/tts-providers.ts:600
↓ 1 callersFunctiongenerateImages
()
lib/server/classroom-media-generation.ts:93
↓ 1 callersFunctiongenerateLemonadeTTS
* Lemonade TTS implementation (OpenAI-compatible /v1/audio/speech).
lib/audio/tts-providers.ts:236
↓ 1 callersFunctiongenerateLineIds
Generate unique line IDs for newly inserted lines
lib/action/engine.ts:68
↓ 1 callersFunctiongenerateMediaForClassroom
( outlines: SceneOutline[], classroomId: string, baseUrl: string, )
lib/server/classroom-media-generation.ts:70
↓ 1 callersFunctiongenerateMiniMaxTTS
* MiniMax TTS implementation (synchronous HTTP API)
lib/audio/tts-providers.ts:702
↓ 1 callersFunctiongeneratePBLContent
( config: GeneratePBLConfig, model: LanguageModel, callbacks?: GeneratePBLCallbacks, thinkingConfig?:
lib/pbl/generate-pbl.ts:43
↓ 1 callersFunctiongeneratePBLSceneContent
* Generate PBL project content. * * Routes to v2 by default. Ordinary PBL can fall back to legacy v1, but * scenario role-play must not because leg
lib/generation/scene-generator.ts:1018
↓ 1 callersFunctiongenerateQuizContent
* Generate quiz content
lib/generation/scene-generator.ts:913
↓ 1 callersFunctiongenerateQwenTTS
* Qwen TTS implementation (DashScope API - Qwen3 TTS Flash)
lib/audio/tts-providers.ts:644
↓ 1 callersFunctiongenerateSingleScene
* Generate a single scene (two-step process) * * Step 3.1: Generate content * Step 3.2: Generate Actions
lib/generation/scene-generator.ts:178
↓ 1 callersFunctiongenerateSlideContent
* Generate slide content
lib/generation/scene-generator.ts:689
↓ 1 callersFunctiongenerateTTSForClassroom
( scenes: Scene[], classroomId: string, baseUrl: string, )
lib/server/classroom-media-generation.ts:216
↓ 1 callersFunctiongenerateVideos
()
lib/server/classroom-media-generation.ts:134
↓ 1 callersFunctiongenerateVoxCPMTTS
* VoxCPM2 TTS implementation. * * OpenMAIC keeps one internal VoxCPM request shape, then adapts it to the * selected official backend protocol.
lib/audio/tts-providers.ts:281
↓ 1 callersFunctiongenerateWithGrokImage
( config: ImageGenerationConfig, options: ImageGenerationOptions, )
lib/media/adapters/grok-image-adapter.ts:59
↓ 1 callersFunctiongenerateWithGrokVideo
( config: VideoGenerationConfig, options: VideoGenerationOptions, )
lib/media/adapters/grok-video-adapter.ts:173
↓ 1 callersFunctiongenerateWithHappyHorse
( config: VideoGenerationConfig, options: VideoGenerationOptions, )
lib/media/adapters/happyhorse-adapter.ts:174
↓ 1 callersFunctiongenerateWithKling
( config: VideoGenerationConfig, options: VideoGenerationOptions, )
lib/media/adapters/kling-adapter.ts:228
↓ 1 callersFunctiongenerateWithMiniMaxImage
( config: ImageGenerationConfig, options: ImageGenerationOptions, )
lib/media/adapters/minimax-image-adapter.ts:15
↓ 1 callersFunctiongenerateWithMiniMaxVideo
( config: VideoGenerationConfig, options: VideoGenerationOptions, )
lib/media/adapters/minimax-video-adapter.ts:156
↓ 1 callersFunctiongenerateWithNanoBanana
( config: ImageGenerationConfig, options: ImageGenerationOptions, )
lib/media/adapters/nano-banana-adapter.ts:97
↓ 1 callersFunctiongenerateWithQwenImage
( config: ImageGenerationConfig, options: ImageGenerationOptions, )
lib/media/adapters/qwen-image-adapter.ts:70
↓ 1 callersFunctiongenerateWithSeedance
( config: VideoGenerationConfig, options: VideoGenerationOptions, )
lib/media/adapters/seedance-adapter.ts:230
↓ 1 callersFunctiongenerateWithSeedream
( config: ImageGenerationConfig, options: ImageGenerationOptions, )
lib/media/adapters/seedream-adapter.ts:81
↓ 1 callersFunctiongenerateWithVeo
( config: VideoGenerationConfig, options: VideoGenerationOptions, )
lib/media/adapters/veo-adapter.ts:200
↓ 1 callersFunctionget
(o: any, k: string)
tests/i18n/tts-enablement-locales.test.ts:30
↓ 1 callersFunctionget
(o: any, k: string)
tests/i18n/edit-pr2-locales.test.ts:40
↓ 1 callersFunctiongetASRProvider
( providerId: ASRProviderId, customProviders?: Record<string, ASRProviderConfig>, )
lib/audio/constants.ts:1350
↓ 1 callersFunctiongetASRSupportedLanguages
( providerId: ASRProviderId, customProviders?: Record<string, ASRProviderConfig>, )
lib/audio/constants.ts:1363
↓ 1 callersFunctiongetActionDescriptions
(allowedActions: string[])
lib/orchestration/tool-schemas.ts:29
↓ 1 callersFunctiongetAgentRole
(agent: Agent)
components/settings/agent-settings.tsx:42
↓ 1 callersFunctiongetAgentRole
(agent: { role: string })
components/agent/agent-bar.tsx:714
↓ 1 callersFunctiongetAllWebSearchProviders
()
lib/web-search/constants.ts:93
↓ 1 callersFunctiongetAngleFromCoordinate
(x: number, y: number)
components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts:17
↓ 1 callersFunctiongetAnthropicEffort
( thinking: ThinkingCapability, config: ThinkingConfig, )
lib/ai/llm.ts:107
↓ 1 callersFunctiongetArc
(startX, startY, rX, rY, sA, wA)
packages/@openmaic/importer/src1/shapePath.js:2129
↓ 1 callersFunctiongetAttrValueInSelection
(view: EditorView, attr: string)
lib/prosemirror/utils.ts:165
↓ 1 callersFunctiongetAvailableVoicesForGeneration
()
app/generation-preview/page.tsx:719
↓ 1 callersFunctiongetCachedClip
( voiceId: string, )
lib/audio/voice-registration-client.ts:55
↓ 1 callersFunctiongetCellBg
( rowIdx: number, colIdx: number, cellBackcolor?: string, )
packages/@openmaic/renderer/src/elements/table/StaticTable.tsx:34
↓ 1 callersFunctiongetCellBg
( rowIdx: number, colIdx: number, cellBackcolor?: string, )
components/slide-renderer/components/element/TableElement/StaticTable.tsx:37
↓ 1 callersFunctiongetChartInfo
(plotArea, warpObj)
packages/@openmaic/importer/src1/chart.js:87
↓ 1 callersFunctiongetChartOption
({ type, data, themeColors, textColor, lineColor, lineSmooth, stack, }: ChartOptionPayload)
packages/@openmaic/renderer/src/elements/chart/chartOption.ts:25
↓ 1 callersFunctiongetChartOption
({ type, data, themeColors, textColor, lineColor, lineSmooth, stack, }: ChartOptionPayload)
components/slide-renderer/components/element/ChartElement/chartOption.ts:25
↓ 1 callersFunctiongetColorName2Hex
(name)
packages/@openmaic/importer/src1/color.js:170
↓ 1 callersFunctiongetCompatThinkingBodyParams
( providerId: ProviderId, modelId: string, config: ThinkingConfig, )
lib/ai/providers.ts:1235
↓ 1 callersFunctiongetContentTypes
(zip)
packages/@openmaic/importer/src1/pptxtojson.js:58
↓ 1 callersMethodgetCurrentAction
* Get the current action, or null if playback is complete. * Advances sceneIndex automatically when a scene's actions are exhausted.
lib/playback/engine.ts:408
↓ 1 callersFunctiongetCurrentDir
()
eval/orchestration/answering-runner.ts:339
↓ 1 callersFunctiongetCurrentDir
()
eval/orchestration/runner.ts:44
↓ 1 callersFunctiongetCurrentDir
()
eval/orchestration/answer-content-runner.ts:400
↓ 1 callersFunctiongetCurrentDir
()
eval/outline-language/runner.ts:32
↓ 1 callersFunctiongetCustomShapePath
(custShapType, w, h)
packages/@openmaic/importer/src1/shape.js:34
↓ 1 callersFunctiongetDimensions
(aspectRatio?: string)
lib/media/adapters/kling-adapter.ts:107
↓ 1 callersFunctiongetDimensions
Dimension defaults per aspect ratio
lib/media/adapters/veo-adapter.ts:41
← previousnext →1,901–2,000 of 4,064, ranked by callers