MCPcopy Create free account

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

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

↓ 6 callersFunctionangleToDeg
(angle: number)
packages/@openmaic/importer/src/parser/units.ts:23
↓ 6 callersFunctionangleToDegrees
(angle)
packages/@openmaic/importer/src1/utils.js:67
↓ 6 callersFunctionapplyAdvanceProjectPatch
( project: PBLProjectV2, patch: PBLAdvanceProjectPatch, )
lib/pbl/v2/operations/advance-patch.ts:62
↓ 6 callersFunctionapplyConfig
(next: ThinkingConfig)
components/generation/generation-toolbar.tsx:441
↓ 6 callersFunctionapplyProficiencyDirective
( project: PBLProjectV2, directive: ProficiencyDirective, )
lib/pbl/v2/operations/dynamic-signals.ts:190
↓ 6 callersFunctionapplyScenePatchInSync
(sceneId: string, patch: Partial<Scene>)
lib/agent/client/apply-slide-content.ts:16
↓ 6 callersFunctionbuildAutoVoxCPMVoicePrompt
(context: VoxCPMVoicePromptContext = {})
lib/audio/voxcpm.ts:117
↓ 6 callersFunctionbuildFinalEvalPrompt
( project: PBLProjectV2, opts: { recentChatSummary?: string } = {}, )
lib/pbl/v2/operations/eval-prompts.ts:514
↓ 6 callersFunctionbuildImageResources
(baseline: GeneratedSlideContent)
lib/agent/tools/regenerate-scene.ts:68
↓ 6 callersFunctionbuildMilestoneEvalPrompt
( project: PBLProjectV2, milestone: PBLMilestone, opts: { recentChatSummary?: string } = {}, )
lib/pbl/v2/operations/eval-prompts.ts:134
↓ 6 callersFunctionbuildNarratorSystemPrompt
( project: PBLProjectV2, milestone: PBLMilestone, microtask: PBLMicrotask | undefined, )
lib/pbl/v2/agents/simulator.ts:202
↓ 6 callersFunctionbuildQuizSnapshot
(scenesBeforePbl: Scene[])
lib/pbl/v2/operations/quiz-snapshot.ts:42
↓ 6 callersFunctionbuildSimulatorHistory
( thread: PBLAgentThread | undefined, audience: SimulatorAudience, )
lib/pbl/v2/agents/simulator.ts:97
↓ 6 callersFunctionbuildTaskEnginePrompt
()
tests/prompts/task-engine-outlines.test.ts:5
↓ 6 callersFunctionbuildVoiceDesignPrompt
(design: VoiceDesign)
lib/audio/voice-design.ts:36
↓ 6 callersFunctioncat2
(r: number, ht: number, wt: number)
packages/@openmaic/importer/src/shapes/presets.ts:1714
↓ 6 callersFunctionclampInsertSlot
(actions: Action[], slot: number)
components/edit/ActionsBar/actions-edit.ts:62
↓ 6 callersFunctioncleanSetupFollowupText
(text: string)
lib/pbl/v2/agents/instructor.ts:1025
↓ 6 callersFunctionclearCuePreview
()
components/edit/ActionsBar/cue-preview.ts:32
↓ 6 callersFunctioncommitSlideEdit
(history: SlideEditHistory, next: SlideContent)
lib/edit/scene-edit-bridge.ts:112
↓ 6 callersFunctioncommittedMessages
(events: PBLSSEEvent[])
tests/pbl/v2/instructor-difficulty-ack.test.ts:134
↓ 6 callersFunctioncreateDefaultTextElement
(id: string)
lib/edit/slide-edit-elements.ts:24
↓ 6 callersFunctioncreateSSEResponse
( generator: AsyncGenerator<PBLSSEEvent, void, void>, options: { heartbeatMs?: number; signal?: AbortSigna
lib/pbl/v2/api/sse.ts:209
↓ 6 callersFunctioncuePreviewFor
(action: Action)
components/edit/ActionsBar/cue-preview.ts:22
↓ 6 callersFunctioncurrentFontLabel
(fontname: string, t: (k: string) => string)
components/edit/surfaces/slide/text-format-bar.tsx:327
↓ 6 callersFunctiondataLine
(delta: Record<string, unknown>, finish_reason: string | null = null)
tests/ai/reasoning-sse.test.ts:21
↓ 6 callersFunctiondetectOutlineKeywords
(outline: SceneOutline)
lib/pbl/v2/operations/proficiency.ts:232
↓ 6 callersFunctiondisc
(id: string, extra: Record<string, unknown> = {})
tests/edit/actions-edit.test.ts:93
↓ 6 callersFunctioneachElement
(node, func)
packages/@openmaic/importer/src1/utils.js:42
↓ 6 callersMethodfillRequirement
(text: string)
e2e/pages/home.page.ts:22
↓ 6 callersFunctionformatImageDescription
(img: PdfImage)
lib/generation/prompt-formatters.ts:78
↓ 6 callersFunctiongenerateId
(prefix?: string)
lib/api/stage-api-defaults.ts:24
↓ 6 callersFunctiongeneratePBLV2Project
( input: PBLPlannerV2Input, model: LanguageModel, callbacks?: PlannerV2Callbacks, thinkingConfig?: Thi
lib/pbl/v2/agents/planner.ts:111
↓ 6 callersFunctiongetAgentName
(agent: { id: string; name: string })
components/agent/agent-bar.tsx:708
↓ 6 callersFunctiongetAttrValue
( marks: readonly Mark[], markType: string, attr: string, )
lib/prosemirror/utils.ts:141
↓ 6 callersFunctiongetBgGradientFill
(bgPr, phClr, slideMasterContent, warpObj)
packages/@openmaic/importer/src1/fill.js:237
↓ 6 callersFunctiongetPosition
(slideSpNode, slideLayoutSpNode, slideMasterSpNode)
packages/@openmaic/importer/src1/position.js:4
↓ 6 callersFunctiongetRectRotatedRange
(element: RotatedElementData)
lib/utils/element.ts:21
↓ 6 callersFunctiongetSelectableProvidersWithVoices
( ttsProvidersConfig: Record< string, TTSEnablementConfig & { modelId?: string; provider
lib/audio/voice-resolver.ts:262
↓ 6 callersFunctiongetSize
(slideSpNode, slideLayoutSpNode, slideMasterSpNode)
packages/@openmaic/importer/src1/position.js:19
↓ 6 callersFunctiongetVideoMediaRefForElement
(element: PPTVideoElement)
lib/media/video-manifest.ts:26
↓ 6 callersFunctiongetVoxCPMProfileVoiceId
(profileId: string)
lib/audio/voxcpm.ts:91
↓ 6 callersFunctiongetWebSearchProviderDisplayName
( providerId: WebSearchProviderId, t?: (key: string) => string, )
lib/web-search/constants.ts:74
↓ 6 callersFunctionhasProviderId
* Check whether a provider ID exists in the given provider registry.
lib/store/settings.ts:518
↓ 6 callersFunctionhex
(s: string | undefined)
lib/pbl/v2/agents/planner.ts:1001
↓ 6 callersFunctionimg
(id: string, src: string)
tests/lib/agent/tools/build-image-resources.test.ts:15
↓ 6 callersFunctionisCurrentSceneEditable
(ctx: StageEditModeContext)
lib/edit/stage-mode.ts:21
↓ 6 callersFunctionisFirstSceneEntry
(messages: readonly PBLChatMessage[] | undefined)
lib/pbl/v2/agents/simulator.ts:320
↓ 6 callersFunctionisRecord
(value: unknown)
lib/generation/generation-retry.ts:54
↓ 6 callersFunctionisSceneEditLocked
(state: SceneEditLockState)
lib/edit/regen-lock.ts:30
↓ 6 callersFunctionlinearToSrgb
(c: number)
packages/@openmaic/importer/src/utils/color.ts:113
↓ 6 callersFunctionloadConfig
()
tests/server/security-headers.test.ts:4
↓ 6 callersFunctionmakeCapturingAiCall
(response: string)
tests/generation/scene-generator-language-directive.test.ts:26
↓ 6 callersFunctionmakeContent
()
tests/edit/surfaces/quiz/quiz-edit-session.test.ts:13
↓ 6 callersFunctionmakeDeps
Build a deps object with a single scene context entry
tests/lib/agent/tools/regenerate-scene-actions.test.ts:48
↓ 6 callersFunctionmakeEditInteractiveHtmlTool
( deps: RegenerateActionsDeps, )
lib/agent/tools/edit-interactive-html.ts:73
↓ 6 callersFunctionmakeThread
(messageCount: number)
tests/pbl/v2/instructor-memory.test.ts:12
↓ 6 callersFunctionmergeParagraphProps
(target: MergedParagraphStyle, pPr: SafeXmlNode)
packages/@openmaic/importer/src/serializer/textSerializer.ts:306
↓ 6 callersFunctionmilestone
(id: string, status: PBLMilestone['status'], order: number)
tests/pbl/v2/sidebar.test.ts:6
↓ 6 callersFunctionmilestone
(id: string, status: PBLMilestone['status'], order: number)
tests/pbl/v2/workspace.test.ts:6
↓ 6 callersFunctionmilestoneSynthesisSatisfied
(project: PBLProjectV2, milestoneId: string)
lib/pbl/v2/operations/engagement.ts:170
↓ 6 callersFunctionmk
(overrides: Partial<PBLProficiencyAssessment> = {})
tests/pbl/v2/proficiency.test.ts:657
↓ 6 callersFunctionmkProject
()
tests/pbl/v2/evaluator.test.ts:75
↓ 6 callersFunctionmockRequest
(requirements: Record<string, unknown>)
tests/generation/task-engine-outline-route.test.ts:38
↓ 6 callersFunctionmockRequest
(extraBody: Record<string, unknown> = {})
tests/generation/scene-api-retry-boundary.test.ts:196
↓ 6 callersFunctionnormalizeSynthesisChecks
(project: PBLProjectV2)
lib/pbl/v2/agents/planner.ts:1207
↓ 6 callersFunctionnormalizeToArray
(value)
packages/@openmaic/importer/src1/shape.js:305
↓ 6 callersMethodonSpeechProgress
* Speech progress ratio for the Roundtable bubble auto-scroll. * Fired each tick during text reveal: ratio = charCursor / totalTextLength. * Cal
lib/buffer/stream-buffer.ts:117
↓ 6 callersFunctionorderElement
(element: PPTElement, command: ElementOrderCommands)
lib/hooks/use-canvas-operations.ts:346
↓ 6 callersFunctionparseSseEvents
(text: string)
tests/generation/task-engine-outline-route.test.ts:31
↓ 6 callersFunctionpostWebSearch
(body: Record<string, unknown>)
tests/web-search/route.test.ts:36
↓ 6 callersFunctionprocessConditionalBlocks
( template: string, conditions: Record<string, unknown>, )
lib/prompts/loader.ts:58
↓ 6 callersFunctionproficiencyDirectiveFromTarget
( target: 'beginner' | 'intermediate' | 'advanced' | 'easier' | 'harder', )
lib/pbl/v2/operations/proficiency.ts:386
↓ 6 callersFunctionpxToPt
(px: number)
packages/@openmaic/importer/src/serializer/tableSerializer.ts:25
↓ 6 callersFunctionreadStreamBody
(response: Response)
tests/generation/task-engine-outline-route.test.ts:16
↓ 6 callersFunctionrectsEqual
(a: LayoutRect, b: LayoutRect)
components/scene-renderers/pbl/v2/host-rect.ts:24
↓ 6 callersFunctionreleaseEditLock
(courseId: string, ownTabId: string)
lib/edit/edit-mode-lock.ts:105
↓ 6 callersFunctionrenderShapeXml
( spPrInner: string, txBodyInner = '<a:bodyPr/><a:p/>', rot = '', txBox = false, ext = '<a:ext cx="1
packages/@openmaic/importer/test/shapeSerializer.groupLocal.test.ts:11
↓ 6 callersFunctionresetProjectProgress
(project: PBLProjectV2)
lib/pbl/v2/operations/progress.ts:170
↓ 6 callersFunctionresolveClassroomWebSearchConfig
(input: { webSearchProviderId?: WebSearchProviderId; webSearchApiKey?: string; baiduSubSources?: BaiduSu
lib/server/web-search-config.ts:77
↓ 6 callersFunctionresolveEditingElementId
( activeElementIdList: readonly string[], elements: readonly PPTElement[], )
components/edit/surfaces/slide/editing-state.ts:25
↓ 6 callersFunctionresolveSelectedElement
( activeElementIdList: readonly string[], elements: readonly PPTElement[], )
components/edit/surfaces/slide/editing-state.ts:8
↓ 6 callersFunctionresolveTaskEngineModeFromOutlineDoneEvent
(event: { taskEngineMode?: unknown; effectiveTaskEngineMode?: unknown; })
app/generation-preview/vocational-mode.ts:1
↓ 6 callersMethodresume
* Resume playback
lib/utils/audio-player.ts:123
↓ 6 callersFunctionrewriteAudioRefsToIds
( actions: ManifestAction[], audioRefMap: Record<string, string>, options: RewriteManifestActionOptions
lib/export/classroom-zip-utils.ts:89
↓ 6 callersFunctionrgbToHsl
(r: number, g: number, b: number)
packages/@openmaic/importer/src/utils/color.ts:41
↓ 6 callersMethodrun
()
packages/mathml2omml/src/index.js:12
↓ 6 callersFunctionrunTurn
( model: MockLanguageModelV3, userMessage: string, language = 'zh-CN', )
tests/pbl/v2/instructor-difficulty-ack.test.ts:117
↓ 6 callersFunctionsanitizeMilestoneEvaluationFeedback
(text: string)
lib/pbl/v2/operations/eval-tail-parser.ts:142
↓ 6 callersFunctionsanitizeSceneVisual
(visual: PBLSceneVisual | undefined)
components/scene-renderers/pbl/v2/scene-stage/scene-types.ts:39
↓ 6 callersFunctionsat2
(r: number, ht: number, wt: number)
packages/@openmaic/importer/src/shapes/presets.ts:1715
↓ 6 callersFunctionscriptedModel
(steps: StreamPart[][])
tests/pbl/v2/instructor-difficulty-ack.test.ts:68
↓ 6 callersFunctionsearchWithBocha
(params: { query: string; apiKey: string; maxResults?: number; baseUrl?: string; })
lib/web-search/bocha.ts:47
↓ 6 callersFunctionselectDocumentExtractorProvider
(options: { mimeType: string; preferredProviderId?: DocumentExtractorProviderId; requiredCapabilities?:
lib/document/extractors/registry.ts:17
↓ 6 callersFunctionsetQuestionType
( content: QuizContent, id: string, type: QuizQuestionType, )
components/edit/surfaces/quiz/quiz-edit-ops.ts:199
↓ 6 callersFunctionsetTheme
* Set theme * * @param sceneId - Scene ID * @param theme - Theme settings * @returns Whether successful
lib/api/stage-api-canvas.ts:73
↓ 6 callersFunctionshouldCancelRecordingOnDisable
(args: { continuous?: boolean; disabled?: boolean; isRecording: boolean; })
components/audio/speech-button.tsx:21
↓ 6 callersFunctionshouldReportEmptyOutput
(args: { mainTurnAdvanced: boolean; assistantText: string; producedAck: boolean; })
lib/pbl/v2/agents/instructor.ts:435
↓ 6 callersFunctionshouldShowScenarioBriefing
(project: PBLProjectV2)
components/scene-renderers/pbl/v2/scenario-briefing-gate.ts:20
↓ 6 callersFunctionsleep
(ms: number)
lib/pdf/mineru-cloud.ts:35
← previousnext →401–500 of 4,064, ranked by callers