@almadar/std 16.194.0 → 16.196.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 (100) hide show
  1. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +3 -7
  2. package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +1 -1
  3. package/behaviors/lolo/infra/atoms/std-cross-reference.lolo +5 -5
  4. package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +3 -7
  5. package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +4 -7
  6. package/behaviors/lolo/infra/atoms/std-notification-center.lolo +8 -6
  7. package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +5 -9
  8. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +1 -1
  9. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +1 -1
  10. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +1 -1
  11. package/behaviors/lolo/ui/core/atoms/std-board.lolo +30 -4
  12. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +1 -1
  13. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +1 -1
  14. package/behaviors/lolo/ui/core/atoms/std-dashboard-grid-embedded.lolo +2 -2
  15. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +3 -3
  16. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +1 -1
  17. package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -1
  18. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +3 -7
  19. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +5 -5
  20. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +3 -3
  21. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +3 -7
  22. package/behaviors/lolo/ui/core/atoms/std-signature-capture.lolo +3 -7
  23. package/behaviors/lolo/ui/core/atoms/std-tag-strip.lolo +3 -9
  24. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +5 -7
  25. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +5 -9
  26. package/behaviors/lolo/ui/core/atoms/std-vote.lolo +3 -7
  27. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +3 -3
  28. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +1 -1
  29. package/behaviors/registry/infra/atoms/std-approval-gate.orb +117 -61
  30. package/behaviors/registry/infra/atoms/std-cache-aside.orb +64 -63
  31. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +20 -92
  32. package/behaviors/registry/infra/atoms/std-cross-reference.orb +9 -8
  33. package/behaviors/registry/infra/atoms/std-data-erasure.orb +119 -60
  34. package/behaviors/registry/infra/atoms/std-mod-queue.orb +252 -63
  35. package/behaviors/registry/infra/atoms/std-notification-center.orb +25 -37
  36. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +14 -28
  37. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +10 -17
  38. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +1 -2
  39. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +5 -10
  40. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +2 -4
  41. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +1 -1
  42. package/behaviors/registry/ui/core/atoms/std-app-search.orb +1 -1
  43. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +51 -2
  44. package/behaviors/registry/ui/core/atoms/std-board.orb +74 -3
  45. package/behaviors/registry/ui/core/atoms/std-browse.orb +1 -1
  46. package/behaviors/registry/ui/core/atoms/std-calendar.orb +1 -1
  47. package/behaviors/registry/ui/core/atoms/std-confirmation.orb +27 -1
  48. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +4 -5
  49. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +104 -6
  50. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +3 -6
  51. package/behaviors/registry/ui/core/atoms/std-event-log.orb +3 -2
  52. package/behaviors/registry/ui/core/atoms/std-export.orb +2 -4
  53. package/behaviors/registry/ui/core/atoms/std-file-store.orb +92 -4
  54. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +4 -84
  55. package/behaviors/registry/ui/core/atoms/std-gallery.orb +29 -1
  56. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +81 -48
  57. package/behaviors/registry/ui/core/atoms/std-import.orb +2 -4
  58. package/behaviors/registry/ui/core/atoms/std-list.orb +58 -2
  59. package/behaviors/registry/ui/core/atoms/std-modal.orb +54 -2
  60. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +158 -8
  61. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +245 -5
  62. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +3 -2
  63. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +72 -43
  64. package/behaviors/registry/ui/core/atoms/std-signature-capture.orb +63 -39
  65. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +64 -43
  66. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +57 -40
  67. package/behaviors/registry/ui/core/atoms/std-version-history.orb +147 -58
  68. package/behaviors/registry/ui/core/atoms/std-vote.orb +4 -29
  69. package/behaviors/registry/ui/core/atoms/std-wizard.orb +3 -2
  70. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
  71. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +4 -8
  72. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +3 -6
  73. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +5 -10
  74. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +4 -8
  75. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +4 -8
  76. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +4 -8
  77. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +4 -8
  78. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +3 -6
  79. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +1 -2
  80. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +1 -2
  81. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +1 -2
  82. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +1 -2
  83. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +1 -2
  84. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +1 -2
  85. package/canonical-operators.json +6964 -454
  86. package/dist/behaviors/exports-reader.js +1993 -778
  87. package/dist/behaviors/functions/index.d.ts +86 -32
  88. package/dist/behaviors/functions/index.js +1993 -778
  89. package/dist/behaviors/index.d.ts +1 -1
  90. package/dist/behaviors/index.js +1993 -778
  91. package/dist/behaviors/query.js +1993 -778
  92. package/dist/behaviors-embeddings.hash.json +3 -3
  93. package/dist/behaviors-embeddings.json +3 -3
  94. package/dist/behaviors-registry.json +9 -3
  95. package/dist/index.d.ts +1 -1
  96. package/dist/index.js +1993 -778
  97. package/dist/knob-embeddings.hash.json +3 -3
  98. package/dist/knob-embeddings.json +1 -1
  99. package/dist/registry/factory-signatures.json +1 -1
  100. package/package.json +4 -4
