MCPcopy Create free account

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

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

↓ 4 callersFunctiongetElementRange
(element: PPTElement)
lib/utils/element.ts:81
↓ 4 callersFunctiongetModelInfo
(providerId: ProviderId, modelId: string)
lib/ai/providers.ts:1686
↓ 4 callersFunctiongetPhInfo
* Extract placeholder info (type, idx) from a raw placeholder XML node * stored in layout/master.
packages/@openmaic/importer/src/model/Presentation.ts:297
↓ 4 callersFunctiongetPicFill
(type, node, warpObj)
packages/@openmaic/importer/src1/fill.js:35
↓ 4 callersFunctiongetServerPDFProviders
()
lib/server/provider-config.ts:482
↓ 4 callersFunctiongetServerVideoProviders
()
lib/server/provider-config.ts:525
↓ 4 callersFunctiongetServerWebSearchProviders
()
lib/server/provider-config.ts:545
↓ 4 callersFunctiongetTextContent
(node, trim = true)
packages/mathml2omml/src/helpers.js:1
↓ 4 callersFunctiongetThinkingConfigKey
(providerId: string, modelId: string)
lib/ai/thinking-config.ts:9
↓ 4 callersFunctiongetUuid
(uuidFormat: string)
packages/pptxgenjs/src/gen-utils.ts:50
↓ 4 callersFunctiongetVoiceRegistrationAdapter
( providerId: string, )
lib/audio/voice-registration.ts:44
↓ 4 callersFunctiongetVoxCPMProviderOptions
( voiceId: string, context?: VoxCPMVoicePromptContext, request?: VoiceRegistrationRequestConfig, )
lib/audio/voxcpm-voices.ts:281
↓ 4 callersFunctionhasDiscussion
(actions: Action[])
components/edit/ActionsBar/actions-edit.ts:45
↓ 4 callersFunctionhasRC
(c: Chunk)
tests/ai/reasoning-sse.test.ts:32
↓ 4 callersFunctionhumanizeConceptSignature
(signature: string)
lib/pbl/v2/operations/completion-stats.ts:362
↓ 4 callersFunctioninnerPt
(angle: number)
packages/@openmaic/importer/src/shapes/presets.ts:3056
↓ 4 callersFunctionisActiveOfParentNodeType
(nodeType: string, state: EditorState)
lib/prosemirror/utils.ts:118
↓ 4 callersFunctionisBase64Image
(url: string)
lib/export/use-export-pptx.ts:331
↓ 4 callersFunctionisList
(node: Node, schema: Schema)
lib/prosemirror/utils.ts:6
↓ 4 callersFunctionisServerTTSProviderDisabled
(providerId: string)
lib/server/provider-config.ts:440
↓ 4 callersFunctionisSlideContent
( content: T, )
packages/@openmaic/dsl/src/stage.ts:213
↓ 4 callersFunctionisTaskCompletionReadyMessageContent
(content: string | undefined)
lib/pbl/v2/operations/task-completion.ts:95
↓ 4 callersFunctionisYaml
(p: unknown)
tests/server/provider-config.test.ts:68
↓ 4 callersFunctionjobFilePath
(jobId: string)
lib/server/classroom-job-store.ts:43
↓ 4 callersFunctionline
( id: string, left: number, top: number, start: [number, number], end: [number, number], )
tests/orchestration/whiteboard-conflicts.test.ts:25
↓ 4 callersFunctionlogJsonParseError
(stage: string, jsonStr: string, error: unknown)
lib/generation/json-repair.ts:16
↓ 4 callersFunctionmakeAction
(type: AddableType, id: string)
components/edit/ActionsBar/actions-edit.ts:18
↓ 4 callersFunctionmakeRequest
(body: Record<string, unknown>)
tests/pbl/v2/runtime-model-pin.test.ts:41
↓ 4 callersFunctionmakeTextEl
(id: string, groupId?: string)
tests/edit/slide-defaults.test.ts:7
↓ 4 callersFunctionmapQuestion
( content: QuizContent, id: string, fn: (q: QuizQuestion) => QuizQuestion, )
components/edit/surfaces/quiz/quiz-edit-ops.ts:142
↓ 4 callersFunctionmapRows
( content: QuizContent, id: string, fn: (rows: OptionRow[]) => OptionRow[], )
components/edit/surfaces/quiz/quiz-edit-ops.ts:237
↓ 4 callersFunctionmeasure
()
components/scene-renderers/pbl/v2/hero.tsx:177
↓ 4 callersFunctionmediaFileKey
(stageId: string, elementId: string)
lib/utils/database.ts:209
↓ 4 callersFunctionmilestoneHandoverCtaState
(handover?: PBLHandover)
components/scene-renderers/pbl/v2/eval-cards/milestone-card.tsx:177
↓ 4 callersFunctionmkMilestone
( id: string, tasks: PBLMicrotask[], status: PBLMilestone['status'] = 'active', )
tests/pbl/v2/microtask-engagement-cache.test.ts:31
↓ 4 callersFunctionmkProject
(overrides: Partial<PBLProjectV2> = {})
tests/pbl/v2/proficiency.test.ts:59
↓ 4 callersFunctionmkProject
(milestones: PBLMilestone[])
tests/pbl/v2/microtask-engagement-cache.test.ts:47
↓ 4 callersFunctionmkProject
(overrides: Partial<PBLProjectV2> = {})
tests/pbl/v2/quiz-snapshot.test.ts:74
↓ 4 callersFunctionmkTask
(id: string, status: PBLMicrotask['status'] = 'in_progress')
tests/pbl/v2/microtask-engagement-cache.test.ts:19
↓ 4 callersFunctionmovePositopn
(state: State, len: number)
lib/export/html-parser/lexer.ts:15
↓ 4 callersFunctionnodeToElement
* Dispatch a slide node to the appropriate serializer and return Element.
packages/@openmaic/importer/src/serializer/slideSerializer.ts:101
↓ 4 callersFunctionnormalizeASRUploadAudio
( providerId: string, audioBlob: Blob, )
lib/audio/wav-utils.ts:76
↓ 4 callersFunctionommlToLatex
(ommlXml: string)
packages/@openmaic/importer/src/serializer/mathSerializer.ts:354
↓ 4 callersFunctiononPick
()
components/edit/ActionsBar/ActionsBar.tsx:1190
↓ 4 callersFunctiononSelect
()
components/ai-elements/inline-citation.tsx:142
↓ 4 callersFunctionorder
()
tests/edit/surfaces/slide/z-order.test.ts:21
↓ 4 callersFunctionoutline
(id: string, type: SceneOutline['type'])
tests/lib/agent/tools/edit-interactive-html.test.ts:11
↓ 4 callersFunctionparseActionsFromStructuredOutput
( response: string, sceneType?: string, allowedActions?: string[], )
lib/generation/action-parser.ts:42
↓ 4 callersFunctionparseRels
(xmlString: string)
packages/@openmaic/importer/src/parser/RelParser.ts:24
↓ 4 callersFunctionparseTableNode
(frameNode: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/TableNode.ts:106
↓ 4 callersFunctionpblOutline
()
tests/generation/pbl-v2-scene-routing.test.ts:40
↓ 4 callersFunctionpctToDecimal
(pct: number)
packages/@openmaic/importer/src/parser/units.ts:28
↓ 4 callersFunctionplainArg
(s: string | undefined)
packages/@openmaic/importer/src/utils/eqFieldParser.ts:549
↓ 4 callersFunctionpreview
()
components/edit/ActionsBar/ActionsBar.tsx:287
↓ 4 callersFunctionprocessActions
* Process and validate Actions
lib/generation/scene-generator.ts:1536
↓ 4 callersFunctionprocessSnippets
(template: string)
lib/prompts/loader.ts:44
↓ 4 callersFunctionproject
(milestones: PBLMilestone[], learningObjective = '')
tests/pbl/v2/planner.test.ts:550
↓ 4 callersFunctionpromoteLegacyCustomProviderBaseUrls
(state: Partial<SettingsState>)
lib/store/settings.ts:648
↓ 4 callersFunctionpt
(emu: number)
packages/@openmaic/importer/src/serializer/textSerializer.ts:1636
↓ 4 callersFunctionpx2emu
(px: number)
tests/edit/round-trip/geometry.test.ts:41
↓ 4 callersFunctionpxToPt
(px: number)
packages/@openmaic/importer/src/serializer/imageSerializer.ts:18
↓ 4 callersFunctionpxToPt
(px: number)
packages/@openmaic/importer/src/serializer/mathSerializer.ts:26
↓ 4 callersFunctionpxToPt
(px: number)
packages/@openmaic/importer/src/serializer/chartSerializer.ts:23
↓ 4 callersFunctionquizScene
(id: string, order: number, questions: QuizQuestion[])
tests/classroom/complete-summary.test.ts:16
↓ 4 callersFunctionreadAnswersForSummary
(sceneId: string)
lib/quiz/persistence.ts:85
↓ 4 callersFunctionreadSlideXml
(blob: Blob)
tests/edit/round-trip/background.test.ts:28
↓ 4 callersFunctionreplace
(history: SlideEditHistory)
components/edit/surfaces/slide/slide-edit-session.ts:75
↓ 4 callersFunctionreseatAssessmentTier
( prev: PBLProficiencyAssessment, tier: PBLProficiency, source: ProficiencyAssessmentSource, )
lib/pbl/v2/operations/proficiency.ts:434
↓ 4 callersFunctionresolveFill
(spPr: SafeXmlNode, ctx: RenderContext)
packages/@openmaic/importer/src/serializer/StyleResolver.ts:237
↓ 4 callersFunctionresolveGradientFill
( spPr: SafeXmlNode, ctx: RenderContext, )
packages/@openmaic/importer/src/serializer/StyleResolver.ts:726
↓ 4 callersFunctionresolveImageApiKey
(providerId: string, clientKey?: string)
lib/server/provider-config.ts:509
↓ 4 callersFunctionresolveSafeClientWebSearchBaseUrl
( providerId: WebSearchProviderId, clientBaseUrl?: string, )
lib/server/web-search-config.ts:47
↓ 4 callersFunctionresolveThinkingProviderOptions
( model: LanguageModel, thinkingConfig?: ThinkingConfig, )
lib/ai/llm.ts:216
↓ 4 callersFunctionresolveVideoBaseUrl
( providerId: string, clientBaseUrl?: string, )
lib/server/provider-config.ts:533
↓ 4 callersFunctionrunInstructorTurn
( args: RunInstructorTurnArgs, )
lib/pbl/v2/agents/instructor.ts:1301
↓ 4 callersFunctionrunTaskEvaluation
( args: RunTaskEvaluationArgs, )
lib/pbl/v2/agents/evaluator.ts:324
↓ 4 callersFunctionrunWith
(raw: unknown)
tests/generation/media-prompt-wiring.test.ts:94
↓ 4 callersFunctionsafeClose
()
lib/pbl/v2/api/sse.ts:223
↓ 4 callersFunctionsafeGet
(key: string)
lib/quiz/persistence.ts:34
↓ 4 callersFunctionscenarioActGoalsScaffold
(project: PBLProjectV2)
lib/pbl/v2/operations/completion-stats.ts:175
↓ 4 callersFunctionscenarioInput
(overrides?: Partial<PBLPlannerV2Input>)
tests/pbl/v2/planner-single-call.test.ts:352
↓ 4 callersMethodsealLastText
Seal the last text item in the queue (if any).
lib/buffer/stream-buffer.ts:421
↓ 4 callersMethodsendWidgetMessage
Send message to widget iframe
lib/action/engine.ts:681
↓ 4 callersFunctionsetAudioIdById
(actions: Action[], id: string, audioId: string)
components/edit/ActionsBar/actions-edit.ts:174
↓ 4 callersFunctionsetDiscussionAgentById
(actions: Action[], id: string, agentId: string)
components/edit/ActionsBar/actions-edit.ts:217
↓ 4 callersFunctionsetDiscussionPromptById
(actions: Action[], id: string, prompt: string)
components/edit/ActionsBar/actions-edit.ts:212
↓ 4 callersFunctionsetDiscussionTopicById
(actions: Action[], id: string, topic: string)
components/edit/ActionsBar/actions-edit.ts:180
↓ 4 callersMethodsetMode
(mode: PBLMode)
lib/pbl/mcp/mode-mcp.ts:18
↓ 4 callersFunctionsetSpeechTextClearAudioById
(actions: Action[], id: string, text: string)
components/edit/ActionsBar/actions-edit.ts:115
↓ 4 callersFunctionshouldShowVocationalTestUi
()
lib/config/feature-flags.ts:43
↓ 4 callersFunctionsignalFromClosingCheck
(quality: 'weak' | 'ok' | 'strong')
lib/pbl/v2/operations/proficiency.ts:523
↓ 4 callersFunctionsimulateToolExecutionEnd
(details: { sceneId?: string; actions?: unknown; })
tests/lib/agent/client/use-agent-runtime.test.ts:79
↓ 4 callersFunctionsimulatorThread
(p: PBLProjectV2)
tests/pbl/v2/apply-instructor-event.test.ts:56
↓ 4 callersFunctionslideCtx
(id: string, extraElements: PPTElement[] = [])
tests/lib/agent/tools/regenerate-scene.test.ts:39
↓ 4 callersFunctionstringField
(record: Record<string, unknown>, key: string)
lib/generation/generation-retry.ts:77
↓ 4 callersMethodsubmit
()
e2e/pages/home.page.ts:26
↓ 4 callersFunctionsummarizeSubmissionsForMicrotask
( project: PBLProjectV2, microtaskId: string, maxChars = 4000, )
lib/pbl/v2/operations/submission.ts:119
↓ 4 callersFunctionsupportsVoiceRegistration
( providerId: string, options?: Record<string, unknown>, )
lib/audio/voice-registration.ts:51
↓ 4 callersFunctiontaskCompletionReadyText
(language: string | undefined)
lib/pbl/v2/operations/task-completion.ts:71
↓ 4 callersFunctiontaskEval
(score: number | undefined, improvements: string[] = [])
tests/pbl/v2/submission-flow.test.ts:13
← previousnext →701–800 of 4,064, ranked by callers