MCPcopy Create free account

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

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

↓ 2 callersFunctionisLLMProviderConfigured
(config: LLMProviderCfgLike)
lib/store/settings-validation.ts:110
↓ 2 callersFunctionisNonPreviewableVoice
(providerId: TTSProviderId, voiceId: string)
components/agent/agent-bar.tsx:64
↓ 2 callersFunctionisPlainObject
(value)
scripts/check-i18n-keys.mjs:7
↓ 2 callersFunctionisPrivateIP
(ip: string)
lib/server/ssrf-guard.ts:104
↓ 2 callersFunctionisProviderKeyRequired
(providerId: string)
lib/ai/providers.ts:1402
↓ 2 callersFunctionisRealImageSrc
True when a src is a real image payload (data: URL or http(s) URL).
lib/agent/tools/regenerate-scene.ts:53
↓ 2 callersFunctionisShape
(e: Element)
packages/@openmaic/importer/src/serializer/groupSerializer.ts:21
↓ 2 callersFunctionisTarget
(n: Node)
e2e/tests/interactive-iframe-keepalive-619.spec.ts:148
↓ 2 callersFunctionisValidClassroomId
(id: string)
lib/server/classroom-storage.ts:44
↓ 2 callersFunctionkey
(x: SafeXmlNode)
packages/@openmaic/importer/src/model/nodes/MathNode.ts:87
↓ 2 callersFunctionlastPayload
(f: ReturnType<typeof stubSpeech>)
tests/audio/voxcpm-registered-voice.test.ts:20
↓ 2 callersFunctionlastSentenceBoundaryIndex
Index of the last sentence-ending boundary in `s`, or -1. * * CJK enders (。!?) and newlines always count. ASCII `.` / `!` / `?` * count ONLY when
lib/pbl/v2/agents/instructor.ts:1100
↓ 2 callersFunctionlatest
()
components/edit/ActionsBar/ActionsBar.tsx:897
↓ 2 callersFunctionlexTag
(state: State)
lib/export/html-parser/lexer.ts:223
↓ 2 callersFunctionlexText
(state: State)
lib/export/html-parser/lexer.ts:35
↓ 2 callersFunctionlineElement
(overrides: Partial<PPTLineElement> = {})
tests/edit/slide-ops.test.ts:27
↓ 2 callersFunctionlineStyleToBorder
( ln: SafeXmlNode, ctx: RenderContext, lnRef?: SafeXmlNode, )
packages/@openmaic/importer/src/serializer/borderMapper.ts:82
↓ 2 callersFunctionlistEvaluationsForMicrotask
( project: PBLProjectV2, microtaskId: string, )
lib/pbl/v2/operations/evaluation.ts:57
↓ 2 callersFunctionllmAgents
(extra: Record<string, unknown>)
tests/server/agent-profiles-voice-design.test.ts:32
↓ 2 callersFunctionllmApiError
(error: unknown)
lib/server/llm-error-response.ts:63
↓ 2 callersFunctionloadA
()
tests/classroom/agent-selection-restore.test.ts:119
↓ 2 callersFunctionloadImageMapping
(imageIds: string[])
lib/utils/image-storage.ts:88
↓ 2 callersFunctionloadPrompt
(promptId: PromptId)
lib/prompts/loader.ts:73
↓ 2 callersFunctionmakeAllowlistGate
(allowed: ReadonlySet<string>)
lib/agent/runtime/allowlist.ts:5
↓ 2 callersFunctionmakeChartType
* Create XML string for any given chart type * @param {CHART_NAME} chartType chart type name * @param {IOptsChartData[]} data chart data * @param {
packages/pptxgenjs/src/gen-charts.ts:768
↓ 2 callersFunctionmakeDiscussion
(id: string)
components/edit/ActionsBar/actions-edit.ts:35
↓ 2 callersFunctionmakeFullProject
()
tests/pbl/v2/types.test.ts:32
↓ 2 callersFunctionmakeInteractiveScene
(overrides: Partial<Scene> = {})
tests/edit/slide-schema.test.ts:61
↓ 2 callersFunctionmakeRequest
()
tests/server/agent-profiles-voice-design.test.ts:20
↓ 2 callersFunctionmakeSlide
()
tests/edit/slide-schema.test.ts:19
↓ 2 callersFunctionmapNonCodeFenceText
(text: string, fn: (chunk: string) => string)
lib/pbl/v2/agents/instructor.ts:941
↓ 2 callersFunctionmatchesAt
* Check if buffer matches a byte sequence at a given offset.
packages/@openmaic/importer/src/utils/emfParser.ts:299
↓ 2 callersFunctionmeasureHostRect
(hostRef: RefObject<HTMLDivElement | null>)
components/scene-renderers/pbl-renderer.tsx:360
↓ 2 callersFunctionmediaTaskKeyFor
* Media-generation task key for an element, matching what the full-size canvas * subscribes to: images are keyed by their `gen_img_*` placeholder src
components/slide-renderer/SlideThumbnail.tsx:36
↓ 2 callersFunctionmessageFrom
(value: unknown)
lib/generation/generation-retry.ts:102
↓ 2 callersFunctionmessageFromError
(error: unknown, fallback: string)
lib/hooks/use-scene-generator.ts:106
↓ 2 callersFunctionmkProject
(overrides: Partial<PBLProjectV2> = {})
tests/pbl/v2/workspace-launch.test.ts:6
↓ 2 callersFunctionmkSlideScene
(id: string)
tests/pbl/v2/quiz-snapshot.test.ts:62
↓ 2 callersFunctionmodelFromEnv
Build a model from a triple of env vars (model / api key / base url). * Returns null when the model var is unset (used for the optional judge * ov
eval/pbl-v2-planner/runner.ts:174
↓ 2 callersFunctionmoveOutline
(index: number, direction: 'up' | 'down')
components/generation/outlines-editor.tsx:188
↓ 2 callersFunctionnewestByCreatedAt
(items: T[])
lib/pbl/v2/agents/instructor.ts:158
↓ 2 callersFunctionnext
()
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:48
↓ 2 callersFunctionnextFrame
()
packages/@openmaic/renderer/src/snapshot/index.ts:269
↓ 2 callersFunctionnormalizeBaseUrl
(baseUrl?: string)
lib/media/adapters/openai-image-adapter.ts:17
↓ 2 callersFunctionnormalizeBaseUrl
(baseUrl?: string)
lib/media/adapters/lemonade-image-adapter.ts:16
↓ 2 callersFunctionnormalizeProviderId
( provider: string | undefined, modelId: string | undefined, )
lib/ai/llm.ts:116
↓ 2 callersFunctionnormalizeSearchRequirement
(requirement: string)
lib/server/search-query-builder.ts:22
↓ 2 callersFunctionnormalizeStreamedTitle
(raw: string)
app/api/generate/scene-outlines-stream/route.ts:76
↓ 2 callersFunctionnormalizeTaskEngineSlideOutline
(outline: SceneOutline)
app/api/generate/scene-outlines-stream/route.ts:211
↓ 2 callersFunctionnormalizeVideoOptions
( providerId: VideoProviderId, options: VideoGenerationOptions, )
lib/media/video-providers.ts:153
↓ 2 callersFunctionnormalizeVoxCPMReferenceAudio
( blob: Blob, fileName?: string, )
lib/audio/voxcpm-voices.ts:145
↓ 2 callersFunctionnormalizeWebSearchQuery
(query: string)
lib/web-search/utils.ts:7
↓ 2 callersFunctionok
(s: SampleResult)
eval/orchestration/answer-content-runner.ts:312
↓ 2 callersFunctiononDrop
(e: DragEvent)
components/ai-elements/prompt-input.tsx:588
↓ 2 callersMethodonEnded
* Set playback ended callback
lib/utils/audio-player.ts:164
↓ 2 callersMethodonTextReveal
* Fired each tick while a text item is being revealed. * @param messageId — which message to update * @param partId — unique ID for this te
lib/buffer/stream-buffer.ts:103
↓ 2 callersFunctionooxmlDashToCss
* Map OOXML preset dash values to CSS border-style.
packages/@openmaic/importer/src/serializer/StyleResolver.ts:627
↓ 2 callersFunctionopenLineWrapper
()
packages/@openmaic/importer/src/serializer/textSerializer.ts:1390
↓ 2 callersMethodopenOutlineReview
()
e2e/pages/generation-preview.page.ts:45
↓ 2 callersFunctionopenProviderSettings
(page: HomePage['page'])
e2e/tests/managed-provider-620.spec.ts:59
↓ 2 callersFunctionoverlapScore
Count how many of `refTokens` appear in `text`.
lib/pbl/v2/agents/planner.ts:1186
↓ 2 callersFunctionpanViewport
(dir: -1 | 1)
components/edit/ActionsBar/ActionsBar.tsx:940
↓ 2 callersFunctionparab
(x: number)
packages/@openmaic/importer/src/shapes/presets.ts:5218
↓ 2 callersFunctionparseApiKey
(apiKey: string)
lib/media/adapters/kling-adapter.ts:62
↓ 2 callersFunctionparseBraveSearchHtml
(html: string, maxResults: number)
lib/web-search/brave.ts:60
↓ 2 callersFunctionparseChildNode
( child: SafeXmlNode, rels: Map<string, RelEntry>, slidePath: string, diagramDrawings?: Map<string, st
packages/@openmaic/importer/src/model/Slide.ts:369
↓ 2 callersFunctionparseElements
(elements: Element[])
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:452
↓ 2 callersFunctionparseEqExpression
(code: string, pos: number)
packages/@openmaic/importer/src/utils/eqFieldParser.ts:41
↓ 2 callersFunctionparseFontInfo
* Parse font info from a majorFont or minorFont node. * Extracts typeface attributes from latin, ea, and cs child elements, plus * the Hans (Simplif
packages/@openmaic/importer/src/model/Theme.ts:55
↓ 2 callersFunctionparseIPv4
(ip: string)
lib/server/ssrf-guard.ts:18
↓ 2 callersFunctionparseLcRcModifier
Handle standalone \lc or \rc encountered outside \b (shouldn't happen, but be robust).
packages/@openmaic/importer/src/utils/eqFieldParser.ts:271
↓ 2 callersFunctionparseLimit
(limit, type)
packages/@openmaic/importer/src1/math.js:50
↓ 2 callersFunctionparseNums
(s: string)
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:137
↓ 2 callersFunctionparseTemplateShapes
* Parse and collect renderable shapes from a master or layout spTree. * Only includes NON-placeholder shapes (decorative elements, logos, footers).
packages/@openmaic/importer/src/serializer/slideSerializer.ts:60
↓ 2 callersFunctionpblOutline
(overrides?: Partial<SceneOutline>)
tests/pbl/v2/planner-single-call.test.ts:42
↓ 2 callersFunctionpersistClassroom
( data: { id: string; stage: Stage; scenes: Scene[]; }, baseUrl: string, )
lib/server/classroom-storage.ts:61
↓ 2 callersFunctionpersistRecentOpen
(next: boolean)
app/page.tsx:112
↓ 2 callersFunctionpickThinkingLevel
( thinking: ThinkingCapability, config: ThinkingConfig, )
lib/ai/thinking-config.ts:62
↓ 2 callersFunctionplainProject
()
tests/pbl/v2/simulator.test.ts:85
↓ 2 callersFunctionplannerStepHasAcceptedCompletion
(step: StepResult<ToolSet>)
lib/pbl/v2/agents/planner.ts:1146
↓ 2 callersMethodplayBrowserTTSChunk
Speak the current chunk; on completion, advance to next or finish.
lib/playback/engine.ts:649
↓ 2 callersFunctionpointInRect
(px: number, py: number, b: BBox)
lib/orchestration/summarizers/whiteboard-conflicts.ts:123
↓ 2 callersFunctionpositionToBbox
(position?: { x: number; y: number; width: number; height: number; })
lib/document/pdf-compat.ts:9
↓ 2 callersFunctionpostVerifyModel
(body: Record<string, unknown>)
tests/api/verify-model.test.ts:26
↓ 2 callersFunctionpreloadEditor
()
lib/edit/preload-editor.ts:19
↓ 2 callersFunctionpresetColorToHex
(name: string)
packages/@openmaic/importer/src/utils/color.ts:476
↓ 2 callersFunctionpreviewCueEffect
(cueType: string, elementId: string)
components/edit/ActionsBar/cue-preview.ts:43
↓ 2 callersFunctionprocessSpNode
(node, warpObj, source, groupHierarchy = [])
packages/@openmaic/importer/src1/pptxtojson.js:703
↓ 2 callersFunctionproject
(milestones: PBLMilestone[], status: PBLProjectV2['status'])
tests/pbl/v2/sidebar.test.ts:17
↓ 2 callersFunctionproject
(milestones: PBLMilestone[], status: PBLProjectV2['status'])
tests/pbl/v2/workspace.test.ts:17
↓ 2 callersFunctionproject
(language = 'en-US')
tests/pbl/v2/locale.test.ts:7
↓ 2 callersFunctionprojectForJudge
Compact, judge-facing view of a project (drops ids/timestamps/runtime). * Surfaces the scenario block + per-beat fields when the project is a * ro
eval/pbl-v2-planner/runner.ts:310
↓ 2 callersFunctionpump
()
lib/utils/concurrency.ts:7
↓ 2 callersMethodpushAction
(data: Omit<ActionItem, 'kind'>)
lib/buffer/stream-buffer.ts:250
↓ 2 callersFunctionpushChunk
(value: string)
lib/audio/tts-utils.ts:33
↓ 2 callersMethodpushText
* Append text for a message. * If the last queue item is an unsealed text item for the same messageId, * the delta is appended in-place. Otherwi
lib/buffer/stream-buffer.ts:221
↓ 2 callersFunctionputVideoRecord
(mediaRef: string, error?: string)
e2e/tests/recent-video-thumbnail.spec.ts:64
↓ 2 callersFunctionpxToPt
(px: number)
packages/@openmaic/importer/src/adapter/toPptxtojson.ts:17
↓ 2 callersFunctionreadAll
(res: Response)
tests/ai/reasoning-sse.test.ts:17
↓ 2 callersFunctionreadImage
(relPath: string)
lib/pdf/mineru-cloud.ts:163
← previousnext →1,301–1,400 of 4,064, ranked by callers