@almadar/core 11.4.0 → 11.5.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 (49) hide show
  1. package/dist/{builders-CAQ_shuO.d.ts → builders-JiXD6W1T.d.ts} +2434 -266
  2. package/dist/builders.d.ts +5 -5
  3. package/dist/builders.js +3 -3
  4. package/dist/{bus-QFvlnIfW.d.ts → bus-__zVNcsp.d.ts} +26 -6
  5. package/dist/{chunk-OLSKERKZ.js → chunk-27Y5AXHB.js} +21 -0
  6. package/dist/chunk-2WLRKYD5.js +3823 -0
  7. package/dist/{chunk-UCP26C3C.js → chunk-J64IR3DR.js} +14 -4
  8. package/dist/{chunk-ISAUHHDU.js → chunk-J64YVVB4.js} +1 -1
  9. package/dist/{chunk-JPJQCTJI.js → chunk-JN3MMQTB.js} +3 -1
  10. package/dist/{chunk-JCRN3F6T.js → chunk-LQZXCL47.js} +62 -26
  11. package/dist/{chunk-O2ZUOWNK.js → chunk-OQ3Y5SL3.js} +1 -1
  12. package/dist/{chunk-TOAMAGC7.js → chunk-Q4OJQNYY.js} +5 -2
  13. package/dist/{chunk-QV6J4EAF.js → chunk-VC3HXUWQ.js} +7071 -48
  14. package/dist/{chunk-7JO77HA6.js → chunk-VQWE3FCB.js} +1 -1
  15. package/dist/{chunk-DHWP7B4S.js → chunk-XYHBAUWE.js} +102 -5
  16. package/dist/{effect--PY8R4Oi.d.ts → effect-gddySYLX.d.ts} +212 -49
  17. package/dist/{effect-result-fH1ZTxn6.d.ts → effect-result-BvBwmspK.d.ts} +76 -9
  18. package/dist/factory/index.d.ts +2 -2
  19. package/dist/factory/index.js +4 -4
  20. package/dist/factory-runtime/index.d.ts +3 -3
  21. package/dist/factory-runtime/index.js +10 -10
  22. package/dist/fixtures.d.ts +3 -3
  23. package/dist/fixtures.js +2 -2
  24. package/dist/i18n/index.js +1 -1
  25. package/dist/{index-Dk2AoJdI.d.ts → index-h6KrpmjR.d.ts} +27 -27
  26. package/dist/index.d.ts +14 -14
  27. package/dist/index.js +15 -15
  28. package/dist/kernel-wire.d.ts +2 -2
  29. package/dist/kernel-wire.js +1 -1
  30. package/dist/language/constructs.json +13 -3
  31. package/dist/language/program-types.json +22 -1
  32. package/dist/language/validation-codes.json +96 -1
  33. package/dist/language/vocabulary.json +19 -1
  34. package/dist/language-data.js +1 -1
  35. package/dist/patterns/component-mapping.json +11 -1
  36. package/dist/patterns/definitions.d.ts +1 -1
  37. package/dist/patterns/definitions.js +1 -1
  38. package/dist/patterns/event-contracts.json +1 -1
  39. package/dist/patterns/index.d.ts +41 -3
  40. package/dist/patterns/index.js +2 -2
  41. package/dist/patterns/patterns-registry.json +7071 -48
  42. package/dist/patterns/registry.json +7071 -48
  43. package/dist/{trait-BO2gbBte.d.ts → trait-Oun4JgeZ.d.ts} +113 -73
  44. package/dist/types/index.d.ts +8 -8
  45. package/dist/types/index.js +7 -7
  46. package/dist/{types-CSBhbbse.d.ts → types-B-r7Z7Lf.d.ts} +2 -2
  47. package/package.json +6 -6
  48. package/dist/chunk-AIRZM37O.js +0 -3809
  49. package/dist/{domain-Cpmja5ak.d.ts → domain-WtYcvBMH.d.ts} +51 -51
@@ -694,10 +694,10 @@ type TypeVariable = `$${string}`;
694
694
  declare const NUM_WIDTH_TAGS: readonly ["i8", "i16", "i32", "u8", "u16", "u32", "u64", "f32"];
695
695
  type NumWidthTag = (typeof NUM_WIDTH_TAGS)[number];
696
696
  /** The concrete field-type tags (every `FieldType` but a type variable). */
697
- type FieldTag = 'string' | 'number' | 'int' | NumWidthTag | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'instant' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'bytes' | 'array' | 'object' | 'enum' | 'relation' | 'trait' | 'orbital' | 'behavior' | 'slot' | 'pattern' | 'node' | 'event' | 'EventAddress' | 'CallKey' | 'SExpr' | 'union' | 'tuple' | 'field';
697
+ type FieldTag = 'string' | 'number' | 'int' | NumWidthTag | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'instant' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'bytes' | 'array' | 'object' | 'enum' | 'relation' | 'trait' | 'orbital' | 'behavior' | 'slot' | 'pattern' | 'node' | 'event' | 'EventAddress' | 'CallKey' | 'MessageKey' | 'SExpr' | 'union' | 'tuple' | 'field';
698
698
  /** Every `FieldType`, as a runtime array. Downstream imports this instead of
699
699
  * re-listing the union — five copies had already drifted apart. */
