@almadar/core 10.82.0 → 10.84.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,6 +1,6 @@
1
- import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-Baldm2vM.js';
2
- import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-1KQUz2pE.js';
3
- import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-Dsp0vmGp.js';
1
+ import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-DruTSW2O.js';
2
+ import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-BdeZ8R35.js';
3
+ import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DKJWX0Ru.js';
4
4
  import { S as SExpr } from './expression-Fk8bQWef.js';
5
5
  import 'zod';
6
6
 
@@ -2790,7 +2790,7 @@ type EntityData = Record<string, EntityRow[]>;
2790
2790
  *
2791
2791
  * DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
2792
2792
  *
2793
- * Generated: 2026-09-03T18:48:24.196Z
2793
+ * Generated: 2026-09-04T03:53:29.960Z
2794
2794
  * Pattern count: 278
2795
2795
  */
2796
2796
 
@@ -3456,6 +3456,15 @@ interface PatternPropsMap {
3456
3456
  isLoading?: boolean | string | SExpr;
3457
3457
  error?: PatternPropValue | string | SExpr;
3458
3458
  showCopy?: boolean | string | SExpr;
3459
+ editorId?: string | SExpr;
3460
+ onEditorFocus?: string | SExpr;
3461
+ onEditorBlur?: string | SExpr;
3462
+ onMotion?: string | SExpr;
3463
+ onOperate?: string | SExpr;
3464
+ onInsertText?: string | SExpr;
3465
+ onSetMode?: string | SExpr;
3466
+ motions?: unknown[] | string | SExpr;
3467
+ operators?: unknown[] | string | SExpr;
3459
3468
  };
