@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.mjs CHANGED
@@ -1286,7 +1286,8 @@ function buildSlideBlueprintPrompt(params) {
1286
1286
  (p) => `Phase "${p.phaseName}" (${p.timing || "Standard"}):
1287
1287
  ${p.content.slice(0, 500)}...`
1288
1288
  ).join("\n\n");
1289
- const countGuidance = targetSlideCount ? `The target is approximately ${targetSlideCount} slides.` : `Determine the organic, optimal number of slides (typically 12 to 25 slides) based directly on the number of activities, instructional moves, and depth of content in the LESSON plan.`;
1289
+ 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.`;
1290
+ 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).`;
1290
1291
  return `
1291
1292
  You are @illustrator, Chief Slide Architect for the Course Builder OS.
1292
1293
  Your task is to analyze the canonical LESSON plan and architect an authoritative, high-fidelity **SLIDE BLUEPRINT**.
@@ -1336,7 +1337,7 @@ ${phasesSummary || lessonFlow.rawContent.slice(0, 3e3)}
1336
1337
  ---
1337
1338
 
1338
1339
  ### \u{1F4E4} OUTPUT FORMAT:
1339
- Output ONLY a valid JSON array of ${targetSlideCount} objects. Do NOT include markdown text outside the JSON.
1340
+ ${outputGuidance} Do NOT include markdown text outside the JSON.
1340
1341
  Format:
1341
1342
  \`\`\`json
1342
1343
  [
@@ -25804,7 +25805,7 @@ ${buildHeadingDirective("QUIZ", slcMarkdown, targetLang)}`;
25804
25805
  const slideRelPath = `_content/${unitCode}/SLIDE_${lessonCode}.md`;
25805
25806
  if (artifactScope.includes("SLIDE") && (!await storage.readArtifact(projectId, slideRelPath) || force)) {
25806
25807
  onProgress?.("@illustrator", `[4/4] Authoring Presentation Slide Deck: \`SLIDE_${lessonCode}.md\`...`);
25807
- const isHtmlEngine = options.slidesEngine === "html";
25808
+ const isHtmlEngine = options.slidesEngine !== "marp";
25808
25809
  if (isHtmlEngine) {
25809
25810
  let presentationKitAi = null;
25810
25811
  let presentationKitCore = null;