@thanh01.pmt/curriculum-kit 1.4.48 → 1.4.49

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.
@@ -264,23 +264,32 @@ declare function streamLessonMasterFlow(input: StreamLessonMasterInput): Promise
264
264
  lessonId?: string | undefined;
265
265
  title?: string | undefined;
266
266
  language?: string | undefined;
267
- topic?: string | undefined;
268
- targetGradeOrAudience?: string | undefined;
269
- overview?: string | undefined;
270
267
  learningObjectives?: ({
271
268
  code?: string | undefined;
272
- name?: string | undefined;
269
+ successCriteria?: string | undefined;
273
270
  description?: string | undefined;
271
+ name?: string | undefined;
274
272
  bloomLevel?: string | undefined;
275
- successCriteria?: string | undefined;
276
273
  standardRefs?: (string | undefined)[] | undefined;
277
274
  conceptRefs?: (string | undefined)[] | undefined;
278
275
  } | undefined)[] | undefined;
276
+ teacherNotes?: {
277
+ commonPitfalls?: (string | undefined)[] | undefined;
278
+ troubleshootingMatrix?: ({
279
+ issue?: string | undefined;
280
+ potentialCause?: string | undefined;
281
+ solution?: string | undefined;
282
+ } | undefined)[] | undefined;
283
+ extensionNotes?: string | undefined;
284
+ } | undefined;
285
+ hookScenario?: string | undefined;
286
+ keywords?: (string | undefined)[] | undefined;
287
+ topic?: string | undefined;
288
+ targetGradeOrAudience?: string | undefined;
289
+ overview?: string | undefined;
279
290
  prerequisites?: string | undefined;
280
291
  materialsSummary?: string | undefined;
281
- keywords?: (string | undefined)[] | undefined;
282
292
  hookTitle?: string | undefined;
283
- hookScenario?: string | undefined;
284
293
  hookQuestions?: (string | undefined)[] | undefined;