700
- declare const FIELD_TYPES: readonly ["string", "number", "int", "i8", "i16", "i32", "u8", "u16", "u32", "u64", "f32", "boolean", "date", "timestamp", "datetime", "instant", "email", "url", "phone", "uuid", "image", "money", "file", "bytes", "array", "object", "enum", "relation", "trait", "orbital", "behavior", "slot", "pattern", "node", "event", "EventAddress", "CallKey", "SExpr", "union", "tuple", "field"];
700
+ declare const FIELD_TYPES: readonly ["string", "number", "int", "i8", "i16", "i32", "u8", "u16", "u32", "u64", "f32", "boolean", "date", "timestamp", "datetime", "instant", "email", "url", "phone", "uuid", "image", "money", "file", "bytes", "array", "object", "enum", "relation", "trait", "orbital", "behavior", "slot", "pattern", "node", "event", "EventAddress", "CallKey", "MessageKey", "SExpr", "union", "tuple", "field"];
701
701
  /** The semantic string domains — constrained strings, validatable by value. */
702
702
  declare const SEMANTIC_STRING_TYPES: readonly ["email", "url", "phone", "uuid", "image"];
703
703
  type SemanticStringType = (typeof SEMANTIC_STRING_TYPES)[number];
@@ -723,8 +723,20 @@ declare const FieldTagSchema: z.ZodEnum<{
723
723
  url: "url";
724
724
  field: "field";
725
725
  timestamp: "timestamp";
726
+ datetime: "datetime";
727
+ instant: "instant";
728
+ email: "email";
729
+ phone: "phone";
730
+ uuid: "uuid";
726
731
  image: "image";
732
+ bytes: "bytes";
727
733
  slot: "slot";
734
+ EventAddress: "EventAddress";
735
+ CallKey: "CallKey";
736
+ MessageKey: "MessageKey";
737
+ SExpr: "SExpr";
738
+ behavior: "behavior";
739
+ relation: "relation";
728
740
  i8: "i8";
729
741
  i16: "i16";
730
742
  i32: "i32";
@@ -733,18 +745,7 @@ declare const FieldTagSchema: z.ZodEnum<{
733
745
  u32: "u32";
734
746
  u64: "u64";
735
747
  f32: "f32";
736
- datetime: "datetime";
737
- instant: "instant";
738
- email: "email";
739
- phone: "phone";
740
- uuid: "uuid";
741
748
  money: "money";
742
- bytes: "bytes";
743
- relation: "relation";
744
- behavior: "behavior";
745
- EventAddress: "EventAddress";
746
- CallKey: "CallKey";
747
- SExpr: "SExpr";
748
749
  }>;
749
750
  declare function isTypeVariable(type: string): type is TypeVariable;
750
751
  declare const TypeVariableSchema: z.ZodCustom<`$${string}`, `$${string}`>;
@@ -768,8 +769,20 @@ declare const FieldTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
768
769
  url: "url";
769
770
  field: "field";
770
771
  timestamp: "timestamp";
772
+ datetime: "datetime";
773
+ instant: "instant";
774
+ email: "email";
775
+ phone: "phone";
776
+ uuid: "uuid";
771
777
  image: "image";
778
+ bytes: "bytes";
772
779
  slot: "slot";
780
+ EventAddress: "EventAddress";
781
+ CallKey: "CallKey";
782
+ MessageKey: "MessageKey";
783
+ SExpr: "SExpr";
784
+ behavior: "behavior";
785
+ relation: "relation";
773
786
  i8: "i8";
774
787
  i16: "i16";
775
788
  i32: "i32";
@@ -778,18 +791,7 @@ declare const FieldTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
778
791
  u32: "u32";
779
792
  u64: "u64";
780
793
  f32: "f32";
781
- datetime: "datetime";
782
- instant: "instant";
783
- email: "email";
784
- phone: "phone";
785
- uuid: "uuid";
786
794
  money: "money";
787
- bytes: "bytes";
788
- relation: "relation";
789
- behavior: "behavior";
790
- EventAddress: "EventAddress";
791
- CallKey: "CallKey";
792
- SExpr: "SExpr";
793
795
  }>, z.ZodCustom<`$${string}`, `$${string}`>]>;
794
796
  /** Words legal in a `.lolo`/`.orb` TYPE POSITION that are not entity field
795
797
  * types (config/param/return annotations, primitives with no field-level
@@ -925,7 +927,7 @@ declare function isSemanticStringValue(type: SemanticStringType, value: string):
925
927
  * Field-type tags that don't carry a type-dependent payload. The base
926
928
  * `EntityField` shape applies as-is.
927
929
  */
928
- type ScalarFieldType = 'string' | 'number' | 'int' | NumWidthTag | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'instant' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'bytes' | 'trait' | 'orbital' | 'behavior' | 'slot' | 'pattern' | 'node' | 'event' | 'EventAddress' | 'CallKey' | 'SExpr';
930
+ type ScalarFieldType = 'string' | 'number' | 'int' | NumWidthTag | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'instant' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'bytes' | 'trait' | 'orbital' | 'behavior' | 'slot' | 'pattern' | 'node' | 'event' | 'EventAddress' | 'CallKey' | 'MessageKey' | 'SExpr';
929
931
  /** Fields shared across every variant. */
