MCPcopy Create free account

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

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

↓ 8 callersFunctionparseShapeNode
(spNode: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:247
↓ 8 callersFunctionpct
(rate: number)
eval/orchestration/reporter.ts:6
↓ 8 callersFunctionpersistSession
(nextSession: GenerationSessionState)
app/generation-preview/page.tsx:94
↓ 8 callersFunctionproxyFetch
(input: string | URL, init?: RequestInit)
lib/server/proxy-fetch.ts:114
↓ 8 callersFunctionpxToPt
(px: number)
packages/@openmaic/importer/src/serializer/groupSerializer.ts:27
↓ 8 callersFunctionreadSubmittedState
(sceneId: string)
lib/quiz/persistence.ts:62
↓ 8 callersMethodremoveItem
(k: string)
tests/edit/edit-mode-lock.test.ts:24
↓ 8 callersFunctionresolveAgentVoiceOptions
( agent: AgentConfig | undefined, opts: AgentVoiceResolveOptions, )
lib/audio/agent-voice.ts:75
↓ 8 callersFunctionresolveApiKey
(providerId: string, clientKey?: string)
lib/server/provider-config.ts:403
↓ 8 callersFunctionresolveImageSrc
( elementInfo: PPTImageElement, stageId: string | undefined, task: MediaTask | undefined, )
components/slide-renderer/components/element/ImageElement/useResolvedImageSrc.ts:33
↓ 8 callersFunctionselectElement
(id: string)
lib/hooks/use-canvas-operations.ts:269
↓ 8 callersFunctionserializeThread
( messages: ThreadMessageLike[], /** Final reasoning durations: (messageId, reasoningOrdinal) → ms. Lets t
lib/agent/client/serialize-thread.ts:118
↓ 8 callersMethodsetupGenerationMocks
Set up API mocks for the generation flow. Note: server-providers is already mocked by the base fixture.
e2e/fixtures/mock-api.ts:81
↓ 8 callersFunctionsignalFromObservation
( kind: 'error' | 'concept_unlocked' | 'struggle' | 'question', opts: { repeat?: boolean; note?: string }
lib/pbl/v2/operations/proficiency.ts:483
↓ 8 callersFunctionsizeMultiplier
Size multiplier: sm=0.5, med=1, lg=1.5
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:131
↓ 8 callersFunctionstepProficiency
(tier: PBLProficiency, direction: 'up' | 'down')
lib/pbl/v2/operations/proficiency.ts:375
↓ 8 callersFunctionuseContextValue
()
components/ai-elements/context.tsx:28
↓ 8 callersFunctionuseElementShadow
(shadow?: PPTElementShadow)
components/slide-renderer/components/element/hooks/useElementShadow.ts:9
↓ 8 callersMethodwaitForLoaded
()
e2e/pages/classroom.page.ts:18
↓ 8 callersMethodwaitForRedirectToClassroom
()
e2e/pages/generation-preview.page.ts:37
↓ 8 callersFunctionwriteSubmittedAnswers
(sceneId: string, answers: QuizAnswers)
lib/quiz/persistence.ts:106
↓ 7 callersFunctionaddQuestion
( content: QuizContent, type: QuizQuestionType, id?: string, )
components/edit/surfaces/quiz/quiz-edit-ops.ts:153
↓ 7 callersFunctionaiCall
(system, user)
tests/generation/media-prompt-wiring.test.ts:10
↓ 7 callersFunctionapplyHtmlEdits
(html: string, edits: Edit[], label = 'the page')
lib/edit/html-edit.ts:342
↓ 7 callersFunctionapplyOutlineFallbacks
( outline: SceneOutline, hasLanguageModel: boolean, options: { allowProceduralSkill?: boolean } = {}, )
lib/generation/outline-generator.ts:204
↓ 7 callersFunctionbuildFallback
( config: Record< string, { isServerConfigured?: boolean;
lib/store/settings.ts:1424
↓ 7 callersFunctionbuildInlinedImportmap
( originalImports: Record<string, string>, moduleScriptBodies: string[], fetchAsset: (url: string) => Pr
lib/export/inline-assets-importmap.ts:28
↓ 7 callersFunctionbuildInsertItems
( t: (k: string) => string, // The currently-armed creating type, or undefined when nothing is armed. The
components/edit/surfaces/slide/use-slide-surface.ts:25
↓ 7 callersFunctionbuildPriorSubmissionsBlock
( project: PBLProjectV2, activeMicrotaskId: string, opts?: { maxChars?: number; perSnippetChars?: number
lib/pbl/v2/agents/instructor.ts:250
↓ 7 callersFunctionbuildProceduralSkillPrompt
()
tests/prompts/procedural-skill-content-quality-contract.test.ts:13
↓ 7 callersFunctioncleanInstructorCommitText
( text: string, opts: { nextMicrotaskTitle?: string; nextMilestoneTitle?: string; stripFinalRe
lib/pbl/v2/agents/instructor.ts:997
↓ 7 callersFunctionclearOutlineReviewTimer
()
app/generation-preview/page.tsx:99
↓ 7 callersFunctioncollectModifiers
* Collect OOXML color modifier children from a color node. * Modifiers are child elements like alpha, lumMod, lumOff, tint, shade, satMod, hueMod.
packages/@openmaic/importer/src/serializer/StyleResolver.ts:44
↓ 7 callersFunctioncompleteRoleplayAct
( project: PBLProjectV2, reason: string, )
lib/pbl/v2/operations/progress.ts:479
↓ 7 callersFunctioncompressIfNeeded
(thread: PBLAgentThread)
lib/pbl/v2/agents/instructor-memory.ts:36
↓ 7 callersFunctioncomputeCompletionStats
(project: PBLProjectV2)
lib/pbl/v2/operations/completion-stats.ts:123
↓ 7 callersFunctioncontent
(...questions: QuizQuestion[])
tests/edit/surfaces/quiz/hints.test.ts:8
↓ 7 callersFunctionconvertRotationDegrees
(d: number)
packages/pptxgenjs/src/gen-utils.ts:97
↓ 7 callersFunctioncreateShadowElement
* Creates `a:innerShdw` or `a:outerShdw` depending on pass options `opts`. * @param {Object} opts optional shadow properties * @param {Object} defau
packages/pptxgenjs/src/gen-charts.ts:1986
↓ 7 callersFunctiondefaultFill
()
packages/@openmaic/importer/src/serializer/backgroundSerializer.ts:14
↓ 7 callersFunctionduplicateSlideScene
(source: Scene, copySuffix: string, order: number)
lib/edit/slide-defaults.ts:67
↓ 7 callersFunctioneditLockKey
(courseId: string)
lib/edit/edit-mode-lock.ts:33
↓ 7 callersFunctioneffortCapability
( requestAdapter: ThinkingRequestAdapter, effortValues: ThinkingEffort[], defaultEffort: ThinkingEffort,
lib/ai/model-metadata.ts:14
↓ 7 callersFunctionemit
Append the engagement event and build the SSE patches for a * signal-driven update. Pure-ish: mutates `project` via the * engagement ledger (match
lib/pbl/v2/operations/dynamic-signals.ts:57
↓ 7 callersFunctionemptyPartial
()
tests/lib/agent/runtime/stream-fn.test.ts:14
↓ 7 callersFunctionfetchFromMap
(map: Record<string, { body: string; ct: string }>)
tests/export/inline-assets.test.ts:347
↓ 7 callersFunctionformatDuration
(ms: number)
eval/pbl-v2-planner/runner.ts:530
↓ 7 callersFunctiongetModel
(config: ModelConfig)
lib/ai/providers.ts:1410
↓ 7 callersFunctiongetPatternFill
(node, warpObj)
packages/@openmaic/importer/src1/fill.js:208
↓ 7 callersFunctiongetThinkingMode
( config?: ThinkingConfig, )
lib/ai/thinking-config.ts:31
↓ 7 callersFunctionhandleToggleInput
()
components/roundtable/index.tsx:369
↓ 7 callersFunctionhslToRgb
(h: number, s: number, l: number)
packages/@openmaic/importer/src/utils/color.ts:73
↓ 7 callersFunctioninstructorIntroText
( role?: Pick<PBLRole, 'description'> | null, )
components/scene-renderers/pbl/v2/instructor-intro.ts:11
↓ 7 callersFunctionisActiveMark
(marks: readonly Mark[], markType: string)
lib/prosemirror/utils.ts:152
↓ 7 callersFunctionisChoice
(type: QuizQuestionType)
components/edit/surfaces/quiz/quiz-edit-ops.ts:107
↓ 7 callersFunctionisPBLProjectV2
(value: unknown)
lib/pbl/v2/types.ts:912
↓ 7 callersFunctionisStale
()
lib/audio/use-tts-preview.ts:67
↓ 7 callersFunctionisToleratedReactionStreamError
( streamStatus: StreamStatus, event: PBLSSEEvent, )
components/scene-renderers/pbl/v2/use-instructor-stream.ts:377
↓ 7 callersFunctionisWavBlob
(blob: Blob, fileName?: string)
lib/audio/wav-utils.ts:45
↓ 7 callersFunctionjumpPosition
(state: State, end: number)
lib/export/html-parser/lexer.ts:10
↓ 7 callersFunctionloadEnvSection
( envMap: Record<string, string>, yamlSection: Record<string, Partial<ServerProviderEntry>> | undefined,
lib/server/provider-config.ts:164
↓ 7 callersFunctionmakeReadSceneContentTool
( deps: ReadSceneContentDeps, )
lib/agent/tools/read-scene-content.ts:184
↓ 7 callersFunctionmakeRegenerateSceneTool
( deps: RegenerateActionsDeps, )
lib/agent/tools/regenerate-scene.ts:143
↓ 7 callersFunctionmakeSlideContent
(overrides: Partial<SlideContent> = {})
tests/edit/slide-schema.test.ts:34
↓ 7 callersFunctionminimalPlannerProject
(overrides?: Partial<PBLProjectV2>)
tests/pbl/v2/planner.test.ts:137
↓ 7 callersFunctionmodF
(x: number, y: number, z: number)
packages/@openmaic/importer/src/shapes/presets.ts:1718
↓ 7 callersFunctionnormalizeOrder
(outlines: SceneOutline[])
components/generation/outlines-editor.tsx:86
↓ 7 callersFunctionnormalizeVoiceDesign
(raw: unknown)
lib/audio/voice-design.ts:44
↓ 7 callersFunctionnormalizeVoxCPMBackend
(value: unknown)
lib/audio/voxcpm.ts:69
↓ 7 callersFunctionooxCos
(val: number, ang: number)
packages/@openmaic/importer/src/shapes/presets.ts:1713
↓ 7 callersFunctionooxSin
(val: number, ang: number)
packages/@openmaic/importer/src/shapes/presets.ts:1712
↓ 7 callersMethodopen
()
components/edit/surfaces/slide/ColorPicker.tsx:25
↓ 7 callersFunctionpickNarratorAgent
(agents: AgentConfig[])
lib/audio/agent-voice.ts:49
↓ 7 callersMethodprocessNext
* Core processing loop: consume the next action.
lib/playback/engine.ts:427
↓ 7 callersFunctionprocessNodesInSlide
(nodeKey, nodeValue, warpObj, source, groupHierarchy = [])
packages/@openmaic/importer/src1/pptxtojson.js:554
↓ 7 callersFunctionrefresh
()
lib/agent/client/use-agent-runtime.ts:298
↓ 7 callersFunctionreorderSlideElement
(elementId: string, edge: 'front' | 'back')
components/edit/surfaces/slide/use-slide-surface.ts:129
↓ 7 callersFunctionresolveSectionApiKey
( section: ProviderSection, providerId: string, clientKey?: string, )
lib/server/provider-config.ts:363
↓ 7 callersFunctionresolveSectionBaseUrl
( section: ProviderSection, providerId: string, clientBaseUrl?: string, )
lib/server/provider-config.ts:373
↓ 7 callersFunctionresolveVocationalActive
( requirements?: { taskEngineMode?: boolean } | null, )
lib/config/feature-flags.ts:33
↓ 7 callersFunctionresolveWebSearchApiKey
(providerIdOrClientKey?: string, clientKey?: string)
lib/server/provider-config.ts:558
↓ 7 callersFunctionsearchWeb
(params: { providerId: WebSearchProviderId; query: string; apiKey?: string; maxResults?: number; bas
lib/web-search/index.ts:11
↓ 7 callersFunctionsearchWithMiniMax
(params: { query: string; apiKey: string; maxResults?: number; baseUrl?: string; })
lib/web-search/minimax.ts:61
↓ 7 callersFunctionsend
( res: import('node:http').ServerResponse, code: number, type: string, body: string, )
eval/pbl-v2-planner/serve.ts:101
↓ 7 callersFunctionshouldRetier
(assessment: PBLProficiencyAssessment)
lib/pbl/v2/operations/proficiency.ts:742
↓ 7 callersFunctionsignalFromSubmissionScore
(score: number)
lib/pbl/v2/operations/proficiency.ts:569
↓ 7 callersFunctionsignalFromTaskSpeed
(learnerTurns: number)
lib/pbl/v2/operations/proficiency.ts:550
↓ 7 callersFunctionstageSynthesisOwed
( project: PBLProjectV2, milestone: PBLMilestone, microtask: PBLMicrotask, )
lib/pbl/v2/agents/instructor.ts:366
↓ 7 callersFunctiontask
(over: Partial<MediaTask>)
tests/slide-renderer/use-resolved-image-src.test.ts:26
↓ 7 callersFunctionthrowZipLimitExceeded
(reason: string)
packages/@openmaic/importer/src/parser/ZipParser.ts:43
↓ 7 callersFunctiontoggleBudgetCapability
( requestAdapter: ThinkingRequestAdapter, range: { min: number; max: number; step?: number; allowDynamic?:
lib/ai/model-metadata.ts:61
↓ 7 callersFunctiontoggleCorrect
(content: QuizContent, id: string, index: number)
components/edit/surfaces/quiz/quiz-edit-ops.ts:289
↓ 7 callersFunctiontruncateForPrompt
(text: string | undefined, max = 260)
lib/pbl/v2/agents/instructor.ts:190
↓ 7 callersFunctionupdateElement
* Update a whiteboard element * * @param element - Element object * @param whiteboardId - Whiteboard ID * @returns Whether success
lib/api/stage-api-whiteboard.ts:215
↓ 7 callersFunctionupdateProjectAssessment
( project: PBLProjectV2, signal: ProficiencySignal, )
lib/pbl/v2/operations/proficiency.ts:862
↓ 7 callersFunctionwavBuffer
()
tests/audio/lemonade-asr.test.ts:7
↓ 6 callersFunctionadd
* Add an element to a Slide * * @param sceneId - Scene ID * @param element - Element parameters (must include type, left, top, width, h
lib/api/stage-api-element.ts:28
↓ 6 callersFunctionaddEvaluation
( project: PBLProjectV2, args: { kind: PBLEvaluationKind; microtaskId?: string; milestoneId?:
lib/pbl/v2/operations/evaluation.ts:19
↓ 6 callersMethodaddImage
* Add image to Slide * @param {ImageProps} options - image options * @return {Slide} this Slide
packages/pptxgenjs/src/slide.ts:182
↓ 6 callersFunctionagent
(id: string, voiceConfig?: AgentConfig['voiceConfig'])
tests/audio/voice-resolver-overrides.test.ts:10
← previousnext →301–400 of 4,064, ranked by callers