@majeanson/lac 3.1.1 → 3.2.0

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/lsp.mjs CHANGED
@@ -8862,6 +8862,27 @@ const LineageSchema = object({
8862
8862
  children: array(string()).optional(),
8863
8863
  spawnReason: string().nullable().optional()
8864
8864
  });
8865
+ const StatusTransitionSchema = object({
8866
+ from: FeatureStatusSchema,
8867
+ to: FeatureStatusSchema,
8868
+ date: string().regex(/^\d{4}-\d{2}-\d{2}$/, "date must be YYYY-MM-DD"),
8869
+ reason: string().optional()
8870
+ });
8871
+ const RevisionSchema = object({
8872
+ date: string().regex(/^\d{4}-\d{2}-\d{2}$/, "date must be YYYY-MM-DD"),
8873
+ author: string().min(1),
8874
+ fields_changed: array(string()).min(1),
8875
+ reason: string().min(1)
8876
+ });
8877
+ const PublicInterfaceEntrySchema = object({
8878
+ name: string().min(1),
8879
+ type: string().min(1),
8880
+ description: string().optional()
8881
+ });
8882
+ const CodeSnippetSchema = object({
8883
+ label: string().min(1),
8884
+ snippet: string().min(1)
8885
+ });
8865
8886
  const FeatureSchema = object({
8866
8887
  featureKey: string().regex(FEATURE_KEY_PATTERN, "featureKey must match pattern <domain>-YYYY-NNN (e.g. feat-2026-001, proc-2026-001)"),
8867
8888
  title: string().min(1),
@@ -8877,7 +8898,20 @@ const FeatureSchema = object({
8877
8898
  annotations: array(AnnotationSchema).optional(),
8878
8899
  lineage: LineageSchema.optional(),
8879
8900
  successCriteria: string().optional(),
8880
- domain: string().optional()
8901
+ domain: string().optional(),
8902
+ priority: number().int().min(1).max(5).optional(),
8903
+ statusHistory: array(StatusTransitionSchema).optional(),
8904
+ revisions: array(RevisionSchema).optional(),
8905
+ superseded_by: string().regex(FEATURE_KEY_PATTERN, "superseded_by must be a valid featureKey").optional(),
8906
+ superseded_from: array(string().regex(FEATURE_KEY_PATTERN, "each superseded_from entry must be a valid featureKey")).optional(),
8907
+ merged_into: string().regex(FEATURE_KEY_PATTERN, "merged_into must be a valid featureKey").optional(),
8908
+ merged_from: array(string().regex(FEATURE_KEY_PATTERN, "each merged_from entry must be a valid featureKey")).optional(),
8909
+ componentFile: string().optional(),
8910
+ npmPackages: array(string()).optional(),
8911
+ publicInterface: array(PublicInterfaceEntrySchema).optional(),
8912
+ externalDependencies: array(string()).optional(),
8913
+ lastVerifiedDate: string().regex(/^\d{4}-\d{2}-\d{2}$/, "lastVerifiedDate must be YYYY-MM-DD").optional(),
8914
+ codeSnippets: array(CodeSnippetSchema).optional()
8881
8915
  });
8882
8916
 
8883
8917
  //#endregion