@thanh01.pmt/curriculum-kit 1.0.0 → 1.0.1

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 CHANGED
@@ -11712,6 +11712,9 @@ async function streamLayerPrefillWithFallback(options, onChunk) {
11712
11712
  budgetOrExistingSpecs = "",
11713
11713
  cognitiveScaffolding = ""
11714
11714
  } = accumulatedData;
11715
+ const language = typeof options.language === "string" && options.language ? options.language : typeof accumulatedData.language === "string" && accumulatedData.language ? accumulatedData.language : "vi";
11716
+ const textLangMandate = language === "vi" ? "natural, fluent Vietnamese (Ti\u1EBFng Vi\u1EC7t)" : language === "en" ? "natural, fluent English" : `natural, fluent ${language}`;
11717
+ const choiceLangMandate = language === "vi" ? "in Vietnamese" : language === "en" ? "in English" : `in ${language}`;
11715
11718
  const systemPrompt = `You are @analyst, a Senior Curriculum Architect operating under International Curriculum Standards (UbD, Cognitive Load Theory, Bruner Spiral, BSCS 5E).
11716
11719
  STANDARDS POLICY: Any academicBenchmark value you propose MUST be a framework ID from the org's Standards Registry (e.g. 'csta-k12-2017', 'gdpt-2018-tin-hoc'). NEVER name-drop a framework that is not in the registry \u2014 the generation pipeline grounds lessons with VERBATIM statements loaded from the registry by this ID.
11717
11720
  Your task is to generate PROACTIVE HIGH-FIDELITY PRE-FILLED values for Layer ${targetLayer} in a 4-Layer Concentric Curriculum Creation Wizard.
@@ -11747,8 +11750,8 @@ ${targetLayer === 1 ? `
11747
11750
  - Field 7 (id: 'assessmentStrategy', type: 'single_choice'): Grading weights (e.g. 40% Formative Process + 60% Capstone Rubric).
11748
11751
  `}
11749
11752
 
11750
- - EVERY text/textarea field MUST have a complete, professional, ready-to-use pre-filled text in natural, fluent Vietnamese (Ti\u1EBFng Vi\u1EC7t) adhering strictly to standard pedagogical terminology. NO placeholders, NO empty strings.
11751
- - EVERY choice field MUST have realistic concrete options in Vietnamese with EXACTLY ONE recommended option (selected: true).
11753
+ - EVERY text/textarea field MUST have a complete, professional, ready-to-use pre-filled text in ${textLangMandate} adhering strictly to standard pedagogical terminology. NO placeholders, NO empty strings.
11754
+ - EVERY choice field MUST have realistic concrete options ${choiceLangMandate} with EXACTLY ONE recommended option (selected: true).
11752
11755
 
11753
11756
  RETURN STRICT VALID JSON ONLY adhering exactly to this format:
11754
11757
  {