@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
package/dist/ai/index.cjs CHANGED
@@ -3819,6 +3819,50 @@ var ScaffoldDecisionEntrySchema = zod.z.object({
3819
3819
  minutes_saved: zod.z.number().int().nonnegative().default(0),
3820
3820
  reason: zod.z.string().min(3)
3821
3821
  });
3822
+ var ZpdVerdictSchema = zod.z.enum(["OK", "TOO_MANY_NEW", "NO_ZPD_BRIDGE"]);
3823
+ var SessionZpdStatusSchema = zod.z.object({
3824
+ verdict: ZpdVerdictSchema,
3825
+ new_concept_count: zod.z.number().int().nonnegative().default(0),
3826
+ known_concept_count: zod.z.number().int().nonnegative().default(0),
3827
+ issues: zod.z.array(zod.z.string()).default([])
3828
+ });
3829
+ var ConceptSpiralEncounterSchema = zod.z.object({
3830
+ concept_code: zod.z.string(),
3831
+ session_id: LessonCodeSchema,
3832
+ encounter_index: zod.z.number().int().positive(),
3833
+ bloom_cap: BloomLevelSchema,
3834
+ depth: DepthLevelSchema
3835
+ });
3836
+ var WalkingSkeletonSchema = zod.z.object({
3837
+ epitome_unit_id: zod.z.string().default("U01"),
3838
+ epitome_deliverables: zod.z.array(zod.z.string()).default([]),
3839
+ elaborations: zod.z.array(zod.z.object({
3840
+ unit_id: zod.z.string(),
3841
+ focus_area: zod.z.string(),
3842
+ elaborates_on: zod.z.array(zod.z.string()).default([])
3843
+ })).default([])
3844
+ });
3845
+ var MasteryGateSchema = zod.z.object({
3846
+ phase_or_unit_id: zod.z.string(),
3847
+ gate_name: zod.z.string(),
3848
+ exit_criteria: zod.z.array(zod.z.string()).min(1),
3849
+ next_unit_id: zod.z.string(),
3850
+ remediation: zod.z.object({
3851
+ trigger: zod.z.literal("FAIL_GATE_CRITERIA"),
3852
+ focus_minutes: zod.z.number().int().default(15),
3853
+ action: zod.z.string()
3854
+ })
3855
+ });
3856
+ var ConceptPrerequisiteEdgeSchema = zod.z.object({
3857
+ concept_code: zod.z.string(),
3858
+ requires: zod.z.string(),
3859
+ source: zod.z.enum(["MASTER_TREE", "INFERRED", "CONCEPT_LEVEL_PREREQ"]).default("CONCEPT_LEVEL_PREREQ"),
3860
+ confidence: zod.z.number().min(0).max(1).default(0.8),
3861
+ rationale: zod.z.string().default(""),
3862
+ structure_supported: zod.z.boolean().default(true),
3863
+ needs_review: zod.z.boolean().default(false),
3864
+ hub: zod.z.boolean().default(false)
3865
+ });
3822
3866
  var SessionPlanSchema = zod.z.object({
3823
3867
  id: LessonCodeSchema,
3824
3868
  unit_id: zod.z.string().regex(/^U\d{2}$/),
@@ -3839,7 +3883,14 @@ var SessionPlanSchema = zod.z.object({
3839
3883
  scaffold_decisions: zod.z.array(ScaffoldDecisionEntrySchema).default([]),
3840
3884
  // What the student can demonstrate after this session — feeds exit tickets.
3841
3885
  exit_evidence: zod.z.array(zod.z.string()).min(1),
3842
- differentiation: zod.z.object({ bronze: zod.z.string(), silver: zod.z.string(), gold: zod.z.string() })
3886
+ differentiation: zod.z.object({ bronze: zod.z.string(), silver: zod.z.string(), gold: zod.z.string() }),
3887
+ // P50: ZPD cognitive load status for this session
3888
+ zpd_status: SessionZpdStatusSchema.default({
3889
+ verdict: "OK",
3890
+ new_concept_count: 0,
3891
+ known_concept_count: 0,
3892
+ issues: []
3893
+ })
3843
3894
  });
3844
3895
  var TranslationPolicySchema = zod.z.object({
3845
3896
  policy: zod.z.enum(["after_artifact", "end_of_unit", "at_publish", "native"]).default("native"),
@@ -3894,6 +3945,11 @@ zod.z.object({
3894
3945
  // [2]
3895
3946
  sessions: zod.z.array(SessionPlanSchema).min(1),
3896
3947
  // [3][4][5][6]
3948
+ // P50: Macro-pedagogical course structures
3949
+ walking_skeleton: WalkingSkeletonSchema.optional(),
3950
+ mastery_gates: zod.z.array(MasteryGateSchema).default([]),
3951
+ concept_spiral_progression: zod.z.array(ConceptSpiralEncounterSchema).default([]),
3952
+ concept_prerequisites: zod.z.array(ConceptPrerequisiteEdgeSchema).default([]),
3897
3953
  glossary_scope: zod.z.array(zod.z.object({
3898
3954
  session_id: LessonCodeSchema,
3899
3955
  terms: zod.z.array(zod.z.string())