@thanh01.pmt/curriculum-kit 1.4.13 → 1.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1297,7 +1297,8 @@ function buildSlideBlueprintPrompt(params) {
|
|
|
1297
1297
|
(p) => `Phase "${p.phaseName}" (${p.timing || "Standard"}):
|
|
1298
1298
|
${p.content.slice(0, 500)}...`
|
|
1299
1299
|
).join("\n\n");
|
|
1300
|
-
const countGuidance = targetSlideCount ? `The target is approximately ${targetSlideCount} slides.` : `Determine the organic, optimal number of slides
|
|
1300
|
+
const countGuidance = targetSlideCount ? `The target is approximately ${targetSlideCount} slides.` : `Determine the organic, optimal number of slides based directly on the canonical LESSON plan: every instructional move, concept explanation, code walkthrough, activity phase, and quiz checkpoint must receive adequate slide coverage without artificial cramming or stretching.`;
|
|
1301
|
+
const outputGuidance = targetSlideCount ? `Output ONLY a valid JSON array of ${targetSlideCount} objects.` : `Output ONLY a valid JSON array of objects (one object per planned slide).`;
|
|
1301
1302
|
return `
|
|
1302
1303
|
You are @illustrator, Chief Slide Architect for the Course Builder OS.
|
|
1303
1304
|
Your task is to analyze the canonical LESSON plan and architect an authoritative, high-fidelity **SLIDE BLUEPRINT**.
|
|
@@ -1347,7 +1348,7 @@ ${phasesSummary || lessonFlow.rawContent.slice(0, 3e3)}
|
|
|
1347
1348
|
---
|
|
1348
1349
|
|
|
1349
1350
|
### \u{1F4E4} OUTPUT FORMAT:
|
|
1350
|
-
|
|
1351
|
+
${outputGuidance} Do NOT include markdown text outside the JSON.
|
|
1351
1352
|
Format:
|
|
1352
1353
|
\`\`\`json
|
|
1353
1354
|
[
|
|
@@ -25815,7 +25816,7 @@ ${buildHeadingDirective("QUIZ", slcMarkdown, targetLang)}`;
|
|
|
25815
25816
|
const slideRelPath = `_content/${unitCode}/SLIDE_${lessonCode}.md`;
|
|
25816
25817
|
if (artifactScope.includes("SLIDE") && (!await storage.readArtifact(projectId, slideRelPath) || force)) {
|
|
25817
25818
|
onProgress?.("@illustrator", `[4/4] Authoring Presentation Slide Deck: \`SLIDE_${lessonCode}.md\`...`);
|
|
25818
|
-
const isHtmlEngine = options.slidesEngine
|
|
25819
|
+
const isHtmlEngine = options.slidesEngine !== "marp";
|
|
25819
25820
|
if (isHtmlEngine) {
|
|
25820
25821
|
let presentationKitAi = null;
|
|
25821
25822
|
let presentationKitCore = null;
|