@@ -7,6 +7,8 @@ orbital TagTaxonomyOrbital {
7
7
 
8
8
  type TagSelected = Event { tagId : string! } "Fired when a tag is selected to drill into its children"
9
9
 
10
+ type TagCreated = Event Tag "Fired after a new tag row persists — the payload IS the created row (flat: ?id, ?name, ?parentId)"
11
+
10
12
  type TagCommit = { name : string!, parentId : string }
11
13
 
12
14
  entity Tag [persistent: tags] {
@@ -357,7 +359,7 @@ orbital TagTaxonomyOrbital {
357
359
  type: stack
358
360
  })
359
361
  (fetch Tag {
360
- filter: ["=", (object/get @entity parentId), (str/default (object/get ?row parentId) "")]
362
+ filter: ["=", (object/get @entity parentId), (str/default ?parentId "")]
361
363
  emit: { failure: TagLoadFailed, success: TagLoaded }
362
364
  })
363
365
  TagCreateFailed -> creating
@@ -555,9 +557,7 @@ orbital TagTaxonomyOrbital {
555
557
  @description "Internal hop that refetches the open level after the new-category form closes (a fetch filter cannot read trait state, so the level travels by payload)."
556
558
  @synonyms "reload level, refresh"
557
559
  @tier "internal"
558
- TagCreated {
559
- row : Tag
560
- }
560
+ TagCreated
561
561
  @description "A new tag row persisted; the open level refetches to show it."
562
562
  @synonyms "created, added"
563
563
  @tier "internal"
@@ -616,9 +616,7 @@ orbital TagTaxonomyOrbital {
616
616
  @description "Refetch the open level."
617
617
  @synonyms "reload level, refresh"
618
618
  @tier "internal"
619
- TagCreated {
620
- row : Tag
621
- }
619
+ TagCreated
622
620
  @description "A new tag row persisted."
623
621
  @synonyms "created, added"
624
622
  @tier "internal"
@@ -5,7 +5,7 @@ orbital RevisionOrbital {
5
5
 
6
6
  type RevisionLoadFailed = Event { error : string, code : string } "Fired when the revision collection fails to load"
7
7
 
8
- type RevisionRolledBack = Event { row : Revision } "Fired after a rollback persists successfully on the source document"
8
+ type RevisionRolledBack = Event Revision "Fired after a rollback persists successfully on the source document"
9
9
 
10
10
  type RevisionRollbackFailed = Event { error : string, code : string } "Fired when a rollback fails to persist"
11
11
 
@@ -98,9 +98,9 @@ orbital RevisionOrbital {
98
98
  type: stack
99
99
  })
100
100
  RevisionRolledBack -> loading
101
- (set @entity.scopeKey (object/get ?row @config.scopeField ""))
101
+ (set @entity.scopeKey (object/get @payload @config.scopeField ""))
102
102
  (fetch Revision {
103
- filter: (or ["=", @config.scopeField, ""] ["=", (object/get ?row @config.scopeField ""), ""] ["=", (object/get @entity @config.scopeField), (object/get ?row @config.scopeField "")])
103
+ filter: (or ["=", @config.scopeField, ""] ["=", (object/get @payload @config.scopeField ""), ""] ["=", (object/get @entity @config.scopeField), (object/get @payload @config.scopeField "")])
104
104
  emit: { failure: RevisionLoadFailed, success: RevisionLoaded }
105
105
  })
106
106
  RevisionRollbackFailed -> error
@@ -532,9 +532,7 @@ orbital RevisionOrbital {
532
532
  @description "Indicates a failure to load revision data."
533
533
  @synonyms "error, fail, problem, unsuccessful"
534
534
  @tier "internal"
535
- RevisionRolledBack {
536
- row : Revision
537
- }
535
+ RevisionRolledBack
538
536
  @description "Indicates a revision has been successfully restored to a previous state."
539
537
  @synonyms "restored, reverted, undone"
540
538
  @tier "presentation"
@@ -593,9 +591,7 @@ orbital RevisionOrbital {
593
591
  @description "Indicates a failure to retrieve revision data."
594
592
  @synonyms "error, failure, problem, fetch failed"
595
593
  @tier "internal"
596
- RevisionRolledBack {
597
- row : Revision
598
- }
594
+ RevisionRolledBack
599
595
  @description "Indicates a revision has been successfully reverted."
600
596
  @synonyms "reverted, undone, restored"
601
597
  @tier "internal"
@@ -5,7 +5,7 @@ orbital VoteOrbital {
5
5
 
6
6
  type VoteLoadFailed = Event { error : string, code : string } "Fired when the vote collection fails to load"
7
7
 
8
- type VoteCasted = Event { row : Vote } "Fired after a vote persists successfully"
8
+ type VoteCasted = Event @entity "Fired after a vote persists successfully"
9
9
 
10
10
  type VoteCastFailed = Event { error : string, code : string } "Fired when persisting a vote fails"
11
11
 
@@ -180,9 +180,7 @@ orbital VoteOrbital {
180
180
  @description "Indicates that loading a vote failed."
181
181
  @synonyms "load error, failed load, fetch failure"
182
182
  @tier "internal"
183
- VoteCasted -> external {
184
- row : Vote
185
- }
183
+ VoteCasted -> external
186
184
  @description "Indicates a vote has been successfully recorded."
187
185
  @synonyms "voted, vote-submitted, vote-changed"
188
186
  @tier "domain"
@@ -223,9 +221,7 @@ orbital VoteOrbital {
223
221
  @description "Indicates a failure to load vote data."
224
222
  @synonyms "error, failed, problem, issue"
225
223
  @tier "internal"
226
- VoteCasted {
227
- row : Vote
228
- }
224
+ VoteCasted
229
225
  @description "A vote has been successfully recorded."
230
226
  @synonyms "voted, tallied, updated"
231
227
  @tier "domain"
@@ -9,7 +9,7 @@ orbital WizardOrbital {
9
9
 
10
10
  type WizardLoadFailed = Event { error : string, code : string } "Fired when fetch fails"
11
11
 
12
- type WizardSaved = Event { row : @entity } "Fired when a wizard step has been persisted"
12
+ type WizardSaved = Event @entity "Fired when a wizard step has been persisted"
13
13
 
14
14
  type WizardSaveFailed = Event { error : string, code : string } "Fired when persist fails"
15
15
 
@@ -511,7 +511,7 @@ orbital WizardOrbital {
511
511
  @description "Indicates the wizard failed to load initial data."
512
512
  @synonyms "load error, initialization failure"
513
513
  @tier "internal"
514
- WizardSaved { row : @entity }
514
+ WizardSaved
515
515
  @description "Indicates successful data submission within the wizard."
516
516
  @synonyms "saved, submitted, confirmed"
517
517
  @tier "domain"
@@ -558,7 +558,7 @@ orbital WizardOrbital {
558
558
  @description "Indicates the wizard failed to load its initial data."
559
559
  @synonyms "load error, initialization failure, failed load"
560
560
  @tier "internal"
561
- WizardSaved { row : @entity }
561
+ WizardSaved
562
562
  @description "Data submission from the current step has completed."
563
563
  @synonyms "submit, save, confirm, send"
564
564
  @tier "domain"
@@ -25,7 +25,7 @@ orbital DetailPanelOrbital {
25
25
  type DetailPanelActionsItem = {
26
26
  label : string!
27
27
  icon : icon
28
- event : string
28
+ event : event
29
29
  navigatesTo : string
30
30
  variant : "primary" | "secondary" | "ghost" | "danger"
31
31
  }
@@ -913,65 +913,11 @@
913
913
  "eventId": "evt_01KXG04EZ0XXBA89NVB97J1NAM",
914
914
  "payloadSchema": [
915
915
  {
916
- "name": "row",
917
- "properties": [
918
- {
919
- "name": "id",
920
- "required": true,
921
- "type": "string"
922
- },
923
- {
924
- "name": "gatedEvent",
925
- "type": "string"
926
- },
927
- {
928
- "name": "subjectLabel",
929
- "type": "string"
930
- },
931
- {
932
- "name": "subjectId",
933
- "type": "string"
934
- },
935
- {
936
- "name": "requestedBy",
937
- "type": "string"
938
- },
939
- {
940
- "name": "requestedByName",
941
- "type": "string"
942
- },
943
- {
944
- "name": "status",
945
- "type": "string"
946
- },
947
- {
948
- "name": "reviewer",
949
- "type": "string"
950
- },
951
- {
952
- "name": "requestedAt",
953
- "type": "number"
954
- },
955
- {
956
- "name": "decidedAt",
957
- "type": "number"
958
- },
959
- {
960
- "name": "escalatedAt",
961
- "type": "number"
962
- },
963
- {
964
- "name": "notes",
965
- "type": "string"
966
- },
967
- {
968
- "name": "payload",
969
- "type": "object"
970
- }
971
- ],
972
- "type": "object"
916
+ "name": "value",
917
+ "type": "@entity"
973
918
  }
974
919
  ],
920
+ "scope": "internal",
975
921
  "synonyms": "reviewed, processed, examined",
976
922
  "tier": "internal"
977
923
  },
@@ -1112,7 +1058,62 @@
1112
1058
  },
1113
1059
  {
1114
1060
  "name": "row",
1115
- "type": "ApprovalRequest"
1061
+ "properties": [
1062
+ {
1063
+ "name": "id",
1064
+ "required": true,
1065
+ "type": "string"
1066
+ },
1067
+ {
1068
+ "name": "gatedEvent",
1069
+ "type": "string"
1070
+ },
1071
+ {
1072
+ "name": "subjectLabel",
1073
+ "type": "string"
1074
+ },
1075
+ {
1076
+ "name": "subjectId",
1077
+ "type": "string"
1078
+ },
1079
+ {
1080
+ "name": "requestedBy",
1081
+ "type": "string"
1082
+ },
1083
+ {
1084
+ "name": "requestedByName",
1085
+ "type": "string"
1086
+ },
1087
+ {
1088
+ "name": "status",
1089
+ "type": "string"
1090
+ },
1091
+ {
1092
+ "name": "reviewer",
1093
+ "type": "string"
1094
+ },
1095
+ {
1096
+ "name": "requestedAt",
1097
+ "type": "number"
1098
+ },
1099
+ {
1100
+ "name": "decidedAt",
1101
+ "type": "number"
1102
+ },
1103
+ {
1104
+ "name": "escalatedAt",
1105
+ "type": "number"
1106
+ },
1107
+ {
1108
+ "name": "notes",
1109
+ "type": "string"
1110
+ },
1111
+ {
1112
+ "name": "payload",
1113
+ "type": "object"
1114
+ }
1115
+ ],
1116
+ "type": "object"
1116
1117
  }
1117
1118
  ],
1118
1119
  "synonyms": "accept, authorize, confirm, pass",
@@ -1131,7 +1132,62 @@
1131
1132
  },
1132
1133
  {
1133
1134
  "name": "row",
1134
- "type": "ApprovalRequest"
1135
+ "properties": [
1136
+ {
1137
+ "name": "id",
1138
+ "required": true,
1139
+ "type": "string"
1140
+ },
1141
+ {
1142
+ "name": "gatedEvent",
1143
+ "type": "string"
1144
+ },
1145
+ {
1146
+ "name": "subjectLabel",
1147
+ "type": "string"
1148
+ },
1149
+ {
1150
+ "name": "subjectId",
1151
+ "type": "string"
1152
+ },
1153
+ {
1154
+ "name": "requestedBy",
1155
+ "type": "string"
1156
+ },
1157
+ {
1158
+ "name": "requestedByName",
1159
+ "type": "string"
1160
+ },
1161
+ {
1162
+ "name": "status",
1163
+ "type": "string"
1164
+ },
1165
+ {
1166
+ "name": "reviewer",
1167
+ "type": "string"
1168
+ },
1169
+ {
1170
+ "name": "requestedAt",
1171
+ "type": "number"
1172
+ },
1173
+ {
1174
+ "name": "decidedAt",
1175
+ "type": "number"
1176
+ },
1177
+ {
1178
+ "name": "escalatedAt",
1179
+ "type": "number"
1180
+ },
1181
+ {
1182
+ "name": "notes",
1183
+ "type": "string"
1184
+ },
1185
+ {
1186
+ "name": "payload",
1187
+ "type": "object"
1188
+ }
1189
+ ],
1190
+ "type": "object"
1135
1191
  }
1136
1192
  ],
1137
1193
  "synonyms": "reject, decline",
@@ -1167,8 +1223,8 @@
1167
1223
  "name": "ApprovalRequest reviewed",
1168
1224
  "payloadSchema": [
1169
1225
  {
1170
- "name": "row",
1171
- "type": "ApprovalRequest"
1226
+ "name": "value",
1227
+ "type": "@entity"
1172
1228
  }
1173
1229
  ],
1174
1230
  "synonyms": "reviewed, processed, examined",