MCPcopy Create free account

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

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

↓ 6 callersFunctionslideScene
()
tests/lib/agent/client/apply-regenerate.test.ts:13
↓ 6 callersFunctionsrgbToLinear
(c: number)
packages/@openmaic/importer/src/utils/color.ts:108
↓ 6 callersFunctionstarShape
Helper: generate a star polygon.
packages/@openmaic/importer/src/shapes/presets.ts:53
↓ 6 callersFunctionstreamingEvaluationPreview
(text: string)
components/scene-renderers/pbl/v2/chat.tsx:1392
↓ 6 callersFunctionsummarizeScenes
(scenes: Scene[], readAnswers: AnswerReader)
lib/classroom/complete-summary.ts:11
↓ 6 callersFunctiontoDeg
(ooxmlAng: number)
packages/@openmaic/importer/src/shapes/presets.ts:3778
↓ 6 callersFunctiontoHex
(n)
packages/@openmaic/importer/src1/utils.js:145
↓ 6 callersFunctiontoRad
(d: number)
packages/@openmaic/importer/src/shapes/presets.ts:4220
↓ 6 callersFunctiontoStringList
Coerce an unknown value to a clean `string[]`: non-array → `[]`, * non-string entries dropped, trimmed, empties removed.
lib/pbl/v2/agents/planner-single-call.ts:164
↓ 6 callersFunctiontrackSubmissionScore
(project: PBLProjectV2, score: number)
lib/pbl/v2/operations/dynamic-signals.ts:162
↓ 6 callersFunctiontwoBoxes
()
tests/edit/slide-ops.test.ts:355
↓ 6 callersFunctionundoSlideEditOperation
(history: SlideEditHistory)
lib/edit/slide-ops.ts:129
↓ 6 callersFunctionuseCommonOperate
(width: number, height: number)
components/slide-renderer/Editor/Canvas/hooks/useCommonOperate.ts:4
↓ 6 callersFunctionuseElementOutline
(outline?: PPTElementOutline)
components/slide-renderer/components/element/hooks/useElementOutline.ts:9
↓ 6 callersFunctionuseOpenInContext
()
components/ai-elements/open-in-chat.tsx:166
↓ 6 callersFunctionvalidSingle
(over: Partial<QuizQuestion> = {})
tests/edit/surfaces/quiz/hints.test.ts:12
↓ 6 callersFunctionvisualToParam
(deg: number)
packages/@openmaic/importer/src/shapes/presets.ts:4221
↓ 6 callersFunctionwithThinkingDisabled
(startCall: () => T)
lib/pbl/v2/agents/runtime-thinking.ts:26
↓ 5 callersFunctionactProject
()
tests/pbl/v2/progress.test.ts:775
↓ 5 callersFunctionactionsToManifest
( actions: Action[], audioIdToPath: Map<string, string>, agentIdToIndex: Map<string, number> = new Map()
lib/export/classroom-zip-utils.ts:53
↓ 5 callersFunctionaddOption
(content: QuizContent, id: string)
components/edit/surfaces/quiz/quiz-edit-ops.ts:248
↓ 5 callersFunctionagentMsg
(content: string)
tests/orchestration/conversation-summary.test.ts:19
↓ 5 callersFunctionanalyzePriorScenes
( allOutlines: SceneOutline[], currentOutlineId: string, )
lib/pbl/v2/operations/proficiency.ts:257
↓ 5 callersFunctionapplyQuizSignalsToProject
( project: PBLProjectV2, results: PriorQuizResult[], )
lib/pbl/v2/operations/quiz-snapshot.ts:88
↓ 5 callersFunctionapplyRequestLocaleToProject
(req: NextRequest, project: PBLProjectV2)
lib/pbl/v2/api/locale.ts:17
↓ 5 callersFunctionbuildDirectorPrompt
( agents: AgentConfig[], conversationSummary: string, agentResponses: AgentTurnSummary[], turnCount: n
lib/orchestration/director-prompt.ts:23
↓ 5 callersFunctionbuildFirstTaskWorkspaceOrientationBlock
(args: { project: PBLProjectV2; milestone: PBLMilestone; microtask: PBLMicrotask; phase: InstructorPha
lib/pbl/v2/agents/instructor.ts:573
↓ 5 callersFunctionbuildInstructorRuntimeBrief
( project: PBLProjectV2, milestone: PBLMilestone, microtask: PBLMicrotask, opts?: { synthesisOwed?: bo
lib/pbl/v2/agents/instructor.ts:498
↓ 5 callersFunctionbuildSlidePrompt
(flags: { imageElementEnabled?: boolean; generatedImageEnabled?: boolean; generatedVideoEnabled?: boolea
tests/prompts/media-conditional.test.ts:29
↓ 5 callersFunctionchoiceQ
(id: string, answer: string[])
tests/classroom/complete-summary.test.ts:38
↓ 5 callersMethodclearEffects
Clear all active visual effects
lib/action/engine.ts:178
↓ 5 callersFunctioncloseActive
()
lib/agent/runtime/stream-fn.ts:137
↓ 5 callersFunctioncommitQuizContent
(history: QuizEditHistory, next: QuizContent)
components/edit/surfaces/quiz/quiz-edit-ops.ts:45
↓ 5 callersFunctioncreateBlankQuestion
( type: QuizQuestionType, id = createElementId('q'), )
components/edit/surfaces/quiz/quiz-edit-ops.ts:112
↓ 5 callersFunctioncreateBlankSlideScene
(stageId: string, title: string, order: number)
lib/edit/slide-defaults.ts:28
↓ 5 callersFunctioncreateQuizEditHistory
(present: QuizContent)
components/edit/surfaces/quiz/quiz-edit-ops.ts:36
↓ 5 callersFunctioncreateStageAPI
(store: StageStore)
lib/api/stage-api.ts:76
↓ 5 callersFunctioncueLabel
(type: string, t: TFn)
components/edit/ActionsBar/cue-meta.ts:106
↓ 5 callersFunctioncueMeta
(type: string)
components/edit/ActionsBar/cue-meta.ts:101
↓ 5 callersFunctiondeps
(ctx: (id: string) => SceneContext | undefined)
tests/lib/agent/tools/edit-interactive-html.test.ts:45
↓ 5 callersFunctiondeserializeThread
(saved: SerializedMessage[] | undefined)
lib/agent/client/serialize-thread.ts:145
↓ 5 callersFunctiondisplayAgentName
(name: string | undefined | null, fallback: string)
components/scene-renderers/pbl/v2/chat.tsx:1354
↓ 5 callersFunctionensureAssessment
(project: PBLProjectV2)
lib/pbl/v2/operations/proficiency.ts:846
↓ 5 callersFunctionfetchSceneActions
( params: { outline: SceneOutline; allOutlines: SceneOutline[]; content: unknown; stageId: s
lib/hooks/use-scene-generator.ts:162
↓ 5 callersFunctionfetchSceneContent
( params: { outline: SceneOutline; allOutlines: SceneOutline[]; stageId: string; pdfImages?:
lib/hooks/use-scene-generator.ts:111
↓ 5 callersFunctionflushAccumulatedRun
()
packages/@openmaic/importer/src/serializer/textSerializer.ts:1449
↓ 5 callersFunctionfreshStore
(persistedState?: Record<string, unknown>)
tests/config/settings-agent-voice-overrides.test.ts:24
↓ 5 callersFunctiongenerateSceneOutlinesFromRequirements
( requirements: UserRequirements, pdfText: string | undefined, pdfImages: PdfImage[] | undefined, aiCa
lib/generation/outline-generator.ts:35
↓ 5 callersFunctiongetAgentConfig
(id: string)
components/roundtable/index.tsx:572
↓ 5 callersFunctiongetBgPicFill
(bgPr, sorce, warpObj)
packages/@openmaic/importer/src1/fill.js:165
↓ 5 callersFunctiongetCurrentDir
()
eval/pbl-v2-planner/runner.ts:133
↓ 5 callersFunctiongetLinkOption
(link: PPTElementLink, slides: Slide[])
lib/export/use-export-pptx.ts:319
↓ 5 callersFunctiongetNary
(node)
packages/mathml2omml/src/ooml/nary.js:6
↓ 5 callersFunctiongetNaryTarget
(naryChar, element, type, subHide = false, supHide = false)
packages/mathml2omml/src/ooml/nary.js:15
↓ 5 callersFunctiongetParallelSceneConcurrency
()
lib/server/provider-config.ts:593
↓ 5 callersFunctiongetServerImageProviders
()
lib/server/provider-config.ts:499
↓ 5 callersFunctionhandleToggleVoice
()
components/roundtable/index.tsx:382
↓ 5 callersFunctionhasText
(value: string | undefined)
lib/audio/provider-enablement.ts:46
↓ 5 callersFunctionimageRequiresCaption
(args: { hasImage: boolean; hasVision: boolean; hasCaption: boolean; })
components/scene-renderers/pbl/v2/submission.tsx:219
↓ 5 callersFunctioninlineSceneContent
( content: SceneContent, options?: InlineOptions, )
lib/export/use-export-classroom.ts:30
↓ 5 callersFunctioninsertAt
(actions: Action[], index: number, action: Action)
components/edit/ActionsBar/actions-edit.ts:68
↓ 5 callersFunctioninterpolateVariables
(template: string, variables: Record<string, unknown>)
lib/prompts/loader.ts:107
↓ 5 callersFunctionisEditApplied
(result?: EditInteractiveHtmlResult | null)
components/edit/AgentPanel/edit-tool-state.ts:19
↓ 5 callersFunctionisEditLockHeldByOther
( courseId: string, ownTabId: string, now: number = Date.now(), )
lib/edit/edit-mode-lock.ts:59
↓ 5 callersFunctionisEditRefused
(result?: EditInteractiveHtmlResult | null)
components/edit/AgentPanel/edit-tool-state.ts:24
↓ 5 callersFunctionisShortAnswer
(q: QuizQuestion)
lib/quiz/grading.ts:29
↓ 5 callersFunctionisSubmitLockedDuringStream
(args: { instructorStreaming?: boolean; evaluating: boolean; })
components/scene-renderers/pbl/v2/submission.tsx:105
↓ 5 callersFunctionisVocationalTaskEngineEnabled
()
lib/config/feature-flags.ts:29
↓ 5 callersFunctionjsonResponse
(status: number, body: unknown)
tests/hooks/use-scene-generator-retry.test.ts:67
↓ 5 callersFunctionlazyBoundedMap
( items: readonly T[], limit: number, fn: (item: T, index: number) => Promise<R>, options?: { shouldCo
lib/utils/concurrency.ts:47
↓ 5 callersMethodlistAgents
()
lib/pbl/mcp/agent-mcp.ts:17
↓ 5 callersFunctionlistSubmissionsForMicrotask
( project: PBLProjectV2, microtaskId: string, )
lib/pbl/v2/operations/submission.ts:52
↓ 5 callersFunctionmakeCapturingAiCall
(response: string)
tests/generation/slide-edit-directive.test.ts:19
↓ 5 callersFunctionmakeProject
(args: { scenario?: PBLScenarioConfig; milestones: PBLMilestone[]; status?: PBLProjectV2['status']; })
tests/pbl/v2/scenario-briefing-gate.test.ts:50
↓ 5 callersFunctionmakeScene
(id: string, stageId = 'stage-1')
tests/edit/deleted-scene-recycle.test.ts:5
↓ 5 callersFunctionmakeSlideScene
(overrides: Partial<Scene> = {})
tests/edit/slide-defaults.test.ts:46
↓ 5 callersFunctionmakeStartedProject
()
tests/pbl/v2/progress.test.ts:661
↓ 5 callersFunctionmakeSurface
(sceneType: SceneType, label = 'A')
tests/edit/stage-mode.test.ts:92
↓ 5 callersFunctionmapWithConcurrency
( items: readonly T[], limit: number, fn: (item: T, index: number) => Promise<R>, options?: { shouldCo
lib/utils/concurrency.ts:68
↓ 5 callersFunctionmarkFailed
(url: string, reason: string)
lib/export/inline-assets.ts:302
↓ 5 callersFunctionmilestone
(args: Partial<PBLMilestone> & Pick<PBLMilestone, 'id' | 'title' | 'order'>)
tests/pbl/v2/instructor.test.ts:28
↓ 5 callersFunctionmkQuizScene
(id: string, questions: number)
tests/pbl/v2/quiz-snapshot.test.ts:40
↓ 5 callersFunctionmockModel
()
tests/generation/pbl-v2-scene-routing.test.ts:74
↓ 5 callersFunctionmsg
(roleType: PBLChatMessage['roleType'], content = 'x')
tests/pbl/v2/simulator.test.ts:296
↓ 5 callersFunctionnextThinkTimer
( prev: ThinkTimer | undefined, opts: { end: boolean; now: number }, )
lib/agent/client/thinking-timers.ts:22
↓ 5 callersFunctionnormalizeAddress
(value: string)
lib/server/ssrf-guard.ts:10
↓ 5 callersFunctionnormalizeForFuzzyMatch
(text: string)
lib/edit/html-edit.ts:63
↓ 5 callersMethodonError
(message: string)
lib/buffer/stream-buffer.ts:126
↓ 5 callersFunctionorderedMicrotasks
(milestone: PBLMilestone)
lib/pbl/v2/agents/instructor.ts:332
↓ 5 callersFunctionpickThinkingBudget
( thinking: ThinkingCapability, config: ThinkingConfig, )
lib/ai/thinking-config.ts:82
↓ 5 callersFunctionprepOf
(p: PBLProjectV2)
tests/pbl/v2/instructor.test.ts:874
↓ 5 callersFunctionprocessDynamicSignal
( current: PBLProficiencyAssessment, signal: ProficiencySignal, )
lib/pbl/v2/operations/proficiency.ts:792
↓ 5 callersFunctionprompt
()
tests/eval/pbl-v2-planner/completability-judge-prompt.test.ts:6
↓ 5 callersFunctionpruneThinkingConfigs
( thinkingConfigs: Record<string, ThinkingConfig> | undefined, providersConfig: ProvidersConfig | undefine
lib/store/settings.ts:34
↓ 5 callersFunctionremoveById
(actions: Action[], id: string)
components/edit/ActionsBar/actions-edit.ts:128
↓ 5 callersFunctionrenderShape
( node: ShapeNodeData, ctx: RenderContext, _order: number, )
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:796
↓ 5 callersFunctionreorderOptions
( content: QuizContent, id: string, fromIndex: number, toIndex: number, )
components/edit/surfaces/quiz/quiz-edit-ops.ts:267
↓ 5 callersFunctionreplaceAsync
( input: string, re: RegExp, replacer: (...args: string[]) => Promise<string>, )
lib/export/inline-assets.ts:219
↓ 5 callersFunctionresolveBaseUrl
(providerId: string, clientBaseUrl?: string)
lib/server/provider-config.ts:408
↓ 5 callersFunctionresolveColorHex
(fillNode: SafeXmlNode, ctx: RenderContext)
packages/@openmaic/importer/src/serializer/chartSerializer.ts:134
← previousnext →501–600 of 4,064, ranked by callers