@almadar/std 13.6.0 → 13.8.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 (174) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  24. package/behaviors/registry/app/organisms/std-cms.orb +547 -547
  25. package/behaviors/registry/core/atoms/std-browse.orb +36 -36
  26. package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  27. package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  28. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  29. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  30. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  31. package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  32. package/behaviors/registry/core/atoms/std-filter.orb +6 -9
  33. package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  34. package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  35. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  36. package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  37. package/behaviors/registry/core/atoms/std-push.orb +48 -90
  38. package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  39. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  40. package/behaviors/registry/core/atoms/std-search.orb +3 -3
  41. package/behaviors/registry/core/atoms/std-selection.orb +102 -102
  42. package/behaviors/registry/core/atoms/std-stats.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  44. package/behaviors/registry/core/molecules/std-cart.orb +64 -64
  45. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  46. package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  47. package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  48. package/behaviors/registry/core/molecules/std-list.orb +63 -63
  49. package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  50. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  51. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  52. package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  53. package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  54. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  55. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  56. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  57. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  58. package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  59. package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  60. package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  61. package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  62. package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  63. package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  64. package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  65. package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  66. package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  67. package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  68. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  69. package/dist/behaviors/behaviors-registry.json +2913 -322
  70. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  71. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  72. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  73. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  74. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  75. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  76. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  77. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  78. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  79. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  80. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  81. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  82. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  83. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  84. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  85. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  86. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  87. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  88. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  89. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  90. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  91. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  92. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  93. package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
  94. package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
  95. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  96. package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  97. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  98. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  99. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  100. package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  101. package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
  102. package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  103. package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  104. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  105. package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  106. package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
  107. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  108. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  109. package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
  110. package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
  111. package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
  112. package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  113. package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
  114. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  115. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  116. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  117. package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
  118. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  119. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  120. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  121. package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  122. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  123. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  124. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  125. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  126. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  127. package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  128. package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  129. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  130. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  131. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  132. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  133. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  134. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  135. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  136. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  137. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  138. package/dist/behaviors-registry.json +2913 -322
  139. package/dist/index.d.ts +2 -2
  140. package/dist/index.js +26 -13
  141. package/dist/index.js.map +1 -1
  142. package/dist/modules/agent.d.ts +1 -1
  143. package/dist/modules/array.d.ts +1 -1
  144. package/dist/modules/array.js +16 -8
  145. package/dist/modules/array.js.map +1 -1
  146. package/dist/modules/async.d.ts +1 -1
  147. package/dist/modules/composition.d.ts +1 -1
  148. package/dist/modules/contract.d.ts +1 -1
  149. package/dist/modules/core.d.ts +1 -1
  150. package/dist/modules/core.js +6 -3
  151. package/dist/modules/core.js.map +1 -1
  152. package/dist/modules/data.d.ts +1 -1
  153. package/dist/modules/format.d.ts +1 -1
  154. package/dist/modules/graph.d.ts +1 -1
  155. package/dist/modules/index.d.ts +1 -1
  156. package/dist/modules/index.js +26 -13
  157. package/dist/modules/index.js.map +1 -1
  158. package/dist/modules/math.d.ts +1 -1
  159. package/dist/modules/nn.d.ts +1 -1
  160. package/dist/modules/object.d.ts +1 -1
  161. package/dist/modules/object.js +4 -2
  162. package/dist/modules/object.js.map +1 -1
  163. package/dist/modules/os.d.ts +1 -1
  164. package/dist/modules/prob.d.ts +1 -1
  165. package/dist/modules/str.d.ts +1 -1
  166. package/dist/modules/tensor.d.ts +1 -1
  167. package/dist/modules/time.d.ts +1 -1
  168. package/dist/modules/train.d.ts +1 -1
  169. package/dist/modules/validate.d.ts +1 -1
  170. package/dist/registry.d.ts +1 -1
  171. package/dist/registry.js +26 -13
  172. package/dist/registry.js.map +1 -1
  173. package/dist/{types-D7dG8fBF.d.ts → types-CdSN5hnD.d.ts} +43 -0
  174. package/package.json +1 -1
@@ -279,32 +279,6 @@
279
279
  "type": "string"
280
280
  }
281
281
  ]
282
- },
283
- {
284
- "event": "AgentMemorySaved",
285
- "description": "Fired when a new memory is persisted",
286
- "scope": "internal",
287
- "payloadSchema": [
288
- {
289
- "name": "id",
290
- "type": "string"
291
- }
292
- ]
293
- },
294
- {
295
- "event": "AgentMemorySaveFailed",
296
- "description": "Fired when persisting a memory fails",
297
- "scope": "internal",
298
- "payloadSchema": [
299
- {
300
- "name": "error",
301
- "type": "string"
302
- },
303
- {
304
- "name": "code",
305
- "type": "string"
306
- }
307
- ]
308
282
  }
