MCPcopy Create free account

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

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

↓ 4 callersFunctiontaskEvaluationCanAdvance
(evaluation: PBLEvaluation | undefined)
components/scene-renderers/pbl/v2/submission.tsx:227
↓ 4 callersFunctiontickTurnOnProject
(project: PBLProjectV2)
lib/pbl/v2/operations/dynamic-signals.ts:227
↓ 4 callersFunctiontoCellBorder
(b?: { borderColor: string; borderWidth: number; borderType: s
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:1148
↓ 4 callersFunctiontoggleImageFlip
(el: PPTImageElement, axis: 'H' | 'V')
components/edit/surfaces/slide/use-slide-surface.ts:152
↓ 4 callersFunctiontrackObservation
( project: PBLProjectV2, kind: 'error' | 'concept_unlocked' | 'struggle' | 'question', opts: { repeat?:
lib/pbl/v2/operations/dynamic-signals.ts:99
↓ 4 callersFunctiontx
(p: { selectionSet?: boolean; docChanged?: boolean; storedMarksSet?: boolean })
tests/prosemirror/active-editor-registry.test.ts:11
↓ 4 callersFunctiontxt
(c: SlideContent)
tests/edit/scene-edit-bridge.test.ts:19
↓ 4 callersFunctiontypeQuizQuestion
(id: string, patch: QuestionTextPatch, coalesceKey: string)
components/edit/surfaces/quiz/use-quiz-surface.ts:71
↓ 4 callersFunctionuniqAlignLines
(lines: AlignLine[])
lib/utils/element.ts:157
↓ 4 callersFunctionupgradeLegacyPBLConfigToProjectV2
(config: PBLProjectConfig)
lib/pbl/v2/compat.ts:74
↓ 4 callersFunctionuseCarousel
()
components/ui/carousel.tsx:33
↓ 4 callersFunctionuseConfirmation
()
components/ai-elements/confirmation.tsx:44
↓ 4 callersFunctionuseElementFlip
(flipH?: boolean, flipV?: boolean)
components/slide-renderer/components/element/hooks/useElementFlip.ts:9
↓ 4 callersFunctionuseElementShadow
(shadow?: PPTElementShadow)
packages/@openmaic/renderer/src/elements/shared/useElementShadow.ts:4
↓ 4 callersFunctionusePromptInputAttachments
()
components/ai-elements/prompt-input.tsx:256
↓ 4 callersFunctionuseResolvedSlideContent
()
components/edit/surfaces/slide/use-slide-surface.ts:173
↓ 4 callersFunctionvalidScenarioOutput
A valid role-play scenario JSON the LLM might emit.
tests/pbl/v2/planner-single-call.test.ts:362
↓ 4 callersFunctionvalidateModel
( currentModelId: string, availableModels: Array<{ id: string }>, )
lib/store/settings-validation.ts:60
↓ 4 callersFunctionverifyAccessToken
(token: string, accessCode: string)
lib/server/access-token.ts:11
↓ 4 callersFunctionwrapResponseWithReasoning
(response: Response)
lib/ai/reasoning-sse.ts:83
↓ 4 callersFunctionwriteAscii
(view: DataView, offset: number, value: string)
lib/audio/voxcpm-voices.ts:67
↓ 4 callersFunctionwriteAscii
(view: DataView, offset: number, value: string)
lib/audio/wav-utils.ts:3
↓ 4 callersMethodwriteFile
* Export the current Presentation. * Write the generated presentation to disk (Node) or trigger a download (browser). * @param {WriteFileProps} pr
packages/pptxgenjs/src/pptxgen.ts:602
↓ 4 callersFunctionwriteJsonFileAtomic
(filePath: string, data: unknown)
lib/server/classroom-storage.ts:21
↓ 3 callersMethodaddShape
* Add shape to Slide * @param {SHAPE_NAME} shapeName - shape name * @param {ShapeProps} options - shape options * @return {Slide} this Slide
packages/pptxgenjs/src/slide.ts:214
↓ 3 callersMethodaddSlide
* Add a new Slide to Presentation * @param {AddSlideProps} options - slide options * @returns {PresSlide} the new Slide
packages/pptxgenjs/src/pptxgen.ts:659
↓ 3 callersMethodaddText
* Add text to Slide * @param {string|TextProps[]} text - text string or complex object * @param {TextPropsOptions} options - text options * @ret
packages/pptxgenjs/src/slide.ts:242
↓ 3 callersFunctionaddTextDefinition
(target: PresSlide, text: TextProps[], opts: TextPropsOptions, isPlaceholder: boolean)
packages/pptxgenjs/src/gen-objects.ts:1026
↓ 3 callersFunctionaddType
(name: string)
e2e/tests/quiz-content-surface-657.spec.ts:103
↓ 3 callersFunctionapiHeaders
Common headers for all Grok Video API calls
lib/media/adapters/grok-video-adapter.ts:51
↓ 3 callersFunctionappendDiscussion
(actions: Action[], id: string)
components/edit/ActionsBar/actions-edit.ts:53
↓ 3 callersFunctionappendUnit
(unit: string)
lib/audio/tts-utils.ts:38
↓ 3 callersFunctionapplyQuizSnapshot
( current: PBLProficiencyAssessment, results: PriorQuizResult[], )
lib/pbl/v2/operations/proficiency.ts:810
↓ 3 callersFunctionarm
()
components/edit/surfaces/slide/use-tracked-rect.ts:105
↓ 3 callersFunctionassertNotStreamError
(event: PBLSSEEvent)
components/scene-renderers/pbl/v2/use-instructor-stream.ts:357
↓ 3 callersFunctionat2
(x: number, y: number)
packages/@openmaic/importer/src/shapes/presets.ts:1717
↓ 3 callersFunctionauthHeaders
(apiKey: string)
lib/media/adapters/happyhorse-adapter.ts:62
↓ 3 callersFunctionauthHeaders
(apiKey?: string)
lib/audio/voxcpm-registration.ts:26
↓ 3 callersFunctionbaiduHeaders
(apiKey: string)
lib/web-search/baidu.ts:23
↓ 3 callersFunctionbase64url
(data: Buffer | string)
lib/media/adapters/kling-adapter.ts:37
↓ 3 callersFunctionbaseInteractiveOutline
(overrides: Partial<SceneOutline> = {})
tests/generation/widget-actions-direct-pipeline.test.ts:7
↓ 3 callersFunctionblobWithType
(blob: Blob, mimeType: string)
lib/utils/stage-storage.ts:213
↓ 3 callersFunctionbuildCompleteScene
( outline: SceneOutline, content: | GeneratedSlideContent | GeneratedQuizContent | GeneratedIn
lib/generation/scene-builder.ts:129
↓ 3 callersFunctionbuildPBLSystemPrompt
(config: PBLSystemPromptConfig)
lib/pbl/pbl-system-prompt.ts:18
↓ 3 callersFunctionbuildPresentation
(files: PptxFiles)
packages/@openmaic/importer/src/model/Presentation.ts:113
↓ 3 callersFunctionbuildRequestOrigin
(req: NextRequest)
lib/server/classroom-storage.ts:31
↓ 3 callersFunctionbuildStageAgentFields
( agentMode: 'default' | 'generate', agents: Array<{ id: string; name: string; role: string; persona?:
tests/server/classroom-agent-mode.test.ts:31
↓ 3 callersFunctionbuildVideoManifestFromOutlines
(outlines: SceneOutline[])
lib/media/video-manifest.ts:9
↓ 3 callersFunctioncapEngagementEvents
(project: PBLProjectV2)
lib/pbl/v2/operations/engagement.ts:60
↓ 3 callersFunctioncascadeSegmentClass
(theme: (typeof TYPE_THEME)[SceneType])
components/generation/outlines-editor.tsx:977
↓ 3 callersFunctionchartToElement
( node: ChartNodeData, ctx: RenderContext, _order: number, )
packages/@openmaic/importer/src/serializer/chartSerializer.ts:259
↓ 3 callersFunctioncheckBodyPr
(bodyPr)
packages/@openmaic/importer/src1/align.js:68
↓ 3 callersFunctioncheckEnum
(field: string, val: unknown, valid: readonly T[])
lib/server/model-routes.ts:63
↓ 3 callersFunctionclamp
(v: number)
packages/@openmaic/importer/src/utils/color.ts:34
↓ 3 callersFunctioncleanCompletionIntro
(feedback: string | undefined)
components/scene-renderers/pbl/v2/completion.tsx:100
↓ 3 callersFunctioncleanup
()
lib/audio/browser-tts-preview.ts:45
↓ 3 callersFunctioncollectEvents
(gen: AsyncGenerator<PBLSSEEvent, void, void>)
tests/pbl/v2/evaluator.test.ts:62
↓ 3 callersFunctioncombined
(prompt: { system: string; user: string } | null)
tests/prompts/widget-teacher-actions-procedural-skill.test.ts:7
↓ 3 callersFunctioncompletabilityBlockerList
(j: CompletabilityJudge)
eval/pbl-v2-planner/runner.ts:543
↓ 3 callersFunctioncomponentToHex
(c: number)
packages/pptxgenjs/src/gen-utils.ts:107
↓ 3 callersFunctionconvertMessagesToOpenAI
( messages: StatelessChatRequest['messages'], currentAgentId?: string, )
lib/orchestration/summarizers/message-converter.ts:9
↓ 3 callersFunctioncorrectGridLineOptions
(glOpts: OptsChartGridLine)
packages/pptxgenjs/src/gen-objects.ts:133
↓ 3 callersFunctioncorrectShadowOptions
(ShadowProps: ShadowProps)
packages/pptxgenjs/src/gen-utils.ts:229
↓ 3 callersMethodcreateAgent
(params: { name: string; system_prompt: string; default_mode: string; delay_time?: number;
lib/pbl/mcp/agent-mcp.ts:33
↓ 3 callersFunctioncreateBlobUrlSafe
* @param {ArrayBuffer} file * @param {{ mediaMode?: 'base64' | 'blob' }} [options]
packages/@openmaic/importer/src1/pptxtojson.js:23
↓ 3 callersFunctioncreateConfig
(output)
packages/@openmaic/importer/rollup.config.js:24
↓ 3 callersFunctioncreateCustomProviderSettings
( providerData: NewCustomProviderConfig, )
components/settings/utils.ts:41
↓ 3 callersFunctioncreateElementId
(prefix: string)
lib/edit/element-id.ts:4
↓ 3 callersFunctioncreateGridLineElement
* Create Grid Line Element * @param {OptsChartGridLine} glOpts {size, color, style} * @return {string} XML
packages/pptxgenjs/src/gen-charts.ts:2018
↓ 3 callersFunctioncreateHttpError
( response: Response, data: { details?: unknown; error?: unknown }, fallback: string, )
lib/hooks/use-scene-generator.ts:90
↓ 3 callersFunctioncreateProceduralSkillOutline
()
tests/generation/scene-content-route-vocational-gate.test.ts:110
↓ 3 callersFunctioncreateVerifyModelRequest
(config: VerifyModelRequestConfig)
components/settings/utils.ts:66
↓ 3 callersFunctioncssColorToFillHex
(css: string)
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:494
↓ 3 callersFunctioncurrentMilestone
(project: PBLProjectV2)
lib/pbl/v2/operations/progress.ts:45
↓ 3 callersFunctioncurrentPendingTaskCompletion
( project: PBLProjectV2, microtaskId: string | undefined, )
lib/pbl/v2/operations/task-completion.ts:38
↓ 3 callersMethoddeleteAgent
(name: string)
lib/pbl/mcp/agent-mcp.ts:124
↓ 3 callersFunctiondeleteOption
(content: QuizContent, id: string, index: number)
components/edit/surfaces/quiz/quiz-edit-ops.ts:254
↓ 3 callersFunctiondocumentArtifactToParsedPdfContent
(artifact: DocumentArtifact)
lib/document/pdf-compat.ts:134
↓ 3 callersFunctionemitToolCallProviderOptions
( meta: ToolCallProviderMetadata | undefined, )
lib/agent/runtime/provider-metadata.ts:24
↓ 3 callersFunctionemptyOutputIndex
(events: PBLSSEEvent[])
tests/pbl/v2/instructor-empty-output.test.ts:123
↓ 3 callersFunctionencodeEvent
Encode one event as an SSE wire frame.
lib/pbl/v2/api/sse.ts:183
↓ 3 callersFunctionendDrag
()
packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx:384
↓ 3 callersFunctionendDrag
()
components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx:390
↓ 3 callersFunctionensureBuiltInAudioProviders
(state: Partial<SettingsState>)
lib/store/settings.ts:576
↓ 3 callersFunctionensureBuiltInWebSearchProviders
* Ensure webSearchProvidersConfig includes all built-in web search providers. * Called on every rehydrate so newly added providers appear automatical
lib/store/settings.ts:692
↓ 3 callersFunctionensureDir
(dir: string)
lib/server/classroom-storage.ts:9
↓ 3 callersFunctionensureHex
(color: string)
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:470
↓ 3 callersFunctionensureHex
(color: string)
packages/@openmaic/importer/src/serializer/backgroundSerializer.ts:175
↓ 3 callersFunctionescapeHtml
(text: string)
packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx:708
↓ 3 callersFunctionescapeHtml
(text: string)
components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx:698
↓ 3 callersFunctionevaluationPatch
(events: PBLSSEEvent[])
tests/pbl/v2/evaluator.test.ts:68
↓ 3 callersFunctionexpectBodyScrollState
(locked: boolean)
e2e/tests/classroom-interaction.spec.ts:178
↓ 3 callersFunctionextractFileExtension
(filename)
packages/@openmaic/importer/src1/utils.js:38
↓ 3 callersFunctionextractFont
(targetNode, isDirectRun = false)
packages/@openmaic/importer/src1/fontStyle.js:6
↓ 3 callersFunctionextractMinerUResult
(fileResult: Record<string, unknown>)
lib/pdf/mineru-parser.ts:13
↓ 3 callersFunctionextractNumericValues
(refNode: SafeXmlNode)
packages/@openmaic/importer/src/serializer/chartSerializer.ts:101
↓ 3 callersFunctionextractPdfFromBuffer
* Search for %PDF...%%EOF in a buffer and extract the PDF bytes.
packages/@openmaic/importer/src/utils/emfParser.ts:186
↓ 3 callersFunctionfindTransitionNode
(content, rootElement)
packages/@openmaic/importer/src1/animation.js:3
↓ 3 callersFunctionformatAgentsForPrompt
(agents?: AgentInfo[])
lib/generation/prompt-formatters.ts:53
↓ 3 callersFunctionformatImagePlaceholder
(img: PdfImage)
lib/generation/prompt-formatters.ts:92
← previousnext →801–900 of 4,064, ranked by callers