3460
3469
  'code-runner-panel': {
3461
3470
  type: 'code-runner-panel';
@@ -1,4 +1,4 @@
1
- import { O as OrbitalSchema } from './schema-1KQUz2pE.js';
1
+ import { O as OrbitalSchema } from './schema-BdeZ8R35.js';
2
2
  import { S as SExpr } from './expression-Fk8bQWef.js';
3
3
 
4
4
  /**
@@ -1,7 +1,7 @@
1
- import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-DJYozDXK.js';
2
- export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-DJYozDXK.js';
3
- import { a as EntityPersistence, E as EntityField } from '../effect-Baldm2vM.js';
4
- import { a as TraitReference } from '../trait-Dsp0vmGp.js';
1
+ import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-CRr2IuTj.js';
2
+ export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-CRr2IuTj.js';
3
+ import { a as EntityPersistence, E as EntityField } from '../effect-DruTSW2O.js';
4
+ import { a as TraitReference } from '../trait-DKJWX0Ru.js';
5
5
  export { J as JsonValue } from '../expression-Fk8bQWef.js';
6
6
  import 'zod';
7
7
 
@@ -17311,7 +17311,7 @@ var patterns_registry_default = {
17311
17311
  types: [
17312
17312
  "object"
17313
17313
  ],
17314
- description: "GAP-80: line-level error/warning highlights for editable mode. Map of 1-based line number \u2192 severity. The overlay paints a colored background on each line: error = red, warning = yellow. Pass undefined (default) to disable. The consumer is responsible for computing the path \u2192 line map from the schema + validation results.",
17314
+ description: "GAP-80: line-level error/warning highlights. Map of 1-based line number \u2192 severity. Paints a colored background on each line: error = red, warning = yellow. Honored by the editable overlay and (GAP-84) by viewer mode's non-diff highlight; pass undefined (default) to disable. The consumer is responsible for computing the path \u2192 line map from the schema + validation results.",
17315
17315
  nonAuthorable: true
17316
17316
  },
17317
17317
  title: {
@@ -17600,6 +17600,265 @@ var patterns_registry_default = {
17600
17600
  "boolean"
17601
17601
  ],
17602
17602
  description: "Show copy button (viewer alias for showCopyButton)"
17603
+ },
17604
+ editorId: {
17605
+ types: [
17606
+ "string"
17607
+ ],
17608
+ description: "Stable identity for the keyboard router / plugin host to target this editor. Unset = this instance never receives capability events.",
17609
+ tier: "presentation"
17610
+ },
17611
+ onEditorFocus: {
17612
+ types: [
17613
+ "string"
17614
+ ],
17615
+ description: "Declarative bus emit fired when this editor gains focus.",
17616
+ kind: "event-ref",
17617
+ emitPayloadSchema: [
17618
+ {
17619
+ name: "editorId",
17620
+ type: "string",
17621
+ required: true
17622
+ }
17623
+ ],
17624
+ default: "EDITOR_FOCUS",
17625
+ tier: "presentation"
17626
+ },
17627
+ onEditorBlur: {
17628
+ types: [
17629
+ "string"
17630
+ ],
17631
+ description: "Declarative bus emit fired when this editor loses focus.",
17632
+ kind: "event-ref",
17633
+ emitPayloadSchema: [
17634
+ {
17635
+ name: "editorId",
17636
+ type: "string",
17637
+ required: true
17638
+ }
17639
+ ],
17640
+ default: "EDITOR_BLUR",
17641
+ tier: "presentation"
17642
+ },
17643
+ onMotion: {
17644
+ types: [
17645
+ "string"
17646
+ ],
17647
+ description: "Declarative bus listen: move the cursor per the vim-style motion vocabulary.",
17648
+ kind: "event-listen",
17649
+ listenPayloadSchema: [
17650
+ {
17651
+ name: "editorId",
17652
+ type: "string",
17653
+ required: true
17654
+ },
17655
+ {
17656
+ name: "motion",
17657
+ type: "string",
17658
+ required: true,
17659
+ enumValues: [
17660
+ "left",
17661
+ "right",
17662
+ "up",
17663
+ "down",
17664
+ "word-forward",
17665
+ "word-back",
17666
+ "word-end",
17667
+ "line-start",
17668
+ "line-end",
17669
+ "first-nonblank",
17670
+ "doc-start",
17671
+ "doc-end",
17672
+ "paragraph-forward",
17673
+ "paragraph-back",
17674
+ "line",
17675
+ "selection"
17676
+ ]
17677
+ },
17678
+ {
17679
+ name: "count",
17680
+ type: "number",
17681
+ required: true
17682
+ }
17683
+ ],
17684
+ default: "MOTION",
17685
+ tier: "presentation"
17686
+ },
17687
+ onOperate: {
17688
+ types: [
17689
+ "string"
17690
+ ],
17691
+ description: "Declarative bus listen: apply a text operator over a motion's range.",
17692
+ kind: "event-listen",
17693
+ listenPayloadSchema: [
17694
+ {
17695
+ name: "editorId",
17696
+ type: "string",
17697
+ required: true
17698
+ },
17699
+ {
17700
+ name: "operator",
17701
+ type: "string",
17702
+ required: true,
17703
+ enumValues: [
17704
+ "delete",
17705
+ "yank",
17706
+ "change"
17707
+ ]
17708
+ },
17709
+ {
17710
+ name: "motion",
17711
+ type: "string",
17712
+ required: true,
17713
+ enumValues: [
17714
+ "left",
17715
+ "right",
17716
+ "up",
17717
+ "down",
17718
+ "word-forward",
17719
+ "word-back",
17720
+ "word-end",
17721
+ "line-start",
17722
+ "line-end",
17723
+ "first-nonblank",
17724
+ "doc-start",
17725
+ "doc-end",
17726
+ "paragraph-forward",
17727
+ "paragraph-back",
17728
+ "line",
17729
+ "selection"
17730
+ ]
17731
+ },
17732
+ {
17733
+ name: "count",
17734
+ type: "number",
17735
+ required: true
17736
+ }
17737
+ ],
17738
+ default: "OPERATE",
17739
+ tier: "presentation"
17740
+ },
17741
+ onInsertText: {
17742
+ types: [
17743
+ "string"
17744
+ ],
17745
+ description: "Declarative bus listen: insert literal text at the cursor.",
17746
+ kind: "event-listen",
17747
+ listenPayloadSchema: [
17748
+ {
17749
+ name: "editorId",
17750
+ type: "string",
17751
+ required: true
17752
+ },
17753
+ {
17754
+ name: "text",
17755
+ type: "string",
17756
+ required: true
17757
+ }
17758
+ ],
17759
+ default: "INSERT_TEXT",
17760
+ tier: "presentation"
17761
+ },
17762
+ onSetMode: {
17763
+ types: [
17764
+ "string"
17765
+ ],
17766
+ description: "Declarative bus listen: switch editor mode and caret style.",
17767
+ kind: "event-listen",
17768
+ listenPayloadSchema: [
17769
+ {
17770
+ name: "editorId",
17771
+ type: "string",
17772
+ required: true
17773
+ },
17774
+ {
17775
+ name: "mode",
17776
+ type: "string",
17777
+ required: true
17778
+ },
17779
+ {
17780
+ name: "caret",
17781
+ type: "string",
17782
+ required: true,
17783
+ enumValues: [
17784
+ "bar",
17785
+ "block",
17786
+ "underline"
17787
+ ]
17788
+ }
17789
+ ],
17790
+ default: "SET_MODE",
17791
+ tier: "presentation"
17792
+ },
17793
+ motions: {
17794
+ types: [
17795
+ "array"
17796
+ ],
17797
+ description: "Motion vocabulary this editor accepts. Default: the full `EditorMotion` set.",
17798
+ items: {
17799
+ types: [
17800
+ "string"
17801
+ ],
17802
+ enumValues: [
17803
+ "left",
17804
+ "right",
17805
+ "up",
17806
+ "down",
17807
+ "word-forward",
17808
+ "word-back",
17809
+ "word-end",
17810
+ "line-start",
17811
+ "line-end",
17812
+ "first-nonblank",
17813
+ "doc-start",
17814
+ "doc-end",
17815
+ "paragraph-forward",
17816
+ "paragraph-back",
17817
+ "line",
17818
+ "selection"
17819
+ ]
17820
+ },
17821
+ default: [
17822
+ "left",
17823
+ "right",
17824
+ "up",
17825
+ "down",
17826
+ "word-forward",
17827
+ "word-back",
17828
+ "word-end",
17829
+ "line-start",
17830
+ "line-end",
17831
+ "first-nonblank",
17832
+ "doc-start",
17833
+ "doc-end",
17834
+ "paragraph-forward",
17835
+ "paragraph-back",
17836
+ "line",
17837
+ "selection"
17838
+ ],
17839
+ tier: "presentation"
17840
+ },
17841
+ operators: {
17842
+ types: [
17843
+ "array"
17844
+ ],
17845
+ description: "Operator vocabulary this editor accepts. Default: the full `EditorOperator` set.",
17846
+ items: {
17847
+ types: [
17848
+ "string"
17849
+ ],
17850
+ enumValues: [
17851
+ "delete",
17852
+ "yank",
17853
+ "change"
17854
+ ]
17855
+ },
17856
+ default: [
17857
+ "delete",
17858
+ "yank",
17859
+ "change"
17860
+ ],
17861
+ tier: "presentation"
17603
17862
  }
17604
17863
  }
17605
17864
  },
@@ -27662,7 +27921,12 @@ var patterns_registry_default = {
27662
27921
  {
27663
27922
  name: "next",
27664
27923
  type: "string",
27665
- required: true
27924
+ required: true,
27925
+ enumValues: [
27926
+ "up",
27927
+ "down",
27928
+ "none"
27929
+ ]
27666
27930
  }
27667
27931
  ]
27668
27932
  },
@@ -28130,7 +28394,12 @@ var patterns_registry_default = {
28130
28394
  {
28131
28395
  name: "vote",
28132
28396
  type: "string",
28133
- required: true
28397
+ required: true,
28398
+ enumValues: [
28399
+ "up",
28400
+ "down",
28401
+ "none"
28402
+ ]
28134
28403
  }
28135
28404
  ]
28136
28405
  },
@@ -37204,7 +37473,11 @@ var patterns_registry_default = {
37204
37473
  {
37205
37474
  name: "direction",
37206
37475
  type: "string",
37207
- required: true
37476
+ required: true,
37477
+ enumValues: [
37478
+ "asc",
37479
+ "desc"
37480
+ ]
37208
37481
  }
37209
37482
  ]
37210
37483
  },
@@ -39168,7 +39441,13 @@ var patterns_registry_default = {
39168
39441
  {
39169
39442
  name: "direction",
39170
39443
  type: "string",
39171
- required: true
39444
+ required: true,
39445
+ enumValues: [
39446
+ "up",
39447
+ "down",
39448
+ "left",
39449
+ "right"
39450
+ ]
39172
39451
  },
39173
39452
  {
39174
39453
  name: "pressed",
@@ -40199,6 +40478,7 @@ var patterns_registry_default = {
40199
40478
  "string"
40200
40479
  ],
40201
40480
  enumValues: [
40481
+ "solid",
40202
40482
  "dashed",
40203
40483
  "dotted"
40204
40484
  ]
@@ -41576,6 +41856,7 @@ var patterns_registry_default = {
41576
41856
  "string"
41577
41857
  ],
41578
41858
  enumValues: [
41859
+ "solid",
41579
41860
  "dashed",
41580
41861
  "dotted"
41581
41862
  ]
@@ -42856,6 +43137,7 @@ var patterns_registry_default = {
42856
43137
  "string"
42857
43138
  ],
42858
43139
  enumValues: [
43140
+ "solid",
42859
43141
  "dashed",
42860
43142
  "dotted"
42861
43143
  ]
@@ -43327,6 +43609,7 @@ var patterns_registry_default = {
43327
43609
  "string"
43328
43610
  ],
43329
43611
  enumValues: [
43612
+ "solid",
43330
43613
  "dashed",
43331
43614
  "dotted"
43332
43615
  ]
@@ -43612,6 +43895,7 @@ var patterns_registry_default = {
43612
43895
  "string"
43613
43896
  ],
43614
43897
  enumValues: [
43898
+ "solid",
43615
43899
  "dashed",
43616
43900
  "dotted"
43617
43901
  ]
@@ -43920,6 +44204,7 @@ var patterns_registry_default = {
43920
44204
  "string"
43921
44205
  ],
43922
44206
  enumValues: [
44207
+ "solid",
43923
44208
  "dashed",
43924
44209
  "dotted"
43925
44210
  ]
@@ -45460,6 +45745,7 @@ var patterns_registry_default = {
45460
45745
  "string"
45461
45746
  ],
45462
45747
  enumValues: [
45748
+ "solid",
45463
45749
  "dashed",
45464
45750
  "dotted"
45465
45751
  ]
@@ -46674,6 +46960,7 @@ var patterns_registry_default = {
46674
46960
  "string"
46675
46961
  ],
46676
46962
  enumValues: [
46963
+ "solid",
46677
46964
  "dashed",
46678
46965
  "dotted"
46679
46966
  ]
@@ -51573,6 +51860,7 @@ var patterns_registry_default = {
51573
51860
  "string"
51574
51861
  ],
51575
51862
  enumValues: [
51863
+ "solid",
51576
51864
  "dashed",
51577
51865
  "dotted"
51578
51866
  ]