309
283
  ],
310
284
  "listens": [
@@ -455,30 +429,6 @@
455
429
  "type": "AgentMemory"
456
430
  }
457
431
  ]
458
- },
459
- {
460
- "key": "AgentMemorySaved",
461
- "name": "AgentMemory saved",
462
- "payloadSchema": [
463
- {
464
- "name": "id",
465
- "type": "string"
466
- }
467
- ]
468
- },
469
- {
470
- "key": "AgentMemorySaveFailed",
471
- "name": "AgentMemory save failed",
472
- "payloadSchema": [
473
- {
474
- "name": "error",
475
- "type": "string"
476
- },
477
- {
478
- "name": "code",
479
- "type": "string"
480
- }
481
- ]
482
432
  }
483
433
  ],
484
434
  "transitions": [
@@ -501,21 +451,21 @@
501
451
  "render-ui",
502
452
  "main",
503
453
  {
504
- "gap": "md",
505
454
  "align": "center",
455
+ "type": "stack",
506
456
  "className": "py-12",
507
457
  "children": [
508
458
  {
509
459
  "type": "spinner"
510
460
  },
511
461
  {
512
- "color": "muted",
513
462
  "variant": "caption",
514
463
  "type": "typography",
464
+ "color": "muted",
515
465
  "content": "Loading memories…"
516
466
  }
517
467
  ],
518
- "type": "stack",
468
+ "gap": "md",
519
469
  "direction": "vertical"
520
470
  }
521
471
  ]
@@ -530,60 +480,64 @@
530
480
  "render-ui",
531
481
  "main",
532
482
  {
483
+ "type": "stack",
484
+ "gap": "lg",
485
+ "direction": "vertical",
486
+ "className": "max-w-5xl mx-auto w-full",
533
487
  "children": [
534
488
  {
535
- "type": "stack",
536
- "direction": "horizontal",
537
- "gap": "md",
538
489
  "align": "center",
490
+ "direction": "horizontal",
539
491
  "children": [
540
492
  {
541
493
  "gap": "sm",
542
- "type": "stack",
543
- "direction": "horizontal",
544
494
  "align": "center",
495
+ "direction": "horizontal",
496
+ "type": "stack",
545
497
  "children": [
546
498
  {
547
- "type": "icon",
548
- "name": "brain"
499
+ "name": "brain",
500
+ "type": "icon"
549
501
  },
550
502
  {
551
- "variant": "h2",
503
+ "type": "typography",
552
504
  "content": "AgentMemory Manager",
553
- "type": "typography"
505
+ "variant": "h2"
554
506
  }
555
507
  ]
556
508
  },
557
509
  {
510
+ "type": "stack",
558
511
  "direction": "horizontal",
559
512
  "children": [
560
513
  {
514
+ "label": "Memorize",
561
515
  "action": "MEMORIZE",
516
+ "variant": "primary",
562
517
  "icon": "plus",
563
- "type": "button",
564
- "label": "Memorize",
565
- "variant": "primary"
518
+ "type": "button"
566
519
  },
567
520
  {
521
+ "type": "button",
568
522
  "icon": "search",
569
523
  "action": "RECALL",
570
- "type": "button",
571
- "variant": "secondary",
572
- "label": "Recall"
524
+ "label": "Recall",
525
+ "variant": "secondary"
573
526
  },
574
527
  {
575
- "action": "DECAY",
576
- "type": "button",
577
528
  "label": "Decay All",
578
529
  "variant": "ghost",
579
- "icon": "clock"
530
+ "type": "button",
531
+ "icon": "clock",
532
+ "action": "DECAY"
580
533
  }
581
534
  ],
582
- "gap": "sm",
583
- "type": "stack"
535
+ "gap": "sm"
584
536
  }
585
537
  ],
586
- "justify": "between"
538
+ "justify": "between",
539
+ "gap": "md",
540
+ "type": "stack"
587
541
  },
588
542
  {
589
543
  "type": "divider"
@@ -592,8 +546,8 @@
592
546
  "itemActions": [
593
547
  {
594
548
  "variant": "ghost",
595
- "label": "Pin",
596
- "event": "PIN"
549
+ "event": "PIN",
550
+ "label": "Pin"
597
551
  },
598
552
  {
599
553
  "variant": "ghost",
@@ -601,37 +555,33 @@
601
555
  "event": "REINFORCE"
602
556
  },
603
557
  {
604
- "variant": "danger",
605
558
  "event": "FORGET",
559
+ "variant": "danger",
606
560
  "label": "Forget"
607
561
  }
608
562
  ],
563
+ "entity": "@payload.data",
609
564
  "type": "data-grid",
610
565
  "fields": [
611
566
  {
612
- "variant": "h4",
613
567
  "name": "content",
568
+ "label": "Content",
614
569
  "icon": "brain",
615
- "label": "Content"
570
+ "variant": "h4"
616
571
  },
617
572
  {
618
573
  "variant": "badge",
619
- "name": "category",
620
- "label": "Category"
574
+ "label": "Category",
575
+ "name": "category"
621
576
  },
622
577
  {
623
- "variant": "caption",
624
578
  "name": "strength",
625
- "label": "Strength"
579
+ "label": "Strength",
580
+ "variant": "caption"
626
581
  }
627
- ],
628
- "entity": "@payload.data"
582
+ ]
629
583
  }
630
- ],
631
- "type": "stack",
632
- "direction": "vertical",
633
- "gap": "lg",
634
- "className": "max-w-5xl mx-auto w-full"
584
+ ]
635
585
  }
