@almadar/core 7.21.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-DRDVNvPf.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-DRDVNvPf.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`. */
@@ -3873,6 +3873,7 @@ var TraitSchema = z.object({
3873
3873
  description: z.string().optional(),
3874
3874
  description_visual_prompt: z.string().optional(),
3875
3875
  category: TraitCategorySchema.optional(),
3876
+ capabilities: z.array(z.string()).optional(),
3876
3877
  scope: TraitScopeSchema,
3877
3878
  linkedEntity: z.string().optional(),
3878
3879
  requiredFields: z.array(RequiredFieldSchema).optional(),