@almadar/core 7.20.0 → 7.22.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 { b6 as OrbitalDefinition, bh as OrbitalSchema } from './schema-WX5fN1Ra.js';
1
+ import { b6 as OrbitalDefinition, bh as OrbitalSchema } from './schema-BVni4uNf.js';
2
2
 
3
3
  /**
4
4
  * Event Wiring
@@ -1,4 +1,4 @@
1
- import { a6 as EntityField, a9 as EntityPersistence, cX as TraitReference, c$ as TraitScope, a2 as Entity, br as Page, bh as OrbitalSchema, cE as Trait } from '../schema-WX5fN1Ra.js';
1
+ import { a6 as EntityField, a9 as EntityPersistence, cX as TraitReference, c$ as TraitScope, a2 as Entity, br as Page, bh as OrbitalSchema, cE as Trait } from '../schema-BVni4uNf.js';
2
2
  import { S as SExpr } from '../expression-BVRFm0sV.js';
3
3
  import 'zod';
4
4
  import '@almadar/patterns';
@@ -281,6 +281,12 @@ interface FactoryTraitSignature {
281
281
  /** Config keys overridable via `traitOverrides.<name>.config.<key>`.
282
282
  * Read directly from the trait's `config` declaration block. */
283
283
  overridableConfigKeys: ReadonlyArray<string>;
284
+ /** Capability tags lifted directly from the source `.lolo` trait's
285
+ * header annotations. Free-form strings — the Phase 4 translator
286
+ * overlay matches rules to traits by exact set membership. Empty
287
+ * when the trait declared none. See `docs/Almadar_Domain_Language.md`
288
+ * Phase 3. */
289
+ capabilities: ReadonlyArray<string>;
284
290
  }
285
291
  /** One page the factory emits. The path is the factory default; the
286
292
  * projector may override via `params.pagePath` or `params.pages[].path`. */
@@ -3410,7 +3410,9 @@ var FieldTypeSchema = z.enum([
3410
3410
  "object",
3411
3411
  "enum",
3412
3412
  "relation",
3413
- "trait"
3413
+ "trait",
3414
+ "slot",
3415
+ "pattern"
3414
3416
  ]);
3415
3417
  var RelationCardinalitySchema = z.enum([
3416
3418
  "one",
@@ -3871,6 +3873,7 @@ var TraitSchema = z.object({
3871
3873
  description: z.string().optional(),
3872
3874
  description_visual_prompt: z.string().optional(),
3873
3875
  category: TraitCategorySchema.optional(),
3876
+ capabilities: z.array(z.string()).optional(),
3874
3877
  scope: TraitScopeSchema,
3875
3878
  linkedEntity: z.string().optional(),
3876
3879
  requiredFields: z.array(RequiredFieldSchema).optional(),