@almadar/std 3.14.0 → 4.0.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 (71) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +11 -3
  2. package/behaviors/exports/atoms/std-agent-step-progress.orb +162 -23
  3. package/behaviors/exports/atoms/std-agent-tool-call.orb +0 -499
  4. package/behaviors/exports/molecules/std-agent-fix-loop.orb +166 -22
  5. package/behaviors/exports/molecules/std-agent-learner.orb +10 -549
  6. package/behaviors/exports/molecules/std-agent-planner.orb +5 -529
  7. package/behaviors/exports/molecules/std-agent-tool-loop.orb +162 -571
  8. package/behaviors/exports/organisms/std-agent-builder.orb +892 -1453
  9. package/behaviors/exports/organisms/std-agent-pipeline.orb +798 -1503
  10. package/behaviors/exports/validation-report.json +0 -1304
  11. package/dist/behaviors/behaviors-registry.json +26 -1
  12. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +11 -3
  13. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +162 -23
  14. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +0 -499
  15. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +166 -22
  16. package/dist/behaviors/exports/molecules/std-agent-learner.orb +10 -549
  17. package/dist/behaviors/exports/molecules/std-agent-planner.orb +5 -529
  18. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +162 -571
  19. package/dist/behaviors/exports/organisms/std-agent-builder.orb +892 -1453
  20. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +798 -1503
  21. package/dist/behaviors/exports/validation-report.json +0 -1304
  22. package/dist/behaviors/exports-reader.js +257 -302
  23. package/dist/behaviors/exports-reader.js.map +1 -1
  24. package/dist/behaviors/functions/index.js +257 -302
  25. package/dist/behaviors/functions/index.js.map +1 -1
  26. package/dist/behaviors/index.js +257 -302
  27. package/dist/behaviors/index.js.map +1 -1
  28. package/dist/behaviors/query.js +257 -302
  29. package/dist/behaviors/query.js.map +1 -1
  30. package/dist/behaviors-registry.json +26 -1
  31. package/dist/exports/atoms/std-agent-activity-log.orb +11 -3
  32. package/dist/exports/atoms/std-agent-step-progress.orb +162 -23
  33. package/dist/exports/atoms/std-agent-tool-call.orb +0 -499
  34. package/dist/exports/molecules/std-agent-fix-loop.orb +166 -22
  35. package/dist/exports/molecules/std-agent-learner.orb +10 -549
  36. package/dist/exports/molecules/std-agent-planner.orb +5 -529
  37. package/dist/exports/molecules/std-agent-tool-loop.orb +162 -571
  38. package/dist/exports/organisms/std-agent-builder.orb +892 -1453
  39. package/dist/exports/organisms/std-agent-pipeline.orb +798 -1503
  40. package/dist/exports/validation-report.json +0 -1304
  41. package/dist/index.d.ts +2 -2
  42. package/dist/index.js +362 -305
  43. package/dist/index.js.map +1 -1
  44. package/dist/modules/agent.d.ts +1 -1
  45. package/dist/modules/array.d.ts +1 -1
  46. package/dist/modules/async.d.ts +1 -1
  47. package/dist/modules/composition.d.ts +27 -0
  48. package/dist/modules/composition.js +98 -0
  49. package/dist/modules/composition.js.map +1 -0
  50. package/dist/modules/contract.d.ts +1 -1
  51. package/dist/modules/data.d.ts +1 -1
  52. package/dist/modules/format.d.ts +1 -1
  53. package/dist/modules/graph.d.ts +1 -1
  54. package/dist/modules/index.d.ts +2 -1
  55. package/dist/modules/index.js +96 -1
  56. package/dist/modules/index.js.map +1 -1
  57. package/dist/modules/math.d.ts +1 -1
  58. package/dist/modules/nn.d.ts +1 -1
  59. package/dist/modules/object.d.ts +1 -1
  60. package/dist/modules/os.d.ts +1 -1
  61. package/dist/modules/prob.d.ts +1 -1
  62. package/dist/modules/str.d.ts +1 -1
  63. package/dist/modules/tensor.d.ts +1 -1
  64. package/dist/modules/time.d.ts +1 -1
  65. package/dist/modules/train.d.ts +1 -1
  66. package/dist/modules/validate.d.ts +1 -1
  67. package/dist/registry.d.ts +1 -1
  68. package/dist/registry.js +98 -3
  69. package/dist/registry.js.map +1 -1
  70. package/dist/{types-BjP5nVQd.d.ts → types-BGtQuBge.d.ts} +5 -3
  71. package/package.json +1 -1
