@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.
- package/dist/builders.d.ts +2 -2
- package/dist/builders.js +1 -0
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-Cvk12C0p.d.ts → compose-behaviors-CHAMivlZ.d.ts} +1 -1
- package/dist/domain-language/index.d.ts +7 -1
- package/dist/domain-language/index.js +1 -0
- package/dist/domain-language/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/{schema-DRDVNvPf.d.ts → schema-BVni4uNf.d.ts} +85 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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(),
|