@almadar/core 10.52.0 → 10.53.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.
@@ -7,7 +7,7 @@ export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionI
7
7
  import { z } from 'zod';
8
8
  import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-CnbGhs6A.js';
9
9
  export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-CnbGhs6A.js';
10
- import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-jWqiZC2S.js';
10
+ import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-DJquF4Ot.js';
11
11
  import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from '../builders.js';
12
12
 
13
13
  /**
@@ -154,11 +154,6 @@ interface FactoryEntitySignature {
154
154
  * the source `.lolo` `config { }` block (which carries typed
155
155
  * declarations + defaults). Consumers (the questionnaire generator,
156
156
  * the studio) pick a widget from `type` and pre-fill from `default`.
157
- *
158
- * `label` is reserved for a future `.lolo` grammar extension that
159
- * lets atom authors author a human-friendly question prompt; today
160
- * it's always undefined and the questionnaire derives a fallback
161
- * from the key name.
162
157
  */
163
158
  interface FactoryConfigParam {
164
159
  /** Key name as advertised by the trait. Matches the override path
@@ -180,8 +175,14 @@ interface FactoryConfigParam {
180
175
  * supplied. Pre-fills the form widget so users see what they're
181
176
  * about to change. */
182
177
  default?: FactoryParamValue;
183
- /** Optional human-friendly question prompt. Lifted from the source
184
- * `.lolo` `@label "..."` annotation. */
178
+ /** Human-friendly question prompt, lifted verbatim from the source
179
+ * `.lolo` `@label "..."` annotation. Contract: `@label` IS the
180
+ * rendered string — the questionnaire never manipulates it (no
181
+ * appended punctuation, no humanization, no fallback logic layered
182
+ * on top of an authored value). Undefined only when the atom author
183
+ * did not tag the knob; `buildConfigKeyQuestion` then falls back to
184
+ * `humanizeKey(key)` as a type guard, not user-facing inference — a
185
+ * domain-tier knob reaching that fallback is a source defect. */
185
186
  label?: string;
186
187
  /** Optional help-text. Lifted from `.lolo` `@description "..."`. */
187
188
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/core",
3
- "version": "10.52.0",
3
+ "version": "10.53.0",
4
4
  "description": "Core schema types and definitions for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",