48 lines
1.1 KiB
TypeScript
48 lines
1.1 KiB
TypeScript
/**
|
|
* Two-Stage Generation Pipeline
|
|
*
|
|
* Barrel re-export — all symbols previously exported from this file
|
|
* are now spread across focused sub-modules.
|
|
*/
|
|
|
|
// Types
|
|
export type {
|
|
AgentInfo,
|
|
SceneGenerationContext,
|
|
GeneratedSlideData,
|
|
GenerationResult,
|
|
AICallFn,
|
|
} from './pipeline-types';
|
|
|
|
// Prompt formatters
|
|
export {
|
|
buildCourseContext,
|
|
formatAgentsForPrompt,
|
|
formatTeacherPersonaForPrompt,
|
|
formatImageDescription,
|
|
formatImagePlaceholder,
|
|
buildVisionUserContent,
|
|
buildLanguageText,
|
|
} from './prompt-formatters';
|
|
|
|
// JSON repair
|
|
export { parseJsonResponse, tryParseJson } from './json-repair';
|
|
|
|
// Outline generator (Stage 1)
|
|
export { generateSceneOutlinesFromRequirements, applyOutlineFallbacks } from './outline-generator';
|
|
|
|
// Scene generator (Stage 2)
|
|
export {
|
|
generateSceneContent,
|
|
generateSceneActions,
|
|
createSceneWithActions,
|
|
} from './scene-generator';
|
|
export type { SceneContentOptions, SceneActionsOptions } from './scene-generator';
|
|
|
|
// Scene builder (standalone)
|
|
export {
|
|
buildSceneFromOutline,
|
|
buildCompleteScene,
|
|
uniquifyMediaElementIds,
|
|
} from './scene-builder';
|