@almadar/std 14.4.0 → 14.5.1
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.
- package/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
- package/behaviors/registry/core/atoms/std-browse.orb +180 -45
- package/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
- package/behaviors/registry/service/atoms/std-service-email.orb +101 -147
- package/behaviors/registry/service/atoms/std-service-github.orb +92 -143
- package/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
- package/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
- package/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
- package/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
- package/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
- package/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
- package/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
- package/dist/behaviors/registry/core/atoms/std-browse.orb +180 -45
- package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +101 -147
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +92 -143
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
- package/package.json +1 -1
|
@@ -71,56 +71,17 @@
|
|
|
71
71
|
"emits": [
|
|
72
72
|
{
|
|
73
73
|
"event": "ServiceLlmLoaded",
|
|
74
|
-
"
|
|
75
|
-
"scope": "internal",
|
|
74
|
+
"scope": "external",
|
|
76
75
|
"payloadSchema": [
|
|
77
76
|
{
|
|
78
77
|
"name": "id",
|
|
79
|
-
"type": "string",
|
|
80
|
-
"required": true
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "inputText",
|
|
84
|
-
"type": "string"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"name": "action",
|
|
88
|
-
"type": "string"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "result",
|
|
92
|
-
"type": "string"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "llmStatus",
|
|
96
|
-
"type": "string"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "error",
|
|
100
|
-
"type": "string"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "name",
|
|
104
|
-
"type": "string"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"name": "description",
|
|
108
|
-
"type": "string"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"name": "status",
|
|
112
|
-
"type": "string"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "createdAt",
|
|
116
78
|
"type": "string"
|
|
117
79
|
}
|
|
118
80
|
]
|
|
119
81
|
},
|
|
120
82
|
{
|
|
121
83
|
"event": "ServiceLlmLoadFailed",
|
|
122
|
-
"
|
|
123
|
-
"scope": "internal",
|
|
84
|
+
"scope": "external",
|
|
124
85
|
"payloadSchema": [
|
|
125
86
|
{
|
|
126
87
|
"name": "message",
|
|
@@ -130,7 +91,7 @@
|
|
|
130
91
|
},
|
|
131
92
|
{
|
|
132
93
|
"event": "ServiceLlmLlmCompleted",
|
|
133
|
-
"scope": "
|
|
94
|
+
"scope": "external",
|
|
134
95
|
"payloadSchema": [
|
|
135
96
|
{
|
|
136
97
|
"name": "result",
|
|
@@ -140,7 +101,7 @@
|
|
|
140
101
|
},
|
|
141
102
|
{
|
|
142
103
|
"event": "ServiceLlmLlmFailed",
|
|
143
|
-
"scope": "
|
|
104
|
+
"scope": "external",
|
|
144
105
|
"payloadSchema": [
|
|
145
106
|
{
|
|
146
107
|
"name": "error",
|
|
@@ -326,16 +287,16 @@
|
|
|
326
287
|
"children": [
|
|
327
288
|
{
|
|
328
289
|
"gap": "md",
|
|
329
|
-
"align": "center",
|
|
330
290
|
"type": "stack",
|
|
291
|
+
"align": "center",
|
|
331
292
|
"children": [
|
|
332
293
|
{
|
|
333
294
|
"type": "icon",
|
|
334
295
|
"name": "brain"
|
|
335
296
|
},
|
|
336
297
|
{
|
|
337
|
-
"content": "ServiceLlm LLM",
|
|
338
298
|
"variant": "h2",
|
|
299
|
+
"content": "ServiceLlm LLM",
|
|
339
300
|
"type": "typography"
|
|
340
301
|
}
|
|
341
302
|
],
|
|
@@ -349,39 +310,39 @@
|
|
|
349
310
|
"type": "textarea"
|
|
350
311
|
},
|
|
351
312
|
{
|
|
352
|
-
"gap": "sm",
|
|
353
313
|
"type": "stack",
|
|
314
|
+
"direction": "horizontal",
|
|
354
315
|
"children": [
|
|
355
316
|
{
|
|
356
|
-
"action": "GENERATE",
|
|
357
|
-
"label": "Generate",
|
|
358
|
-
"icon": "sparkles",
|
|
359
317
|
"type": "button",
|
|
360
|
-
"
|
|
318
|
+
"icon": "sparkles",
|
|
319
|
+
"action": "GENERATE",
|
|
320
|
+
"variant": "primary",
|
|
321
|
+
"label": "Generate"
|
|
361
322
|
},
|
|
362
323
|
{
|
|
363
|
-
"type": "button",
|
|
364
324
|
"icon": "tag",
|
|
365
325
|
"action": "CLASSIFY",
|
|
366
|
-
"
|
|
367
|
-
"
|
|
326
|
+
"label": "Classify",
|
|
327
|
+
"type": "button",
|
|
328
|
+
"variant": "secondary"
|
|
368
329
|
},
|
|
369
330
|
{
|
|
331
|
+
"action": "SUMMARIZE",
|
|
370
332
|
"variant": "secondary",
|
|
371
|
-
"type": "button",
|
|
372
333
|
"label": "Summarize",
|
|
373
|
-
"
|
|
334
|
+
"type": "button",
|
|
374
335
|
"icon": "align-left"
|
|
375
336
|
}
|
|
376
337
|
],
|
|
377
|
-
"
|
|
378
|
-
"
|
|
338
|
+
"gap": "sm",
|
|
339
|
+
"justify": "center"
|
|
379
340
|
}
|
|
380
341
|
],
|
|
381
|
-
"direction": "vertical",
|
|
382
|
-
"align": "stretch",
|
|
383
342
|
"gap": "lg",
|
|
384
|
-
"
|
|
343
|
+
"align": "stretch",
|
|
344
|
+
"type": "stack",
|
|
345
|
+
"direction": "vertical"
|
|
385
346
|
}
|
|
386
347
|
]
|
|
387
348
|
]
|
|
@@ -436,8 +397,8 @@
|
|
|
436
397
|
"main",
|
|
437
398
|
{
|
|
438
399
|
"title": "Processing...",
|
|
439
|
-
"
|
|
440
|
-
"
|
|
400
|
+
"message": "Running servicellm LLM task...",
|
|
401
|
+
"type": "loading-state"
|
|
441
402
|
}
|
|
442
403
|
],
|
|
443
404
|
[
|
|
@@ -445,12 +406,12 @@
|
|
|
445
406
|
"llm",
|
|
446
407
|
"classify",
|
|
447
408
|
{
|
|
448
|
-
"text": "@entity.inputText",
|
|
449
409
|
"categories": [
|
|
450
410
|
"positive",
|
|
451
411
|
"negative",
|
|
452
412
|
"neutral"
|
|
453
|
-
]
|
|
413
|
+
],
|
|
414
|
+
"text": "@entity.inputText"
|
|
454
415
|
},
|
|
455
416
|
{
|
|
456
417
|
"emit": {
|
|
@@ -475,9 +436,9 @@
|
|
|
475
436
|
"render-ui",
|
|
476
437
|
"main",
|
|
477
438
|
{
|
|
478
|
-
"
|
|
439
|
+
"type": "loading-state",
|
|
479
440
|
"message": "Running servicellm LLM task...",
|
|
480
|
-
"
|
|
441
|
+
"title": "Processing..."
|
|
481
442
|
}
|
|
482
443
|
],
|
|
483
444
|
[
|
|
@@ -489,8 +450,8 @@
|
|
|
489
450
|
},
|
|
490
451
|
{
|
|
491
452
|
"emit": {
|
|
492
|
-
"
|
|
493
|
-
"
|
|
453
|
+
"success": "ServiceLlmLlmCompleted",
|
|
454
|
+
"failure": "ServiceLlmLlmFailed"
|
|
494
455
|
}
|
|
495
456
|
}
|
|
496
457
|
]
|
|
@@ -517,31 +478,31 @@
|
|
|
517
478
|
{
|
|
518
479
|
"children": [
|
|
519
480
|
{
|
|
520
|
-
"
|
|
521
|
-
"
|
|
481
|
+
"type": "icon",
|
|
482
|
+
"name": "check-circle"
|
|
522
483
|
},
|
|
523
484
|
{
|
|
524
|
-
"message": "LLM task complete",
|
|
525
485
|
"variant": "success",
|
|
526
|
-
"type": "alert"
|
|
486
|
+
"type": "alert",
|
|
487
|
+
"message": "LLM task complete"
|
|
527
488
|
},
|
|
528
489
|
{
|
|
529
|
-
"variant": "body",
|
|
530
490
|
"content": "@entity.result",
|
|
491
|
+
"variant": "body",
|
|
531
492
|
"type": "typography"
|
|
532
493
|
},
|
|
533
494
|
{
|
|
534
495
|
"variant": "ghost",
|
|
535
|
-
"icon": "rotate-ccw",
|
|
536
496
|
"type": "button",
|
|
537
497
|
"action": "RESET",
|
|
498
|
+
"icon": "rotate-ccw",
|
|
538
499
|
"label": "Start Over"
|
|
539
500
|
}
|
|
540
501
|
],
|
|
502
|
+
"type": "stack",
|
|
541
503
|
"gap": "lg",
|
|
542
504
|
"align": "center",
|
|
543
|
-
"direction": "vertical"
|
|
544
|
-
"type": "stack"
|
|
505
|
+
"direction": "vertical"
|
|
545
506
|
}
|
|
546
507
|
]
|
|
547
508
|
]
|
|
@@ -565,40 +526,40 @@
|
|
|
565
526
|
"render-ui",
|
|
566
527
|
"main",
|
|
567
528
|
{
|
|
568
|
-
"gap": "lg",
|
|
569
|
-
"type": "stack",
|
|
570
|
-
"align": "center",
|
|
571
|
-
"direction": "vertical",
|
|
572
529
|
"children": [
|
|
573
530
|
{
|
|
574
|
-
"title": "LLM Failed",
|
|
575
|
-
"message": "@entity.error",
|
|
576
531
|
"onRetry": "RETRY",
|
|
577
|
-
"
|
|
532
|
+
"title": "LLM Failed",
|
|
533
|
+
"type": "error-state",
|
|
534
|
+
"message": "@entity.error"
|
|
578
535
|
},
|
|
579
536
|
{
|
|
537
|
+
"type": "stack",
|
|
538
|
+
"direction": "horizontal",
|
|
580
539
|
"children": [
|
|
581
540
|
{
|
|
582
541
|
"label": "Retry",
|
|
542
|
+
"variant": "primary",
|
|
583
543
|
"type": "button",
|
|
584
|
-
"action": "RETRY",
|
|
585
544
|
"icon": "refresh-cw",
|
|
586
|
-
"
|
|
545
|
+
"action": "RETRY"
|
|
587
546
|
},
|
|
588
547
|
{
|
|
589
|
-
"label": "Reset",
|
|
590
|
-
"variant": "ghost",
|
|
591
|
-
"action": "RESET",
|
|
592
548
|
"type": "button",
|
|
593
|
-
"
|
|
549
|
+
"variant": "ghost",
|
|
550
|
+
"label": "Reset",
|
|
551
|
+
"icon": "rotate-ccw",
|
|
552
|
+
"action": "RESET"
|
|
594
553
|
}
|
|
595
554
|
],
|
|
596
|
-
"
|
|
597
|
-
"
|
|
598
|
-
"gap": "sm",
|
|
599
|
-
"justify": "center"
|
|
555
|
+
"justify": "center",
|
|
556
|
+
"gap": "sm"
|
|
600
557
|
}
|
|
601
|
-
]
|
|
558
|
+
],
|
|
559
|
+
"type": "stack",
|
|
560
|
+
"direction": "vertical",
|
|
561
|
+
"gap": "lg",
|
|
562
|
+
"align": "center"
|
|
602
563
|
}
|
|
603
564
|
]
|
|
604
565
|
]
|
|
@@ -617,65 +578,65 @@
|
|
|
617
578
|
"render-ui",
|
|
618
579
|
"main",
|
|
619
580
|
{
|
|
620
|
-
"align": "stretch",
|
|
621
|
-
"direction": "vertical",
|
|
622
581
|
"children": [
|
|
623
582
|
{
|
|
583
|
+
"gap": "md",
|
|
584
|
+
"type": "stack",
|
|
624
585
|
"align": "center",
|
|
586
|
+
"direction": "horizontal",
|
|
625
587
|
"children": [
|
|
626
588
|
{
|
|
627
|
-
"
|
|
628
|
-
"
|
|
589
|
+
"type": "icon",
|
|
590
|
+
"name": "brain"
|
|
629
591
|
},
|
|
630
592
|
{
|
|
631
|
-
"type": "typography",
|
|
632
593
|
"content": "ServiceLlm LLM",
|
|
633
|
-
"variant": "h2"
|
|
594
|
+
"variant": "h2",
|
|
595
|
+
"type": "typography"
|
|
634
596
|
}
|
|
635
|
-
]
|
|
636
|
-
"gap": "md",
|
|
637
|
-
"type": "stack",
|
|
638
|
-
"direction": "horizontal"
|
|
597
|
+
]
|
|
639
598
|
},
|
|
640
599
|
{
|
|
641
600
|
"type": "divider"
|
|
642
601
|
},
|
|
643
602
|
{
|
|
644
|
-
"
|
|
645
|
-
"
|
|
603
|
+
"placeholder": "Enter text for LLM processing...",
|
|
604
|
+
"type": "textarea"
|
|
646
605
|
},
|
|
647
606
|
{
|
|
648
|
-
"type": "stack",
|
|
649
|
-
"gap": "sm",
|
|
650
607
|
"children": [
|
|
651
608
|
{
|
|
652
609
|
"type": "button",
|
|
610
|
+
"icon": "sparkles",
|
|
653
611
|
"variant": "primary",
|
|
654
612
|
"action": "GENERATE",
|
|
655
|
-
"label": "Generate"
|
|
656
|
-
"icon": "sparkles"
|
|
613
|
+
"label": "Generate"
|
|
657
614
|
},
|
|
658
615
|
{
|
|
659
|
-
"action": "CLASSIFY",
|
|
660
616
|
"label": "Classify",
|
|
661
|
-
"
|
|
617
|
+
"action": "CLASSIFY",
|
|
662
618
|
"type": "button",
|
|
619
|
+
"icon": "tag",
|
|
663
620
|
"variant": "secondary"
|
|
664
621
|
},
|
|
665
622
|
{
|
|
666
|
-
"variant": "secondary",
|
|
667
|
-
"action": "SUMMARIZE",
|
|
668
623
|
"type": "button",
|
|
624
|
+
"icon": "align-left",
|
|
625
|
+
"action": "SUMMARIZE",
|
|
669
626
|
"label": "Summarize",
|
|
670
|
-
"
|
|
627
|
+
"variant": "secondary"
|
|
671
628
|
}
|
|
672
629
|
],
|
|
673
|
-
"
|
|
674
|
-
"
|
|
630
|
+
"gap": "sm",
|
|
631
|
+
"type": "stack",
|
|
632
|
+
"direction": "horizontal",
|
|
633
|
+
"justify": "center"
|
|
675
634
|
}
|
|
676
635
|
],
|
|
677
636
|
"type": "stack",
|
|
678
|
-
"
|
|
637
|
+
"align": "stretch",
|
|
638
|
+
"gap": "lg",
|
|
639
|
+
"direction": "vertical"
|
|
679
640
|
}
|
|
680
641
|
]
|
|
681
642
|
]
|
|
@@ -694,26 +655,25 @@
|
|
|
694
655
|
"render-ui",
|
|
695
656
|
"main",
|
|
696
657
|
{
|
|
658
|
+
"align": "stretch",
|
|
697
659
|
"direction": "vertical",
|
|
698
|
-
"type": "stack",
|
|
699
|
-
"gap": "lg",
|
|
700
660
|
"children": [
|
|
701
661
|
{
|
|
702
|
-
"
|
|
662
|
+
"align": "center",
|
|
703
663
|
"gap": "md",
|
|
704
|
-
"type": "stack",
|
|
705
664
|
"children": [
|
|
706
665
|
{
|
|
707
|
-
"
|
|
708
|
-
"
|
|
666
|
+
"name": "brain",
|
|
667
|
+
"type": "icon"
|
|
709
668
|
},
|
|
710
669
|
{
|
|
711
|
-
"
|
|
670
|
+
"content": "ServiceLlm LLM",
|
|
712
671
|
"type": "typography",
|
|
713
|
-
"
|
|
672
|
+
"variant": "h2"
|
|
714
673
|
}
|
|
715
674
|
],
|
|
716
|
-
"
|
|
675
|
+
"type": "stack",
|
|
676
|
+
"direction": "horizontal"
|
|
717
677
|
},
|
|
718
678
|
{
|
|
719
679
|
"type": "divider"
|
|
@@ -724,35 +684,36 @@
|
|
|
724
684
|
},
|
|
725
685
|
{
|
|
726
686
|
"type": "stack",
|
|
687
|
+
"justify": "center",
|
|
727
688
|
"children": [
|
|
728
689
|
{
|
|
729
|
-
"type": "button",
|
|
730
|
-
"label": "Generate",
|
|
731
690
|
"action": "GENERATE",
|
|
732
|
-
"
|
|
733
|
-
"variant": "primary"
|
|
691
|
+
"label": "Generate",
|
|
692
|
+
"variant": "primary",
|
|
693
|
+
"type": "button",
|
|
694
|
+
"icon": "sparkles"
|
|
734
695
|
},
|
|
735
696
|
{
|
|
736
|
-
"icon": "tag",
|
|
737
697
|
"label": "Classify",
|
|
738
698
|
"type": "button",
|
|
699
|
+
"action": "CLASSIFY",
|
|
739
700
|
"variant": "secondary",
|
|
740
|
-
"
|
|
701
|
+
"icon": "tag"
|
|
741
702
|
},
|
|
742
703
|
{
|
|
743
|
-
"action": "SUMMARIZE",
|
|
744
704
|
"label": "Summarize",
|
|
705
|
+
"variant": "secondary",
|
|
706
|
+
"action": "SUMMARIZE",
|
|
745
707
|
"icon": "align-left",
|
|
746
|
-
"type": "button"
|
|
747
|
-
"variant": "secondary"
|
|
708
|
+
"type": "button"
|
|
748
709
|
}
|
|
749
710
|
],
|
|
750
|
-
"
|
|
751
|
-
"direction": "horizontal"
|
|
752
|
-
"gap": "sm"
|
|
711
|
+
"gap": "sm",
|
|
712
|
+
"direction": "horizontal"
|
|
753
713
|
}
|
|
754
714
|
],
|
|
755
|
-
"
|
|
715
|
+
"gap": "lg",
|
|
716
|
+
"type": "stack"
|
|
756
717
|
}
|
|
757
718
|
]
|
|
758
719
|
]
|
|
@@ -771,15 +732,10 @@
|
|
|
771
732
|
"render-ui",
|
|
772
733
|
"main",
|
|
773
734
|
{
|
|
774
|
-
"direction": "vertical",
|
|
775
735
|
"gap": "lg",
|
|
776
736
|
"type": "stack",
|
|
777
|
-
"align": "stretch",
|
|
778
737
|
"children": [
|
|
779
738
|
{
|
|
780
|
-
"gap": "md",
|
|
781
|
-
"type": "stack",
|
|
782
|
-
"direction": "horizontal",
|
|
783
739
|
"align": "center",
|
|
784
740
|
"children": [
|
|
785
741
|
{
|
|
@@ -791,7 +747,10 @@
|
|
|
791
747
|
"variant": "h2",
|
|
792
748
|
"content": "ServiceLlm LLM"
|
|
793
749
|
}
|
|
794
|
-
]
|
|
750
|
+
],
|
|
751
|
+
"type": "stack",
|
|
752
|
+
"direction": "horizontal",
|
|
753
|
+
"gap": "md"
|
|
795
754
|
},
|
|
796
755
|
{
|
|
797
756
|
"type": "divider"
|
|
@@ -801,17 +760,15 @@
|
|
|
801
760
|
"placeholder": "Enter text for LLM processing..."
|
|
802
761
|
},
|
|
803
762
|
{
|
|
804
|
-
"type": "stack",
|
|
805
|
-
"gap": "sm",
|
|
806
|
-
"direction": "horizontal",
|
|
807
763
|
"justify": "center",
|
|
764
|
+
"gap": "sm",
|
|
808
765
|
"children": [
|
|
809
766
|
{
|
|
810
|
-
"
|
|
767
|
+
"icon": "sparkles",
|
|
768
|
+
"label": "Generate",
|
|
811
769
|
"action": "GENERATE",
|
|
812
770
|
"variant": "primary",
|
|
813
|
-
"
|
|
814
|
-
"label": "Generate"
|
|
771
|
+
"type": "button"
|
|
815
772
|
},
|
|
816
773
|
{
|
|
817
774
|
"action": "CLASSIFY",
|
|
@@ -821,15 +778,19 @@
|
|
|
821
778
|
"label": "Classify"
|
|
822
779
|
},
|
|
823
780
|
{
|
|
824
|
-
"type": "button",
|
|
825
|
-
"icon": "align-left",
|
|
826
781
|
"action": "SUMMARIZE",
|
|
782
|
+
"variant": "secondary",
|
|
827
783
|
"label": "Summarize",
|
|
828
|
-
"
|
|
784
|
+
"type": "button",
|
|
785
|
+
"icon": "align-left"
|
|
829
786
|
}
|
|
830
|
-
]
|
|
787
|
+
],
|
|
788
|
+
"type": "stack",
|
|
789
|
+
"direction": "horizontal"
|
|
831
790
|
}
|
|
832
|
-
]
|
|
791
|
+
],
|
|
792
|
+
"direction": "vertical",
|
|
793
|
+
"align": "stretch"
|
|
833
794
|
}
|
|
834
795
|
]
|
|
835
796
|
]
|