@thanh01.pmt/curriculum-kit 1.4.45 → 1.4.46

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,11 +10,11 @@ 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-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';
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';
15
15
  import { z } from 'zod';
16
- import { R as ResolvedGateSettings } from './gateSettings-oo5tCUS_.cjs';
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';
16
+ import { R as ResolvedGateSettings } from './gateSettings-JoqERuS1.cjs';
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-JoqERuS1.cjs';
18
18
  export { DeliveryPackResult, JobManifest, LocalWorkspaceManager, ParsedQuizQuestion, buildDeliveryPackages, exportAllProjectQuizzes, formatQuizzesToCsv, parseQuizMarkdown } from './publishers/index.cjs';
19
19
  export { G as GitPublishOptions, a as GitPublishResult, S as SupabasePublishOptions, b as SupabasePublishResult, p as publishToGitHub, c as publishToSupabase, u as uploadAssetToBucket } from './supabasePublisher-C627qXFT.cjs';
20
20
  export { BUNDLED_STANDARDS_PACK_IDS, HydratedPack, ImportPackResult, STANDARD_REF_REGEX, SelectedStatement, StandardStackOptions, StandardsRegistryAdapter, StandardsRegistryConfig, StandardsSelectionInput, buildStandardStackMarkdown, buildStandardsContext, buildStandardsContextBlock, extractStandardRefs, findStandardStatement, resolveStandardsPacks, selectStatementsForLesson } from './standards/index.cjs';
