feat: productionize learning engine and classroom

This commit is contained in:
inman committed 2026-08-16 21:44:52 +08:00
1 parent 2d04197f3f
commit ba35adfbfa
124 files changed
+9071 -796

No files matched your search

@@ -47,6 +47,10 @@ export interface PackagePersistedClassroomOptions {
/** Test seam. Production uses the SSRF-guarded server fetch below. */
fetchImpl?: typeof fetch;
publishedAt?: string;
/** Require interactive HTML only when the product request asked for it. */
requireInteractiveHtml?: boolean;
/** Strict when generation requested TTS; false allows intentional silent narration. */
requireNarrationAudio?: boolean;
}
export interface PublishPersistedClassroomOptions extends Omit<
@@ -426,7 +430,8 @@ export async function packagePersistedClassroom(
publishedAt: options.publishedAt ?? new Date().toISOString(),
appVersion: process.env.npm_package_version ?? '0.0.0',
requireAgentRoster: true,
requireInteractiveHtml: true,
requireInteractiveHtml: options.requireInteractiveHtml ?? true,
requireNarrationAudio: options.requireNarrationAudio ?? true,
strictInteractiveAssets: true,
requireComplete: true,
});