MCPcopy Create free account

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

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

↓ 1 callersFunctionparseLayout
(root: SafeXmlNode)
packages/@openmaic/importer/src/model/Layout.ts:183
↓ 1 callersFunctionparseLineElement
(el: Shape, ratio: number)
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:215
↓ 1 callersFunctionparseMaster
(root: SafeXmlNode)
packages/@openmaic/importer/src/model/Master.ts:75
↓ 1 callersFunctionparseMathNode
(altContent: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/MathNode.ts:173
↓ 1 callersFunctionparseMatrix
(matrix)
packages/@openmaic/importer/src1/math.js:36
↓ 1 callersFunctionparseMinerUZip
(zipUrl: string)
lib/pdf/mineru-cloud.ts:114
↓ 1 callersFunctionparseModelString
(modelString: string)
lib/ai/providers.ts:1642
↓ 1 callersFunctionparseModelString
(raw: string)
eval/pbl-v2-planner/runner.ts:137
↓ 1 callersFunctionparseMultiformats
* Parse MULTIFORMATS GDI comment — contains format descriptors pointing to embedded data.
packages/@openmaic/importer/src/utils/emfParser.ts:142
↓ 1 callersFunctionparseNary
(nary)
packages/@openmaic/importer/src1/math.js:43
↓ 1 callersFunctionparseOleDocxMathNode
(graphicFrame: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/MathNode.ts:134
↓ 1 callersFunctionparseOleFrameAsPicture
(graphicFrame: SafeXmlNode)
packages/@openmaic/importer/src/model/Slide.ts:113
↓ 1 callersFunctionparseOverlay
\o(base, \s\up N(overlay)) → overrightarrow etc.
packages/@openmaic/importer/src/utils/eqFieldParser.ts:109
↓ 1 callersFunctionparsePDF
( config: PDFParserConfig, pdfBuffer: Buffer, )
lib/pdf/pdf-providers.ts:154
↓ 1 callersFunctionparseParagraph
* Parse a single text paragraph (`a:p`).
packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:113
↓ 1 callersFunctionparsePlaceholder
* Parse placeholder info from nvPr > p:ph.
packages/@openmaic/importer/src/model/nodes/BaseNode.ts:106
↓ 1 callersFunctionparseRadical
\r(degree, radicand) or \r(,radicand) → \sqrt[degree]{radicand}
packages/@openmaic/importer/src/utils/eqFieldParser.ts:248
↓ 1 callersFunctionparseRadical
(radical)
packages/@openmaic/importer/src1/math.js:31
↓ 1 callersFunctionparseRouteValue
Parse one MODEL_ROUTES value (string model, or {model, thinking}) into a StageRoute.
lib/server/model-routes.ts:140
↓ 1 callersFunctionparseRow
* Parse a table row (`a:tr`).
packages/@openmaic/importer/src/model/nodes/TableNode.ts:63
↓ 1 callersFunctionparseSSEFrame
(frame: string)
components/scene-renderers/pbl/v2/submission.tsx:144
↓ 1 callersFunctionparseSSEFrame
(frame: string)
components/scene-renderers/pbl/v2/use-instructor-stream.ts:396
↓ 1 callersFunctionparseShift
\s\up N(text) → ^{text} or \s\do N(text) → _{text}
packages/@openmaic/importer/src/utils/eqFieldParser.ts:226
↓ 1 callersFunctionparseShikiLines
(html: string)
packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx:44
↓ 1 callersFunctionparseShikiLines
* Parse Shiki HTML output into per-line HTML fragments. * Shiki outputs: <pre ...><code><span class="line">...</span>\n...</code></pre> * We split b
components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx:49
↓ 1 callersFunctionparseSlide
( root: SafeXmlNode, index: number, rels: Map<string, RelEntry>, slidePath: string = '', diagramDraw
packages/@openmaic/importer/src/model/Slide.ts:447
↓ 1 callersFunctionparseStretchDibits
* Parse a STRETCHDIBITS record and extract the bitmap as RGBA buffer.
packages/@openmaic/importer/src/utils/emfParser.ts:210
↓ 1 callersFunctionparseSubscript
(subscript)
packages/@openmaic/importer/src1/math.js:26
↓ 1 callersFunctionparseSuperscript
(superscript)
packages/@openmaic/importer/src1/math.js:21
↓ 1 callersFunctionparseTextToLines
* Break cell text into lines based upon table column width (e.g.: Magic Happens Here(tm)) * @param {TableCell} cell - table cell * @param {number} c
packages/pptxgenjs/src/gen-tables.ts:16
↓ 1 callersFunctionparseTheme
(root: SafeXmlNode)
packages/@openmaic/importer/src/model/Theme.ts:79
↓ 1 callersFunctionparseThinking
Validate/sanitize a route's `thinking` object into a ThinkingConfig (drops bad fields with a warn).
lib/server/model-routes.ts:56
↓ 1 callersFunctionparseTransition
(transitionNode)
packages/@openmaic/importer/src1/animation.js:20
↓ 1 callersFunctionparseTxBody
(innerXml: string)
packages/@openmaic/importer/test/helpers.ts:24
↓ 1 callersFunctionparseVideoCodec
(_arrayBuffer: ArrayBuffer)
packages/@openmaic/importer/src/openmaic/utils/videoCodec.ts:22
↓ 1 callersFunctionparseWithMinerU
* Parse PDF using self-hosted MinerU service (mineru-api) * * Official MinerU API endpoint: * POST /file_parse (multipart/form-data) * * Respons
lib/pdf/pdf-providers.ts:282
↓ 1 callersFunctionparseWithMinerUCloud
( config: PDFParserConfig, pdfBuffer: Buffer, sourceFileName?: string, )
lib/pdf/mineru-cloud.ts:217
↓ 1 callersFunctionparseWithUnpdf
* Parse PDF using unpdf (existing implementation)
lib/pdf/pdf-providers.ts:200
↓ 1 callersFunctionparsedToSlides
( json: Output, options: ImportPptxOptions = {}, )
packages/@openmaic/importer/src/import-pipeline/index.ts:56
↓ 1 callersFunctionparser
(tokens: Token[])
lib/export/html-parser/parser.ts:23
↓ 1 callersFunctionpasteElement
()
lib/hooks/use-canvas-operations.ts:204
↓ 1 callersFunctionpathCoordBBox
* Bounding box of a path's coordinates (path/viewBox space). Uses control * points for curves (a safe superset). Handles the commands our shapes emit
packages/@openmaic/renderer/src/elements/shape/BaseShapeElement.tsx:20
↓ 1 callersFunctionpathEndpoints
* Pull the endpoint of every path-op child of <a:path> (moveTo/lnTo/cubicBezTo/ * quadBezTo) into a flat [x, y] list. The endpoint is always the LAST
packages/@openmaic/importer/src/serializer/imageSerializer.ts:43
↓ 1 callersFunctionpathsToTree
* 将扁平路径列表转成树形结构 * @param {string[]} paths - 如 ['ppt/slides/slide1.xml', 'ppt/slides/slide2.xml'] * @returns {Object} 树形对象
packages/@openmaic/importer/scripts/extract-pptx-structure.js:33
↓ 1 callersFunctionpatternFillToFill
(pattFill: SafeXmlNode, ctx: RenderContext)
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:520
↓ 1 callersMethodpause
Instantly pause — tick becomes a no-op.
lib/buffer/stream-buffer.ts:291
↓ 1 callersFunctionpdfLayoutType
(value: unknown)
lib/document/pdf-compat.ts:44
↓ 1 callersFunctionperDimensionLines
Per-dimension averages table for a result subset.
eval/pbl-v2-planner/runner.ts:705
↓ 1 callersFunctionpersistEvaluation
(args: { project: PBLProjectV2; kind: PBLEvaluationKind; microtaskId?: string; milestoneId?: string;
lib/pbl/v2/agents/evaluator.ts:253
↓ 1 callersFunctionpickVisibleGradientStop
* Pick the best visible color from gradient stops. * Skips fully transparent and white colors; falls back to last stop or black.
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:91
↓ 1 callersFunctionpictureToElement
( node: PicNodeData, ctx: RenderContext, _order: number, )
packages/@openmaic/importer/src/serializer/imageSerializer.ts:622
↓ 1 callersFunctionplaceholderPlugin
(placeholder: string)
lib/prosemirror/plugins/placeholder.ts:9
↓ 1 callersFunctionplainTextToParagraphHtml
(value: string)
lib/edit/slide-edit-elements.ts:16
↓ 1 callersFunctionplannerCompletionNextAction
( project: PBLProjectV2, opts?: { scenarioRoleplay?: boolean }, )
lib/pbl/v2/agents/planner.ts:1097
↓ 1 callersFunctionplannerDesignAccepted
()
lib/pbl/v2/agents/planner.ts:1153
↓ 1 callersFunctionplannerInput
(overrides?: Partial<PBLPlannerV2Input>)
tests/pbl/v2/planner.test.ts:125
↓ 1 callersMethodplayBrowserTTS
* Play text using the Web Speech API (browser-native TTS). * Splits text into sentence-level chunks to avoid Chrome's ~15s cutoff. * Uses cancel
lib/playback/engine.ts:640
↓ 1 callersFunctionpollOperation
( baseUrl: string, apiKey: string, model: string, operationName: string, )
lib/media/adapters/veo-adapter.ts:124
↓ 1 callersFunctionpollSeedanceTask
( config: VideoGenerationConfig, taskId: string, )
lib/media/adapters/seedance-adapter.ts:186
↓ 1 callersFunctionpollTask
( baseUrl: string, token: string, taskId: string, )
lib/media/adapters/kling-adapter.ts:201
↓ 1 callersFunctionpollTaskStatus
( config: VideoGenerationConfig, taskId: string, )
lib/media/adapters/minimax-video-adapter.ts:100
↓ 1 callersFunctionpollVideoStatus
( baseUrl: string, apiKey: string, requestId: string, )
lib/media/adapters/grok-video-adapter.ts:151
↓ 1 callersFunctionpostProcessInteractiveHtml
(html: string)
lib/generation/interactive-post-processor.ts:16
↓ 1 callersFunctionpostProcessLatex
(latex: string)
packages/@openmaic/importer/src/serializer/mathSerializer.ts:183
↓ 1 callersFunctionpostProcessOmml
* Post-process OMML for PPTX compatibility: * 1. Strip xmlns:w (wordprocessingml is DOCX-only, not valid in PPTX) * 2. Strip redundant xmlns:m (alre
lib/export/latex-to-omml.ts:41
↓ 1 callersFunctionpostProcessPBL
* Post-processing after the agentic loop: * 1. Activate the first issue * 2. Generate initial questions for it using the Question Agent * 3. Add we
lib/pbl/generate-pbl.ts:334
↓ 1 callersFunctionpostVoxCPMNanoVLLM
( baseUrl: string, params: { targetText: string; promptText?: string; cfgValue: number; re
lib/audio/tts-providers.ts:504
↓ 1 callersFunctionpostVoxCPMPythonAPI
( baseUrl: string, params: { targetText: string; promptText?: string; cfgValue: number; in
lib/audio/tts-providers.ts:465
↓ 1 callersFunctionpostVoxCPMVLLMOmni
( baseUrl: string, params: { targetText: string; rawText?: string; registeredVoiceId?: string;
lib/audio/tts-providers.ts:391
↓ 1 callersFunctionprefetchTexmath
(ommlList: string[])
packages/@openmaic/importer/src/serializer/mathSerializer.ts:317
↓ 1 callersFunctionprintReport
(results: RunResult[], variants: Variant[], modelStr: string)
eval/pbl-v2-planner/runner.ts:633
↓ 1 callersFunctionprintTree
* 递归打印树
packages/@openmaic/importer/scripts/extract-pptx-structure.js:55
↓ 1 callersFunctionprocessCxnSpNode
(node, warpObj, source)
packages/@openmaic/importer/src1/pptxtojson.js:746
↓ 1 callersFunctionprocessGraphicFrameNode
(node, warpObj, source)
packages/@openmaic/importer/src1/pptxtojson.js:1037
↓ 1 callersFunctionprocessLatexElements
* Process LaTeX elements: render latex string to HTML using KaTeX. * Fills in html and fixedRatio fields. * Elements that fail conversion are remove
lib/generation/scene-generator.ts:653
↓ 1 callersFunctionprocessMathNode
(node, warpObj, source)
packages/@openmaic/importer/src1/pptxtojson.js:587
↓ 1 callersFunctionprocessNestedGroupElements
(elements, ws, hs, depth = 0)
packages/@openmaic/importer/src1/pptxtojson.js:673
↓ 1 callersFunctionprocessPicNode
(node, warpObj, source)
packages/@openmaic/importer/src1/pptxtojson.js:881
↓ 1 callersFunctionprocessSingleSlide
(zip, sldFileName, themeContent, defaultTextStyle, mediaMode = 'base64')
packages/@openmaic/importer/src1/pptxtojson.js:133
↓ 1 callersFunctionprojectContent
(content: SceneContext['content'])
lib/agent/tools/read-scene-content.ts:118
↓ 1 callersFunctionpromptsDir
()
lib/pbl/v2/prompts/loader.ts:20
↓ 1 callersFunctionpropsOf
(a: Action, t: TFn)
components/edit/ActionsBar/ActionsBar.tsx:108
↓ 1 callersFunctionptToPx
(pt: number)
packages/@openmaic/importer/src/parser/units.ts:38
↓ 1 callersFunctionpump
( stream: LocalAssistantEventStream, context: PiContext, opts: CallLlmStreamFnOptions, )
lib/agent/runtime/stream-fn.ts:217
↓ 1 callersFunctionpump
()
app/generation-preview/page.tsx:517
↓ 1 callersMethodpushAgentEnd
(data: Omit<AgentEndItem, 'kind'>)
lib/buffer/stream-buffer.ts:210
↓ 1 callersMethodpushAgentStart
(data: Omit<AgentStartItem, 'kind'>)
lib/buffer/stream-buffer.ts:204
↓ 1 callersMethodpushCueUser
(data: { fromAgentId?: string; prompt?: string })
lib/buffer/stream-buffer.ts:261
↓ 1 callersMethodpushDone
(data: { totalActions: number; totalAgents: number; agentHadContent?: boolean; directorState?:
lib/buffer/stream-buffer.ts:266
↓ 1 callersMethodpushError
(message: string)
lib/buffer/stream-buffer.ts:277
↓ 1 callersMethodpushThinking
(data: { stage: string; agentId?: string })
lib/buffer/stream-buffer.ts:256
↓ 1 callersFunctionread
()
components/edit/surfaces/slide/use-tracked-rect.ts:72
↓ 1 callersFunctionreadBodySpacing
(page: Page)
e2e/tests/home-to-generation.spec.ts:14
↓ 1 callersFunctionreadClassroom
(id: string)
lib/server/classroom-storage.ts:48
↓ 1 callersFunctionreadDirectorTemplate
()
eval/orchestration/prompt-variants.ts:29
↓ 1 callersFunctionreadDirectorTemplate
()
eval/orchestration/answering-runner.ts:99
↓ 1 callersFunctionreadPptxEntry
(blob: Blob, path: string)
tests/edit/round-trip/image-data-url.test.ts:33
↓ 1 callersFunctionreadPptxEntry
(blob: Blob, path: string)
tests/edit/round-trip/text-format.test.ts:34
↓ 1 callersFunctionreadPromptFile
Read a markdown prompt by file name (without extension), cached.
lib/pbl/v2/prompts/loader.ts:25
↓ 1 callersFunctionreadShapeBounds
* Read xfrm off/ext from a shape-like node (dsp:sp uses dsp:spPr > a:xfrm).
packages/@openmaic/importer/src/model/Slide.ts:219
← previousnext →2,401–2,500 of 4,064, ranked by callers