@@ -176,11 +176,6 @@ interface ExcerptOptions {
176
176
  priorities?: string[];
177
177
  /** Character budget for the excerpt (default 12_000, ~3k tokens). */
178
178
  budget?: number;
179
- /**
180
- * Section Language Contract mapping (Record or raw contract markdown).
181
- * Used to resolve localized headings (e.g. Vietnamese) to canonical keys.
182
- */
183
- sectionLanguageContract?: Record<string, Record<string, string>> | string;
184
179
  /** File name or artifact type hint (e.g. 'LESSON', 'KNOWLEDGE_EXPOSITION'). */
185
180
  artifactType?: string;
186
181
  /**
@@ -218,10 +213,6 @@ declare const DEFAULT_KX_PRIORITIES: string[];
218
213
  declare function buildSectionAwareExcerpt(markdown: string, opts?: ExcerptOptions): ExcerptResult;
219
214
  declare function buildExpositionExcerpt(markdown: string, opts?: Omit<ExcerptOptions, 'priorities'>): ExcerptResult;
220
215
  declare function buildLessonExcerpt(markdown: string, opts?: Omit<ExcerptOptions, 'priorities'>): ExcerptResult;
221
- /**
222
- * Normalizes SLC input into a two-level map: Record<ArtifactType, Record<CanonicalKey, LocalizedLabel>>
223
- */
224
- declare function normalizeSlcContract(slc: Record<string, Record<string, string>> | string | undefined): Record<string, Record<string, string>> | undefined;
225
216
  /**
226
217
  * Extracts code symbol & identifier contracts from LESSON markdown.
227
218
  * Provides deterministic symbol names (Primary Struct/Class, Entry File, Key Functions)
@@ -249,16 +240,16 @@ declare const LessonEntitySchema: z.ZodObject<{
249
240
  conceptRefs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
250
241
  }, "strip", z.ZodTypeAny, {
251
242
  code: string;
243
+ objective: string;
244
+ evidence: string;
252
245
  successCriteria: string;
253
246
  standardRefs: string[];
254
247
  conceptRefs: string[];
255
- objective: string;
256
- evidence: string;
257
248
  }, {
258
249
  code: string;
259
- successCriteria: string;
260
250
  objective: string;
261
251
  evidence: string;
252
+ successCriteria: string;
262
253
  standardRefs?: string[] | undefined;
263
254
  conceptRefs?: string[] | undefined;
264
255
  }>, "many">>;
@@ -275,7 +266,6 @@ declare const LessonEntitySchema: z.ZodObject<{
275
266
  durationMinutes: z.ZodDefault<z.ZodNumber>;
276
267
  artifactContract: z.ZodString;
277
268
  }, "strip", z.ZodTypeAny, {
278
- durationMinutes: number;
279
269
  seq: number;
280
270
  phase: string;
281
271
  activityType: string;
@@ -285,6 +275,7 @@ declare const LessonEntitySchema: z.ZodObject<{
285
275
  teacherMove: string;
286
276
  outputEvidence: string;
287
277
  lo: string[];
278
+ durationMinutes: number;
288
279
  artifactContract: string;
289
280
  }, {
290
281
  seq: number;
@@ -317,17 +308,16 @@ declare const LessonEntitySchema: z.ZodObject<{
317
308
  }, "strip", z.ZodTypeAny, {
318
309
  lessonId: string;
319
310
  title: string;
311
+ estimatedDuration: string;
320
312
  learningObjectives: {
321
313
  code: string;
314
+ objective: string;
315
+ evidence: string;
322
316
  successCriteria: string;
323
317
  standardRefs: string[];
324
318
  conceptRefs: string[];
325
- objective: string;
326
- evidence: string;
327
319
  }[];
328
- estimatedDuration: string;
329
320
  activitySequence: {
330
- durationMinutes: number;
331
321
  seq: number;
332
322
  phase: string;
333
323
  activityType: string;
@@ -337,6 +327,7 @@ declare const LessonEntitySchema: z.ZodObject<{
337
327
  teacherMove: string;
338
328
  outputEvidence: string;
339
329
  lo: string[];
330
+ durationMinutes: number;
340
331
  artifactContract: string;
341
332
  }[];
342
333
  assessmentMap: Record<string, string>[];
@@ -349,15 +340,15 @@ declare const LessonEntitySchema: z.ZodObject<{
349
340
  }, {
350
341
  lessonId: string;
351
342
  title: string;
343
+ estimatedDuration?: string | undefined;
352
344
  learningObjectives?: {
353
345
  code: string;
354
- successCriteria: string;
355
346
  objective: string;
356
347
  evidence: string;
348
+ successCriteria: string;
357
349
  standardRefs?: string[] | undefined;
358
350
  conceptRefs?: string[] | undefined;
359
351
  }[] | undefined;
360
- estimatedDuration?: string | undefined;
361
352
  activitySequence?: {
362
353
  seq: number;
363
354
  phase: string;
@@ -445,8 +436,6 @@ interface SatelliteContextInput {
445
436
  * markdown excerpt becomes the fallback, not the parser target.
446
437
  */
447
438
  lessonEntity?: LessonEntity | null;
448
- /** Section Language Contract raw markdown (bilingual heading resolution). */
449
- slcMarkdown?: string;
450
439
  /** Symbol ledger block already rendered by the caller (appended to LESSON-primary and CODE contexts). */
451
440
  symbolLedgerBlock: string;
452
441
  /** Pedagogy label for the legacy composite heading (byte-compat with pre-P49). */
@@ -662,7 +651,6 @@ interface ProduceLessonOptions {
662
651
  force?: boolean;
663
652
  pedagogy?: PedagogicalModel;
664
653
  targetLanguage?: string;
665
- sectionLanguageContract?: string;
666
654
  slidesEngine?: 'html' | 'marp';
667
655
  /** Chiến lược batch (chỉ produceBatchLessons dùng). */
668
656
  batchStrategy?: 'depth_first_lesson' | 'breadth_first_artifact';
@@ -1234,7 +1222,6 @@ interface GenerateExpositionOptions {
1234
1222
  storage: ExpositionStorage;
1235
1223
  gates?: ResolvedGateSettings;
1236
1224
  targetLanguage?: string;
1237
- slcMarkdown?: Record<string, Record<string, string>> | string | null;
1238
1225
  techStack?: string;
1239
1226
  hardwarePlatform?: string;
1240
1227
  /** REFERENCE_PACK.md raw content — technical ground truth (versions, APIs).
@@ -1274,7 +1261,6 @@ declare function ensureExpositionForLesson(storage: ICurriculumStorage, projectI
1274
1261
  gates?: ResolvedGateSettings;
1275
1262
  force?: boolean;
1276
1263
  targetLanguage?: string;
1277
- slcMarkdown?: Record<string, Record<string, string>> | string | null;
1278
1264
  customInference?: StreamRunnerOptions['customInference'];
1279
1265
  techStack?: string;
1280
1266
  hardwarePlatform?: string;
@@ -1315,25 +1301,28 @@ declare function isTranslationDue(target: TranslationTarget, context: {
1315
1301
  }): boolean;
1316
1302
 
1317
1303
  /**
1318
- * Language Directive and Section Language Contract (SLC) resolution for Curriculum Generation.
1304
+ * Language Directive and section-heading resolution for Curriculum Generation.
1319
1305
  */
1320
1306
  declare function resolveTargetLanguageCode(language?: string | null): string;
1321
1307
  declare function targetLanguageDisplayName(code: string): string;
1322
1308
  declare function buildLanguageDirective(targetLanguage?: string | null): string;
1323
- declare function extractSectionHeadingsFromSLC(slcInput: Record<string, Record<string, string>> | string | undefined | null, artifactType: string, targetLanguage?: string): Record<string, string>;
1309
+ /**
1310
+ * Identity heading map from the resolved template's echo (canonical = display).
1311
+ */
1312
+ declare function extractSectionHeadings(artifactType: string, opts?: {
1313
+ templatesDir?: string;
1314
+ }): Record<string, string>;
1324
1315
  /**
1325
1316
  * Builds the heading directive block to instruct the LLM on section headings.
1326
1317
  *
1327
1318
  * P53 rev3 — one regime only: the resolved template's ECHO is the source.
1328
1319
  * - Translated project copy (declaredLang ≠ "en"): headings are already the
1329
- * display strings → identity mapping, "use verbatim".
1330
- * - Bundled English template: echo = English headings; the legacy SLC
1331
- * (old projects) may still supply localized display labels, intersected
1332
- * against the echo so stale entries are dropped.
1320
+ * display strings.
1321
+ * - Bundled English template: echo = English headings.
1333
1322
  * The frontmatter list is system-owned (it IS the echo), so the directive
1334
1323
  * tells the LLM to copy it verbatim — never to translate or invent entries.
1335
1324
  */
1336
- declare function buildHeadingDirective(artifactType: string, slcMarkdown?: Record<string, Record<string, string>> | string | null, targetLanguage?: string, opts?: {
1325
+ declare function buildHeadingDirective(artifactType: string, opts?: {
1337
1326
  templatesDir?: string;
1338
1327
  }): string;
1339
1328
 
@@ -1882,4 +1871,4 @@ declare class MisconceptionEvaluator {
1882
1871
  static evaluateQuiz(quiz: DiagnosticQuiz): DimensionScore;
1883
1872
  }
1884
1873
 
1885
- export { AIProviderName, ARTIFACT_DEPENDENCY_ROUTING, ARTIFACT_EXECUTION_ORDER, type AcademicAuditFinding, AcademicAuditor, type AcademicDimension, type ActivityAlignmentResult, ActivityLab, ActivitySeqRow, type ArtifactDependencyRule, type ArtifactProductionSpec, type ArtifactPromptParts, type AssembledTemplate, type AuditBundleInput, BLOOM_ACTION_VERBS, BloomTaxonomyEvaluator, type BuildContextOptions, CURRICULUM_SLASH_COMMANDS, ChunkType, CodeHardwareFeasibilityEvaluator, CodeLab, type ComprehensiveAcademicReport, ConceptPrerequisiteEdge, ConceptSpiralEncounter, ConstructiveAlignmentEvaluator, type ContextInjectionMeta, type ContextRoutingMode, type ContextSourceKey, CoverageGateReport, CrossArtifactDriftEvaluator, CurriculumError, type CurriculumErrorCode, type CurriculumErrorDetail, CurriculumPlan, DEFAULT_KX_PRIORITIES, DEFAULT_LESSON_PRIORITIES, DEFAULT_OVERHEAD_RATIO, DEFAULT_STREAM_IDLE_MS, DEFAULT_STREAM_TOTAL_MS, DependencyEdge, type DependencyValidationResult, DeterministicPipelineRunner, DeterministicStructuralLinter, DiagnosticQuiz, DiagnosticQuizInput, type DimensionScore, ENVIRONMENT_PROVISIONING_MODELS, EXPOSITION_REL, type EnvironmentProvisioningModel, type ExcerptOptions, type ExcerptResult, type ExecuteCommandResult, ExpositionApprovalError, type ExpositionLlmFn, type ExpositionResult, type ExpositionStorage, type ExtractedJson, type ExtractedStreamChunk, type FindingSeverity, FiveEInstructionalEvaluator, type FrameworkLintFinding, type FrameworkLintReport, FrameworkPack, type GenerateExpositionOptions, GeneratedSlideArraySchema, GeneratedSlideSchema, HybridBlueprintArraySchema, HybridBlueprintItemSchema, HybridDeckSlideArraySchema, HybridDeckSlideSchema, HybridPipelineError, ICurriculumStorage, JUDGE_AUTO_APPROVE_THRESHOLD, JUDGE_ESCALATE_THRESHOLD, LAYER_IDLE_BUDGET_MS, LAYER_TOTAL_BUDGET_MS, type LayerChunkCallback, type LayerPrefillOptions, type LayerPrefillResult, type LessonEntity, LessonEntitySchema, LessonPlan, MAX_AUTONOMOUS_REPAIR_TURNS, MAX_IN_SESSION_SETUP_MINUTES, MAX_NEW_CONCEPTS_PER_SESSION_ADULT, MAX_NEW_CONCEPTS_PER_SESSION_K12, MasteryGate, MisconceptionEvaluator, ModelResolutionOptions, type PackingSpec, type PedagogicalModel, type PipelineExecutionProgress, PlanConstraints, type PlanOptions, type PlanResult, type PlannerLlmFn, PlanningGraph, PlanningNode, type PrefillProviderEvent, type PreliminaryResearchResult, PrerequisiteDecision, type ProduceLessonOptions, type ProduceLessonResult, type ProjectBriefingData, type ProjectClarification, type ProjectCreationPayload, type ProjectIntentAnalysisResult, ProjectStatusReport, type ProjectionMeta, QualityAuditReport, ResolvedGateSettings, type ResolvedTemplate, SATELLITE_LESSON_PRIORITIES, STUDENT_FRICTION_MULTIPLIER, type SatContextResult, type SatelliteContextInput, SessionZpdStatus, type SlashCommandDefinition, SlideBlueprintArraySchema, SlideBlueprintItemSchema, SlideDeck, type SlideEngine, type SlideProductionWorkflowOptions, type SlideProductionWorkflowResult, SmartResumeContext, type StreamAbortHandle, type StreamBudget, type StreamChunkExtractor, StreamRunnerOptions, type SymbolLedgerResult, type TemplateTranslateRunner, TranslationPolicy, type TranslationTarget, type TranslationTrigger, UnitPlan, type ValidationOptions, WalkingSkeleton, analyzeProjectCreationIntent, assembleTranslatedTemplate, assertAcyclic, assignDepths, auditQualityReport, buildArtifactPrompt, buildConceptPrerequisites, buildCurriculumContext, buildCurriculumPlan, buildDomainLexiconGuardrail, buildExpositionContext, buildExpositionExcerpt, buildHeadingDirective, buildLanguageDirective, buildLessonEntityJson, buildLessonExcerpt, buildMasteryGates, buildSatelliteContext, buildSectionAwareExcerpt, buildSessionSliceContext, buildWalkingSkeleton, checkSessionZpd, closeTruncatedJson, computeConceptSpiralProgression, computePackingSpec, conductPreliminaryResearch, createAiInferenceError, createContextMissingError, createStreamAbortSignal, createStreamChunkExtractor, detectProjectPedagogy, dropCyclicConceptEdges, emitUsage, ensureExpositionForLesson, ensureKnowledgeExposition, entityRowAssignedTo, evaluateActivityAlignment, executeCurriculumCommand, executeSlideProductionWorkflow, expositionCacheKey, extractActivityContractRows, extractAssessmentMap, extractConditionalSections, extractDeclaredLanguage, extractEchoSections, extractJsonArray, extractRequiredSections, extractScopeSequenceRows, extractSectionHeadingsFromSLC, extractSessionSlice, extractStreamChunk, extractSymbolLedger, extractTieredScaffoldingBlock, generatePhase1SotArtifacts, generatePhase2SotArtifacts, getLessonMetadata, getProjectArtifactScope, getProjectStatusReport, getSmartResumeContext, glossaryTermsForSession, ingestProjectGraphIntoProject, initializeProjectInStorage, isActivityAlignmentLogOnly, isExpositionFresh, isTranslationDue, lintCurriculumFramework, loadAuthoringTemplate, loadCurriculumTemplate, loadSotTemplate, normalizePlanningGraph, normalizeSlcContract, parseRoadmapJsonToProjectPayload, produceBatchLessons, produceSingleLesson, renderAssignedRowsTable, renderEntitySlotsForType, renderFrameworkFromPlan, resolveArtifactTemplate, resolveStreamBudget, resolveTargetLanguageCode, resolveTranslationTargets, safeParseJson, slugifyProjectName, streamLLMWithFallback, streamLayerPrefillWithFallback, stripHeadingKey, stripLlmJsonWrappers, stripTemplateFrontmatter, targetLanguageDisplayName, topoSort, translateTemplate, validateArtifactDependencies, validateHybridDeckSlides };
1874
+ export { AIProviderName, ARTIFACT_DEPENDENCY_ROUTING, ARTIFACT_EXECUTION_ORDER, type AcademicAuditFinding, AcademicAuditor, type AcademicDimension, type ActivityAlignmentResult, ActivityLab, ActivitySeqRow, type ArtifactDependencyRule, type ArtifactProductionSpec, type ArtifactPromptParts, type AssembledTemplate, type AuditBundleInput, BLOOM_ACTION_VERBS, BloomTaxonomyEvaluator, type BuildContextOptions, CURRICULUM_SLASH_COMMANDS, ChunkType, CodeHardwareFeasibilityEvaluator, CodeLab, type ComprehensiveAcademicReport, ConceptPrerequisiteEdge, ConceptSpiralEncounter, ConstructiveAlignmentEvaluator, type ContextInjectionMeta, type ContextRoutingMode, type ContextSourceKey, CoverageGateReport, CrossArtifactDriftEvaluator, CurriculumError, type CurriculumErrorCode, type CurriculumErrorDetail, CurriculumPlan, DEFAULT_KX_PRIORITIES, DEFAULT_LESSON_PRIORITIES, DEFAULT_OVERHEAD_RATIO, DEFAULT_STREAM_IDLE_MS, DEFAULT_STREAM_TOTAL_MS, DependencyEdge, type DependencyValidationResult, DeterministicPipelineRunner, DeterministicStructuralLinter, DiagnosticQuiz, DiagnosticQuizInput, type DimensionScore, ENVIRONMENT_PROVISIONING_MODELS, EXPOSITION_REL, type EnvironmentProvisioningModel, type ExcerptOptions, type ExcerptResult, type ExecuteCommandResult, ExpositionApprovalError, type ExpositionLlmFn, type ExpositionResult, type ExpositionStorage, type ExtractedJson, type ExtractedStreamChunk, type FindingSeverity, FiveEInstructionalEvaluator, type FrameworkLintFinding, type FrameworkLintReport, FrameworkPack, type GenerateExpositionOptions, GeneratedSlideArraySchema, GeneratedSlideSchema, HybridBlueprintArraySchema, HybridBlueprintItemSchema, HybridDeckSlideArraySchema, HybridDeckSlideSchema, HybridPipelineError, ICurriculumStorage, JUDGE_AUTO_APPROVE_THRESHOLD, JUDGE_ESCALATE_THRESHOLD, LAYER_IDLE_BUDGET_MS, LAYER_TOTAL_BUDGET_MS, type LayerChunkCallback, type LayerPrefillOptions, type LayerPrefillResult, type LessonEntity, LessonEntitySchema, LessonPlan, MAX_AUTONOMOUS_REPAIR_TURNS, MAX_IN_SESSION_SETUP_MINUTES, MAX_NEW_CONCEPTS_PER_SESSION_ADULT, MAX_NEW_CONCEPTS_PER_SESSION_K12, MasteryGate, MisconceptionEvaluator, ModelResolutionOptions, type PackingSpec, type PedagogicalModel, type PipelineExecutionProgress, PlanConstraints, type PlanOptions, type PlanResult, type PlannerLlmFn, PlanningGraph, PlanningNode, type PrefillProviderEvent, type PreliminaryResearchResult, PrerequisiteDecision, type ProduceLessonOptions, type ProduceLessonResult, type ProjectBriefingData, type ProjectClarification, type ProjectCreationPayload, type ProjectIntentAnalysisResult, ProjectStatusReport, type ProjectionMeta, QualityAuditReport, ResolvedGateSettings, type ResolvedTemplate, SATELLITE_LESSON_PRIORITIES, STUDENT_FRICTION_MULTIPLIER, type SatContextResult, type SatelliteContextInput, SessionZpdStatus, type SlashCommandDefinition, SlideBlueprintArraySchema, SlideBlueprintItemSchema, SlideDeck, type SlideEngine, type SlideProductionWorkflowOptions, type SlideProductionWorkflowResult, SmartResumeContext, type StreamAbortHandle, type StreamBudget, type StreamChunkExtractor, StreamRunnerOptions, type SymbolLedgerResult, type TemplateTranslateRunner, TranslationPolicy, type TranslationTarget, type TranslationTrigger, UnitPlan, type ValidationOptions, WalkingSkeleton, analyzeProjectCreationIntent, assembleTranslatedTemplate, assertAcyclic, assignDepths, auditQualityReport, buildArtifactPrompt, buildConceptPrerequisites, buildCurriculumContext, buildCurriculumPlan, buildDomainLexiconGuardrail, buildExpositionContext, buildExpositionExcerpt, buildHeadingDirective, buildLanguageDirective, buildLessonEntityJson, buildLessonExcerpt, buildMasteryGates, buildSatelliteContext, buildSectionAwareExcerpt, buildSessionSliceContext, buildWalkingSkeleton, checkSessionZpd, closeTruncatedJson, computeConceptSpiralProgression, computePackingSpec, conductPreliminaryResearch, createAiInferenceError, createContextMissingError, createStreamAbortSignal, createStreamChunkExtractor, detectProjectPedagogy, dropCyclicConceptEdges, emitUsage, ensureExpositionForLesson, ensureKnowledgeExposition, entityRowAssignedTo, evaluateActivityAlignment, executeCurriculumCommand, executeSlideProductionWorkflow, expositionCacheKey, extractActivityContractRows, extractAssessmentMap, extractConditionalSections, extractDeclaredLanguage, extractEchoSections, extractJsonArray, extractRequiredSections, extractScopeSequenceRows, extractSectionHeadings, extractSessionSlice, extractStreamChunk, extractSymbolLedger, extractTieredScaffoldingBlock, generatePhase1SotArtifacts, generatePhase2SotArtifacts, getLessonMetadata, getProjectArtifactScope, getProjectStatusReport, getSmartResumeContext, glossaryTermsForSession, ingestProjectGraphIntoProject, initializeProjectInStorage, isActivityAlignmentLogOnly, isExpositionFresh, isTranslationDue, lintCurriculumFramework, loadAuthoringTemplate, loadCurriculumTemplate, loadSotTemplate, normalizePlanningGraph, parseRoadmapJsonToProjectPayload, produceBatchLessons, produceSingleLesson, renderAssignedRowsTable, renderEntitySlotsForType, renderFrameworkFromPlan, resolveArtifactTemplate, resolveStreamBudget, resolveTargetLanguageCode, resolveTranslationTargets, safeParseJson, slugifyProjectName, streamLLMWithFallback, streamLayerPrefillWithFallback, stripHeadingKey, stripLlmJsonWrappers, stripTemplateFrontmatter, targetLanguageDisplayName, topoSort, translateTemplate, validateArtifactDependencies, validateHybridDeckSlides };
package/dist/index.d.ts CHANGED
@@ -10,11 +10,11 @@ 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-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';
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';
15
15
  import { z } from 'zod';
16
- import { R as ResolvedGateSettings } from './gateSettings-oo5tCUS_.js';
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';
16
+ import { R as ResolvedGateSettings } from './gateSettings-JoqERuS1.js';
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-JoqERuS1.js';
18
18
  export { DeliveryPackResult, JobManifest, LocalWorkspaceManager, ParsedQuizQuestion, buildDeliveryPackages, exportAllProjectQuizzes, formatQuizzesToCsv, parseQuizMarkdown } from './publishers/index.js';
19
19
  export { G as GitPublishOptions, a as GitPublishResult, S as SupabasePublishOptions, b as SupabasePublishResult, p as publishToGitHub, c as publishToSupabase, u as uploadAssetToBucket } from './supabasePublisher-C627qXFT.js';
20
20
  export { BUNDLED_STANDARDS_PACK_IDS, HydratedPack, ImportPackResult, STANDARD_REF_REGEX, SelectedStatement, StandardStackOptions, StandardsRegistryAdapter, StandardsRegistryConfig, StandardsSelectionInput, buildStandardStackMarkdown, buildStandardsContext, buildStandardsContextBlock, extractStandardRefs, findStandardStatement, resolveStandardsPacks, selectStatementsForLesson } from './standards/index.js';
@@ -176,11 +176,6 @@ interface ExcerptOptions {
176
176
  priorities?: string[];
177
177
  /** Character budget for the excerpt (default 12_000, ~3k tokens). */
178
178
  budget?: number;
179
- /**
180
- * Section Language Contract mapping (Record or raw contract markdown).
181
- * Used to resolve localized headings (e.g. Vietnamese) to canonical keys.
182
- */
183
- sectionLanguageContract?: Record<string, Record<string, string>> | string;
184
179
  /** File name or artifact type hint (e.g. 'LESSON', 'KNOWLEDGE_EXPOSITION'). */
185
180
  artifactType?: string;
186
181
  /**
@@ -218,10 +213,6 @@ declare const DEFAULT_KX_PRIORITIES: string[];
218
213
  declare function buildSectionAwareExcerpt(markdown: string, opts?: ExcerptOptions): ExcerptResult;
219
214
  declare function buildExpositionExcerpt(markdown: string, opts?: Omit<ExcerptOptions, 'priorities'>): ExcerptResult;
220
215
  declare function buildLessonExcerpt(markdown: string, opts?: Omit<ExcerptOptions, 'priorities'>): ExcerptResult;
221
- /**
222
- * Normalizes SLC input into a two-level map: Record<ArtifactType, Record<CanonicalKey, LocalizedLabel>>
223
- */
224
- declare function normalizeSlcContract(slc: Record<string, Record<string, string>> | string | undefined): Record<string, Record<string, string>> | undefined;
225
216
  /**
226
217
  * Extracts code symbol & identifier contracts from LESSON markdown.
227
218
  * Provides deterministic symbol names (Primary Struct/Class, Entry File, Key Functions)
@@ -249,16 +240,16 @@ declare const LessonEntitySchema: z.ZodObject<{
249
240
  conceptRefs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
250
241
  }, "strip", z.ZodTypeAny, {
251
242
  code: string;
243
+ objective: string;
244
+ evidence: string;
252
245
  successCriteria: string;
253
246
  standardRefs: string[];
254
247
  conceptRefs: string[];
255
- objective: string;
256
- evidence: string;
257
248
  }, {
258
249
  code: string;
259
- successCriteria: string;
260
250
  objective: string;
261
251
  evidence: string;
252
+ successCriteria: string;
262
253
  standardRefs?: string[] | undefined;
263
254
  conceptRefs?: string[] | undefined;
264
255
  }>, "many">>;
@@ -275,7 +266,6 @@ declare const LessonEntitySchema: z.ZodObject<{
275
266
  durationMinutes: z.ZodDefault<z.ZodNumber>;
276
267
  artifactContract: z.ZodString;
277
268
  }, "strip", z.ZodTypeAny, {
278
- durationMinutes: number;
279
269
  seq: number;
280
270
  phase: string;
281
271
  activityType: string;
@@ -285,6 +275,7 @@ declare const LessonEntitySchema: z.ZodObject<{
285
275
  teacherMove: string;
286
276
  outputEvidence: string;
287
277
  lo: string[];
278
+ durationMinutes: number;
288
279
  artifactContract: string;
289
280
  }, {
290
281
  seq: number;
@@ -317,17 +308,16 @@ declare const LessonEntitySchema: z.ZodObject<{
317
308
  }, "strip", z.ZodTypeAny, {
318
309
  lessonId: string;
319
310
  title: string;
311
+ estimatedDuration: string;
320
312
  learningObjectives: {
321
313
  code: string;
314
+ objective: string;
315
+ evidence: string;
322
316
  successCriteria: string;
323
317
  standardRefs: string[];
324
318
  conceptRefs: string[];
325
- objective: string;
326
- evidence: string;
327
319
  }[];
328
- estimatedDuration: string;
329
320
  activitySequence: {
330
- durationMinutes: number;
331
321
  seq: number;
332
322
  phase: string;
333
323
  activityType: string;
@@ -337,6 +327,7 @@ declare const LessonEntitySchema: z.ZodObject<{
337
327
  teacherMove: string;
338
328
  outputEvidence: string;
339
329
  lo: string[];
330
+ durationMinutes: number;
340
331
  artifactContract: string;
341
332
  }[];
342
333
  assessmentMap: Record<string, string>[];
@@ -349,15 +340,15 @@ declare const LessonEntitySchema: z.ZodObject<{
349
340
  }, {
350
341
  lessonId: string;
351
342
  title: string;
343
+ estimatedDuration?: string | undefined;
352
344
  learningObjectives?: {
353
345
  code: string;
354
- successCriteria: string;
355
346
  objective: string;
356
347
  evidence: string;
348
+ successCriteria: string;
357
349
  standardRefs?: string[] | undefined;
358
350
  conceptRefs?: string[] | undefined;
359
351
  }[] | undefined;
360
- estimatedDuration?: string | undefined;
361
352
  activitySequence?: {
362
353
  seq: number;
363
354
  phase: string;
@@ -445,8 +436,6 @@ interface SatelliteContextInput {
445
436
  * markdown excerpt becomes the fallback, not the parser target.
446
437
  */
447
438
  lessonEntity?: LessonEntity | null;
448
- /** Section Language Contract raw markdown (bilingual heading resolution). */
449
- slcMarkdown?: string;
450
439
  /** Symbol ledger block already rendered by the caller (appended to LESSON-primary and CODE contexts). */
451
440
  symbolLedgerBlock: string;
452
441
  /** Pedagogy label for the legacy composite heading (byte-compat with pre-P49). */
@@ -662,7 +651,6 @@ interface ProduceLessonOptions {
662
651
  force?: boolean;
663
652
  pedagogy?: PedagogicalModel;
664
653
  targetLanguage?: string;
665
- sectionLanguageContract?: string;
666
654
  slidesEngine?: 'html' | 'marp';
667
655
  /** Chiến lược batch (chỉ produceBatchLessons dùng). */
668
656
  batchStrategy?: 'depth_first_lesson' | 'breadth_first_artifact';
@@ -1234,7 +1222,6 @@ interface GenerateExpositionOptions {
1234
1222
  storage: ExpositionStorage;
1235
1223
  gates?: ResolvedGateSettings;
1236
1224
  targetLanguage?: string;
1237
- slcMarkdown?: Record<string, Record<string, string>> | string | null;
1238
1225
  techStack?: string;
1239
1226
  hardwarePlatform?: string;
1240
1227
  /** REFERENCE_PACK.md raw content — technical ground truth (versions, APIs).
@@ -1274,7 +1261,6 @@ declare function ensureExpositionForLesson(storage: ICurriculumStorage, projectI
1274
1261
  gates?: ResolvedGateSettings;
1275
1262
  force?: boolean;
1276
1263
  targetLanguage?: string;
1277
- slcMarkdown?: Record<string, Record<string, string>> | string | null;
1278
1264
  customInference?: StreamRunnerOptions['customInference'];
1279
1265
  techStack?: string;
1280
1266
  hardwarePlatform?: string;
@@ -1315,25 +1301,28 @@ declare function isTranslationDue(target: TranslationTarget, context: {
1315
1301
  }): boolean;
1316
1302
 
1317
1303
  /**
1318
- * Language Directive and Section Language Contract (SLC) resolution for Curriculum Generation.
1304
+ * Language Directive and section-heading resolution for Curriculum Generation.
1319
1305
  */
1320
1306
  declare function resolveTargetLanguageCode(language?: string | null): string;
1321
1307
  declare function targetLanguageDisplayName(code: string): string;
1322
1308
  declare function buildLanguageDirective(targetLanguage?: string | null): string;
1323
- declare function extractSectionHeadingsFromSLC(slcInput: Record<string, Record<string, string>> | string | undefined | null, artifactType: string, targetLanguage?: string): Record<string, string>;
1309
+ /**
1310
+ * Identity heading map from the resolved template's echo (canonical = display).
1311
+ */
1312
+ declare function extractSectionHeadings(artifactType: string, opts?: {
1313
+ templatesDir?: string;
1314
+ }): Record<string, string>;
1324
1315
  /**
1325
1316
  * Builds the heading directive block to instruct the LLM on section headings.
1326
1317
  *
1327
1318
  * P53 rev3 — one regime only: the resolved template's ECHO is the source.
1328
1319
  * - Translated project copy (declaredLang ≠ "en"): headings are already the
1329
- * display strings → identity mapping, "use verbatim".
1330
- * - Bundled English template: echo = English headings; the legacy SLC
1331
- * (old projects) may still supply localized display labels, intersected
1332
- * against the echo so stale entries are dropped.
1320
+ * display strings.
1321
+ * - Bundled English template: echo = English headings.
1333
1322
  * The frontmatter list is system-owned (it IS the echo), so the directive
1334
1323
  * tells the LLM to copy it verbatim — never to translate or invent entries.
1335
1324
  */
1336
- declare function buildHeadingDirective(artifactType: string, slcMarkdown?: Record<string, Record<string, string>> | string | null, targetLanguage?: string, opts?: {
1325
+ declare function buildHeadingDirective(artifactType: string, opts?: {
1337
1326
  templatesDir?: string;
1338
1327
  }): string;
1339
1328
 
@@ -1882,4 +1871,4 @@ declare class MisconceptionEvaluator {
1882
1871
  static evaluateQuiz(quiz: DiagnosticQuiz): DimensionScore;
1883
1872
  }
1884
1873
 
1885
- export { AIProviderName, ARTIFACT_DEPENDENCY_ROUTING, ARTIFACT_EXECUTION_ORDER, type AcademicAuditFinding, AcademicAuditor, type AcademicDimension, type ActivityAlignmentResult, ActivityLab, ActivitySeqRow, type ArtifactDependencyRule, type ArtifactProductionSpec, type ArtifactPromptParts, type AssembledTemplate, type AuditBundleInput, BLOOM_ACTION_VERBS, BloomTaxonomyEvaluator, type BuildContextOptions, CURRICULUM_SLASH_COMMANDS, ChunkType, CodeHardwareFeasibilityEvaluator, CodeLab, type ComprehensiveAcademicReport, ConceptPrerequisiteEdge, ConceptSpiralEncounter, ConstructiveAlignmentEvaluator, type ContextInjectionMeta, type ContextRoutingMode, type ContextSourceKey, CoverageGateReport, CrossArtifactDriftEvaluator, CurriculumError, type CurriculumErrorCode, type CurriculumErrorDetail, CurriculumPlan, DEFAULT_KX_PRIORITIES, DEFAULT_LESSON_PRIORITIES, DEFAULT_OVERHEAD_RATIO, DEFAULT_STREAM_IDLE_MS, DEFAULT_STREAM_TOTAL_MS, DependencyEdge, type DependencyValidationResult, DeterministicPipelineRunner, DeterministicStructuralLinter, DiagnosticQuiz, DiagnosticQuizInput, type DimensionScore, ENVIRONMENT_PROVISIONING_MODELS, EXPOSITION_REL, type EnvironmentProvisioningModel, type ExcerptOptions, type ExcerptResult, type ExecuteCommandResult, ExpositionApprovalError, type ExpositionLlmFn, type ExpositionResult, type ExpositionStorage, type ExtractedJson, type ExtractedStreamChunk, type FindingSeverity, FiveEInstructionalEvaluator, type FrameworkLintFinding, type FrameworkLintReport, FrameworkPack, type GenerateExpositionOptions, GeneratedSlideArraySchema, GeneratedSlideSchema, HybridBlueprintArraySchema, HybridBlueprintItemSchema, HybridDeckSlideArraySchema, HybridDeckSlideSchema, HybridPipelineError, ICurriculumStorage, JUDGE_AUTO_APPROVE_THRESHOLD, JUDGE_ESCALATE_THRESHOLD, LAYER_IDLE_BUDGET_MS, LAYER_TOTAL_BUDGET_MS, type LayerChunkCallback, type LayerPrefillOptions, type LayerPrefillResult, type LessonEntity, LessonEntitySchema, LessonPlan, MAX_AUTONOMOUS_REPAIR_TURNS, MAX_IN_SESSION_SETUP_MINUTES, MAX_NEW_CONCEPTS_PER_SESSION_ADULT, MAX_NEW_CONCEPTS_PER_SESSION_K12, MasteryGate, MisconceptionEvaluator, ModelResolutionOptions, type PackingSpec, type PedagogicalModel, type PipelineExecutionProgress, PlanConstraints, type PlanOptions, type PlanResult, type PlannerLlmFn, PlanningGraph, PlanningNode, type PrefillProviderEvent, type PreliminaryResearchResult, PrerequisiteDecision, type ProduceLessonOptions, type ProduceLessonResult, type ProjectBriefingData, type ProjectClarification, type ProjectCreationPayload, type ProjectIntentAnalysisResult, ProjectStatusReport, type ProjectionMeta, QualityAuditReport, ResolvedGateSettings, type ResolvedTemplate, SATELLITE_LESSON_PRIORITIES, STUDENT_FRICTION_MULTIPLIER, type SatContextResult, type SatelliteContextInput, SessionZpdStatus, type SlashCommandDefinition, SlideBlueprintArraySchema, SlideBlueprintItemSchema, SlideDeck, type SlideEngine, type SlideProductionWorkflowOptions, type SlideProductionWorkflowResult, SmartResumeContext, type StreamAbortHandle, type StreamBudget, type StreamChunkExtractor, StreamRunnerOptions, type SymbolLedgerResult, type TemplateTranslateRunner, TranslationPolicy, type TranslationTarget, type TranslationTrigger, UnitPlan, type ValidationOptions, WalkingSkeleton, analyzeProjectCreationIntent, assembleTranslatedTemplate, assertAcyclic, assignDepths, auditQualityReport, buildArtifactPrompt, buildConceptPrerequisites, buildCurriculumContext, buildCurriculumPlan, buildDomainLexiconGuardrail, buildExpositionContext, buildExpositionExcerpt, buildHeadingDirective, buildLanguageDirective, buildLessonEntityJson, buildLessonExcerpt, buildMasteryGates, buildSatelliteContext, buildSectionAwareExcerpt, buildSessionSliceContext, buildWalkingSkeleton, checkSessionZpd, closeTruncatedJson, computeConceptSpiralProgression, computePackingSpec, conductPreliminaryResearch, createAiInferenceError, createContextMissingError, createStreamAbortSignal, createStreamChunkExtractor, detectProjectPedagogy, dropCyclicConceptEdges, emitUsage, ensureExpositionForLesson, ensureKnowledgeExposition, entityRowAssignedTo, evaluateActivityAlignment, executeCurriculumCommand, executeSlideProductionWorkflow, expositionCacheKey, extractActivityContractRows, extractAssessmentMap, extractConditionalSections, extractDeclaredLanguage, extractEchoSections, extractJsonArray, extractRequiredSections, extractScopeSequenceRows, extractSectionHeadingsFromSLC, extractSessionSlice, extractStreamChunk, extractSymbolLedger, extractTieredScaffoldingBlock, generatePhase1SotArtifacts, generatePhase2SotArtifacts, getLessonMetadata, getProjectArtifactScope, getProjectStatusReport, getSmartResumeContext, glossaryTermsForSession, ingestProjectGraphIntoProject, initializeProjectInStorage, isActivityAlignmentLogOnly, isExpositionFresh, isTranslationDue, lintCurriculumFramework, loadAuthoringTemplate, loadCurriculumTemplate, loadSotTemplate, normalizePlanningGraph, normalizeSlcContract, parseRoadmapJsonToProjectPayload, produceBatchLessons, produceSingleLesson, renderAssignedRowsTable, renderEntitySlotsForType, renderFrameworkFromPlan, resolveArtifactTemplate, resolveStreamBudget, resolveTargetLanguageCode, resolveTranslationTargets, safeParseJson, slugifyProjectName, streamLLMWithFallback, streamLayerPrefillWithFallback, stripHeadingKey, stripLlmJsonWrappers, stripTemplateFrontmatter, targetLanguageDisplayName, topoSort, translateTemplate, validateArtifactDependencies, validateHybridDeckSlides };
1874
+ export { AIProviderName, ARTIFACT_DEPENDENCY_ROUTING, ARTIFACT_EXECUTION_ORDER, type AcademicAuditFinding, AcademicAuditor, type AcademicDimension, type ActivityAlignmentResult, ActivityLab, ActivitySeqRow, type ArtifactDependencyRule, type ArtifactProductionSpec, type ArtifactPromptParts, type AssembledTemplate, type AuditBundleInput, BLOOM_ACTION_VERBS, BloomTaxonomyEvaluator, type BuildContextOptions, CURRICULUM_SLASH_COMMANDS, ChunkType, CodeHardwareFeasibilityEvaluator, CodeLab, type ComprehensiveAcademicReport, ConceptPrerequisiteEdge, ConceptSpiralEncounter, ConstructiveAlignmentEvaluator, type ContextInjectionMeta, type ContextRoutingMode, type ContextSourceKey, CoverageGateReport, CrossArtifactDriftEvaluator, CurriculumError, type CurriculumErrorCode, type CurriculumErrorDetail, CurriculumPlan, DEFAULT_KX_PRIORITIES, DEFAULT_LESSON_PRIORITIES, DEFAULT_OVERHEAD_RATIO, DEFAULT_STREAM_IDLE_MS, DEFAULT_STREAM_TOTAL_MS, DependencyEdge, type DependencyValidationResult, DeterministicPipelineRunner, DeterministicStructuralLinter, DiagnosticQuiz, DiagnosticQuizInput, type DimensionScore, ENVIRONMENT_PROVISIONING_MODELS, EXPOSITION_REL, type EnvironmentProvisioningModel, type ExcerptOptions, type ExcerptResult, type ExecuteCommandResult, ExpositionApprovalError, type ExpositionLlmFn, type ExpositionResult, type ExpositionStorage, type ExtractedJson, type ExtractedStreamChunk, type FindingSeverity, FiveEInstructionalEvaluator, type FrameworkLintFinding, type FrameworkLintReport, FrameworkPack, type GenerateExpositionOptions, GeneratedSlideArraySchema, GeneratedSlideSchema, HybridBlueprintArraySchema, HybridBlueprintItemSchema, HybridDeckSlideArraySchema, HybridDeckSlideSchema, HybridPipelineError, ICurriculumStorage, JUDGE_AUTO_APPROVE_THRESHOLD, JUDGE_ESCALATE_THRESHOLD, LAYER_IDLE_BUDGET_MS, LAYER_TOTAL_BUDGET_MS, type LayerChunkCallback, type LayerPrefillOptions, type LayerPrefillResult, type LessonEntity, LessonEntitySchema, LessonPlan, MAX_AUTONOMOUS_REPAIR_TURNS, MAX_IN_SESSION_SETUP_MINUTES, MAX_NEW_CONCEPTS_PER_SESSION_ADULT, MAX_NEW_CONCEPTS_PER_SESSION_K12, MasteryGate, MisconceptionEvaluator, ModelResolutionOptions, type PackingSpec, type PedagogicalModel, type PipelineExecutionProgress, PlanConstraints, type PlanOptions, type PlanResult, type PlannerLlmFn, PlanningGraph, PlanningNode, type PrefillProviderEvent, type PreliminaryResearchResult, PrerequisiteDecision, type ProduceLessonOptions, type ProduceLessonResult, type ProjectBriefingData, type ProjectClarification, type ProjectCreationPayload, type ProjectIntentAnalysisResult, ProjectStatusReport, type ProjectionMeta, QualityAuditReport, ResolvedGateSettings, type ResolvedTemplate, SATELLITE_LESSON_PRIORITIES, STUDENT_FRICTION_MULTIPLIER, type SatContextResult, type SatelliteContextInput, SessionZpdStatus, type SlashCommandDefinition, SlideBlueprintArraySchema, SlideBlueprintItemSchema, SlideDeck, type SlideEngine, type SlideProductionWorkflowOptions, type SlideProductionWorkflowResult, SmartResumeContext, type StreamAbortHandle, type StreamBudget, type StreamChunkExtractor, StreamRunnerOptions, type SymbolLedgerResult, type TemplateTranslateRunner, TranslationPolicy, type TranslationTarget, type TranslationTrigger, UnitPlan, type ValidationOptions, WalkingSkeleton, analyzeProjectCreationIntent, assembleTranslatedTemplate, assertAcyclic, assignDepths, auditQualityReport, buildArtifactPrompt, buildConceptPrerequisites, buildCurriculumContext, buildCurriculumPlan, buildDomainLexiconGuardrail, buildExpositionContext, buildExpositionExcerpt, buildHeadingDirective, buildLanguageDirective, buildLessonEntityJson, buildLessonExcerpt, buildMasteryGates, buildSatelliteContext, buildSectionAwareExcerpt, buildSessionSliceContext, buildWalkingSkeleton, checkSessionZpd, closeTruncatedJson, computeConceptSpiralProgression, computePackingSpec, conductPreliminaryResearch, createAiInferenceError, createContextMissingError, createStreamAbortSignal, createStreamChunkExtractor, detectProjectPedagogy, dropCyclicConceptEdges, emitUsage, ensureExpositionForLesson, ensureKnowledgeExposition, entityRowAssignedTo, evaluateActivityAlignment, executeCurriculumCommand, executeSlideProductionWorkflow, expositionCacheKey, extractActivityContractRows, extractAssessmentMap, extractConditionalSections, extractDeclaredLanguage, extractEchoSections, extractJsonArray, extractRequiredSections, extractScopeSequenceRows, extractSectionHeadings, extractSessionSlice, extractStreamChunk, extractSymbolLedger, extractTieredScaffoldingBlock, generatePhase1SotArtifacts, generatePhase2SotArtifacts, getLessonMetadata, getProjectArtifactScope, getProjectStatusReport, getSmartResumeContext, glossaryTermsForSession, ingestProjectGraphIntoProject, initializeProjectInStorage, isActivityAlignmentLogOnly, isExpositionFresh, isTranslationDue, lintCurriculumFramework, loadAuthoringTemplate, loadCurriculumTemplate, loadSotTemplate, normalizePlanningGraph, parseRoadmapJsonToProjectPayload, produceBatchLessons, produceSingleLesson, renderAssignedRowsTable, renderEntitySlotsForType, renderFrameworkFromPlan, resolveArtifactTemplate, resolveStreamBudget, resolveTargetLanguageCode, resolveTranslationTargets, safeParseJson, slugifyProjectName, streamLLMWithFallback, streamLayerPrefillWithFallback, stripHeadingKey, stripLlmJsonWrappers, stripTemplateFrontmatter, targetLanguageDisplayName, topoSort, translateTemplate, validateArtifactDependencies, validateHybridDeckSlides };