@thanh01.pmt/curriculum-kit 1.4.34 → 1.4.36

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 (36) hide show
  1. package/LICENSE +21 -0
  2. package/dist/ai/index.cjs +57 -1
  3. package/dist/ai/index.cjs.map +1 -1
  4. package/dist/ai/index.d.cts +2 -2
  5. package/dist/ai/index.d.ts +2 -2
  6. package/dist/ai/index.mjs +57 -1
  7. package/dist/ai/index.mjs.map +1 -1
  8. package/dist/{gateSettings-DabOqP6_.d.cts → gateSettings-oo5tCUS_.d.cts} +18 -0
  9. package/dist/{gateSettings-DabOqP6_.d.ts → gateSettings-oo5tCUS_.d.ts} +18 -0
  10. package/dist/index.cjs +764 -70
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +234 -74
  13. package/dist/index.d.ts +234 -74
  14. package/dist/index.mjs +748 -71
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/pipeline/index.cjs +57 -1
  17. package/dist/pipeline/index.cjs.map +1 -1
  18. package/dist/pipeline/index.mjs +57 -1
  19. package/dist/pipeline/index.mjs.map +1 -1
  20. package/dist/schemas/index.cjs +63 -1
  21. package/dist/schemas/index.cjs.map +1 -1
  22. package/dist/schemas/index.d.cts +436 -33
  23. package/dist/schemas/index.d.ts +436 -33
  24. package/dist/schemas/index.mjs +58 -2
  25. package/dist/schemas/index.mjs.map +1 -1
  26. package/dist/standards/index.d.cts +2 -2
  27. package/dist/standards/index.d.ts +2 -2
  28. package/dist/workflow/index.cjs +84 -2
  29. package/dist/workflow/index.cjs.map +1 -1
  30. package/dist/workflow/index.d.cts +3 -3
  31. package/dist/workflow/index.d.ts +3 -3
  32. package/dist/workflow/index.mjs +84 -2
  33. package/dist/workflow/index.mjs.map +1 -1
  34. package/package.json +22 -23
  35. package/dist/{standardsCoverageGate-DR5YTtlt.d.cts → standardsCoverageGate-49pJq5t8.d.cts} +6 -6
  36. package/dist/{standardsCoverageGate-DR5YTtlt.d.ts → standardsCoverageGate-49pJq5t8.d.ts} +6 -6
@@ -1256,6 +1256,50 @@ var ScaffoldDecisionEntrySchema = z.object({
1256
1256
  minutes_saved: z.number().int().nonnegative().default(0),
1257
1257
  reason: z.string().min(3)
1258
1258
  });
