@almadar/core 10.86.0 → 10.88.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.
Files changed (41) hide show
  1. package/dist/builders.d.ts +5 -4
  2. package/dist/builders.js +70 -29
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{effect-BgDiw_bG.d.ts → effect-DMA97JxX.d.ts} +22 -6
  5. package/dist/{entityAccess-DK5S_2cT.d.ts → entityAccess-B5_Y9zF5.d.ts} +2 -2
  6. package/dist/{expression-Fk8bQWef.d.ts → expression-WfTp2arD.d.ts} +2 -65
  7. package/dist/factory/index.d.ts +6 -5
  8. package/dist/factory/index.js +1194 -401
  9. package/dist/factory/index.js.map +1 -1
  10. package/dist/factory-runtime/index.d.ts +35 -5
  11. package/dist/factory-runtime/index.js +129 -52
  12. package/dist/factory-runtime/index.js.map +1 -1
  13. package/dist/i18n/index.d.ts +124 -2
  14. package/dist/i18n/index.js +680 -382
  15. package/dist/i18n/index.js.map +1 -1
  16. package/dist/{index-ChYsqVJj.d.ts → index-CYE40P_7.d.ts} +18 -5
  17. package/dist/index.d.ts +82 -14
  18. package/dist/index.js +2058 -696
  19. package/dist/index.js.map +1 -1
  20. package/dist/json-D8gmyK3l.d.ts +65 -0
  21. package/dist/mock/index.d.ts +129 -12
  22. package/dist/mock/index.js +192 -61
  23. package/dist/mock/index.js.map +1 -1
  24. package/dist/patterns/component-mapping.json +1 -1
  25. package/dist/patterns/event-contracts.json +1 -1
  26. package/dist/patterns/index.d.ts +2525 -609
  27. package/dist/patterns/index.js +1238 -384
  28. package/dist/patterns/index.js.map +1 -1
  29. package/dist/patterns/integrators-registry.json +107 -23
  30. package/dist/patterns/patterns-registry.json +1170 -400
  31. package/dist/patterns/registry.json +1170 -400
  32. package/dist/patterns/services-registry.json +170 -35
  33. package/dist/{schema-BhfQb1oe.d.ts → schema-ex9koAoK.d.ts} +46845 -21335
  34. package/dist/state-machine/index.d.ts +2 -1
  35. package/dist/trait-BJAX5TJK.d.ts +10683 -0
  36. package/dist/types/index.d.ts +7 -6
  37. package/dist/types/index.js +134 -43
  38. package/dist/types/index.js.map +1 -1
  39. package/dist/{types-CCAmdxcH.d.ts → types-kHQhEEXQ.d.ts} +19 -3
  40. package/package.json +4 -3
  41. package/dist/trait-pavNlGqm.d.ts +0 -5385
@@ -1,6 +1,6 @@
1
- import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-BgDiw_bG.js';
2
- import { T as TraitEventListener, a as TraitReference } from './trait-pavNlGqm.js';
3
- import { J as JsonValue } from './expression-Fk8bQWef.js';
1
+ import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-DMA97JxX.js';
2
+ import { T as TraitEventListener, a as TraitReference } from './trait-BJAX5TJK.js';
3
+ import { J as JsonValue } from './json-D8gmyK3l.js';
4
4
 
5
5
  /**
6
6
  * Cross-cutting presentation knobs that don't live per orbital
@@ -424,6 +424,22 @@ interface FactorySignature {
424
424
  emittedEvents: ReadonlyArray<string>;
425
425
  /** Union of all `traits[].listenedEvents`. */
426
426
  listenedEvents: ReadonlyArray<string>;
427
+ /**
428
+ * This orbital's OWN declared knobs (`Orbital.config`) — distinct from
429
+ * `traits[].overridableConfigKeys`, which are per-TRAIT. Same shape and
430
+ * semantics as a trait's config surface: type/default/label/description/
431
+ * synonyms/tier lifted from the source `.lolo` `config { }` block
432
+ * authored directly on the orbital. Omitted when the orbital declares no
433
+ * config of its own.
434
+ */
435
+ config?: ReadonlyArray<FactoryConfigParam>;
436
+ /**
437
+ * WIRE FORMAT ONLY — indices into `FactorySignatureCatalog.knobDefs`, the
438
+ * orbital-config sibling of `FactoryTraitSignature.overridableConfigKeyRefs`.
439
+ * Absent in memory — `config` is always populated instead; `rehydrateKnobDefs`
440
+ * substitutes it from this table before any consumer sees the signature.
441
+ */
442
+ configRefs?: ReadonlyArray<number>;
427
443
  /**
428
444
  * JSON Schema for the orbital's `AnalysisOrbitalParams` shape. Walks
429
445
  * `traitOverrides.<TraitName>.config.<knob>` with the exact type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/core",
3
- "version": "10.86.0",
3
+ "version": "10.88.0",
4
4
  "description": "Core schema types and definitions for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -70,7 +70,7 @@
70
70
  "zod": "^3.22.0"
71
71
  },
72
72
  "devDependencies": {
73
- "@almadar/eslint-plugin": "^2.17.0",
73
+ "@almadar/eslint-plugin": "^2.18.0",
74
74
  "@types/node": "^22.0.0",
75
75
  "@typescript-eslint/parser": "8.65.0",
76
76
  "@typescript/native": "npm:typescript@^7.0.2",
@@ -97,6 +97,7 @@
97
97
  "build": "tsup",
98
98
  "build:watch": "tsup --watch",
99
99
  "test": "vitest",
100
- "typecheck": "tsc --noEmit"
100
+ "typecheck": "tsc --noEmit",
101
+ "gen:orb-notation": "tsx scripts/gen-orb-notation.mts"
101
102
  }
102
103
  }