636
586
  ]
637
587
  ]
@@ -645,6 +595,7 @@
645
595
  "render-ui",
646
596
  "main",
647
597
  {
598
+ "direction": "vertical",
648
599
  "children": [
649
600
  {
650
601
  "color": "destructive",
@@ -652,8 +603,8 @@
652
603
  "name": "alert-triangle"
653
604
  },
654
605
  {
655
- "type": "typography",
656
606
  "variant": "h3",
607
+ "type": "typography",
657
608
  "content": "Failed to load memories"
658
609
  },
659
610
  {
@@ -663,17 +614,16 @@
663
614
  "color": "muted"
664
615
  },
665
616
  {
666
- "action": "INIT",
667
617
  "label": "Retry",
668
- "icon": "rotate-ccw",
669
618
  "type": "button",
670
- "variant": "primary"
619
+ "variant": "primary",
620
+ "action": "INIT",
621
+ "icon": "rotate-ccw"
671
622
  }
672
623
  ],
673
- "className": "py-12",
674
- "direction": "vertical",
675
624
  "type": "stack",
676
625
  "gap": "md",
626
+ "className": "py-12",
677
627
  "align": "center"
678
628
  }
679
629
  ]
@@ -689,8 +639,8 @@
689
639
  "AgentMemory",
690
640
  {
691
641
  "emit": {
692
- "success": "AgentMemoryLoaded",
693
- "failure": "AgentMemoryLoadFailed"
642
+ "failure": "AgentMemoryLoadFailed",
643
+ "success": "AgentMemoryLoaded"
694
644
  }
695
645
  }
696
646
  ],
@@ -923,41 +873,41 @@
923
873
  "render-ui",
924
874
  "modal",
925
875
  {
926
- "direction": "vertical",
876
+ "type": "stack",
927
877
  "children": [
928
878
  {
929
- "direction": "horizontal",
879
+ "type": "stack",
930
880
  "children": [
931
881
  {
932
- "name": "plus-circle",
933
- "type": "icon"
882
+ "type": "icon",
883
+ "name": "plus-circle"
934
884
  },
935
885
  {
936
886
  "variant": "h3",
937
- "content": "Memorize",
938
- "type": "typography"
887
+ "type": "typography",
888
+ "content": "Memorize"
939
889
  }
940
890
  ],
941
- "gap": "sm",
942
- "type": "stack"
891
+ "direction": "horizontal",
892
+ "gap": "sm"
943
893
  },
944
894
  {
945
895
  "type": "divider"
946
896
  },
947
897
  {
948
- "cancelEvent": "CLOSE",
949
- "type": "form-section",
950
- "mode": "create",
951
- "submitEvent": "SAVE",
952
898
  "fields": [
953
899
  "content",
954
900
  "category",
955
901
  "scope"
956
- ]
902
+ ],
903
+ "submitEvent": "SAVE",
904
+ "cancelEvent": "CLOSE",
905
+ "type": "form-section",
906
+ "mode": "create"
957
907
  }
958
908
  ],
959
- "type": "stack",
960
- "gap": "md"
909
+ "gap": "md",
910
+ "direction": "vertical"
961
911
  }
962
912
  ]
963
913
  ]
@@ -1351,10 +1301,10 @@
1351
1301
  "render-ui",
1352
1302
  "main",
1353
1303
  {
1354
- "type": "empty-state",
1355
- "icon": "brain",
1304
+ "description": "Memory is ready",
1356
1305
  "title": "Memory",
1357
- "description": "Memory is ready"
1306
+ "type": "empty-state",
1307
+ "icon": "brain"
1358
1308
  }
1359
1309
  ]
1360
1310
  ]
@@ -1537,4 +1487,4 @@
1537
1487
  ]
1538
1488
  }
1539
1489
  ]
1540
- }
1490
+ }