930
932
  type EntityFieldBase = {
931
933
  /**
@@ -1105,11 +1107,11 @@ declare const FieldSchema: z.ZodType<EntityField, unknown, z.core.$ZodTypeIntern
1105
1107
  declare const ENTITY_ROLES: readonly ["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"];
1106
1108
  type EntityRole = (typeof ENTITY_ROLES)[number];
1107
1109
  declare const EntityRoleSchema: z.ZodEnum<{
1108
- item: "item";
1109
1110
  ui: "ui";
1110
1111
  player: "player";
1111
1112
  enemy: "enemy";
1112
1113
  npc: "npc";
1114
+ item: "item";
1113
1115
  tile: "tile";
1114
1116
  projectile: "projectile";
1115
1117
  effect: "effect";
@@ -1122,11 +1124,11 @@ declare const EntityRoleSchema: z.ZodEnum<{
1122
1124
  declare const VISUAL_STYLES: readonly ["pixel", "vector", "hd", "1-bit", "isometric"];
1123
1125
  type VisualStyle = (typeof VISUAL_STYLES)[number];
1124
1126
  declare const VisualStyleSchema: z.ZodEnum<{
1125
- isometric: "isometric";
1126
1127
  pixel: "pixel";
1127
1128
  vector: "vector";
1128
1129
  hd: "hd";
1129
1130
  "1-bit": "1-bit";
1131
+ isometric: "isometric";
1130
1132
  }>;
1131
1133
  /**
1132
1134
  * Whether the asset is a 2D sprite/image or a 3D model. Set by the consuming
@@ -1435,11 +1437,11 @@ declare const SemanticAssetRefSchema: z.ZodObject<{
1435
1437
  category: z.ZodString;
1436
1438
  animations: z.ZodOptional<z.ZodArray<z.ZodString>>;
1437
1439
  style: z.ZodOptional<z.ZodEnum<{
1438
- isometric: "isometric";
1439
1440
  pixel: "pixel";
1440
1441
  vector: "vector";
1441
1442
  hd: "hd";
1442
1443
  "1-bit": "1-bit";
1444
+ isometric: "isometric";
1443
1445
  }>>;
1444
1446
  variant: z.ZodOptional<z.ZodString>;
1445
1447
  dimension: z.ZodOptional<z.ZodEnum<{
@@ -1496,11 +1498,11 @@ declare const AssetSchema: z.ZodObject<{
1496
1498
  category: z.ZodString;
1497
1499
  animations: z.ZodOptional<z.ZodArray<z.ZodString>>;
1498
1500
  style: z.ZodOptional<z.ZodEnum<{
1499
- isometric: "isometric";
1500
1501
  pixel: "pixel";
1501
1502
  vector: "vector";
1502
1503
  hd: "hd";
1503
1504
  "1-bit": "1-bit";
1505
+ isometric: "isometric";
1504
1506
  }>>;
1505
1507
  variant: z.ZodOptional<z.ZodString>;
1506
1508
  dimension: z.ZodOptional<z.ZodEnum<{
@@ -1557,13 +1559,13 @@ declare const AssetCatalogEntrySchema: z.ZodObject<{
1557
1559
  name: z.ZodString;
1558
1560
  category: z.ZodString;
1559
1561
  kind: z.ZodEnum<{
1560
- model: "model";
1561
1562
  image: "image";
1562
1563
  scene: "scene";
1563
1564
  other: "other";
1564
1565
  audio: "audio";
1565
1566
  spritesheet: "spritesheet";
1566
1567
  portrait: "portrait";
1568
+ model: "model";
1567
1569
  }>;
1568
1570
  thumbnailUrl: z.ZodOptional<z.ZodString>;
1569
1571
  dimension: z.ZodOptional<z.ZodEnum<{
@@ -1589,13 +1591,13 @@ declare const AssetCatalogSchema: z.ZodArray<z.ZodObject<{
1589
1591
  name: z.ZodString;
1590
1592
  category: z.ZodString;
1591
1593
  kind: z.ZodEnum<{
1592
- model: "model";
1593
1594
  image: "image";
1594
1595
  scene: "scene";
1595
1596
  other: "other";
1596
1597
  audio: "audio";
1597
1598
  spritesheet: "spritesheet";
1598
1599
  portrait: "portrait";
1600
+ model: "model";
1599
1601
  }>;
1600
1602
  thumbnailUrl: z.ZodOptional<z.ZodString>;
1601
1603
  dimension: z.ZodOptional<z.ZodEnum<{
@@ -1651,10 +1653,10 @@ declare const CAMERA_MODES: readonly ["isometric", "perspective", "top-down", "f
1651
1653
  type CameraMode = (typeof CAMERA_MODES)[number];
1652
1654
  declare const CameraModeSchema: z.ZodEnum<{
1653
1655
  isometric: "isometric";
1654
- follow: "follow";
1655
1656
  front: "front";
1656
1657
  perspective: "perspective";
1657
1658
  "top-down": "top-down";
1659
+ follow: "follow";
1658
1660
  chase: "chase";
1659
1661
  }>;
1660
1662
  /**
@@ -1692,10 +1694,10 @@ declare const CameraSchema: z.ZodObject<{
1692
1694
  fov: z.ZodOptional<z.ZodNumber>;
1693
1695
  mode: z.ZodOptional<z.ZodEnum<{
1694
1696
  isometric: "isometric";
1695
- follow: "follow";
1696
1697
  front: "front";
1697
1698
  perspective: "perspective";
1698
1699
  "top-down": "top-down";
1700
+ follow: "follow";
1699
1701
  chase: "chase";
1700
1702
  }>>;
1701
1703
  azimuth: z.ZodOptional<z.ZodNumber>;
@@ -1799,10 +1801,10 @@ declare function defaultUnitAtlas(sheets: SpriteSheetAtlas['sheets'], opts?: {
1799
1801
  declare const MANIFEST_ENTRY_KINDS: readonly ["model", "image", "spritesheet", "audio", "json"];
1800
1802
  type ManifestEntryKind = (typeof MANIFEST_ENTRY_KINDS)[number];
1801
1803
  declare const ManifestEntryKindSchema: z.ZodEnum<{
1802
- model: "model";
1803
1804
  image: "image";
1804
1805
  audio: "audio";
1805
1806
  spritesheet: "spritesheet";
1807
+ model: "model";
1806
1808
  json: "json";
1807
1809
  }>;
1808
1810
  /**
@@ -1874,10 +1876,10 @@ declare const MANIFEST_CANVAS_AFFINITIES: readonly ["isometric", "hex", "flat",
1874
1876
  type ManifestCanvasAffinity = (typeof MANIFEST_CANVAS_AFFINITIES)[number];
1875
1877
  declare const ManifestCanvasAffinitySchema: z.ZodEnum<{
1876
1878
  flat: "flat";
1877
- none: "none";
1878
- isometric: "isometric";
1879
1879
  side: "side";
1880
+ isometric: "isometric";
1880
1881
  "3d": "3d";
1882
+ none: "none";
1881
1883
  hex: "hex";
1882
1884
  }>;
1883
1885
  declare const MANIFEST_SOURCE_CATALOGS: readonly ["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"];
@@ -1946,20 +1948,20 @@ declare const ManifestEntrySchema: z.ZodObject<{
1946
1948
  name: z.ZodString;
1947
1949
  category: z.ZodString;
1948
1950
  kind: z.ZodEnum<{
1949
- model: "model";
1950
1951
  image: "image";
1951
1952
  audio: "audio";
1952
1953
  spritesheet: "spritesheet";
1954
+ model: "model";
1953
1955
  json: "json";
1954
1956
  }>;
1955
1957
  width: z.ZodNumber;
1956
1958
  height: z.ZodNumber;
1957
1959
  canvasAffinity: z.ZodEnum<{
1958
1960
  flat: "flat";
1959
- none: "none";
1960
- isometric: "isometric";
1961
1961
  side: "side";
1962
+ isometric: "isometric";
1962
1963
  "3d": "3d";
1964
+ none: "none";
1963
1965
  hex: "hex";
1964
1966
  }>;
1965
1967
  genreAffinity: z.ZodArray<z.ZodString>;
@@ -2097,10 +2099,14 @@ type OrbitalEntity = {
2097
2099
  };
2098
2100
  /** `@invariant <expr>`: every stored row satisfies each, proved by `orb validate` over the program's writes. No runtime effect. */
2099
2101
  invariants?: SExpr[];
2100
- /** `@index { fields, orderBy? }`: declared access paths. A path changes a query's cost, never its result. */
2102
+ /** `@index { fields, orderBy?, nearest? }`: declared access paths; a `nearest` path ranks over a vector field. A path changes a query's cost, never its result. */
2101
2103
  indexes?: {
2102
2104
  fields: string[];
2103
2105
  orderBy?: string;
2106
+ nearest?: {
2107
+ field: string;
2108
+ dimension: number;
2109
+ };
2104
2110
  }[];
2105
2111
  /** Collection name (auto-derived if not provided for persistent entities) */
2106
2112
  collection?: string;
@@ -2149,6 +2155,10 @@ declare const OrbitalEntitySchema: z.ZodObject<{
2149
2155
  indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2150
2156
  fields: z.ZodArray<z.ZodString>;
2151
2157
  orderBy: z.ZodOptional<z.ZodString>;
2158
+ nearest: z.ZodOptional<z.ZodObject<{
2159
+ field: z.ZodString;
2160
+ dimension: z.ZodNumber;
2161
+ }, z.core.$strict>>;
2152
2162
  }, z.core.$strict>>>;
2153
2163
  collection: z.ZodOptional<z.ZodString>;
2154
2164
  fields: z.ZodArray<z.ZodType<EntityField, unknown, z.core.$ZodTypeInternals<EntityField, unknown>>>;
@@ -2163,11 +2173,11 @@ declare const OrbitalEntitySchema: z.ZodObject<{
2163
2173
  category: z.ZodString;
2164
2174
  animations: z.ZodOptional<z.ZodArray<z.ZodString>>;
2165
2175
  style: z.ZodOptional<z.ZodEnum<{
2166
- isometric: "isometric";
2167
2176
  pixel: "pixel";
2168
2177
  vector: "vector";
2169
2178
  hd: "hd";
2170
2179
  "1-bit": "1-bit";
2180
+ isometric: "isometric";
2171
2181
  }>>;
2172
2182
  variant: z.ZodOptional<z.ZodString>;
2173
2183
  dimension: z.ZodOptional<z.ZodEnum<{
@@ -2214,6 +2224,10 @@ declare const EntitySchema: z.ZodObject<{
2214
2224
  indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2215
2225
  fields: z.ZodArray<z.ZodString>;
2216
2226
  orderBy: z.ZodOptional<z.ZodString>;
2227
+ nearest: z.ZodOptional<z.ZodObject<{
2228
+ field: z.ZodString;
2229
+ dimension: z.ZodNumber;
2230
+ }, z.core.$strict>>;
2217
2231
  }, z.core.$strict>>>;
2218
2232
  collection: z.ZodOptional<z.ZodString>;
2219
2233
  fields: z.ZodArray<z.ZodType<EntityField, unknown, z.core.$ZodTypeInternals<EntityField, unknown>>>;
@@ -2228,11 +2242,11 @@ declare const EntitySchema: z.ZodObject<{
2228
2242
  category: z.ZodString;
2229
2243
  animations: z.ZodOptional<z.ZodArray<z.ZodString>>;
2230
2244
  style: z.ZodOptional<z.ZodEnum<{
2231
- isometric: "isometric";
2232
2245
  pixel: "pixel";
2233
2246
  vector: "vector";
2234
2247
  hd: "hd";
2235
2248
  "1-bit": "1-bit";
2249
+ isometric: "isometric";
2236
2250
  }>>;
2237
2251
  variant: z.ZodOptional<z.ZodString>;
2238
2252
  dimension: z.ZodOptional<z.ZodEnum<{
@@ -2384,8 +2398,8 @@ type EntityData = Record<string, EntityRow[]>;
2384
2398
  *
2385
2399
  * DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
2386
2400
  *
2387
- * Generated: 2026-11-09T16:44:50.466Z
2388
- * Pattern count: 260
2401
+ * Generated: 2026-11-14T09:17:31.701Z
2402
+ * Pattern count: 262
2389
2403
  */
2390
2404
 
2391
2405
  /**
@@ -2397,7 +2411,7 @@ type PatternPropValue = Record<string, FieldValue | undefined>;
2397
2411
  * All valid pattern type names from @almadar/core/patterns registry.
2398
2412
  * Use this type in render-ui effects for compile-time validation.
2399
2413
  */
2400
- type PatternType = 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'activity-rail' | 'agent-activity-feed' | 'agent-activity-row' | 'agent-chat-feed' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'avl-glyph' | 'avl-state-machine' | 'avl-transition-detail' | 'avl-transition-explainer' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'center' | 'change-list' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'command-palette' | 'commit-row' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'control-button' | 'control-grid' | 'counter-template' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'dock-layout' | 'document-details' | 'document-panel' | 'document-viewer' | 'draw-fx-layer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-skinned-mesh' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-grid' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'floating-toolbar' | 'flow-canvas' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-cue' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'gantt' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'guest-view' | 'header' | 'health-bar' | 'hstack' | 'icon' | 'icon-button' | 'image' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'jazari-state-machine' | 'label' | 'law-reference-tooltip' | 'layers-panel' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'machine-panel' | 'map-view' | 'markdown-content' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orb-inspector' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'progress-bar' | 'progress-dots' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-text-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'status-dot' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-input' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'top-nav-item' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-component' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'video-embed' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2414
+ type PatternType = 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'activity-rail' | 'agent-activity-feed' | 'agent-activity-row' | 'agent-chat-feed' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'annotated-media' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'avl-glyph' | 'avl-state-machine' | 'avl-transition-detail' | 'avl-transition-explainer' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'center' | 'change-list' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'command-palette' | 'commit-row' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'control-button' | 'control-grid' | 'counter-template' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'dock-layout' | 'document-details' | 'document-panel' | 'document-viewer' | 'draw-emitter' | 'draw-fx-layer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-skinned-mesh' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-grid' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'floating-toolbar' | 'flow-canvas' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-cue' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'gantt' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'guest-view' | 'header' | 'health-bar' | 'hstack' | 'icon' | 'icon-button' | 'image' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'jazari-state-machine' | 'label' | 'law-reference-tooltip' | 'layers-panel' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'machine-panel' | 'map-view' | 'markdown-content' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orb-inspector' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'progress-bar' | 'progress-dots' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-text-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'status-dot' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-input' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'top-nav-item' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-component' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'video-embed' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2401
2415
  /**
2402
2416
  * Pattern props map — each pattern type maps to its valid props interface.
2403
2417
  */
@@ -2762,6 +2776,35 @@ interface PatternPropsMap {
2762
2776
  dir?: string | SExpr;
2763
2777
  tabIndex?: number | string | SExpr;
2764
2778
  };
2779
+ 'annotated-media': {
2780
+ type: 'annotated-media';
2781
+ src: unknown | string | SExpr;
2782
+ mediaType?: string | SExpr;
2783
+ title?: string | SExpr;
2784
+ pins?: unknown[] | string | SExpr;
2785
+ activePinId?: string | SExpr;
2786
+ placing?: boolean | string | SExpr;
2787
+ placeEvent?: string | SExpr;
2788
+ pinSelectEvent?: string | SExpr;
2789
+ className?: string | SExpr;
2790
+ enter?: string | SExpr;
2791
+ enterDelay?: number | string | SExpr;
2792
+ skeleton?: string | PatternPropValue | SExpr;
2793
+ 'aria-label'?: string | SExpr;
2794
+ 'aria-labelledby'?: string | SExpr;
2795
+ 'aria-describedby'?: string | SExpr;
2796
+ 'aria-live'?: string | SExpr;
2797
+ 'aria-current'?: string | SExpr;
2798
+ 'aria-pressed'?: string | SExpr;
2799
+ 'aria-expanded'?: boolean | string | SExpr;
2800
+ 'aria-selected'?: boolean | string | SExpr;
2801
+ 'aria-hidden'?: boolean | string | SExpr;
2802
+ 'aria-busy'?: boolean | string | SExpr;
2803
+ role?: string | SExpr;
2804
+ lang?: string | SExpr;
2805
+ dir?: string | SExpr;
2806
+ tabIndex?: number | string | SExpr;
2807
+ };
2765
2808
  'aside': {
2766
2809
  type: 'aside';
2767
2810
  className?: string | SExpr;
@@ -3283,6 +3326,7 @@ interface PatternPropsMap {
3283
3326
  };
3284
3327
  'canvas': {
3285
3328
  type: 'canvas';
3329
+ painter?: string | SExpr;
3286
3330
  mode?: string | SExpr;
3287
3331
  drawables?: unknown[] | string | SExpr;
3288
3332
  description?: string | SExpr;
@@ -3290,6 +3334,8 @@ interface PatternPropsMap {
3290
3334
  projection?: string | SExpr;
3291
3335
  className?: string | SExpr;
3292
3336
  isLoading?: boolean | string | SExpr;
3337
+ fillContainer?: boolean | string | SExpr;
3338
+ minHeight?: number | string | SExpr;
3293
3339
  unitScale?: number | string | SExpr;
3294
3340
  showMinimap?: boolean | string | SExpr;
3295
3341
  fit?: boolean | string | SExpr;
@@ -3311,8 +3357,23 @@ interface PatternPropsMap {
3311
3357
  tileHoverEvent?: string | SExpr;
3312
3358
  tileLeaveEvent?: string | SExpr;
3313
3359
  featureClickEvent?: string | SExpr;
3360
+ pointerDownEvent?: string | SExpr;
3361
+ pointerUpEvent?: string | SExpr;
3362
+ pointerEnterEvent?: string | SExpr;
3363
+ pointerLeaveEvent?: string | SExpr;
3364
+ pointerMoveEvent?: string | SExpr;
3365
+ pointerMoves?: string | SExpr;
3366
+ wheelEvent?: string | SExpr;
3367
+ direction?: string | SExpr;
3368
+ directionEvent?: string | SExpr;
3369
+ measureEvent?: string | SExpr;
3370
+ resizeEvent?: string | SExpr;
3371
+ textInputEvent?: string | SExpr;
3372
+ keyEvent?: string | SExpr;
3373
+ accessEvent?: string | SExpr;
3314
3374
  keyMap?: PatternPropValue | string | SExpr;
3315
3375
  keyUpMap?: PatternPropValue | string | SExpr;
3376
+ gestureMap?: PatternPropValue | string | SExpr;
3316
3377
  editable?: boolean | string | SExpr;
3317
3378
  selectedId?: string | SExpr;
3318
3379
  onSelect?: ((...args: never[]) => unknown) | string | SExpr;
@@ -3353,6 +3414,7 @@ interface PatternPropsMap {
3353
3414
  tileLeaveEvent?: string | SExpr;
3354
3415
  keyMap?: PatternPropValue | string | SExpr;
3355
3416
  keyUpMap?: PatternPropValue | string | SExpr;
3417
+ gestureMap?: PatternPropValue | string | SExpr;
3356
3418
  editable?: boolean | string | SExpr;
3357
3419
  selectedId?: string | SExpr;
3358
3420
  onSelect?: ((...args: never[]) => unknown) | string | SExpr;
@@ -4266,6 +4328,8 @@ interface PatternPropsMap {
4266
4328
  itemEnter?: string | SExpr;
4267
4329
  maxInlineActions?: number | string | SExpr;
4268
4330
  itemClickEvent?: string | SExpr;
4331
+ selectedId?: string | SExpr;
4332
+ scrollToSelected?: boolean | string | SExpr;
4269
4333
  gap?: string | SExpr;
4270
4334
  variant?: string | SExpr;
4271
4335
  groupBy?: string | SExpr;
@@ -4805,9 +4869,32 @@ interface PatternPropsMap {
4805
4869
  dir?: string | SExpr;
4806
4870
  tabIndex?: number | string | SExpr;
4807
4871
  };
4872
+ 'draw-emitter': {
4873
+ type: 'draw-emitter';
4874
+ id?: string | SExpr;
4875
+ hit?: boolean | string | SExpr;
4876
+ wheel?: boolean | string | SExpr;
4877
+ semantic?: PatternPropValue | string | SExpr;
4878
+ spring?: PatternPropValue | string | SExpr;
4879
+ position: PatternPropValue | string | SExpr;
4880
+ template: unknown[] | string | SExpr;
4881
+ rate: number | string | SExpr;
4882
+ burst?: number | string | SExpr;
4883
+ lifetime: number | string | SExpr;
4884
+ spread?: unknown[] | string | SExpr;
4885
+ speed: unknown[] | string | SExpr;
4886
+ gravity?: number | string | SExpr;
4887
+ seed: number | string | SExpr;
4888
+ startMs?: number | string | SExpr;
4889
+ over: PatternPropValue | string | SExpr;
4890
+ };
4808
4891
  'draw-fx-layer': {
4809
4892
  type: 'draw-fx-layer';
4810
4893
  id?: string | SExpr;
4894
+ hit?: boolean | string | SExpr;
4895
+ wheel?: boolean | string | SExpr;
4896
+ semantic?: PatternPropValue | string | SExpr;
4897
+ spring?: PatternPropValue | string | SExpr;
4811
4898
  items: unknown[] | string | SExpr;
4812
4899
  presets?: unknown[] | string | SExpr;
4813
4900
  art?: PatternPropValue | string | SExpr;
@@ -4818,6 +4905,10 @@ interface PatternPropsMap {
4818
4905
  'draw-group': {
4819
4906
  type: 'draw-group';
4820
4907
  id?: string | SExpr;
4908
+ hit?: boolean | string | SExpr;
4909
+ wheel?: boolean | string | SExpr;
4910
+ semantic?: PatternPropValue | string | SExpr;
4911
+ spring?: PatternPropValue | string | SExpr;
4821
4912
  position: PatternPropValue | string | SExpr;
4822
4913
  scale?: number | string | SExpr;
4823
4914
  rotate?: number | string | SExpr;
@@ -4827,11 +4918,16 @@ interface PatternPropsMap {
4827
4918
  animation?: PatternPropValue | string | SExpr;
4828
4919
  opacity?: number | string | SExpr;
4829
4920
  clip?: string | SExpr;
4921
+ target?: PatternPropValue | string | SExpr;
4830
4922
  items: unknown[] | string | SExpr;
4831
4923
  };
4832
4924
  'draw-mesh': {
4833
4925
  type: 'draw-mesh';
4834
4926
  id?: string | SExpr;
4927
+ hit?: boolean | string | SExpr;
4928
+ wheel?: boolean | string | SExpr;
4929
+ semantic?: PatternPropValue | string | SExpr;
4930
+ spring?: PatternPropValue | string | SExpr;
4835
4931
  shape: string | SExpr;
4836
4932
  position: PatternPropValue | string | SExpr;
4837
4933
  width?: number | string | SExpr;
@@ -4858,6 +4954,10 @@ interface PatternPropsMap {
4858
4954
  'draw-shape': {
4859
4955
  type: 'draw-shape';
4860
4956
  id?: string | SExpr;
4957
+ hit?: boolean | string | SExpr;
4958
+ wheel?: boolean | string | SExpr;
4959
+ semantic?: PatternPropValue | string | SExpr;
4960
+ spring?: PatternPropValue | string | SExpr;
4861
4961
  shape: string | SExpr;
4862
4962
  position: PatternPropValue | string | SExpr;
4863
4963
  anchor?: string | SExpr;
@@ -4869,6 +4969,7 @@ interface PatternPropsMap {
4869
4969
  offsetY?: number | string | SExpr;
4870
4970
  points?: unknown[] | string | SExpr;
4871
4971
  d?: string | SExpr;
4972
+ scale?: number | string | SExpr;
4872
4973
  fill?: string | SExpr;
4873
4974
  gradient?: PatternPropValue | string | SExpr;
4874
4975
  fillPattern?: PatternPropValue | string | SExpr;
@@ -4884,15 +4985,31 @@ interface PatternPropsMap {
4884
4985
  shadow?: PatternPropValue | string | SExpr;
4885
4986
  animation?: PatternPropValue | string | SExpr;
4886
4987
  opacity?: number | string | SExpr;
4988
+ corners?: PatternPropValue | string | SExpr;
4989
+ startAngle?: number | string | SExpr;
4990
+ sweep?: number | string | SExpr;
4991
+ thickness?: number | string | SExpr;
4992
+ sides?: number | string | SExpr;
4993
+ starRatio?: number | string | SExpr;
4994
+ material?: PatternPropValue | string | SExpr;
4995
+ backdrop?: PatternPropValue | string | SExpr;
4887
4996
  };
4888
4997
  'draw-shape-layer': {
4889
4998
  type: 'draw-shape-layer';
4890
4999
  id?: string | SExpr;
5000
+ hit?: boolean | string | SExpr;
5001
+ wheel?: boolean | string | SExpr;
5002
+ semantic?: PatternPropValue | string | SExpr;
5003
+ spring?: PatternPropValue | string | SExpr;
4891
5004
  items: unknown[] | string | SExpr;
4892
5005
  };
4893
5006
  'draw-skinned-mesh': {
4894
5007
  type: 'draw-skinned-mesh';
4895
5008
  id?: string | SExpr;
5009
+ hit?: boolean | string | SExpr;
5010
+ wheel?: boolean | string | SExpr;
5011
+ semantic?: PatternPropValue | string | SExpr;
5012
+ spring?: PatternPropValue | string | SExpr;
4896
5013
  position: PatternPropValue | string | SExpr;
4897
5014
  asset: PatternPropValue | string | SExpr;
4898
5015
  mesh?: PatternPropValue | string | SExpr;
@@ -4909,8 +5026,13 @@ interface PatternPropsMap {
4909
5026
  'draw-sprite': {
4910
5027
  type: 'draw-sprite';
4911
5028
  id?: string | SExpr;
5029
+ hit?: boolean | string | SExpr;
5030
+ wheel?: boolean | string | SExpr;
5031
+ semantic?: PatternPropValue | string | SExpr;
5032
+ spring?: PatternPropValue | string | SExpr;
4912
5033
  position: PatternPropValue | string | SExpr;
4913
- asset: PatternPropValue | string | SExpr;
5034
+ asset?: PatternPropValue | string | SExpr;
5035
+ texture?: string | SExpr;
4914
5036
  anchor?: string | SExpr;
4915
5037
  width?: number | string | SExpr;
4916
5038
  height?: number | string | SExpr;
@@ -4926,11 +5048,19 @@ interface PatternPropsMap {
4926
5048
  'draw-sprite-layer': {
4927
5049
  type: 'draw-sprite-layer';
4928
5050
  id?: string | SExpr;
5051
+ hit?: boolean | string | SExpr;
5052
+ wheel?: boolean | string | SExpr;
5053
+ semantic?: PatternPropValue | string | SExpr;
5054
+ spring?: PatternPropValue | string | SExpr;
4929
5055
  items: unknown[] | string | SExpr;
4930
5056
  };
4931
5057
  'draw-text': {
4932
5058
  type: 'draw-text';
4933
5059
  id?: string | SExpr;
5060
+ hit?: boolean | string | SExpr;
5061
+ wheel?: boolean | string | SExpr;
5062
+ semantic?: PatternPropValue | string | SExpr;
5063
+ spring?: PatternPropValue | string | SExpr;
4934
5064
  text: string | SExpr;
4935
5065
  position: PatternPropValue | string | SExpr;
4936
5066
  anchor?: string | SExpr;
@@ -4941,10 +5071,29 @@ interface PatternPropsMap {
4941
5071
  align?: string | SExpr;
4942
5072
  baseline?: string | SExpr;
4943
5073
  opacity?: number | string | SExpr;
5074
+ width?: number | string | SExpr;
5075
+ wrap?: boolean | string | SExpr;
5076
+ maxLines?: number | string | SExpr;
5077
+ truncate?: boolean | string | SExpr;
5078
+ lineHeight?: number | string | SExpr;
5079
+ measure?: boolean | string | SExpr;
5080
+ animation?: PatternPropValue | string | SExpr;
5081
+ reveal?: PatternPropValue | string | SExpr;
5082
+ maxWidth?: number | string | SExpr;
5083
+ caret?: number | string | SExpr;
5084
+ caretColor?: string | SExpr;
5085
+ selectionStart?: number | string | SExpr;
5086
+ selectionEnd?: number | string | SExpr;
5087
+ selectionColor?: string | SExpr;
5088
+ preedit?: string | SExpr;
4944
5089
  };
4945
5090
  'draw-text-layer': {
4946
5091
  type: 'draw-text-layer';
4947
5092
  id?: string | SExpr;
5093
+ hit?: boolean | string | SExpr;
5094
+ wheel?: boolean | string | SExpr;
5095
+ semantic?: PatternPropValue | string | SExpr;
5096
+ spring?: PatternPropValue | string | SExpr;
4948
5097
  items: unknown[] | string | SExpr;
4949
5098
  };
4950
5099
  'drawer': {
@@ -5167,6 +5316,7 @@ interface PatternPropsMap {
5167
5316
  onNodeExpand?: ((...args: never[]) => unknown) | string | SExpr;
5168
5317
  expandedPaths?: unknown[] | string | SExpr;
5169
5318
  onNodeSelect?: ((...args: never[]) => unknown) | string | SExpr;
5319
+ onNodeToggle?: ((...args: never[]) => unknown) | string | SExpr;
5170
5320
  onNodeAction?: ((...args: never[]) => unknown) | string | SExpr;
5171
5321
  nodeActionIcon?: string | SExpr;
5172
5322
  nodeActionLabel?: string | SExpr;
@@ -6054,10 +6204,23 @@ interface PatternPropsMap {
6054
6204
  type: 'guest-view';
6055
6205
  guest: string | SExpr;
6056
6206
  source: string | SExpr;
6207
+ roots?: unknown[] | string | SExpr;
6057
6208
  deliver: string | SExpr;
6058
6209
  navigate?: string | SExpr;
6059
6210
  route?: string | SExpr;
6060
6211
  paints?: unknown[] | string | SExpr;
6212
+ theme?: PatternPropValue | string | SExpr;
6213
+ themeOverride?: string | SExpr;
6214
+ program?: unknown | string | SExpr;
6215
+ leg?: string | SExpr;
6216
+ legTaken?: string | SExpr;
6217
+ legAnswers?: unknown[] | string | SExpr;
6218
+ hostDispatches?: unknown[] | string | SExpr;
6219
+ dispatchesTaken?: string | SExpr;
6220
+ moved?: string | SExpr;
6221
+ signIn?: string | SExpr;
6222
+ signedIn?: boolean | string | SExpr;
6223
+ epoch?: number | string | SExpr;
6061
6224
  children?: unknown | string | SExpr;
6062
6225
  };
6063
6226
  'header': {
@@ -10121,17 +10284,17 @@ type UISlot = (typeof UI_SLOTS)[number];
10121
10284
  /** The slots a renderer mounts as `#slot-{name}`: every slot except the HUD group key, the `screen` alias and dotted sub-slots. */
10122
10285
  declare const RENDERED_SLOTS: readonly UISlot[];
10123
10286
  declare const UISlotSchema: z.ZodEnum<{
10124
- content: "content";
10287
+ system: "system";
10125
10288
  modal: "modal";
10126
10289
  drawer: "drawer";
10290
+ content: "content";
10127
10291
  center: "center";
10128
- floating: "floating";
10129
10292
  overlay: "overlay";
10130
10293
  sidebar: "sidebar";
10131
10294
  main: "main";
10132
10295
  dock: "dock";
10133
10296
  toast: "toast";
10134
- system: "system";
10297
+ floating: "floating";
10135
10298
  screen: "screen";
10136
10299
  hud: "hud";
10137
10300
  "hud-top": "hud-top";