@almadar/std 16.214.0 → 16.215.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,7 +1,7 @@
1
1
  {
2
2
  "version": "2.0.0",
3
3
  "description": "Canonical operator registry for Almadar. Generated from @almadar/std/modules. Consumed by orbital-compiler via include_str!.",
4
- "generated": "2026-09-14T02:52:39.103Z",
4
+ "generated": "2026-09-14T03:53:34.301Z",
5
5
  "categories": {
6
6
  "arithmetic": {
7
7
  "description": "Numeric operations",
@@ -2810,18 +2810,25 @@
2810
2810
  "effect": {
2811
2811
  "kind": "fetch",
2812
2812
  "produces": {
2813
- "kind": "union",
2814
- "of": [
2815
- {
2816
- "kind": "entity"
2813
+ "kind": "object",
2814
+ "fields": {
2815
+ "data": {
2816
+ "kind": "union",
2817
+ "of": [
2818
+ {
2819
+ "kind": "entity"
2820
+ },
2821
+ {
2822
+ "kind": "array",
2823
+ "of": {
2824
+ "kind": "entity"
2825
+ }
2826
+ }
2827
+ ]
2817
2828
  },
2818
- {
2819
- "kind": "array",
2820
- "of": {
2821
- "kind": "entity"
2822
- }
2823
- }
2824
- ]
2829
+ "totalCount": "number"
2830
+ },
2831
+ "open": false
2825
2832
  }
2826
2833
  },
2827
2834
  "title": "Fetch",
@@ -6553,18 +6560,25 @@
6553
6560
  "effect": {
6554
6561
  "kind": "ref",
6555
6562
  "produces": {
6556
- "kind": "union",
6557
- "of": [
6558
- {
6559
- "kind": "entity"
6563
+ "kind": "object",
6564
+ "fields": {
6565
+ "data": {
6566
+ "kind": "union",
6567
+ "of": [
6568
+ {
6569
+ "kind": "entity"
6570
+ },
6571
+ {
6572
+ "kind": "array",
6573
+ "of": {
6574
+ "kind": "entity"
6575
+ }
6576
+ }
6577
+ ]
6560
6578
  },
6561
- {
6562
- "kind": "array",
6563
- "of": {
6564
- "kind": "entity"
6565
- }
6566
- }
6567
- ]
6579
+ "totalCount": "number"
6580
+ },
6581
+ "open": false
6568
6582
  }
6569
6583
  },
6570
6584
  "title": "Reference",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.214.0",
2
+ "version": "16.215.0",
3
3
  "model": "baai/bge-base-en-v1.5",
4
4
  "dimensions": 768,
5
5
  "registryHash": "9c5d453eb281388f19cf3d43aedb582a803764eb08093b10ca4c190eb1c8ae7e",
package/dist/index.js CHANGED
@@ -706,15 +706,19 @@ var CORE_OPERATORS = {
706
706
  example: '["fetch", "Task", { "id": "t1", "emit": { "success": "TASK_LOADED" } }]',
707
707
  effect: {
708
708
  kind: "fetch",
709
- // Call-site-discriminated union: options.id present -> single entity;
710
- // otherwise -> array of entity. The compiler narrows at the call site
711
- // when checking emit.success against the declared event payload.
712
709
  produces: {
713
- kind: "union",
714
- of: [
715
- { kind: "entity" },
716
- { kind: "array", of: { kind: "entity" } }
717
- ]
710
+ kind: "object",
711
+ fields: {
712
+ data: {
713
+ kind: "union",
714
+ of: [
715
+ { kind: "entity" },
716
+ { kind: "array", of: { kind: "entity" } }
717
+ ]
718
+ },
719
+ totalCount: "number"
720
+ },
721
+ open: false
718
722
  }
719
723
  }
720
724
  },
@@ -798,14 +802,21 @@ var CORE_OPERATORS = {
798
802
  example: '["ref", "Task"]',
799
803
  effect: {
800
804
  kind: "ref",
801
- // Same call-site shape as fetch. Kept for the V2 transition period;
805
+ // Same wrapper fetch emits. Kept for the V2 transition period;
802
806
  // scheduled for deprecation in a later phase (see Almadar_Entity_V2_Plan.md).
803
807
  produces: {
804
- kind: "union",
805
- of: [
806
- { kind: "entity" },
807
- { kind: "array", of: { kind: "entity" } }
808
- ]
808
+ kind: "object",
809
+ fields: {
810
+ data: {
811
+ kind: "union",
812
+ of: [
813
+ { kind: "entity" },
814
+ { kind: "array", of: { kind: "entity" } }
815
+ ]
816
+ },
817
+ totalCount: "number"
818
+ },
819
+ open: false
809
820
  }
810
821
  }
811
822
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.214.0",
2
+ "version": "16.215.0",
3
3
  "model": "baai/bge-base-en-v1.5",
4
4
  "dimensions": 768,
5
5
  "registryHash": "9c5d453eb281388f19cf3d43aedb582a803764eb08093b10ca4c190eb1c8ae7e",
@@ -555,15 +555,19 @@ var CORE_OPERATORS = {
555
555
  example: '["fetch", "Task", { "id": "t1", "emit": { "success": "TASK_LOADED" } }]',
556
556
  effect: {
557
557
  kind: "fetch",
558
- // Call-site-discriminated union: options.id present -> single entity;
559
- // otherwise -> array of entity. The compiler narrows at the call site
560
- // when checking emit.success against the declared event payload.
561
558
  produces: {
562
- kind: "union",
563
- of: [
564
- { kind: "entity" },
565
- { kind: "array", of: { kind: "entity" } }
566
- ]
559
+ kind: "object",
560
+ fields: {
561
+ data: {
562
+ kind: "union",
563
+ of: [
564
+ { kind: "entity" },
565
+ { kind: "array", of: { kind: "entity" } }
566
+ ]
567
+ },
568
+ totalCount: "number"
569
+ },
570
+ open: false
567
571
  }
568
572
  }
569
573
  },
@@ -647,14 +651,21 @@ var CORE_OPERATORS = {
647
651
  example: '["ref", "Task"]',
648
652
  effect: {
649
653
  kind: "ref",
650
- // Same call-site shape as fetch. Kept for the V2 transition period;
654
+ // Same wrapper fetch emits. Kept for the V2 transition period;
651
655
  // scheduled for deprecation in a later phase (see Almadar_Entity_V2_Plan.md).
652
656
  produces: {
653
- kind: "union",
654
- of: [
655
- { kind: "entity" },
656
- { kind: "array", of: { kind: "entity" } }
657
- ]
657
+ kind: "object",
658
+ fields: {
659
+ data: {
660
+ kind: "union",
661
+ of: [
662
+ { kind: "entity" },
663
+ { kind: "array", of: { kind: "entity" } }
664
+ ]
665
+ },
666
+ totalCount: "number"
667
+ },
668
+ open: false
658
669
  }
659
670
  }
660
671
  },
@@ -555,15 +555,19 @@ var CORE_OPERATORS = {
555
555
  example: '["fetch", "Task", { "id": "t1", "emit": { "success": "TASK_LOADED" } }]',
556
556
  effect: {
557
557
  kind: "fetch",
558
- // Call-site-discriminated union: options.id present -> single entity;
559
- // otherwise -> array of entity. The compiler narrows at the call site
560
- // when checking emit.success against the declared event payload.
561
558
  produces: {
562
- kind: "union",
563
- of: [
564
- { kind: "entity" },
565
- { kind: "array", of: { kind: "entity" } }
566
- ]
559
+ kind: "object",
560
+ fields: {
561
+ data: {
562
+ kind: "union",
563
+ of: [
564
+ { kind: "entity" },
565
+ { kind: "array", of: { kind: "entity" } }
566
+ ]
567
+ },
568
+ totalCount: "number"
569
+ },
570
+ open: false
567
571
  }
568
572
  }
569
573
  },
@@ -647,14 +651,21 @@ var CORE_OPERATORS = {
647
651
  example: '["ref", "Task"]',
648
652
  effect: {
649
653
  kind: "ref",
650
- // Same call-site shape as fetch. Kept for the V2 transition period;
654
+ // Same wrapper fetch emits. Kept for the V2 transition period;
651
655
  // scheduled for deprecation in a later phase (see Almadar_Entity_V2_Plan.md).
652
656
  produces: {
653
- kind: "union",
654
- of: [
655
- { kind: "entity" },
656
- { kind: "array", of: { kind: "entity" } }
657
- ]
657
+ kind: "object",
658
+ fields: {
659
+ data: {
660
+ kind: "union",
661
+ of: [
662
+ { kind: "entity" },
663
+ { kind: "array", of: { kind: "entity" } }
664
+ ]
665
+ },
666
+ totalCount: "number"
667
+ },
668
+ open: false
658
669
  }
659
670
  }
660
671
  },
package/dist/registry.js CHANGED
@@ -602,15 +602,19 @@ var CORE_OPERATORS = {
602
602
  example: '["fetch", "Task", { "id": "t1", "emit": { "success": "TASK_LOADED" } }]',
603
603
  effect: {
604
604
  kind: "fetch",
605
- // Call-site-discriminated union: options.id present -> single entity;
606
- // otherwise -> array of entity. The compiler narrows at the call site
607
- // when checking emit.success against the declared event payload.
608
605
  produces: {
609
- kind: "union",
610
- of: [
611
- { kind: "entity" },
612
- { kind: "array", of: { kind: "entity" } }
613
- ]
606
+ kind: "object",
607
+ fields: {
608
+ data: {
609
+ kind: "union",
610
+ of: [
611
+ { kind: "entity" },
612
+ { kind: "array", of: { kind: "entity" } }
613
+ ]
614
+ },
615
+ totalCount: "number"
616
+ },
617
+ open: false
614
618
  }
615
619
  }
616
620
  },
@@ -694,14 +698,21 @@ var CORE_OPERATORS = {
694
698
  example: '["ref", "Task"]',
695
699
  effect: {
696
700
  kind: "ref",
697
- // Same call-site shape as fetch. Kept for the V2 transition period;
701
+ // Same wrapper fetch emits. Kept for the V2 transition period;
698
702
  // scheduled for deprecation in a later phase (see Almadar_Entity_V2_Plan.md).
699
703
  produces: {
700
- kind: "union",
701
- of: [
702
- { kind: "entity" },
703
- { kind: "array", of: { kind: "entity" } }
704
- ]
704
+ kind: "object",
705
+ fields: {
706
+ data: {
707
+ kind: "union",
708
+ of: [
709
+ { kind: "entity" },
710
+ { kind: "array", of: { kind: "entity" } }
711
+ ]
712
+ },
713
+ totalCount: "number"
714
+ },
715
+ open: false
705
716
  }
706
717
  }
707
718
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "16.214.0",
3
+ "version": "16.215.0",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",