@thanh01.pmt/curriculum-kit 1.4.35 → 1.4.37

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.
Files changed (35) hide show
  1. package/dist/ai/index.cjs +57 -1
  2. package/dist/ai/index.cjs.map +1 -1
  3. package/dist/ai/index.d.cts +2 -2
  4. package/dist/ai/index.d.ts +2 -2
  5. package/dist/ai/index.mjs +57 -1
  6. package/dist/ai/index.mjs.map +1 -1
  7. package/dist/{gateSettings-DabOqP6_.d.cts → gateSettings-oo5tCUS_.d.cts} +18 -0
  8. package/dist/{gateSettings-DabOqP6_.d.ts → gateSettings-oo5tCUS_.d.ts} +18 -0
  9. package/dist/index.cjs +793 -51
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +251 -74
  12. package/dist/index.d.ts +251 -74
  13. package/dist/index.mjs +775 -52
  14. package/dist/index.mjs.map +1 -1
  15. package/dist/pipeline/index.cjs +57 -1
  16. package/dist/pipeline/index.cjs.map +1 -1
  17. package/dist/pipeline/index.mjs +57 -1
  18. package/dist/pipeline/index.mjs.map +1 -1
  19. package/dist/schemas/index.cjs +63 -1
  20. package/dist/schemas/index.cjs.map +1 -1
  21. package/dist/schemas/index.d.cts +436 -33
  22. package/dist/schemas/index.d.ts +436 -33
  23. package/dist/schemas/index.mjs +58 -2
  24. package/dist/schemas/index.mjs.map +1 -1
  25. package/dist/standards/index.d.cts +2 -2
  26. package/dist/standards/index.d.ts +2 -2
  27. package/dist/workflow/index.cjs +84 -2
  28. package/dist/workflow/index.cjs.map +1 -1
  29. package/dist/workflow/index.d.cts +3 -3
  30. package/dist/workflow/index.d.ts +3 -3
  31. package/dist/workflow/index.mjs +84 -2
  32. package/dist/workflow/index.mjs.map +1 -1
  33. package/package.json +1 -1
  34. package/dist/{standardsCoverageGate-DR5YTtlt.d.cts → standardsCoverageGate-49pJq5t8.d.cts} +6 -6
  35. package/dist/{standardsCoverageGate-DR5YTtlt.d.ts → standardsCoverageGate-49pJq5t8.d.ts} +6 -6
@@ -1258,6 +1258,50 @@ var ScaffoldDecisionEntrySchema = zod.z.object({
1258
1258
  minutes_saved: zod.z.number().int().nonnegative().default(0),
1259
1259
  reason: zod.z.string().min(3)
1260
1260
  });
