MCPcopy Create free account

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

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

↓ 3 callersFunctionformatProjectEngagementRollup
(project: PBLProjectV2)
lib/pbl/v2/operations/eval-prompts.ts:223
↓ 3 callersFunctionformatRunTextForHtml
* Preserve consecutive spaces (same intent as TextRenderer innerHTML / textContent handling).
packages/@openmaic/importer/src/serializer/textSerializer.ts:784
↓ 3 callersFunctiongetActionsForRole
(role: string)
lib/orchestration/registry/types.ts:93
↓ 3 callersFunctiongetApiHeaders
()
app/generation-preview/page.tsx:172
↓ 3 callersFunctiongetAudioResponseFormat
(contentType: string)
lib/audio/tts-providers.ts:356
↓ 3 callersFunctiongetDefaultPDFConfig
()
lib/store/settings.ts:446
↓ 3 callersFunctiongetDefaultProvidersConfig
()
lib/store/settings.ts:349
↓ 3 callersFunctiongetEnabledProvidersWithVoices
( ttsProvidersConfig: Record< string, TTSEnablementConfig & { modelId?: string; provider
lib/audio/voice-resolver.ts:139
↓ 3 callersFunctiongetGradientFill
(node, warpObj)
packages/@openmaic/importer/src1/fill.js:181
↓ 3 callersFunctiongetHyperlinkFromCNvPr
(cNvPr, warpObj)
packages/@openmaic/importer/src1/pptxtojson.js:365
↓ 3 callersFunctiongetLineElementPath
(element: PPTLineElement)
lib/utils/element.ts:222
↓ 3 callersFunctiongetMimeType
(path: string)
packages/@openmaic/importer/src/utils/media.ts:9
↓ 3 callersFunctiongetMimeType
(imgFileExt)
packages/@openmaic/importer/src1/utils.js:83
↓ 3 callersFunctiongetPoint
(e: React.MouseEvent | MouseEvent, custom = false)
components/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx:100
↓ 3 callersFunctiongetSchemeColorFromTheme
(schemeClr, warpObj, clrMap, phClr)
packages/@openmaic/importer/src1/schemeColor.js:3
↓ 3 callersFunctiongetShadowOption
(shadow: PPTElementShadow, ratioPx2Pt: number)
lib/export/use-export-pptx.ts:249
↓ 3 callersMethodgetSnapshot
Export a serializable playback snapshot
lib/playback/engine.ts:108
↓ 3 callersFunctiongetThinkingDisplayValue
( thinking: ThinkingCapability | undefined, config: ThinkingConfig | undefined, )
lib/ai/thinking-config.ts:190
↓ 3 callersFunctionhandleClick
()
components/audio/speech-button.tsx:74
↓ 3 callersFunctionhandleSelectElement
(e: React.MouseEvent | React.TouchEvent, canMove = true)
components/slide-renderer/components/element/ShapeElement/index.tsx:43
↓ 3 callersFunctionhandleSelectElement
(e: React.MouseEvent | React.TouchEvent, canMove = true)
components/slide-renderer/components/element/TextElement/index.tsx:38
↓ 3 callersFunctionhandoverForMilestoneEvaluation
( evaluation: PBLEvaluation, handover: PBLProjectV2['pendingHandover'], )
components/scene-renderers/pbl/v2/chat.tsx:1382
↓ 3 callersFunctionhasAnyEnabledTTSProvider
(config: ConfigMap)
lib/audio/provider-enablement.ts:115
↓ 3 callersFunctionhasEmptyOutputError
(events: PBLSSEEvent[])
tests/pbl/v2/instructor-difficulty-ack.test.ts:143
↓ 3 callersFunctionhex
(value: string | undefined, fallback: string)
components/scene-renderers/pbl/v2/scene-stage/scene-types.ts:32
↓ 3 callersFunctionhexToRgbInternal
* Minimal hex-to-rgb parser for inline use.
packages/@openmaic/importer/src/serializer/textSerializer.ts:673
↓ 3 callersFunctionhtmlForWidget
(type: string)
tests/generation/scene-content-route-vocational-gate.test.ts:131
↓ 3 callersFunctionhueToRgb
(p: number, q: number, t: number)
packages/@openmaic/importer/src/utils/color.ts:83
↓ 3 callersFunctionhueToRgb
(t1, t2, hue)
packages/@openmaic/importer/src1/color.js:3
↓ 3 callersFunctioninstructorThread
(p: PBLProjectV2)
tests/pbl/v2/apply-instructor-event.test.ts:55
↓ 3 callersFunctioninteractiveCtx
(id: string, html?: string)
tests/lib/agent/tools/edit-interactive-html.test.ts:22
↓ 3 callersFunctionisAllowedExternalUrl
(url: string)
packages/@openmaic/importer/src/utils/urlSafety.ts:10
↓ 3 callersFunctionisCoreMilestoneFinalMicrotask
( milestone: PBLMilestone, microtaskId: string, )
lib/pbl/v2/operations/task-completion.ts:31
↓ 3 callersFunctionisGeneratedImageId
* Check if a string looks like a generated image/video ID (e.g., "gen_img_1", "gen_img_xK8f2mQ") * These are placeholders for AI-generated media, not
lib/generation/scene-generator.ts:401
↓ 3 callersFunctionisGeneratedMediaRef
(value: unknown)
lib/utils/stage-storage.ts:190
↓ 3 callersFunctionisQuizContent
( content: T, )
packages/@openmaic/dsl/src/stage.ts:225
↓ 3 callersFunctionisStoppedResult
(result: unknown)
components/edit/AgentPanel/tool-card.tsx:26
↓ 3 callersFunctionisSymbolFont
(fontName: string | undefined)
packages/@openmaic/importer/src/serializer/textSerializer.ts:23
↓ 3 callersFunctionjudgeEnabled
()
eval/pbl-v2-planner/runner.ts:251
↓ 3 callersFunctionlatestSubmission
(project: PBLProjectV2, microtaskId: string)
lib/pbl/v2/agents/instructor.ts:162
↓ 3 callersFunctionlatestSubmissionForMicrotask
( project: PBLProjectV2, microtaskId: string, )
lib/pbl/v2/operations/submission.ts:59
↓ 3 callersFunctionlatestTaskEvaluation
(project: PBLProjectV2, microtaskId: string)
lib/pbl/v2/agents/instructor.ts:166
↓ 3 callersFunctionlevelCapability
( levelValues: ThinkingLevel[], defaultLevel: ThinkingLevel, )
lib/ai/model-metadata.ts:31
↓ 3 callersFunctionlightMicrotask
(id: string, title: string)
tests/pbl/v2/planner.test.ts:302
↓ 3 callersFunctionloadClassrooms
()
app/page.tsx:191
↓ 3 callersFunctionloadSnippet
(snippetId: SnippetId)
lib/prompts/loader.ts:28
↓ 3 callersFunctionmakeCatAxis
* Create Category axis * @param {IChartOptsLib} opts - chart options * @param {string} axisId - value * @param {string} valAxisId - value * @retur
packages/pptxgenjs/src/gen-charts.ts:1636
↓ 3 callersFunctionmakeLegacyConfig
()
tests/pbl/v2/compat.test.ts:70
↓ 3 callersFunctionmakeQuotaHook
(source: QuotaSource)
lib/agent/runtime/quota.ts:8
↓ 3 callersFunctionmakeScenarioProject
()
tests/pbl/v2/apply-instructor-event.test.ts:45
↓ 3 callersFunctionmakeSlideContent
(title: string, elId: string)
e2e/tests/classroom-interaction.spec.ts:48
↓ 3 callersFunctionmakeSlideScene
(overrides: Partial<Scene> = {})
tests/edit/slide-schema.test.ts:38
↓ 3 callersFunctionmakeValAxis
* Create Value Axis (Used by `bar3D`) * @param {IChartOptsLib} opts - chart options * @param {string} valAxisId - value * @return {string} XML
packages/pptxgenjs/src/gen-charts.ts:1748
↓ 3 callersFunctionmanifestRoundTrip
Mirror the manifest's JSON serialize → deserialize boundary.
tests/edit/round-trip/quiz.test.ts:25
↓ 3 callersFunctionmarkInlined
(url: string)
lib/export/inline-assets.ts:299
↓ 3 callersFunctionmean
(nums: number[])
eval/whiteboard-layout/reporter.ts:5
↓ 3 callersFunctionmediaServingUrl
(baseUrl: string, classroomId: string, subPath: string)
lib/server/classroom-media-generation.ts:62
↓ 3 callersFunctionmockRequest
(outline: SceneOutline, requirements?: { taskEngineMode?: boolean })
tests/generation/scene-content-route-vocational-gate.test.ts:98
↓ 3 callersFunctionmoveById
(actions: Action[], id: string, to: number)
components/edit/ActionsBar/actions-edit.ts:134
↓ 3 callersFunctionnormalizeBaseUrl
(baseUrl?: string)
lib/media/adapters/happyhorse-adapter.ts:54
↓ 3 callersFunctionnormalizeMathCharToUnicode
(cp: number)
packages/@openmaic/importer/src/serializer/mathSerializer.ts:106
↓ 3 callersFunctionnormalizeToLF
(text: string)
lib/edit/html-edit.ts:51
↓ 3 callersFunctionnotifyVoiceProfilesChanged
()
lib/audio/voxcpm-voices.ts:28
↓ 3 callersFunctionokFetch
()
tests/audio/voice-registration-client.test.ts:15
↓ 3 callersFunctionomath
(inner: string)
packages/@openmaic/importer/test/mathSerializer.test.ts:5
↓ 3 callersMethodonActionReady
Fired when tick reaches an action item. Callers should execute the effect + add badge.
lib/buffer/stream-buffer.ts:105
↓ 3 callersMethodonAgentEnd
(data: AgentEndItem)
lib/buffer/stream-buffer.ts:95
↓ 3 callersMethodonAgentStart
(data: AgentStartItem)
lib/buffer/stream-buffer.ts:94
↓ 3 callersMethodonCueUser
(fromAgentId?: string, prompt?: string)
lib/buffer/stream-buffer.ts:119
↓ 3 callersMethodonDone
(data: { totalActions: number; totalAgents: number; agentHadContent?: boolean; directorState?:
lib/buffer/stream-buffer.ts:120
↓ 3 callersFunctionoptionLetter
(index: number)
components/edit/surfaces/quiz/quiz-edit-ops.ts:84
↓ 3 callersFunctionparseDirectorDecision
(content: string)
lib/orchestration/director-prompt.ts:216
↓ 3 callersFunctionparseGroupNode
(grpNode: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/GroupNode.ts:33
↓ 3 callersFunctionparsePicNode
(picNode: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/PicNode.ts:35
↓ 3 callersFunctionparseStructuredChunk
(chunk: string, state: ParserState)
lib/orchestration/stateless-generate.ts:136
↓ 3 callersFunctionparseTextBody
(txBody: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:186
↓ 3 callersFunctionparseZip
( buffer: ArrayBuffer, limits: ZipParseLimits = {}, )
packages/@openmaic/importer/src/parser/ZipParser.ts:76
↓ 3 callersFunctionparsedPdfToDocumentArtifact
( parsed: ParsedPdfContent, input: DocumentExtractorInput, )
lib/document/pdf-compat.ts:54
↓ 3 callersFunctionpat2
(g1: string, g2: string)
packages/@openmaic/importer/src/serializer/StyleResolver.ts:319
↓ 3 callersFunctionpblOutline
(overrides?: Partial<SceneOutline>)
tests/pbl/v2/planner.test.ts:106
↓ 3 callersFunctionpick
(value: unknown)
lib/audio/voice-design.ts:47
↓ 3 callersFunctionpickThinkingEffort
( thinking: ThinkingCapability, config: ThinkingConfig, )
lib/ai/thinking-config.ts:41
↓ 3 callersFunctionplayBrowserTTSPreview
(options: PlayBrowserTTSPreviewOptions)
lib/audio/browser-tts-preview.ts:99
↓ 3 callersFunctionpollHappyHorseTask
( config: VideoGenerationConfig, taskId: string, )
lib/media/adapters/happyhorse-adapter.ts:136
↓ 3 callersFunctionprepareWorkspaceLaunchProject
( project: PBLProjectV2, priorQuizResults: PriorQuizResult[], )
lib/pbl/v2/operations/workspace-launch.ts:9
↓ 3 callersFunctionprocessGroupSpNode
(node, warpObj, source, parentGroupHierarchy = [])
packages/@openmaic/importer/src1/pptxtojson.js:621
↓ 3 callersFunctionprojectV2ToLegacyProjectConfig
(project: PBLProjectV2)
lib/pbl/v2/compat.ts:12
↓ 3 callersFunctionreadBoolean
* Feature flags. Public flags come from `NEXT_PUBLIC_*` env vars, which * Next.js inlines at build time so they are safe to read from client * compo
lib/config/feature-flags.ts:10
↓ 3 callersFunctionreadBracketChar
(code: string, pos: number)
packages/@openmaic/importer/src/utils/eqFieldParser.ts:172
↓ 3 callersFunctionreadClassroomGenerationJob
( jobId: string, )
lib/server/classroom-job-store.ts:122
↓ 3 callersFunctionreadJsonResponse
(response: Response)
lib/hooks/use-scene-generator.ts:84
↓ 3 callersFunctionredirectHtml
(target)
packages/docs/scripts/postexport.mjs:18
↓ 3 callersFunctionredoQuiz
(history: QuizEditHistory)
components/edit/surfaces/quiz/quiz-edit-ops.ts:60
↓ 3 callersFunctionredoSlideEditOperation
(history: SlideEditHistory)
lib/edit/slide-ops.ts:140
↓ 3 callersFunctionrefreshEditLock
( courseId: string, ownTabId: string, now: number = Date.now(), )
lib/edit/edit-mode-lock.ts:90
↓ 3 callersFunctionrelsPathFor
* For a given XML file path, find its corresponding .rels file path. * E.g., "ppt/slides/slide1.xml" → "ppt/slides/_rels/slide1.xml.rels"
packages/@openmaic/importer/src/model/Presentation.ts:46
↓ 3 callersFunctionremoveAt
(actions: Action[], index: number)
components/edit/ActionsBar/actions-edit.ts:74
↓ 3 callersFunctionremoveGeneratingOutline
(outlineId: string)
lib/hooks/use-scene-generator.ts:386
↓ 3 callersFunctionrenderTextBody
( textBody: TextBody | undefined, placeholder: PlaceholderInfo | undefined, ctx: RenderContext, option
packages/@openmaic/importer/src/serializer/textSerializer.ts:972
↓ 3 callersFunctionreplace
(history: QuizEditHistory)
components/edit/surfaces/quiz/quiz-edit-session.ts:59
← previousnext →901–1,000 of 4,064, ranked by callers