MCPcopy Create free account

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

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

↓ 2 callersFunctiontoDataUrl
(base64: string, mime: string)
packages/@openmaic/importer/src/utils/media.ts:71
↓ 2 callersFunctiontoHttpErrorStatus
(value: unknown)
lib/server/llm-error-response.ts:11
↓ 2 callersFunctiontoRad60k
(a: number)
packages/@openmaic/importer/src/shapes/presets.ts:1709
↓ 2 callersFunctiontoRoman
(num: number)
packages/@openmaic/importer/src/serializer/textSerializer.ts:751
↓ 2 callersFunctiontoRows
(q: QuizQuestion)
components/edit/surfaces/quiz/quiz-edit-ops.ts:88
↓ 2 callersFunctiontoggleList
( listType: NodeType, itemType: NodeType, listStyleType: string, textStyleAttr: TextStyleAttr = {}, )
lib/prosemirror/commands/toggleList.ts:13
↓ 2 callersFunctiontoolCallStep
(toolName: string, input: Record<string, unknown>)
tests/pbl/v2/instructor-empty-output.test.ts:41
↓ 2 callersFunctiontrackMicrotaskCompletion
( project: PBLProjectV2, microtaskId: string, )
lib/pbl/v2/operations/dynamic-signals.ts:131
↓ 2 callersFunctiontranscribeOpenAIWhisper
* OpenAI Whisper implementation (using Vercel AI SDK)
lib/audio/asr-providers.ts:297
↓ 2 callersFunctiontransformParsedToSlides
( json: ParsedPptxJson, ctx: ImportContext, )
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:369
↓ 2 callersFunctiontruncate
(s: string, max: number)
lib/pbl/v2/agents/instructor-memory.ts:141
↓ 2 callersFunctionunderOrOver
(element, targetParent, previousSibling, nextSibling, ancestors, direction)
packages/mathml2omml/src/mathml/under_or_over.js:28
↓ 2 callersFunctionuniformMathColorNode
(ommlNode: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/MathNode.ts:70
↓ 2 callersFunctionuniquifyMediaElementIds
(outlines: SceneOutline[])
lib/generation/scene-builder.ts:35
↓ 2 callersFunctionuploadBlobToStorage
( blob: Blob, type: 'media' | 'audio' | 'poster', signal?: AbortSignal, )
lib/storage/client.ts:14
↓ 2 callersFunctionuseAudioRecorder
(options: UseAudioRecorderOptions = {})
lib/hooks/use-audio-recorder.ts:26
↓ 2 callersFunctionuseAutoResize
(ref: React.RefObject<HTMLTextAreaElement | null>, value: string)
components/generation/outlines-editor.tsx:1469
↓ 2 callersFunctionuseChainOfThought
()
components/ai-elements/chain-of-thought.tsx:18
↓ 2 callersFunctionuseClipImage
(element: PPTImageElement)
packages/@openmaic/renderer/src/elements/image/useClipImage.ts:5
↓ 2 callersFunctionuseElementFill
(element: PPTShapeElement, source: string)
components/slide-renderer/components/element/hooks/useElementFill.ts:10
↓ 2 callersFunctionuseElementFlip
(flipH?: boolean, flipV?: boolean)
packages/@openmaic/renderer/src/elements/shared/useElementFlip.ts:3
↓ 2 callersFunctionuseFilter
(filters?: ImageElementFilters)
components/slide-renderer/components/element/ImageElement/useFilter.ts:8
↓ 2 callersFunctionuseOptionalPromptInputController
()
components/ai-elements/prompt-input.tsx:112
↓ 2 callersFunctionusePacedText
(raw: string, opts: { readonly active: boolean })
components/scene-renderers/pbl/v2/chat.tsx:1201
↓ 2 callersFunctionusePlan
()
components/ai-elements/plan.tsx:26
↓ 2 callersFunctionuseResolvedImageSrc
(elementInfo: PPTImageElement)
components/slide-renderer/components/element/ImageElement/useResolvedImageSrc.ts:63
↓ 2 callersFunctionuseResolvedQuizContent
()
components/edit/surfaces/quiz/use-quiz-surface.ts:152
↓ 2 callersFunctionuseSlideBackgroundStyle
(background: SlideBackground | undefined)
lib/hooks/use-slide-background-style.ts:7
↓ 2 callersFunctionuseViewportSize
(canvasRef: RefObject<HTMLElement | null>)
components/slide-renderer/Editor/Canvas/hooks/useViewportSize.ts:15
↓ 2 callersFunctionvalidateLLMOutput
Structural + topic + language checks on the parsed LLM output. Returns * a list of human-readable gaps (empty == valid). Mirrors the per-tool * gu
lib/pbl/v2/agents/planner-single-call.ts:176
↓ 2 callersFunctionvalidateVoxCPMReferenceAudio
(blob: Blob)
lib/audio/voxcpm-voices.ts:134
↓ 2 callersMethodwaitForReviewOpportunity
()
e2e/pages/generation-preview.page.ts:41
↓ 2 callersFunctionwithJobLock
(jobId: string, fn: () => Promise<T>)
lib/server/classroom-job-store.ts:60
↓ 2 callersFunctionwithThinkingConfig
(body: T)
lib/hooks/use-scene-generator.ts:79
↓ 2 callersFunctionwriteEditLock
(courseId: string, state: EditLockState)
lib/edit/edit-mode-lock.ts:51
↓ 2 callersFunctionwriteThrough
(next: SlideContent)
components/edit/surfaces/slide/slide-edit-session.ts:69
↓ 2 callersFunctionwriteThrough
(next: QuizContent)
components/edit/surfaces/quiz/quiz-edit-session.ts:52
↓ 1 callersMethod_generate
( messages: BaseMessage[], _options?: this['ParsedCallOptions'], _runManager?: CallbackManagerForL
lib/orchestration/ai-sdk-adapter.ts:80
↓ 1 callersMethodaddChart
* Add chart to Slide * @param {CHART_NAME|IChartMulti[]} type - chart type * @param {object[]} data - data object * @param {IChartOpts} options
packages/pptxgenjs/src/slide.ts:168
↓ 1 callersFunctionaddChartDefinition
(target: PresSlide, type: CHART_NAME | IChartMulti[], data: IOptsChartData[], opt: IChartOptsLib)
packages/pptxgenjs/src/gen-objects.ts:132
↓ 1 callersFunctionaddElement
* Add a whiteboard element * * @param element - Element object * @param whiteboardId - Whiteboard ID * @returns Whether successful
lib/api/stage-api-whiteboard.ts:155
↓ 1 callersMethodaddFormula
* Add formula (Office Math / OMML) to Slide * @param {FormulaProps} options - formula options * @return {Slide} this Slide
packages/pptxgenjs/src/slide.ts:253
↓ 1 callersFunctionaddImageDefinition
(target: PresSlide, opt: ImageProps)
packages/pptxgenjs/src/gen-objects.ts:386
↓ 1 callersFunctionaddKeyPoint
(raw: string)
components/generation/outlines-editor.tsx:452
↓ 1 callersMethodaddMedia
* Add media (audio/video) to Slide * @param {MediaProps} options - media options * @return {Slide} this Slide
packages/pptxgenjs/src/slide.ts:192
↓ 1 callersMethodaddNotes
* Add speaker notes to Slide * @docs https://gitbrent.github.io/PptxGenJS/docs/speaker-notes.html * @param {string} notes - notes to add to slide
packages/pptxgenjs/src/slide.ts:203
↓ 1 callersFunctionaddPoint
(e: React.MouseEvent)
components/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx:147
↓ 1 callersFunctionaddQuizOption
(id: string)
components/edit/surfaces/quiz/use-quiz-surface.ts:76
↓ 1 callersFunctionaddQuizQuestion
(type: QuizQuestionType)
components/edit/surfaces/quiz/use-quiz-surface.ts:58
↓ 1 callersFunctionaddScriptlevel
(target, ancestors)
packages/mathml2omml/src/ooml/scriptlevel.js:1
↓ 1 callersFunctionaddSkill
()
components/generation/outlines-editor.tsx:1244
↓ 1 callersFunctionagentsToParticipants
( agentIds: string[], t?: (key: string) => string, )
lib/orchestration/registry/store.ts:271
↓ 1 callersFunctionalignElementsToCanvas
( slide: Slide, elementIds: string[], command: SlideElementAlignCommand, )
lib/edit/slide-ops.ts:310
↓ 1 callersFunctionalignmentCommand
(view: EditorView, alignment: string)
lib/prosemirror/commands/setTextAlign.ts:53
↓ 1 callersFunctionanalyzePathCommands
(commands, pathWidth, pathHeight)
packages/@openmaic/importer/src1/shape.js:310
↓ 1 callersFunctionappendArrowsToPath
* Append arrowhead geometry to an existing SVG path string. * Mutates nothing; returns the new path with arrow sub-paths appended.
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:337
↓ 1 callersFunctionappendMilestoneDividerMessage
( project: PBLProjectV2, handover: PBLHandover, microtaskId: string | undefined, )
lib/pbl/v2/operations/progress.ts:663
↓ 1 callersFunctionappendSubmissionReceiptMessage
( project: PBLProjectV2, submission: PBLSubmission, )
components/scene-renderers/pbl/v2/submission.tsx:177
↓ 1 callersFunctionappendTaskDividerMessage
( project: PBLProjectV2, args: { completedMicrotaskId: string; nextMicrotaskId?: string; compl
lib/pbl/v2/operations/progress.ts:578
↓ 1 callersFunctionappendUniqueEngagementEvents
( project: PBLProjectV2, events: NonNullable<PBLAdvanceProjectPatch['engagementEvents']>, )
lib/pbl/v2/operations/advance-patch.ts:103
↓ 1 callersFunctionappendUserMessage
Append a user message to the Instructor thread in a fresh clone.
components/scene-renderers/pbl/v2/chat.tsx:78
↓ 1 callersFunctionapplyAlpha
(alpha: number)
packages/@openmaic/importer/src/utils/color.ts:237
↓ 1 callersFunctionapplyAutoBudget
()
components/generation/generation-toolbar.tsx:452
↓ 1 callersFunctionapplyBudget
(value: number | undefined)
components/generation/generation-toolbar.tsx:445
↓ 1 callersFunctionapplyBudgetMode
(mode: 'disabled' | 'enabled' | 'auto')
components/generation/generation-toolbar.tsx:455
↓ 1 callersFunctionapplyCellProperties
(tcPr: SafeXmlNode, ctx: RenderContext)
packages/@openmaic/importer/src/serializer/tableSerializer.ts:392
↓ 1 callersFunctionapplyClrChange
* Apply `a:clrChange` effect: replace pixels matching `clrFrom` with `clrTo`. * Falls back to the original URL if Canvas is unavailable or decoding f
packages/@openmaic/importer/src/serializer/imageSerializer.ts:434
↓ 1 callersFunctionapplyExtLstImageEffectsToFilters
* `a:extLst` / `a14:img*` image adjustments (namespace-agnostic `localName` from DOM).
packages/@openmaic/importer/src/serializer/imageSerializer.ts:260
↓ 1 callersFunctionapplyHueMod
(hex: string, hueMod: number)
packages/@openmaic/importer/src/utils/color.ts:198
↓ 1 callersFunctionapplyHueMod
(rgbStr, multiplier, isAlpha)
packages/@openmaic/importer/src1/color.js:128
↓ 1 callersFunctionapplyHueOff
(hex: string, hueOff: number)
packages/@openmaic/importer/src/utils/color.ts:211
↓ 1 callersFunctionapplyLumMod
(hex: string, lumMod: number)
packages/@openmaic/importer/src/utils/color.ts:159
↓ 1 callersFunctionapplyLumMod
(rgbStr, multiplier, isAlpha)
packages/@openmaic/importer/src1/color.js:107
↓ 1 callersFunctionapplyLumOff
(hex: string, lumOff: number)
packages/@openmaic/importer/src/utils/color.ts:172
↓ 1 callersFunctionapplyLumOff
(rgbStr, offset, isAlpha)
packages/@openmaic/importer/src1/color.js:70
↓ 1 callersFunctionapplyLumToFilters
`<a:lum>` — brightness / contrast (values typically −100000…100000, scale 100000 = 100%).
packages/@openmaic/importer/src/serializer/imageSerializer.ts:244
↓ 1 callersFunctionapplyModelMetadata
(providers: Record<ProviderId, ProviderConfig>)
lib/ai/model-metadata.ts:385
↓ 1 callersFunctionapplyOpenAIImageFallback
( imageConfig: Record<string, ServerProviderEntry>, yamlImageSection: Record<string, Partial<ServerProvide
lib/server/provider-config.ts:270
↓ 1 callersFunctionapplyPlannerProficiency
( project: PBLProjectV2, proficiency: 'beginner' | 'intermediate' | 'advanced', )
lib/pbl/v2/agents/planner.ts:453
↓ 1 callersFunctionapplyReplacementsPreservingUnchangedLines
( originalContent: string, baseContent: string, replacements: TextReplacement[], )
lib/edit/html-edit.ts:139
↓ 1 callersFunctionapplySatMod
(hex: string, satMod: number)
packages/@openmaic/importer/src/utils/color.ts:185
↓ 1 callersFunctionapplySatMod
(rgbStr, multiplier, isAlpha)
packages/@openmaic/importer/src1/color.js:149
↓ 1 callersFunctionapplySatOff
(hex: string, satOff: number)
packages/@openmaic/importer/src/utils/color.ts:225
↓ 1 callersFunctionapplyShade
(hex: string, shade: number)
packages/@openmaic/importer/src/utils/color.ts:144
↓ 1 callersFunctionapplyShade
(rgbStr, shadeValue, isAlpha)
packages/@openmaic/importer/src1/color.js:28
↓ 1 callersFunctionapplySimpleMode
(mode: 'disabled' | 'enabled' | 'auto')
components/generation/generation-toolbar.tsx:471
↓ 1 callersFunctionapplyStyleBorders
( tcStyle: SafeXmlNode, ctx: RenderContext, rowIdx: number, colIdx: number, totalRows: number, tot
packages/@openmaic/importer/src/serializer/tableSerializer.ts:320
↓ 1 callersFunctionapplyStyleFill
(tcStyle: SafeXmlNode, ctx: RenderContext)
packages/@openmaic/importer/src/serializer/tableSerializer.ts:238
↓ 1 callersFunctionapplyTableBackground
(tblStyle: SafeXmlNode, ctx: RenderContext)
packages/@openmaic/importer/src/serializer/tableSerializer.ts:442
↓ 1 callersFunctionapplyTint
(hex: string, tint: number)
packages/@openmaic/importer/src/utils/color.ts:127
↓ 1 callersFunctionarrayBufferToBase64
(data: Uint8Array)
packages/@openmaic/importer/src/utils/mediaWebConvert.ts:46
↓ 1 callersFunctionarraysEqual
(a: string[], b: string[])
lib/quiz/grading.ts:11
↓ 1 callersFunctionaspectRatioToDimensions
( ratio: string, maxWidth = 1024, )
lib/media/image-providers.ts:188
↓ 1 callersFunctionassertWebSearchProviderId
( providerId: string | undefined, )
lib/server/web-search-config.ts:41
↓ 1 callersFunctionattrString
(attribs)
packages/mathml2omml/src/parse-stringify/stringify.js:1
↓ 1 callersFunctionaudioBlobToWav
(blob: Blob)
lib/audio/voxcpm-voices.ts:129
↓ 1 callersFunctionaudioBlobToWav
(blob: Blob)
lib/audio/wav-utils.ts:53
↓ 1 callersFunctionaudioBufferToMonoWav
(audioBuffer: AudioBuffer)
lib/audio/voxcpm-voices.ts:73
↓ 1 callersFunctionaudioBufferToMonoWav
(audioBuffer: AudioBuffer)
lib/audio/wav-utils.ts:9
↓ 1 callersFunctionaudioExists
(audioId: string)
lib/audio/regenerate-speech-tts.ts:37
← previousnext →1,501–1,600 of 4,064, ranked by callers