1261
+ var ZpdVerdictSchema = zod.z.enum(["OK", "TOO_MANY_NEW", "NO_ZPD_BRIDGE"]);
1262
+ var SessionZpdStatusSchema = zod.z.object({
1263
+ verdict: ZpdVerdictSchema,
1264
+ new_concept_count: zod.z.number().int().nonnegative().default(0),
1265
+ known_concept_count: zod.z.number().int().nonnegative().default(0),
1266
+ issues: zod.z.array(zod.z.string()).default([])
1267
+ });
1268
+ var ConceptSpiralEncounterSchema = zod.z.object({
1269
+ concept_code: zod.z.string(),
1270
+ session_id: LessonCodeSchema,
1271
+ encounter_index: zod.z.number().int().positive(),
1272
+ bloom_cap: BloomLevelSchema,
1273
+ depth: DepthLevelSchema
1274
+ });
1275
+ var WalkingSkeletonSchema = zod.z.object({
1276
+ epitome_unit_id: zod.z.string().default("U01"),
1277
+ epitome_deliverables: zod.z.array(zod.z.string()).default([]),
1278
+ elaborations: zod.z.array(zod.z.object({
1279
+ unit_id: zod.z.string(),
1280
+ focus_area: zod.z.string(),
1281
+ elaborates_on: zod.z.array(zod.z.string()).default([])
1282
+ })).default([])
1283
+ });
1284
+ var MasteryGateSchema = zod.z.object({
1285
+ phase_or_unit_id: zod.z.string(),
1286
+ gate_name: zod.z.string(),
1287
+ exit_criteria: zod.z.array(zod.z.string()).min(1),
1288
+ next_unit_id: zod.z.string(),
1289
+ remediation: zod.z.object({
1290
+ trigger: zod.z.literal("FAIL_GATE_CRITERIA"),
1291
+ focus_minutes: zod.z.number().int().default(15),
1292
+ action: zod.z.string()
1293
+ })
1294
+ });
1295
+ var ConceptPrerequisiteEdgeSchema = zod.z.object({
1296
+ concept_code: zod.z.string(),
1297
+ requires: zod.z.string(),
1298
+ source: zod.z.enum(["MASTER_TREE", "INFERRED", "CONCEPT_LEVEL_PREREQ"]).default("CONCEPT_LEVEL_PREREQ"),
1299
+ confidence: zod.z.number().min(0).max(1).default(0.8),
1300
+ rationale: zod.z.string().default(""),
1301
+ structure_supported: zod.z.boolean().default(true),
1302
+ needs_review: zod.z.boolean().default(false),
1303
+ hub: zod.z.boolean().default(false)
1304
+ });
1261
1305
  var SessionPlanSchema = zod.z.object({
1262
1306
  id: LessonCodeSchema,
1263
1307
  unit_id: zod.z.string().regex(/^U\d{2}$/),
@@ -1278,7 +1322,14 @@ var SessionPlanSchema = zod.z.object({
1278
1322
  scaffold_decisions: zod.z.array(ScaffoldDecisionEntrySchema).default([]),
1279
1323
  // What the student can demonstrate after this session — feeds exit tickets.
1280
1324
  exit_evidence: zod.z.array(zod.z.string()).min(1),
1281
- differentiation: zod.z.object({ bronze: zod.z.string(), silver: zod.z.string(), gold: zod.z.string() })
1325
+ differentiation: zod.z.object({ bronze: zod.z.string(), silver: zod.z.string(), gold: zod.z.string() }),
1326
+ // P50: ZPD cognitive load status for this session
1327
+ zpd_status: SessionZpdStatusSchema.default({
1328
+ verdict: "OK",
1329
+ new_concept_count: 0,
1330
+ known_concept_count: 0,
1331
+ issues: []
1332
+ })
1282
1333
  });
1283
1334
  var TranslationPolicySchema = zod.z.object({
1284
1335
  policy: zod.z.enum(["after_artifact", "end_of_unit", "at_publish", "native"]).default("native"),
@@ -1333,6 +1384,11 @@ var CurriculumPlanSchema = zod.z.object({
1333
1384
  // [2]
1334
1385
  sessions: zod.z.array(SessionPlanSchema).min(1),
1335
1386
  // [3][4][5][6]
1387
+ // P50: Macro-pedagogical course structures
1388
+ walking_skeleton: WalkingSkeletonSchema.optional(),
1389
+ mastery_gates: zod.z.array(MasteryGateSchema).default([]),
1390
+ concept_spiral_progression: zod.z.array(ConceptSpiralEncounterSchema).default([]),
1391
+ concept_prerequisites: zod.z.array(ConceptPrerequisiteEdgeSchema).default([]),
1336
1392
  glossary_scope: zod.z.array(zod.z.object({
1337
1393
  session_id: LessonCodeSchema,
1338
1394
  terms: zod.z.array(zod.z.string())
@@ -1548,6 +1604,8 @@ exports.CodeLabSchema = CodeLabSchema;
1548
1604
  exports.CodeSnippetSchema = CodeSnippetSchema;
1549
1605
  exports.CompetencyRubricRowSchema = CompetencyRubricRowSchema;
1550
1606
  exports.ComputationalThinkingSchema = ComputationalThinkingSchema;
1607
+ exports.ConceptPrerequisiteEdgeSchema = ConceptPrerequisiteEdgeSchema;
1608
+ exports.ConceptSpiralEncounterSchema = ConceptSpiralEncounterSchema;
1551
1609
  exports.CoreConceptSchema = CoreConceptSchema;
1552
1610
  exports.CourseObjectiveSchema = CourseObjectiveSchema;
1553
1611
  exports.CoverageReportSchema = CoverageReportSchema;
@@ -1591,6 +1649,7 @@ exports.LessonPlanEDPSchema = LessonPlanEDPSchema;
1591
1649
  exports.LessonPlanSchema = LessonPlanSchema;
1592
1650
  exports.LessonSectionSchema = LessonSectionSchema;
1593
1651
  exports.MarpSlideSchema = MarpSlideSchema;
1652
+ exports.MasteryGateSchema = MasteryGateSchema;
1594
1653
  exports.MentorCheatsheetSchema = MentorCheatsheetSchema;
1595
1654
  exports.MilestoneInputSchema = MilestoneInputSchema;
1596
1655
  exports.MisconceptionSchema = MisconceptionSchema;
@@ -1626,6 +1685,7 @@ exports.SelfLabSchema = SelfLabSchema;
1626
1685
  exports.SelfPacedBundleSchema = SelfPacedBundleSchema;
1627
1686
  exports.SelfPacedChallengeSchema = SelfPacedChallengeSchema;
1628
1687
  exports.SessionPlanSchema = SessionPlanSchema;
1688
+ exports.SessionZpdStatusSchema = SessionZpdStatusSchema;
1629
1689
  exports.SilverTierSchema = SilverTierSchema;
1630
1690
  exports.SlideDeckSchema = SlideDeckSchema;
1631
1691
  exports.StandardizedTermRowSchema = StandardizedTermRowSchema;
@@ -1644,10 +1704,12 @@ exports.TroubleshootingEntrySchema = TroubleshootingEntrySchema;
1644
1704
  exports.TroubleshootingRowSchema = TroubleshootingRowSchema;
1645
1705
  exports.UnitPlanSchema = UnitPlanSchema;
1646
1706
  exports.UserJourneySchema = UserJourneySchema;
1707
+ exports.WalkingSkeletonSchema = WalkingSkeletonSchema;
1647
1708
  exports.WorksheetItemSchema = WorksheetItemSchema;
1648
1709
  exports.WorksheetItemTypeEnum = WorksheetItemTypeEnum;
1649
1710
  exports.WorksheetPartSchema = WorksheetPartSchema;
1650
1711
  exports.WorksheetSchema = WorksheetSchema;
1712
+ exports.ZpdVerdictSchema = ZpdVerdictSchema;
1651
1713
  exports.validateCurriculumPlan = validateCurriculumPlan;
1652
1714
  //# sourceMappingURL=index.cjs.map
1653
1715
  //# sourceMappingURL=index.cjs.map