@thanh01.pmt/curriculum-kit 1.4.40 → 1.4.41

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.d.cts CHANGED
@@ -10,8 +10,8 @@ export { A as AutoRepairOptions, a as AutoRepairResult, B as BundleTier, G as Ge
10
10
  import { I as ICurriculumStorage, P as ProjectStatusReport, S as SmartResumeContext, Q as QualityAuditReport } from './types-Bgk-C4K2.cjs';
11
11
  export { b as ArtifactLifecycleInfo, A as ArtifactLifecycleState, L as LessonArtifactSummary, c as PipelineState, R as ReviewRecord, a as SotDocument, T as TaskLifecycleState } from './types-Bgk-C4K2.cjs';
12
12
  export { FileSystemCurriculumAdapter, FileSystemStorageOptions, STANDARD_SOT_FILES, StorageFactoryOptions, SupabaseCurriculumAdapter, SupabaseStorageConfig, atomicWriteFileSync, computeContentHash, createCurriculumStorage } from './storage/index.cjs';
13
- import { F as FrameworkPack, C as CoverageGateReport } from './standardsCoverageGate-49pJq5t8.cjs';
14
- export { B as BloomHintSchema, a as ClassificationSchema, m as CoverageGateInput, h as FrameworkMapping, d as FrameworkMappingSchema, f as FrameworkPackManifest, b as FrameworkPackManifestSchema, e as FrameworkPackSchema, g as FrameworkStatement, c as FrameworkStatementSchema, G as GradeBandSchema, i as MappingKind, M as MappingKindSchema, P as PackLintIssue, k as PackValidationResult, j as RecordProvenance, R as RecordProvenanceSchema, S as StatementCoverageRow, n as evaluateStandardsCoverage, l as lintFrameworkPack, v as validateFrameworkPack } from './standardsCoverageGate-49pJq5t8.cjs';
13
+ import { F as FrameworkPack, C as CoverageGateReport } from './standardsCoverageGate-CLnq0d0s.cjs';
14
+ export { B as BloomHintSchema, a as ClassificationSchema, m as CoverageGateInput, h as FrameworkMapping, d as FrameworkMappingSchema, f as FrameworkPackManifest, b as FrameworkPackManifestSchema, e as FrameworkPackSchema, g as FrameworkStatement, c as FrameworkStatementSchema, G as GradeBandSchema, i as MappingKind, M as MappingKindSchema, P as PackLintIssue, k as PackValidationResult, j as RecordProvenance, R as RecordProvenanceSchema, S as StatementCoverageRow, n as evaluateStandardsCoverage, l as lintFrameworkPack, v as validateFrameworkPack } from './standardsCoverageGate-CLnq0d0s.cjs';
15
15
  import { z } from 'zod';
16
16
  import { R as ResolvedGateSettings } from './gateSettings-oo5tCUS_.cjs';
17
17
  export { A as ArtifactType, B as BoundaryPeek, b as CurriculumArtifactType, C as CurriculumGateMode, h as CurriculumHorizon, D as DEFAULT_GATE_SETTINGS, f as DetailedLessonBridge, E as ExtractCurriculumHorizonOptions, G as GateSettings, H as HorizonSessionSnapshot, i as HorizonValidationResult, c as ScaffoldingLevel, S as SingleArtifactRequest, a as SingleArtifactResult, k as extractCurriculumHorizon, g as gateModeFor, e as generateSingleArtifact, d as getArtifactMetadata, j as parseAllSessions, p as parseGateSettings, l as renderHorizonPromptBlock, r as resolveGateSettings, v as validateHorizonCompliance } from './gateSettings-oo5tCUS_.cjs';
@@ -249,16 +249,16 @@ declare const LessonEntitySchema: z.ZodObject<{
249
249
  conceptRefs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  code: string;
252
- objective: string;
253
- evidence: string;
254
252
  successCriteria: string;
255
253
  standardRefs: string[];
256
254
  conceptRefs: string[];
255
+ objective: string;
256
+ evidence: string;
257
257
  }, {
258
258
  code: string;
259
+ successCriteria: string;
259
260
  objective: string;
260
261
  evidence: string;
261
- successCriteria: string;
262
262
  standardRefs?: string[] | undefined;
263
263
  conceptRefs?: string[] | undefined;
264
264
  }>, "many">>;
@@ -275,6 +275,7 @@ declare const LessonEntitySchema: z.ZodObject<{
275
275
  durationMinutes: z.ZodDefault<z.ZodNumber>;
276
276
  artifactContract: z.ZodString;
277
277
  }, "strip", z.ZodTypeAny, {
278
+ durationMinutes: number;
278
279
  seq: number;
279
280
  phase: string;
280
281
  activityType: string;
@@ -284,7 +285,6 @@ declare const LessonEntitySchema: z.ZodObject<{
284
285
  teacherMove: string;
285
286
  outputEvidence: string;
286
287
  lo: string[];
287
- durationMinutes: number;
288
288
  artifactContract: string;
289
289
  }, {
290
290
  seq: number;
@@ -317,16 +317,17 @@ declare const LessonEntitySchema: z.ZodObject<{
317
317
  }, "strip", z.ZodTypeAny, {
318
318
  lessonId: string;
319
319
  title: string;
320
- estimatedDuration: string;
321
320
  learningObjectives: {
322
321
  code: string;
323
- objective: string;
324
- evidence: string;
325
322
  successCriteria: string;
326
323
  standardRefs: string[];
327
324
  conceptRefs: string[];
325
+ objective: string;
326
+ evidence: string;
328
327
  }[];
328
+ estimatedDuration: string;
329
329
  activitySequence: {
330
+ durationMinutes: number;
330
331
  seq: number;
331
332
  phase: string;
332
333
  activityType: string;
@@ -336,7 +337,6 @@ declare const LessonEntitySchema: z.ZodObject<{
336
337
  teacherMove: string;
337
338
  outputEvidence: string;
338
339
  lo: string[];
339
- durationMinutes: number;
340
340
  artifactContract: string;
341
341
  }[];
342
342
  assessmentMap: Record<string, string>[];
@@ -349,15 +349,15 @@ declare const LessonEntitySchema: z.ZodObject<{
349
349
  }, {
350
350
  lessonId: string;
351
351
  title: string;
352
- estimatedDuration?: string | undefined;
353
352
  learningObjectives?: {
354
353
  code: string;
354
+ successCriteria: string;
355
355
  objective: string;
356
356
  evidence: string;
357
- successCriteria: string;
358
357
  standardRefs?: string[] | undefined;
359
358
  conceptRefs?: string[] | undefined;
360
359
  }[] | undefined;
360
+ estimatedDuration?: string | undefined;
361
361
  activitySequence?: {
362
362
  seq: number;
363
363
  phase: string;
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ export { A as AutoRepairOptions, a as AutoRepairResult, B as BundleTier, G as Ge
10
10
  import { I as ICurriculumStorage, P as ProjectStatusReport, S as SmartResumeContext, Q as QualityAuditReport } from './types-Bgk-C4K2.js';
11
11
  export { b as ArtifactLifecycleInfo, A as ArtifactLifecycleState, L as LessonArtifactSummary, c as PipelineState, R as ReviewRecord, a as SotDocument, T as TaskLifecycleState } from './types-Bgk-C4K2.js';
12
12
  export { FileSystemCurriculumAdapter, FileSystemStorageOptions, STANDARD_SOT_FILES, StorageFactoryOptions, SupabaseCurriculumAdapter, SupabaseStorageConfig, atomicWriteFileSync, computeContentHash, createCurriculumStorage } from './storage/index.js';
13
- import { F as FrameworkPack, C as CoverageGateReport } from './standardsCoverageGate-49pJq5t8.js';
14
- export { B as BloomHintSchema, a as ClassificationSchema, m as CoverageGateInput, h as FrameworkMapping, d as FrameworkMappingSchema, f as FrameworkPackManifest, b as FrameworkPackManifestSchema, e as FrameworkPackSchema, g as FrameworkStatement, c as FrameworkStatementSchema, G as GradeBandSchema, i as MappingKind, M as MappingKindSchema, P as PackLintIssue, k as PackValidationResult, j as RecordProvenance, R as RecordProvenanceSchema, S as StatementCoverageRow, n as evaluateStandardsCoverage, l as lintFrameworkPack, v as validateFrameworkPack } from './standardsCoverageGate-49pJq5t8.js';
13
+ import { F as FrameworkPack, C as CoverageGateReport } from './standardsCoverageGate-CLnq0d0s.js';
14
+ export { B as BloomHintSchema, a as ClassificationSchema, m as CoverageGateInput, h as FrameworkMapping, d as FrameworkMappingSchema, f as FrameworkPackManifest, b as FrameworkPackManifestSchema, e as FrameworkPackSchema, g as FrameworkStatement, c as FrameworkStatementSchema, G as GradeBandSchema, i as MappingKind, M as MappingKindSchema, P as PackLintIssue, k as PackValidationResult, j as RecordProvenance, R as RecordProvenanceSchema, S as StatementCoverageRow, n as evaluateStandardsCoverage, l as lintFrameworkPack, v as validateFrameworkPack } from './standardsCoverageGate-CLnq0d0s.js';
15
15
  import { z } from 'zod';
16
16
  import { R as ResolvedGateSettings } from './gateSettings-oo5tCUS_.js';
17
17
  export { A as ArtifactType, B as BoundaryPeek, b as CurriculumArtifactType, C as CurriculumGateMode, h as CurriculumHorizon, D as DEFAULT_GATE_SETTINGS, f as DetailedLessonBridge, E as ExtractCurriculumHorizonOptions, G as GateSettings, H as HorizonSessionSnapshot, i as HorizonValidationResult, c as ScaffoldingLevel, S as SingleArtifactRequest, a as SingleArtifactResult, k as extractCurriculumHorizon, g as gateModeFor, e as generateSingleArtifact, d as getArtifactMetadata, j as parseAllSessions, p as parseGateSettings, l as renderHorizonPromptBlock, r as resolveGateSettings, v as validateHorizonCompliance } from './gateSettings-oo5tCUS_.js';
@@ -249,16 +249,16 @@ declare const LessonEntitySchema: z.ZodObject<{
249
249
  conceptRefs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  code: string;
252
- objective: string;
253
- evidence: string;
254
252
  successCriteria: string;
255
253
  standardRefs: string[];
256
254
  conceptRefs: string[];
255
+ objective: string;
256
+ evidence: string;
257
257
  }, {
258
258
  code: string;
259
+ successCriteria: string;
259
260
  objective: string;
260
261
  evidence: string;
261
- successCriteria: string;
262
262
  standardRefs?: string[] | undefined;
263
263
  conceptRefs?: string[] | undefined;
264
264
  }>, "many">>;
@@ -275,6 +275,7 @@ declare const LessonEntitySchema: z.ZodObject<{
275
275
  durationMinutes: z.ZodDefault<z.ZodNumber>;
276
276
  artifactContract: z.ZodString;
277
277
  }, "strip", z.ZodTypeAny, {
278
+ durationMinutes: number;
278
279
  seq: number;
279
280
  phase: string;
280
281
  activityType: string;
@@ -284,7 +285,6 @@ declare const LessonEntitySchema: z.ZodObject<{
284
285
  teacherMove: string;
285
286
  outputEvidence: string;
286
287
  lo: string[];
287
- durationMinutes: number;
288
288
  artifactContract: string;
289
289
  }, {
290
290
  seq: number;
@@ -317,16 +317,17 @@ declare const LessonEntitySchema: z.ZodObject<{
317
317
  }, "strip", z.ZodTypeAny, {
318
318
  lessonId: string;
319
319
  title: string;
320
- estimatedDuration: string;
321
320
  learningObjectives: {
322
321
  code: string;
323
- objective: string;
324
- evidence: string;
325
322
  successCriteria: string;
326
323
  standardRefs: string[];
327
324
  conceptRefs: string[];
325
+ objective: string;
326
+ evidence: string;
328
327
  }[];
328
+ estimatedDuration: string;
329
329
  activitySequence: {
330
+ durationMinutes: number;
330
331
  seq: number;
331
332
  phase: string;
332
333
  activityType: string;
@@ -336,7 +337,6 @@ declare const LessonEntitySchema: z.ZodObject<{
336
337
  teacherMove: string;
337
338
  outputEvidence: string;
338
339
  lo: string[];
339
- durationMinutes: number;
340
340
  artifactContract: string;
341
341
  }[];
342
342
  assessmentMap: Record<string, string>[];
@@ -349,15 +349,15 @@ declare const LessonEntitySchema: z.ZodObject<{
349
349
  }, {
350
350
  lessonId: string;
351
351
  title: string;
352
- estimatedDuration?: string | undefined;
353
352
  learningObjectives?: {
354
353
  code: string;
354
+ successCriteria: string;
355
355
  objective: string;
356
356
  evidence: string;
357
- successCriteria: string;
358
357
  standardRefs?: string[] | undefined;
359
358
  conceptRefs?: string[] | undefined;
360
359
  }[] | undefined;
360
+ estimatedDuration?: string | undefined;
361
361
  activitySequence?: {
362
362
  seq: number;
363
363
  phase: string;
package/dist/index.mjs CHANGED
@@ -32065,7 +32065,8 @@ var DeterministicStructuralLinter = class {
32065
32065
  const hasHeavyTech = heavyKeywords.some((k) => allTechStrings.includes(k));
32066
32066
  if (hasHeavyTech) {
32067
32067
  const declaredStrategy = scope?.provisioning_strategy || scope?.provisioning_model || graph.project?.provisioning_strategy;
32068
- const isValidStrategy = ENVIRONMENT_PROVISIONING_MODELS.includes(declaredStrategy);
32068
+ const normalizedStrategy = String(declaredStrategy || "").trim().toUpperCase().replace(/[-\s]/g, "_");
32069
+ const isValidStrategy = ENVIRONMENT_PROVISIONING_MODELS.includes(normalizedStrategy);
32069
32070
  if (!isValidStrategy) {
32070
32071
  score -= 15;
32071
32072
  findings.push({
@@ -32077,7 +32078,7 @@ var DeterministicStructuralLinter = class {
32077
32078
  remediationAdvice: `Specify provisioning_strategy as PRE_INSTALLED_LAB, CLOUD_MANAGED, or DEDICATED_SETUP to ensure classroom feasibility.`
32078
32079
  });
32079
32080
  } else {
32080
- strengths.push(`Heavy technology stack backed by explicit provisioning model: ${declaredStrategy}`);
32081
+ strengths.push(`Heavy technology stack backed by explicit provisioning model: ${normalizedStrategy}`);
32081
32082
  }
32082
32083
  }
32083
32084
  score = Math.max(0, Math.min(100, score));