@almadar/core 4.9.0 → 4.10.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.
@@ -1,4 +1,4 @@
1
- import { O as OrbitalDefinition, g as OrbitalSchema } from './schema-BCEjl1a1.js';
1
+ import { O as OrbitalDefinition, g as OrbitalSchema } from './schema-DI8_HaRx.js';
2
2
 
3
3
  /**
4
4
  * Event Wiring
@@ -1,4 +1,4 @@
1
- import { S as SExpr, E as Entity, i as Page, g as OrbitalSchema, h as Trait } from '../schema-BCEjl1a1.js';
1
+ import { S as SExpr, E as Entity, i as Page, g as OrbitalSchema, h as Trait } from '../schema-DI8_HaRx.js';
2
2
  import 'zod';
3
3
  import '@almadar/patterns';
4
4
 
@@ -3755,11 +3755,13 @@ z.object({
3755
3755
  path: ["events"]
3756
3756
  }
3757
3757
  );
3758
+ var TraitScopeSchema = z.enum(["instance", "collection"]);
3758
3759
  var TraitSchema = z.object({
3759
3760
  name: z.string().min(1),
3760
3761
  description: z.string().optional(),
3761
3762
  description_visual_prompt: z.string().optional(),
3762
3763
  category: TraitCategorySchema.optional(),
3764
+ scope: TraitScopeSchema.optional(),
3763
3765
  linkedEntity: z.string().optional(),
3764
3766
  requiredFields: z.array(RequiredFieldSchema).optional(),
3765
3767
  dataEntities: z.array(TraitDataEntitySchema).optional(),