285
294
  coreConcepts?: ({
286
295
  name?: string | undefined;
@@ -298,8 +307,8 @@ declare function streamLessonMasterFlow(input: StreamLessonMasterInput): Promise
298
307
  goldTier?: string | undefined;
299
308
  } | undefined;
300
309
  sections?: ({
301
- title?: string | undefined;
302
310
  durationMinutes?: number | undefined;
311
+ title?: string | undefined;
303
312
  teacherActions?: string | undefined;
304
313
  studentActions?: string | undefined;
305
314
  analogies?: (string | undefined)[] | undefined;
@@ -310,15 +319,6 @@ declare function streamLessonMasterFlow(input: StreamLessonMasterInput): Promise
310
319
  expectedAnswerOrRubric?: string | undefined;
311
320
  metacognitivePrompt?: string | undefined;
312
321
  } | undefined;
313
- teacherNotes?: {
314
- commonPitfalls?: (string | undefined)[] | undefined;
315
- troubleshootingMatrix?: ({
316
- issue?: string | undefined;
317
- potentialCause?: string | undefined;
318
- solution?: string | undefined;
319
- } | undefined)[] | undefined;
320
- extensionNotes?: string | undefined;
321
- } | undefined;
322
322
  guidedPractice?: {
323
323
  title?: string | undefined;
324
324
  explanation?: string | undefined;
@@ -327,31 +327,40 @@ declare function streamLessonMasterFlow(input: StreamLessonMasterInput): Promise
327
327
  mermaidDiagram?: string | undefined;
328
328
  } | undefined;
329
329
  independentPractice?: {
330
- title?: string | undefined;
331
330
  description?: string | undefined;
331
+ title?: string | undefined;
332
332
  } | undefined;
333
333
  }, {
334
334
  artifactType: "LESSON";
335
335
  lessonId: string;
336
336
  title: string;
337
337
  language: string;
338
- topic: string;
339
- targetGradeOrAudience: string;
340
- overview: string;
341
338
  learningObjectives: {
342
339
  code: string;
343
- name: string;
340
+ successCriteria: string;
344
341
  description: string;
342
+ name: string;
345
343
  bloomLevel: string;
346
- successCriteria: string;
347
344
  standardRefs?: string[] | undefined;
348
345
  conceptRefs?: string[] | undefined;
349
346
  }[];
347
+ teacherNotes: {
348
+ commonPitfalls: string[];
349
+ troubleshootingMatrix: {
350
+ issue: string;
351
+ potentialCause: string;
352
+ solution: string;
353
+ }[];
354
+ extensionNotes: string;
355
+ };
356
+ hookScenario: string;
357
+ keywords: string[];
358
+ topic: string;
359
+ targetGradeOrAudience: string;
360
+ overview: string;
350
361
  prerequisites: string;
351
362
  materialsSummary: string;
352
- keywords: string[];
353
363
  hookTitle: string;
354
- hookScenario: string;
355
364
  hookQuestions: string[];
356
365
  coreConcepts: {
357
366
  name: string;
@@ -369,8 +378,8 @@ declare function streamLessonMasterFlow(input: StreamLessonMasterInput): Promise
369
378
  goldTier: string;
370
379
  };
371
380
  sections: {
372
- title: string;
373
381
  durationMinutes: number;
382
+ title: string;
374
383
  teacherActions: string;
375
384
  studentActions: string;
376
385
  analogies: string[];
@@ -381,15 +390,6 @@ declare function streamLessonMasterFlow(input: StreamLessonMasterInput): Promise
381
390
  expectedAnswerOrRubric: string;
382
391
  metacognitivePrompt: string;
383
392
  };
384
- teacherNotes: {
385
- commonPitfalls: string[];
386
- troubleshootingMatrix: {
387
- issue: string;
388
- potentialCause: string;
389
- solution: string;
390
- }[];
391
- extensionNotes: string;
392
- };
393
393
  guidedPractice?: {
394
394
  title: string;
395
395
  explanation: string;
@@ -398,8 +398,8 @@ declare function streamLessonMasterFlow(input: StreamLessonMasterInput): Promise
398
398
  mermaidDiagram: string;
399
399
  } | undefined;
400
400
  independentPractice?: {
401
- title: string;
402
401
  description: string;
402
+ title: string;
403
403
  } | undefined;
404
404
  }, never>>;
405
405
 
@@ -422,11 +422,11 @@ declare function streamSelfLabFlow(input: StreamSelfLabInput): Promise<ai.Stream
422
422
  techStack?: (string | undefined)[] | undefined;
423
423
  challenges?: {
424
424
  bronze?: {
425
- title?: string | undefined;
426
425
  objective?: string | undefined;
427
- tier?: "bronze" | "silver" | "gold" | undefined;
426
+ title?: string | undefined;
428
427
  expectedOutput?: string | undefined;
429
428
  estimatedMinutes?: number | undefined;
429
+ tier?: "bronze" | "silver" | "gold" | undefined;
430
430
  tasks?: (string | undefined)[] | undefined;
431
431
  verifyCommand?: string | undefined;
432
432
  hints?: {
@@ -439,11 +439,11 @@ declare function streamSelfLabFlow(input: StreamSelfLabInput): Promise<ai.Stream
439
439
  } | undefined;
440
440
  } | undefined;
441
441
  silver?: {
442
- title?: string | undefined;
443
442
  objective?: string | undefined;
444
- tier?: "bronze" | "silver" | "gold" | undefined;
443
+ title?: string | undefined;
445
444
  expectedOutput?: string | undefined;
446
445
  estimatedMinutes?: number | undefined;
446
+ tier?: "bronze" | "silver" | "gold" | undefined;
447
447
  tasks?: (string | undefined)[] | undefined;
448
448
  verifyCommand?: string | undefined;
449
449
  hints?: {
@@ -456,11 +456,11 @@ declare function streamSelfLabFlow(input: StreamSelfLabInput): Promise<ai.Stream
456
456
  } | undefined;
457
457
  } | undefined;
458
458
  gold?: {
459
- title?: string | undefined;
460
459
  objective?: string | undefined;
461
- tier?: "bronze" | "silver" | "gold" | undefined;
460
+ title?: string | undefined;
462
461
  expectedOutput?: string | undefined;
463
462
  estimatedMinutes?: number | undefined;
463
+ tier?: "bronze" | "silver" | "gold" | undefined;
464
464
  tasks?: (string | undefined)[] | undefined;
465
465
  verifyCommand?: string | undefined;
466
466
  hints?: {
@@ -491,11 +491,11 @@ declare function streamSelfLabFlow(input: StreamSelfLabInput): Promise<ai.Stream
491
491
  techStack: string[];
492
492
  challenges: {
493
493
  bronze: {
494
- title: string;
495
494
  objective: string;
496
- tier: "bronze" | "silver" | "gold";
495
+ title: string;
497
496
  expectedOutput: string;
498
497
  estimatedMinutes: number;
498
+ tier: "bronze" | "silver" | "gold";
499
499
  tasks: string[];
500
500
  verifyCommand: string;
501
501
  hints: {
@@ -508,11 +508,11 @@ declare function streamSelfLabFlow(input: StreamSelfLabInput): Promise<ai.Stream
508
508
  };
509
509
  };
510
510
  silver: {
511
- title: string;
512
511
  objective: string;
513
- tier: "bronze" | "silver" | "gold";
512
+ title: string;
514
513
  expectedOutput: string;
515
514
  estimatedMinutes: number;
515
+ tier: "bronze" | "silver" | "gold";
516
516
  tasks: string[];
517
517
  verifyCommand: string;
518
518
  hints: {
@@ -525,11 +525,11 @@ declare function streamSelfLabFlow(input: StreamSelfLabInput): Promise<ai.Stream
525
525
  };
526
526
  };
527
527
  gold: {
528
- title: string;
529
528
  objective: string;
530
- tier: "bronze" | "silver" | "gold";
529
+ title: string;
531
530
  expectedOutput: string;
532
531
  estimatedMinutes: number;
532
+ tier: "bronze" | "silver" | "gold";
533
533
  tasks: string[];
534
534
  verifyCommand: string;
535
535
  hints: {
@@ -561,21 +561,14 @@ declare function streamDiagnosticQuizFlow(input: StreamDiagnosticQuizInput): Pro
561
561
  artifactType?: "QUIZ" | undefined;
562
562
  title?: string | undefined;
563
563
  language?: string | undefined;
564
- rubric?: ({
565
- exemplary?: string | undefined;
566
- proficient?: string | undefined;
567
- developing?: string | undefined;
568
- competencyDimension?: string | undefined;
569
- advanced?: string | undefined;
570
- } | undefined)[] | undefined;
571
564
  quizId?: string | undefined;
572
565
  totalQuestions?: number | undefined;
573
566
  timeAllocationMinutes?: number | undefined;
574
567
  passingScorePct?: number | undefined;
575
568
  assessmentObjectives?: ({
576
- bloomLevel?: "Remember" | "Understand" | "Apply" | "Analyze" | "Evaluate" | "Create" | undefined;
577
- standardRefs?: (string | undefined)[] | undefined;
578
569
  objective?: string | undefined;
570
+ standardRefs?: (string | undefined)[] | undefined;
571
+ bloomLevel?: "Create" | "Evaluate" | "Remember" | "Understand" | "Apply" | "Analyze" | undefined;
579
572
  aoCode?: string | undefined;
580
573
  alignedLO?: string | undefined;
581
574
  } | undefined)[] | undefined;
@@ -586,10 +579,10 @@ declare function streamDiagnosticQuizFlow(input: StreamDiagnosticQuizInput): Pro
586
579
  text?: string | undefined;
587
580
  isCorrect?: boolean | undefined;
588
581
  } | undefined)[] | undefined;
589
- bloomLevel?: "understand" | "create" | "Remember" | "Understand" | "Apply" | "Analyze" | "Evaluate" | "Create" | "remember" | "apply" | "analyze" | "evaluate" | undefined;
582
+ bloomLevel?: "create" | "Create" | "Evaluate" | "understand" | "Remember" | "Understand" | "Apply" | "Analyze" | "remember" | "apply" | "analyze" | "evaluate" | undefined;
590
583
  codeLanguage?: string | undefined;
591
584
  id?: string | undefined;
592
- questionType?: "multiple_choice" | "code_analysis" | "matching" | "open_ended" | undefined;
585
+ questionType?: "multiple_choice" | "matching" | "code_analysis" | "open_ended" | undefined;
593
586
  codeSnippet?: string | undefined;
594
587
  alignedAO?: string | undefined;
595
588
  scenarioOrStem?: string | undefined;
@@ -599,25 +592,25 @@ declare function streamDiagnosticQuizFlow(input: StreamDiagnosticQuizInput): Pro
599
592
  teacherNote?: string | undefined;
600
593
  takeawayMessage?: string | undefined;
601
594
  } | undefined)[] | undefined;
595
+ rubric?: ({
596
+ proficient?: string | undefined;
597
+ advanced?: string | undefined;
598
+ competencyDimension?: string | undefined;
599
+ developing?: string | undefined;
600
+ exemplary?: string | undefined;
601
+ } | undefined)[] | undefined;
602
602
  }, {
603
603
  artifactType: "QUIZ";
604
604
  title: string;
605
605
  language: string;
606
- rubric: {
607
- exemplary: string;
608
- proficient: string;
609
- developing: string;
610
- competencyDimension: string;
611
- advanced: string;
612
- }[];
613
606
  quizId: string;
614
607
  totalQuestions: number;
615
608
  timeAllocationMinutes: number;
616
609
  passingScorePct: number;
617
610
  assessmentObjectives: {
618
- bloomLevel: "Remember" | "Understand" | "Apply" | "Analyze" | "Evaluate" | "Create";
619
- standardRefs: string[];
620
611
  objective: string;
612
+ standardRefs: string[];
613
+ bloomLevel: "Create" | "Evaluate" | "Remember" | "Understand" | "Apply" | "Analyze";
621
614
  aoCode: string;
622
615
  alignedLO: string;
623
616
  }[];
@@ -628,10 +621,10 @@ declare function streamDiagnosticQuizFlow(input: StreamDiagnosticQuizInput): Pro
628
621
  text: string;
629
622
  isCorrect: boolean;
630
623
  }[];
631
- bloomLevel: "understand" | "create" | "Remember" | "Understand" | "Apply" | "Analyze" | "Evaluate" | "Create" | "remember" | "apply" | "analyze" | "evaluate";
624
+ bloomLevel: "create" | "Create" | "Evaluate" | "understand" | "Remember" | "Understand" | "Apply" | "Analyze" | "remember" | "apply" | "analyze" | "evaluate";
632
625
  codeLanguage: string;
633
626
  id: string;
634
- questionType: "multiple_choice" | "code_analysis" | "matching" | "open_ended";
627
+ questionType: "multiple_choice" | "matching" | "code_analysis" | "open_ended";
635
628
  codeSnippet?: string | undefined;
636
629
  alignedAO?: string | undefined;
637
630
  scenarioOrStem?: string | undefined;
@@ -641,6 +634,13 @@ declare function streamDiagnosticQuizFlow(input: StreamDiagnosticQuizInput): Pro
641
634
  teacherNote?: string | undefined;
642
635
  takeawayMessage?: string | undefined;
643
636
  }[];
637
+ rubric: {
638
+ proficient: string;
639
+ advanced: string;
640
+ competencyDimension: string;
641
+ developing: string;
642
+ exemplary: string;
643
+ }[];
644
644
  }, never>>;
