MCPcopy Create free account

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

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

↓ 5 callersFunctionresolveColorToHex
(node: SafeXmlNode, ctx: RenderContext)
packages/@openmaic/importer/src/serializer/tableSerializer.ts:60
↓ 5 callersFunctionresolveImageBaseUrl
( providerId: string, clientBaseUrl?: string, )
lib/server/provider-config.ts:513
↓ 5 callersFunctionresolveMediaPath
(target: string)
packages/@openmaic/importer/src/utils/media.ts:40
↓ 5 callersFunctionresolvePDFBaseUrl
(providerId: string, clientBaseUrl?: string)
lib/server/provider-config.ts:490
↓ 5 callersFunctionresolveWebSearchBaseUrl
( providerId: string, clientBaseUrl?: string, )
lib/server/provider-config.ts:565
↓ 5 callersFunctionrunOneStream
(args: OneStreamArgs)
components/scene-renderers/pbl/v2/use-instructor-stream.ts:288
↓ 5 callersFunctionsafeRemove
(key: string)
lib/quiz/persistence.ts:52
↓ 5 callersFunctionsetListStyle
(view: EditorView, style: Style | Style[])
lib/prosemirror/commands/setListStyle.ts:6
↓ 5 callersFunctionshortId
(id: string)
lib/orchestration/summarizers/whiteboard-conflicts.ts:163
↓ 5 callersFunctionshouldPushAttrs
(tr: Transaction)
lib/prosemirror/selection-sync.ts:4
↓ 5 callersFunctionshouldRenderAgentPanel
({ agentEnabled, hasMessages, isRunning, }: AgentPanelVisibilityState)
components/edit/agent-panel-visibility.ts:7
↓ 5 callersMethodshutdown
* Stop the tick timer and mark disposed WITHOUT firing final onLiveSpeech. * Used when replacing a buffer (e.g. resume after soft-pause) to avoid
lib/buffer/stream-buffer.ts:405
↓ 5 callersFunctionslideOutline
(overrides: Partial<SceneOutline> = {})
tests/generation/slide-edit-directive.test.ts:28
↓ 5 callersFunctionspeechAudioId
(sceneOrder: number, actionId: string)
lib/audio/regenerate-speech-tts.ts:14
↓ 5 callersFunctionstopHeartbeat
()
app/api/chat/route.ts:115
↓ 5 callersFunctionstopHeartbeat
()
app/api/generate/scene-outlines-stream/route.ts:408
↓ 5 callersFunctionstripEmbeddedDividerMarkers
(text: string)
components/scene-renderers/pbl/v2/protocol-markers.ts:6
↓ 5 callersFunctionstripPrematureNextTaskSetup
( text: string, nextTitle: string | undefined, nextMilestoneTitle?: string, )
lib/pbl/v2/agents/instructor.ts:1191
↓ 5 callersFunctionstubOutline
(id: string, title: string, order = 1)
tests/lib/agent/tools/regenerate-scene-actions.test.ts:16
↓ 5 callersFunctiontextContainer
(element, targetParent, previousSibling, nextSibling, ancestors, textType)
packages/mathml2omml/src/mathml/text_container.js:9
↓ 5 callersFunctionthrowIfAborted
(signal?: AbortSignal)
lib/generation/generation-retry.ts:48
↓ 5 callersFunctiontick
(ms = 5)
tests/utils/concurrency.test.ts:5
↓ 5 callersFunctiontoDataUri
(bytes: Uint8Array, contentType: string)
lib/export/inline-assets-shared.ts:17
↓ 5 callersFunctiontoPiParts
(content: PiAssistantContent[])
lib/agent/client/to-pi-parts.ts:35
↓ 5 callersFunctiontoPoints
(d: string)
lib/export/svg-path-parser.ts:44
↓ 5 callersFunctiontoRuntimeSlideContent
( gen: GeneratedSlideContent, existingCanvas?: Record<string, unknown>, )
lib/agent/client/apply-regenerate.ts:31
↓ 5 callersFunctiontoolCallStep
(toolName: string, input: Record<string, unknown>)
tests/pbl/v2/instructor-difficulty-ack.test.ts:49
↓ 5 callersFunctionupdateForm
(field: K, value: FormState[K])
app/page.tsx:273
↓ 5 callersFunctionupdateOptionLabel
( content: QuizContent, id: string, index: number, label: string, )
components/edit/surfaces/quiz/quiz-edit-ops.ts:258
↓ 5 callersFunctionupdateSlideBackground
(background: SlideBackground)
components/edit/surfaces/slide/use-slide-surface.ts:158
↓ 5 callersFunctionuseElementOutline
(outline?: PPTElementOutline)
packages/@openmaic/renderer/src/elements/shared/useElementOutline.ts:4
↓ 5 callersFunctionuseMessageBranch
()
components/ai-elements/message.tsx:99
↓ 5 callersFunctionuseVoxCPMVoiceProfiles
()
lib/audio/voxcpm-voices.ts:190
↓ 5 callersFunctionvoxCPMBackendSupportsVoiceRegistration
(backend: VoxCPMBackendType)
lib/audio/voxcpm.ts:113
↓ 5 callersFunctionwavBytes
()
tests/audio/lemonade-tts.test.ts:7
↓ 5 callersFunctionwithTier
( tier: PBLProficiencyAssessment['tier'], extra: Partial<PBLProficiencyAssessment> = {}, )
tests/pbl/v2/dynamic-signals.test.ts:145
↓ 5 callersFunctionwriteSubmittedResults
(sceneId: string, results: QuestionResult[])
lib/quiz/persistence.ts:111
↓ 4 callersMethodaddTable
* Add table to Slide * @param {TableRow[]} tableRows - table rows * @param {TableProps} options - table options * @return {Slide} this Slide
packages/pptxgenjs/src/slide.ts:230
↓ 4 callersFunctionaggregateSignals
( signals: ProficiencySignal[], source: ProficiencyAssessmentSource, )
lib/pbl/v2/operations/proficiency.ts:609
↓ 4 callersFunctionarcFrom
( x0: number, y0: number, rx: number, ry: number, stAng: number, swAng: number, )
packages/@openmaic/importer/src/shapes/presets.ts:3779
↓ 4 callersFunctionassertTierAgnostic
(text: string)
tests/pbl/v2/instructor-difficulty-ack.test.ts:169
↓ 4 callersFunctionbasePath
* Derive the base directory from a file path. * E.g., "ppt/slides/slide1.xml" → "ppt/slides"
packages/@openmaic/importer/src/model/Presentation.ts:37
↓ 4 callersFunctionbuildAdvanceProjectPatch
( project: PBLProjectV2, args: { readonly microtaskId: string; readonly milestoneCompleted: boolea
lib/pbl/v2/operations/advance-patch.ts:15
↓ 4 callersFunctionbuildAnthropicOptions
( options: Record<string, JSONValue | undefined>, )
lib/ai/llm.ts:159
↓ 4 callersFunctionbuildCourseContext
(ctx?: SceneGenerationContext)
lib/generation/prompt-formatters.ts:9
↓ 4 callersFunctionbuildEditedQuiz
()
tests/edit/round-trip/quiz.test.ts:32
↓ 4 callersFunctionbuildImage
( node: PicNodeData, ctx: RenderContext, order: number, box: { left: number; top: number; width: numbe
packages/@openmaic/importer/src/serializer/imageSerializer.ts:534
↓ 4 callersFunctionbuildRevisionGuidanceMessage
(args: { evaluation: PBLEvaluation; instructorId?: string; microtaskId: string; language?: string; r
components/scene-renderers/pbl/v2/submission.tsx:231
↓ 4 callersFunctionbuildVisionUserContent
( userPrompt: string, images: Array<{ id: string; src: string; width?: number; height?: number }>, )
lib/generation/prompt-formatters.ts:107
↓ 4 callersFunctioncaptureInjectedRequestBody
( providerId: ProviderId, modelId: string, thinkingConfig?: Record<string, unknown>, )
tests/ai/openai-provider.test.ts:16
↓ 4 callersFunctioncaptureToolCallMetadata
( part: ToolCallPartLike, )
lib/agent/runtime/provider-metadata.ts:15
↓ 4 callersFunctionccw
(x1: number, y1: number, x2: number, y2: number, x3: number, y3: number)
lib/orchestration/summarizers/whiteboard-conflicts.ts:140
↓ 4 callersFunctioncellBorderCss
(b?: TableCellBorder)
packages/@openmaic/renderer/src/elements/table/StaticTable.tsx:8
↓ 4 callersMethodclickScene
(index: number)
e2e/pages/classroom.page.ts:22
↓ 4 callersMethodconfirmOutlines
()
e2e/pages/generation-preview.page.ts:58
↓ 4 callersFunctionconvertPtToPx
(html: string, ratio: number)
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:38
↓ 4 callersFunctioncreateAbortError
()
lib/audio/browser-tts-preview.ts:14
↓ 4 callersFunctioncreateDefaultSlide
(id: string)
lib/edit/slide-edit-elements.ts:67
↓ 4 callersFunctioncreateHyperlinkRels
* Parses text/text-objects from `addText()` and `addTable()` methods; creates 'hyperlink'-type Slide Rels for each hyperlink found * @param {PresSlid
packages/pptxgenjs/src/gen-objects.ts:1209
↓ 4 callersFunctioncreateLineCap
(lineCap: ChartLineCap)
packages/pptxgenjs/src/gen-charts.ts:2031
↓ 4 callersFunctioncreateProxiedFetch
()
lib/export/proxied-fetch.ts:7
↓ 4 callersFunctionctxFor
(id: string)
tests/lib/agent/tools/read-scene-content.test.ts:88
↓ 4 callersFunctioncurrentSlideContent
(sceneId: string)
components/edit/surfaces/slide/use-slide-surface.ts:164
↓ 4 callersFunctiondebounce
* Debounce function to limit how often a function is called * @param func Function to debounce * @param delay Delay in milliseconds
lib/store/stage.ts:22
↓ 4 callersMethoddestroy
* Destroy the player
lib/utils/audio-player.ts:201
↓ 4 callersFunctiondetectExplicitProficiency
(text: string | undefined | null)
lib/pbl/v2/operations/proficiency.ts:338
↓ 4 callersFunctiondiscussionIndex
(actions: Action[])
components/edit/ActionsBar/actions-edit.ts:40
↓ 4 callersFunctiondispatch
(width?: number, height?: number)
components/edit/surfaces/slide/use-slide-surface.ts:90
↓ 4 callersFunctiondistinct
(vals: number[], tol: number)
packages/@openmaic/importer/src/serializer/imageSerializer.ts:86
↓ 4 callersFunctionemit
(level: LogLevel, args: unknown[])
lib/logger.ts:29
↓ 4 callersFunctionemptyProject
(input: PBLPlannerV2Input)
lib/pbl/v2/agents/planner.ts:221
↓ 4 callersFunctionenqueueText
(text: string)
lib/pbl/v2/api/sse.ts:246
↓ 4 callersFunctionensureNonEmptyInstructorMessages
( messages: Array<{ role: 'system' | 'user' | 'assistant'; content: string }>, fallbackUserContent: string
lib/pbl/v2/agents/instructor.ts:905
↓ 4 callersFunctionescapeHtml
(s: string)
packages/@openmaic/importer/src/serializer/textSerializer.ts:769
↓ 4 callersFunctionexecuteWidgetAction
(action: Action)
tests/action/widget-actions.test.ts:6
↓ 4 callersFunctionexportSlideContent
(content: SlideContent, scene: Scene)
tests/edit/round-trip/background.test.ts:17
↓ 4 callersFunctionfetchWithRetry
(fn: () => Promise<T>, context: string, attempts = 4)
lib/pdf/mineru-cloud.ts:49
↓ 4 callersFunctionfindPlaceholderNode
( placeholders: SafeXmlNode[], info: PlaceholderInfo, )
packages/@openmaic/importer/src/serializer/textSerializer.ts:180
↓ 4 callersFunctionfinish
()
lib/audio/browser-tts-preview.ts:52
↓ 4 callersFunctionflag
(attrName: string, _childName?: string)
packages/@openmaic/importer/src/serializer/tableSerializer.ts:110
↓ 4 callersFunctionformatProjectSynthesisChecks
(project: PBLProjectV2)
lib/pbl/v2/operations/eval-prompts.ts:333
↓ 4 callersFunctionformatThinkDuration
(ms: number)
lib/agent/client/thinking-timers.ts:33
↓ 4 callersFunctiongenMessageId
()
lib/pbl/v2/agents/simulator.ts:62
↓ 4 callersFunctiongenTextBody
(textBodyNode, spNode, slideLayoutSpNode, slideMasterSpNode, type, warpObj)
packages/@openmaic/importer/src1/text.js:17
↓ 4 callersFunctiongenXmlPlaceholder
(placeholderObj: ISlideObject)
packages/pptxgenjs/src/gen-xml.ts:1408
↓ 4 callersFunctiongenXmlTitle
* Create char title elements * @param {IChartPropsTitle} opts - options * @return {string} XML `<c:title>`
packages/pptxgenjs/src/gen-charts.ts:1909
↓ 4 callersFunctiongenerateAndStoreTTS
( audioId: string, text: string, language?: string, signal?: AbortSignal, retryOptions?: ClientRetry
lib/hooks/use-scene-generator.ts:215
↓ 4 callersFunctiongenerateWithOpenAIImage
( config: ImageGenerationConfig, options: ImageGenerationOptions, )
lib/media/adapters/openai-image-adapter.ts:60
↓ 4 callersFunctiongenerateWithProgress
()
tests/server/classroom-generation-retry.test.ts:65
↓ 4 callersFunctiongetActiveSteps
(session: GenerationSessionState | null)
app/generation-preview/types.ts:90
↓ 4 callersFunctiongetAgentName
(agent: Agent)
components/settings/agent-settings.tsx:36
↓ 4 callersFunctiongetBackendAuthHeaders
(apiKey?: string)
lib/audio/tts-providers.ts:387
↓ 4 callersFunctiongetCatalogThinkingCapability
( providerId: string, modelId: string, )
lib/ai/model-metadata.ts:371
↓ 4 callersFunctiongetCombineElementLevelRange
( elementList: PPTElement[], combineElementList: PPTElement[], )
lib/hooks/use-order-element.ts:9
↓ 4 callersFunctiongetDefaultAgents
()
lib/orchestration/registry/store.ts:198
↓ 4 callersFunctiongetDefaultAudioConfig
()
lib/store/settings.ts:398
↓ 4 callersFunctiongetDefaultImageConfig
()
lib/store/settings.ts:456
↓ 4 callersFunctiongetDefaultVideoConfig
()
lib/store/settings.ts:471
↓ 4 callersFunctiongetDefaultWebSearchConfig
()
lib/store/settings.ts:486
↓ 4 callersFunctiongetElementListRange
(elementList: PPTElement[])
lib/utils/element.ts:115
← previousnext →601–700 of 4,064, ranked by callers