1259
+ var ZpdVerdictSchema = z.enum(["OK", "TOO_MANY_NEW", "NO_ZPD_BRIDGE"]);
1260
+ var SessionZpdStatusSchema = z.object({
1261
+ verdict: ZpdVerdictSchema,
1262
+ new_concept_count: z.number().int().nonnegative().default(0),
1263
+ known_concept_count: z.number().int().nonnegative().default(0),
1264
+ issues: z.array(z.string()).default([])
1265
+ });
1266
+ var ConceptSpiralEncounterSchema = z.object({
1267
+ concept_code: z.string(),
1268
+ session_id: LessonCodeSchema,
1269
+ encounter_index: z.number().int().positive(),
1270
+ bloom_cap: BloomLevelSchema,
1271
+ depth: DepthLevelSchema
1272
+ });
1273
+ var WalkingSkeletonSchema = z.object({
1274
+ epitome_unit_id: z.string().default("U01"),
1275
+ epitome_deliverables: z.array(z.string()).default([]),
1276
+ elaborations: z.array(z.object({
1277
+ unit_id: z.string(),
1278
+ focus_area: z.string(),
1279
+ elaborates_on: z.array(z.string()).default([])
1280
+ })).default([])
1281
+ });
1282
+ var MasteryGateSchema = z.object({
1283
+ phase_or_unit_id: z.string(),
1284
+ gate_name: z.string(),
1285
+ exit_criteria: z.array(z.string()).min(1),
1286
+ next_unit_id: z.string(),
1287
+ remediation: z.object({
1288
+ trigger: z.literal("FAIL_GATE_CRITERIA"),
1289
+ focus_minutes: z.number().int().default(15),
1290
+ action: z.string()
1291
+ })
1292
+ });
1293
+ var ConceptPrerequisiteEdgeSchema = z.object({
1294
+ concept_code: z.string(),
1295
+ requires: z.string(),
1296
+ source: z.enum(["MASTER_TREE", "INFERRED", "CONCEPT_LEVEL_PREREQ"]).default("CONCEPT_LEVEL_PREREQ"),
1297
+ confidence: z.number().min(0).max(1).default(0.8),
1298
+ rationale: z.string().default(""),
1299
+ structure_supported: z.boolean().default(true),
1300
+ needs_review: z.boolean().default(false),
1301
+ hub: z.boolean().default(false)
1302
+ });
1259
1303
  var SessionPlanSchema = z.object({
1260
1304
  id: LessonCodeSchema,
1261
1305
  unit_id: z.string().regex(/^U\d{2}$/),
@@ -1276,7 +1320,14 @@ var SessionPlanSchema = z.object({
1276
1320
  scaffold_decisions: z.array(ScaffoldDecisionEntrySchema).default([]),
1277
1321
  // What the student can demonstrate after this session — feeds exit tickets.
1278
1322
  exit_evidence: z.array(z.string()).min(1),
1279
- differentiation: z.object({ bronze: z.string(), silver: z.string(), gold: z.string() })
1323
+ differentiation: z.object({ bronze: z.string(), silver: z.string(), gold: z.string() }),
1324
+ // P50: ZPD cognitive load status for this session
1325
+ zpd_status: SessionZpdStatusSchema.default({
1326
+ verdict: "OK",
1327
+ new_concept_count: 0,
1328
+ known_concept_count: 0,
1329
+ issues: []
1330
+ })
1280
1331
  });
1281
1332
  var TranslationPolicySchema = z.object({
1282
1333
  policy: z.enum(["after_artifact", "end_of_unit", "at_publish", "native"]).default("native"),
@@ -1331,6 +1382,11 @@ var CurriculumPlanSchema = z.object({
1331
1382
  // [2]
1332
1383
  sessions: z.array(SessionPlanSchema).min(1),
1333
1384
  // [3][4][5][6]
1385
+ // P50: Macro-pedagogical course structures
1386
+ walking_skeleton: WalkingSkeletonSchema.optional(),
1387
+ mastery_gates: z.array(MasteryGateSchema).default([]),
1388
+ concept_spiral_progression: z.array(ConceptSpiralEncounterSchema).default([]),
1389
+ concept_prerequisites: z.array(ConceptPrerequisiteEdgeSchema).default([]),
1334
1390
  glossary_scope: z.array(z.object({
1335
1391
  session_id: LessonCodeSchema,
1336
1392
  terms: z.array(z.string())
@@ -1525,6 +1581,6 @@ var RoadmapInputSchema = z.object({
1525
1581
  phases: z.array(PhaseInputSchema).default([])
1526
1582
  });
1527
1583
 
1528
- export { ActiveLearningWorkflowSchema, ActivityLabSchema, ActivitySeqRowSchema, ActivityStepSchema, ArtifactContractRowSchema, AssessmentMapRowSchema, AssessmentObjectiveSchema, BellRingerDaySchema, BellRingerSchema, BloomLevelSchema, BronzeTierSchema, CERConclusionSchema, CardTierEnum, ChoiceBoardRubricRowSchema, ChoiceBoardSchema, ChoiceRuleSchema, ChoiceSquareSchema, CodeLabSchema, CodeSnippetSchema, CompetencyRubricRowSchema, ComputationalThinkingSchema, CoreConceptSchema, CourseObjectiveSchema, CoverageReportSchema, CurriculumArtifactSchema, CurriculumPlanSchema, CurriculumQualityReportSchema, DependencyEdgeSchema, DepthAssignmentSchema, DepthLevelSchema, DiagnosticQuestionSchema, DiagnosticQuizSchema, EDPPhaseEnum, EntryLevelSchema, ExitTicketBugHuntSchema, ExitTicketMetacognitionSchema, ExitTicketQuickItemSchema, ExitTicketRecallPromptSchema, ExitTicketSchema, ExperimentalDesignSchema, ExtensionChallengeSchema, ExtensionSchema, FiveEFlowPhaseSchema, FiveEPhaseEnum, GlossaryQuickRefRowSchema, GlossarySchema, GlossaryTermSchema, GoldTierSchema, GraphicOrganizerItemSchema, GraphicOrganizerSchema, HandoutSchema, HandoutSectionSchema, InstructionSectionSchema, InstructionStepSchema, JudgeCriterionSchema, LabTierTaskSchema, LearningObjectiveInputSchema, LearningObjectiveRowSchema, LessonFlowPhaseSchema, LessonPlan5ESchema, LessonPlanEDPSchema, LessonPlanSchema, LessonSectionSchema, MarpSlideSchema, MentorCheatsheetSchema, MilestoneInputSchema, MisconceptionSchema, NodeKindSchema, OrganizerTypeEnum, PhaseInputSchema, PlanConstraintsSchema, PlannerInputSchema, PlanningGraphSchema, PlanningNodeSchema, PrerequisiteDecisionEntrySchema, PrerequisiteDecisionSchema, ProductGoalSchema, ProgressiveHintsSchema, ProjectGraphSchema, ProjectInstructionSchema, ProjectProfileSchema, QualityAuditVerdictSchema, QuizOptionSchema, ResourceMapRowSchema, ReviewGameExportRowSchema, ReviewGameQuestionSchema, ReviewGameSchema, RoadmapInputSchema, RotationStationSchema, RubricCriteriaSchema, RubricSchema, ScaffoldDecisionEntrySchema, ScaffoldDecisionSchema, ScienceLabSchema, ScoringRubricRowSchema, SelfLabSchema, SelfPacedBundleSchema, SelfPacedChallengeSchema, SessionPlanSchema, SilverTierSchema, SlideDeckSchema, StandardizedTermRowSchema, StationRecordRowSchema, StationRotationSchema, StationTypeEnum, TaskCardSchema, TaskCardsSchema, TeacherGuideSchema, TeachingScriptPhaseSchema, TierLevelEnum, TierObjectiveSchema, TieredPracticeSchema, TranslationPolicySchema, TroubleshootingEntrySchema, TroubleshootingRowSchema, UnitPlanSchema, UserJourneySchema, WorksheetItemSchema, WorksheetItemTypeEnum, WorksheetPartSchema, WorksheetSchema, validateCurriculumPlan };
1584
+ export { ActiveLearningWorkflowSchema, ActivityLabSchema, ActivitySeqRowSchema, ActivityStepSchema, ArtifactContractRowSchema, AssessmentMapRowSchema, AssessmentObjectiveSchema, BellRingerDaySchema, BellRingerSchema, BloomLevelSchema, BronzeTierSchema, CERConclusionSchema, CardTierEnum, ChoiceBoardRubricRowSchema, ChoiceBoardSchema, ChoiceRuleSchema, ChoiceSquareSchema, CodeLabSchema, CodeSnippetSchema, CompetencyRubricRowSchema, ComputationalThinkingSchema, ConceptPrerequisiteEdgeSchema, ConceptSpiralEncounterSchema, CoreConceptSchema, CourseObjectiveSchema, CoverageReportSchema, CurriculumArtifactSchema, CurriculumPlanSchema, CurriculumQualityReportSchema, DependencyEdgeSchema, DepthAssignmentSchema, DepthLevelSchema, DiagnosticQuestionSchema, DiagnosticQuizSchema, EDPPhaseEnum, EntryLevelSchema, ExitTicketBugHuntSchema, ExitTicketMetacognitionSchema, ExitTicketQuickItemSchema, ExitTicketRecallPromptSchema, ExitTicketSchema, ExperimentalDesignSchema, ExtensionChallengeSchema, ExtensionSchema, FiveEFlowPhaseSchema, FiveEPhaseEnum, GlossaryQuickRefRowSchema, GlossarySchema, GlossaryTermSchema, GoldTierSchema, GraphicOrganizerItemSchema, GraphicOrganizerSchema, HandoutSchema, HandoutSectionSchema, InstructionSectionSchema, InstructionStepSchema, JudgeCriterionSchema, LabTierTaskSchema, LearningObjectiveInputSchema, LearningObjectiveRowSchema, LessonFlowPhaseSchema, LessonPlan5ESchema, LessonPlanEDPSchema, LessonPlanSchema, LessonSectionSchema, MarpSlideSchema, MasteryGateSchema, MentorCheatsheetSchema, MilestoneInputSchema, MisconceptionSchema, NodeKindSchema, OrganizerTypeEnum, PhaseInputSchema, PlanConstraintsSchema, PlannerInputSchema, PlanningGraphSchema, PlanningNodeSchema, PrerequisiteDecisionEntrySchema, PrerequisiteDecisionSchema, ProductGoalSchema, ProgressiveHintsSchema, ProjectGraphSchema, ProjectInstructionSchema, ProjectProfileSchema, QualityAuditVerdictSchema, QuizOptionSchema, ResourceMapRowSchema, ReviewGameExportRowSchema, ReviewGameQuestionSchema, ReviewGameSchema, RoadmapInputSchema, RotationStationSchema, RubricCriteriaSchema, RubricSchema, ScaffoldDecisionEntrySchema, ScaffoldDecisionSchema, ScienceLabSchema, ScoringRubricRowSchema, SelfLabSchema, SelfPacedBundleSchema, SelfPacedChallengeSchema, SessionPlanSchema, SessionZpdStatusSchema, SilverTierSchema, SlideDeckSchema, StandardizedTermRowSchema, StationRecordRowSchema, StationRotationSchema, StationTypeEnum, TaskCardSchema, TaskCardsSchema, TeacherGuideSchema, TeachingScriptPhaseSchema, TierLevelEnum, TierObjectiveSchema, TieredPracticeSchema, TranslationPolicySchema, TroubleshootingEntrySchema, TroubleshootingRowSchema, UnitPlanSchema, UserJourneySchema, WalkingSkeletonSchema, WorksheetItemSchema, WorksheetItemTypeEnum, WorksheetPartSchema, WorksheetSchema, ZpdVerdictSchema, validateCurriculumPlan };
1529
1585
  //# sourceMappingURL=index.mjs.map
1530
1586
  //# sourceMappingURL=index.mjs.map