645
645
 
646
646
  /**
@@ -887,6 +887,7 @@ declare const contentTools: {
887
887
  }>, "many">;
888
888
  durationMinutes: z.ZodDefault<z.ZodNumber>;
889
889
  }, "strip", z.ZodTypeAny, {
890
+ durationMinutes: number;
890
891
  lessonId: string;
891
892
  title: string;
892
893
  learningObjectives: {
@@ -894,7 +895,6 @@ declare const contentTools: {
894
895
  statement: string;
895
896
  standardRefs?: string[] | undefined;
896
897
  }[];
897
- durationMinutes: number;
898
898
  }, {
899
899
  lessonId: string;
900
900
  title: string;
@@ -1054,19 +1054,19 @@ declare const assessorTools: {
1054
1054
  levels: Record<string, string>;
1055
1055
  }>, "many">;
1056
1056
  }, "strip", z.ZodTypeAny, {
1057
- lessonId: string;
1058
1057
  criteria: {
1059
1058
  criterionName: string;
1060
1059
  weight: number;
1061
1060
  levels: Record<string, string>;
1062
1061
  }[];
1063
- }, {
1064
1062
  lessonId: string;
1063
+ }, {
1065
1064
  criteria: {
1066
1065
  criterionName: string;
1067
1066
  weight: number;
1068
1067
  levels: Record<string, string>;
1069
1068
  }[];
1069
+ lessonId: string;
1070
1070
  }>;
1071
1071
  };
1072
1072
  };
@@ -1109,12 +1109,12 @@ declare const techSmeTools: {
1109
1109
  code: z.ZodString;
1110
1110
  expectedOutput: z.ZodOptional<z.ZodString>;
1111
1111
  }, "strip", z.ZodTypeAny, {
1112
- language: "swift" | "python" | "javascript" | "html_css";
1113
1112
  code: string;
1113
+ language: "swift" | "python" | "javascript" | "html_css";
1114
1114
  expectedOutput?: string | undefined;
1115
1115
  }, {
1116
- language: "swift" | "python" | "javascript" | "html_css";
1117
1116
  code: string;
1117
+ language: "swift" | "python" | "javascript" | "html_css";
1118
1118
  expectedOutput?: string | undefined;
1119
1119
  }>;
1120
1120
  };
@@ -1125,11 +1125,11 @@ declare const techSmeTools: {
1125
1125
  language: z.ZodString;
1126
1126
  code: z.ZodString;
1127
1127
  }, "strip", z.ZodTypeAny, {
1128
- language: string;
1129
1128
  code: string;
1130
- }, {
1131
1129
  language: string;
1130
+ }, {
1132
1131
  code: string;
1132
+ language: string;
1133
1133
  }>;
1134
1134
  };
1135
1135
  };