@@ -392,502 +392,6 @@
392
392
  ]
393
393
  }
394
394
  },
395
- {
396
- "name": "AgentToolCallLog",
397
- "linkedEntity": "AgentToolCall",
398
- "category": "interaction",
399
- "emits": [
400
- {
401
- "event": "LOG_ENTRY",
402
- "scope": "external",
403
- "payload": [
404
- {
405
- "name": "action",
406
- "type": "string"
407
- },
408
- {
409
- "name": "detail",
410
- "type": "string"
411
- },
412
- {
413
- "name": "status",
414
- "type": "string"
415
- }
416
- ]
417
- }
418
- ],
419
- "listens": [
420
- {
421
- "event": "LOG_ENTRY",
422
- "triggers": "LOG_ENTRY",
423
- "scope": "external"
424
- }
425
- ],
426
- "stateMachine": {
427
- "states": [
428
- {
429
- "name": "logging",
430
- "isInitial": true
431
- }
432
- ],
433
- "events": [
434
- {
435
- "key": "INIT",
436
- "name": "Initialize"
437
- },
438
- {
439
- "key": "LOG_ENTRY",
440
- "name": "Log Entry",
441
- "payload": [
442
- {
443
- "name": "action",
444
- "type": "string",
445
- "required": true
446
- },
447
- {
448
- "name": "detail",
449
- "type": "string",
450
- "required": true
451
- },
452
- {
453
- "name": "status",
454
- "type": "string",
455
- "required": true
456
- }
457
- ]
458
- },
459
- {
460
- "key": "CLEAR",
461
- "name": "Clear Log"
462
- }
463
- ],
464
- "transitions": [
465
- {
466
- "from": "logging",
467
- "to": "logging",
468
- "event": "INIT",
469
- "effects": [
470
- [
471
- "fetch",
472
- "AgentToolCall"
473
- ],
474
- [
475
- "render-ui",
476
- "main",
477
- {
478
- "type": "stack",
479
- "direction": "vertical",
480
- "gap": "lg",
481
- "children": [
482
- {
483
- "type": "stack",
484
- "direction": "horizontal",
485
- "gap": "sm",
486
- "justify": "space-between",
487
- "align": "center",
488
- "children": [
489
- {
490
- "type": "stack",
491
- "direction": "horizontal",
492
- "gap": "sm",
493
- "align": "center",
494
- "children": [
495
- {
496
- "type": "icon",
497
- "name": "activity",
498
- "size": "lg"
499
- },
500
- {
501
- "type": "typography",
502
- "content": "Activity Log",
503
- "variant": "h2"
504
- }
505
- ]
506
- },
507
- {
508
- "type": "button",
509
- "label": "Clear",
510
- "event": "CLEAR",
511
- "variant": "ghost",
512
- "icon": "trash"
513
- }
514
- ]
515
- },
516
- {
517
- "type": "divider"
518
- },
519
- {
520
- "type": "timeline",
521
- "entity": "AgentToolCall",
522
- "emptyIcon": "activity",
523
- "emptyTitle": "No activity yet",
524
- "emptyDescription": "Agent actions will appear here as they occur.",
525
- "renderItem": [
526
- "fn",
527
- "item",
528
- {
529
- "type": "stack",
530
- "direction": "vertical",
531
- "gap": "xs",
532
- "children": [
533
- {
534
- "type": "stack",
535
- "direction": "horizontal",
536
- "gap": "sm",
537
- "align": "center",
538
- "children": [
539
- {
540
- "type": "badge",
541
- "label": "@item.status"
542
- },
543
- {
544
- "type": "typography",
545
- "variant": "h4",
546
- "content": "@item.action"
547
- }
548
- ]
549
- },
550
- {
551
- "type": "typography",
552
- "variant": "body",
553
- "color": "muted",
554
- "content": "@item.detail"
555
- },
556
- {
557
- "type": "stack",
558
- "direction": "horizontal",
559
- "gap": "sm",
560
- "align": "center",
561
- "children": [
562
- {
563
- "type": "typography",
564
- "variant": "caption",
565
- "color": "muted",
566
- "content": "@item.timestamp"
567
- },
568
- {
569
- "type": "badge",
570
- "label": "@item.duration",
571
- "variant": "outline"
572
- }
573
- ]
574
- }
575
- ]
576
- }
577
- ],
578
- "fields": [
579
- "name",
580
- "description",
581
- "status",
582
- "createdAt",
583
- "toolName",
584
- "args",
585
- "result",
586
- "error",
587
- "duration",
588
- "action",
589
- "detail",
590
- "timestamp"
591
- ]
592
- }
593
- ]
594
- }
595
- ]
596
- ]
597
- },
598
- {
599
- "from": "logging",
600
- "to": "logging",
601
- "event": "LOG_ENTRY",
602
- "effects": [
603
- [
604
- "persist",
605
- "create",
606
- "AgentToolCall",
607
- {
608
- "action": "@payload.action",
609
- "detail": "@payload.detail",
610
- "status": "@payload.status",
611
- "timestamp": "@now"
612
- }
613
- ],
614
- [
615
- "fetch",
616
- "AgentToolCall"
617
- ],
618
- [
619
- "render-ui",
620
- "main",
621
- {
622
- "type": "stack",
623
- "direction": "vertical",
624
- "gap": "lg",
625
- "children": [
626
- {
627
- "type": "stack",
628
- "direction": "horizontal",
629
- "gap": "sm",
630
- "justify": "space-between",
631
- "align": "center",
632
- "children": [
633
- {
634
- "type": "stack",
635
- "direction": "horizontal",
636
- "gap": "sm",
637
- "align": "center",
638
- "children": [
639
- {
640
- "type": "icon",
641
- "name": "activity",
642
- "size": "lg"
643
- },
644
- {
645
- "type": "typography",
646
- "content": "Activity Log",
647
- "variant": "h2"
648
- }
649
- ]
650
- },
651
- {
652
- "type": "button",
653
- "label": "Clear",
654
- "event": "CLEAR",
655
- "variant": "ghost",
656
- "icon": "trash"
657
- }
658
- ]
659
- },
660
- {
661
- "type": "divider"
662
- },
663
- {
664
- "type": "timeline",
665
- "entity": "AgentToolCall",
666
- "emptyIcon": "activity",
667
- "emptyTitle": "No activity yet",
668
- "emptyDescription": "Agent actions will appear here as they occur.",
669
- "renderItem": [
670
- "fn",
671
- "item",
672
- {
673
- "type": "stack",
674
- "direction": "vertical",
675
- "gap": "xs",
676
- "children": [
677
- {
678
- "type": "stack",
679
- "direction": "horizontal",
680
- "gap": "sm",
681
- "align": "center",
682
- "children": [
683
- {
684
- "type": "badge",
685
- "label": "@item.status"
686
- },
687
- {
688
- "type": "typography",
689
- "variant": "h4",
690
- "content": "@item.action"
691
- }
692
- ]
693
- },
694
- {
695
- "type": "typography",
696
- "variant": "body",
697
- "color": "muted",
698
- "content": "@item.detail"
699
- },
700
- {
701
- "type": "stack",
702
- "direction": "horizontal",
703
- "gap": "sm",
704
- "align": "center",
705
- "children": [
706
- {
707
- "type": "typography",
708
- "variant": "caption",
709
- "color": "muted",
710
- "content": "@item.timestamp"
711
- },
712
- {
713
- "type": "badge",
714
- "label": "@item.duration",
715
- "variant": "outline"
716
- }
717
- ]
718
- }
719
- ]
720
- }
721
- ],
722
- "fields": [
723
- "name",
724
- "description",
725
- "status",
726
- "createdAt",
727
- "toolName",
728
- "args",
729
- "result",
730
- "error",
731
- "duration",
732
- "action",
733
- "detail",
734
- "timestamp"
735
- ]
736
- }
737
- ]
738
- }
739
- ],
740
- [
741
- "notify",
742
- "AgentToolCall created successfully"
743
- ]
744
- ]
745
- },
746
- {
747
- "from": "logging",
748
- "to": "logging",
749
- "event": "CLEAR",
750
- "effects": [
751
- [
752
- "persist",
753
- "delete",
754
- "AgentToolCall"
755
- ],
756
- [
757
- "fetch",
758
- "AgentToolCall"
759
- ],
760
- [
761
- "render-ui",
762
- "main",
763
- {
764
- "type": "stack",
765
- "direction": "vertical",
766
- "gap": "lg",
767
- "children": [
768
- {
769
- "type": "stack",
770
- "direction": "horizontal",
771
- "gap": "sm",
772
- "justify": "space-between",
773
- "align": "center",
774
- "children": [
775
- {
776
- "type": "stack",
777
- "direction": "horizontal",
778
- "gap": "sm",
779
- "align": "center",
780
- "children": [
781
- {
782
- "type": "icon",
783
- "name": "activity",
784
- "size": "lg"
785
- },
786
- {
787
- "type": "typography",
788
- "content": "Activity Log",
789
- "variant": "h2"
790
- }
791
- ]
792
- },
793
- {
794
- "type": "button",
795
- "label": "Clear",
796
- "event": "CLEAR",
797
- "variant": "ghost",
798
- "icon": "trash"
799
- }
800
- ]
801
- },
802
- {
803
- "type": "divider"
804
- },
805
- {
806
- "type": "timeline",
807
- "entity": "AgentToolCall",
808
- "emptyIcon": "activity",
809
- "emptyTitle": "No activity yet",
810
- "emptyDescription": "Agent actions will appear here as they occur.",
811
- "renderItem": [
812
- "fn",
813
- "item",
814
- {
815
- "type": "stack",
816
- "direction": "vertical",
817
- "gap": "xs",
818
- "children": [
819
- {
820
- "type": "stack",
821
- "direction": "horizontal",
822
- "gap": "sm",
823
- "align": "center",
824
- "children": [
825
- {
826
- "type": "badge",
827
- "label": "@item.status"
828
- },
829
- {
830
- "type": "typography",
831
- "variant": "h4",
832
- "content": "@item.action"
833
- }
834
- ]
835
- },
836
- {
837
- "type": "typography",
838
- "variant": "body",
839
- "color": "muted",
840
- "content": "@item.detail"
841
- },
842
- {
843
- "type": "stack",
844
- "direction": "horizontal",
845
- "gap": "sm",
846
- "align": "center",
847
- "children": [
848
- {
849
- "type": "typography",
850
- "variant": "caption",
851
- "color": "muted",
852
- "content": "@item.timestamp"
853
- },
854
- {
855
- "type": "badge",
856
- "label": "@item.duration",
857
- "variant": "outline"
858
- }
859
- ]
860
- }
861
- ]
862
- }
863
- ],
864
- "fields": [
865
- "name",
866
- "description",
867
- "status",
868
- "createdAt",
869
- "toolName",
870
- "args",
871
- "result",
872
- "error",
873
- "duration",
874
- "action",
875
- "detail",
876
- "timestamp"
877
- ]
878
- }
879
- ]
880
- }
881
- ],
882
- [
883
- "notify",
884
- "AgentToolCall deleted successfully"
885
- ]
886
- ]
887
- }
888
- ]
889
- }
890
- },
891
395
  {
892
396
  "name": "AgentToolCallAgent",
893
397
  "linkedEntity": "AgentToolCall",
@@ -1222,9 +726,6 @@
1222
726
  {
1223
727
  "ref": "AgentToolCallModal"
1224
728
  },
1225
- {
1226
- "ref": "AgentToolCallLog"
1227
- },
1228
729
  {
1229
730
  "ref": "AgentToolCallAgent"
1230
731
  }