@adminide-stack/clock-tik-browser 12.0.35-alpha.0 → 12.0.35
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/lib/pages/Home/__tests__/queue.test.d.ts +2 -0
- package/lib/pages/Home/__tests__/queue.test.d.ts.map +1 -0
- package/lib/pages/Home/__tests__/results.test.d.ts +2 -0
- package/lib/pages/Home/__tests__/results.test.d.ts.map +1 -0
- package/lib/pages/Home/chat/ChoresChat.d.ts.map +1 -1
- package/lib/pages/Home/chat/ChoresChat.js +249 -59
- package/lib/pages/Home/chat/ChoresChat.js.map +1 -1
- package/lib/pages/Home/chat/ChoresPanel.d.ts.map +1 -1
- package/lib/pages/Home/chat/ChoresPanel.js +4 -2
- package/lib/pages/Home/chat/ChoresPanel.js.map +1 -1
- package/lib/pages/Home/chat/ResultCards.d.ts +16 -0
- package/lib/pages/Home/chat/ResultCards.d.ts.map +1 -0
- package/lib/pages/Home/chat/ResultCards.js +509 -0
- package/lib/pages/Home/chat/ResultCards.js.map +1 -0
- package/lib/pages/Home/chat/chatTheme.d.ts.map +1 -1
- package/lib/pages/Home/chat/chatTheme.js +436 -1
- package/lib/pages/Home/chat/chatTheme.js.map +1 -1
- package/lib/pages/Home/chat/chores.d.ts +10 -3
- package/lib/pages/Home/chat/chores.d.ts.map +1 -1
- package/lib/pages/Home/chat/chores.js +22 -5
- package/lib/pages/Home/chat/chores.js.map +1 -1
- package/lib/pages/Home/chat/queue.d.ts +94 -0
- package/lib/pages/Home/chat/queue.d.ts.map +1 -0
- package/lib/pages/Home/chat/queue.js +88 -0
- package/lib/pages/Home/chat/queue.js.map +1 -0
- package/lib/pages/Home/chat/results.d.ts +207 -0
- package/lib/pages/Home/chat/results.d.ts.map +1 -0
- package/lib/pages/Home/chat/results.js +823 -0
- package/lib/pages/Home/chat/results.js.map +1 -0
- package/lib/pages/Home/chat/stop.d.ts +7 -6
- package/lib/pages/Home/chat/stop.d.ts.map +1 -1
- package/lib/pages/Home/chat/stop.js +7 -6
- package/lib/pages/Home/chat/stop.js.map +1 -1
- package/lib/pages/Home/chat/thread.d.ts +7 -3
- package/lib/pages/Home/chat/thread.d.ts.map +1 -1
- package/lib/pages/Home/chat/thread.js +11 -3
- package/lib/pages/Home/chat/thread.js.map +1 -1
- package/package.json +4 -4
|
@@ -628,6 +628,437 @@ import {jsx}from'react/jsx-runtime';const CHAT_CSS = `
|
|
|
628
628
|
outline-offset: 2px;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
+
/* Lucy's results (ResultCards): flights as itinerary rows - a line from take-off to landing with a
|
|
632
|
+
dot per stop - and products, stays and cars as picture rows, in the same card as her calls. */
|
|
633
|
+
.cbh-chat .cbh-sr {
|
|
634
|
+
position: absolute;
|
|
635
|
+
width: 1px;
|
|
636
|
+
height: 1px;
|
|
637
|
+
padding: 0;
|
|
638
|
+
margin: -1px;
|
|
639
|
+
overflow: hidden;
|
|
640
|
+
clip: rect(0, 0, 0, 0);
|
|
641
|
+
white-space: nowrap;
|
|
642
|
+
border: 0;
|
|
643
|
+
}
|
|
644
|
+
.cbh-chat .cbh-results-stack {
|
|
645
|
+
display: flex;
|
|
646
|
+
flex-direction: column;
|
|
647
|
+
gap: 10px;
|
|
648
|
+
}
|
|
649
|
+
.cbh-chat .cbh-results {
|
|
650
|
+
max-width: 536px;
|
|
651
|
+
margin: 0 12px;
|
|
652
|
+
border: 1px solid hsl(var(--border));
|
|
653
|
+
border-radius: 16px;
|
|
654
|
+
background: hsl(var(--card));
|
|
655
|
+
box-shadow: 0 6px 18px -14px rgba(48, 28, 8, 0.4);
|
|
656
|
+
overflow: hidden;
|
|
657
|
+
animation: cbh-chat-rise 0.25s ease-out;
|
|
658
|
+
}
|
|
659
|
+
.cbh-chat .cbh-results-head {
|
|
660
|
+
display: flex;
|
|
661
|
+
align-items: center;
|
|
662
|
+
gap: 10px;
|
|
663
|
+
padding: 10px 12px;
|
|
664
|
+
border-bottom: 1px solid hsl(var(--border));
|
|
665
|
+
}
|
|
666
|
+
.cbh-chat .cbh-results-icon {
|
|
667
|
+
flex: none;
|
|
668
|
+
display: inline-flex;
|
|
669
|
+
align-items: center;
|
|
670
|
+
justify-content: center;
|
|
671
|
+
width: 28px;
|
|
672
|
+
height: 28px;
|
|
673
|
+
border-radius: 9px;
|
|
674
|
+
background: linear-gradient(160deg, #fff1e6, #ffe0cc);
|
|
675
|
+
color: #b84100;
|
|
676
|
+
}
|
|
677
|
+
.cbh-chat .cbh-results[data-kind='flights'] .cbh-results-icon {
|
|
678
|
+
background: linear-gradient(160deg, #eef4ff, #dce8ff);
|
|
679
|
+
color: #2457c5;
|
|
680
|
+
}
|
|
681
|
+
.cbh-chat .cbh-results[data-kind='stays'] .cbh-results-icon {
|
|
682
|
+
background: linear-gradient(160deg, #ecfaf3, #d6f2e4);
|
|
683
|
+
color: #12704f;
|
|
684
|
+
}
|
|
685
|
+
.cbh-chat .cbh-results-heading {
|
|
686
|
+
display: flex;
|
|
687
|
+
flex-direction: column;
|
|
688
|
+
min-width: 0;
|
|
689
|
+
}
|
|
690
|
+
.cbh-chat .cbh-results-title {
|
|
691
|
+
font-size: 14px;
|
|
692
|
+
font-weight: 600;
|
|
693
|
+
line-height: 1.3;
|
|
694
|
+
overflow-wrap: anywhere;
|
|
695
|
+
}
|
|
696
|
+
.cbh-chat .cbh-results-sub {
|
|
697
|
+
font-size: 12px;
|
|
698
|
+
color: hsl(var(--muted-foreground));
|
|
699
|
+
}
|
|
700
|
+
.cbh-chat .cbh-results-list {
|
|
701
|
+
margin: 0;
|
|
702
|
+
padding: 0;
|
|
703
|
+
list-style: none;
|
|
704
|
+
}
|
|
705
|
+
.cbh-chat .cbh-results-row {
|
|
706
|
+
padding: 12px;
|
|
707
|
+
transition: opacity 0.2s ease;
|
|
708
|
+
}
|
|
709
|
+
.cbh-chat .cbh-results-row + .cbh-results-row {
|
|
710
|
+
border-top: 1px solid hsl(var(--border));
|
|
711
|
+
}
|
|
712
|
+
.cbh-chat .cbh-results-row[data-dim] {
|
|
713
|
+
opacity: 0.5;
|
|
714
|
+
}
|
|
715
|
+
.cbh-chat .cbh-results-grid {
|
|
716
|
+
display: grid;
|
|
717
|
+
grid-template-columns: 28px minmax(0, 1fr) auto;
|
|
718
|
+
column-gap: 10px;
|
|
719
|
+
row-gap: 8px;
|
|
720
|
+
align-items: start;
|
|
721
|
+
}
|
|
722
|
+
.cbh-chat .cbh-results-item .cbh-results-grid {
|
|
723
|
+
grid-template-columns: 52px minmax(0, 1fr) auto;
|
|
724
|
+
row-gap: 4px;
|
|
725
|
+
}
|
|
726
|
+
.cbh-chat .cbh-results-mark {
|
|
727
|
+
display: inline-flex;
|
|
728
|
+
align-items: center;
|
|
729
|
+
justify-content: center;
|
|
730
|
+
width: 28px;
|
|
731
|
+
height: 28px;
|
|
732
|
+
border-radius: 8px;
|
|
733
|
+
overflow: hidden;
|
|
734
|
+
background: hsl(var(--muted));
|
|
735
|
+
box-shadow: inset 0 0 0 1px hsl(var(--border));
|
|
736
|
+
color: hsl(var(--foreground) / 0.7);
|
|
737
|
+
font-size: 10.5px;
|
|
738
|
+
font-weight: 700;
|
|
739
|
+
}
|
|
740
|
+
.cbh-chat .cbh-results-mark img {
|
|
741
|
+
width: 20px;
|
|
742
|
+
height: 20px;
|
|
743
|
+
object-fit: contain;
|
|
744
|
+
}
|
|
745
|
+
.cbh-chat .cbh-results-thumb {
|
|
746
|
+
grid-row: 1 / span 2;
|
|
747
|
+
display: inline-flex;
|
|
748
|
+
align-items: center;
|
|
749
|
+
justify-content: center;
|
|
750
|
+
width: 52px;
|
|
751
|
+
height: 52px;
|
|
752
|
+
border-radius: 10px;
|
|
753
|
+
overflow: hidden;
|
|
754
|
+
background: hsl(var(--muted));
|
|
755
|
+
box-shadow: inset 0 0 0 1px hsl(var(--border));
|
|
756
|
+
color: hsl(var(--muted-foreground));
|
|
757
|
+
}
|
|
758
|
+
.cbh-chat .cbh-results-thumb img {
|
|
759
|
+
width: 100%;
|
|
760
|
+
height: 100%;
|
|
761
|
+
object-fit: cover;
|
|
762
|
+
}
|
|
763
|
+
.cbh-chat .cbh-results-name {
|
|
764
|
+
display: flex;
|
|
765
|
+
flex-wrap: wrap;
|
|
766
|
+
align-items: center;
|
|
767
|
+
gap: 4px 8px;
|
|
768
|
+
min-width: 0;
|
|
769
|
+
padding-top: 4px;
|
|
770
|
+
}
|
|
771
|
+
.cbh-chat .cbh-results-item .cbh-results-name {
|
|
772
|
+
padding-top: 2px;
|
|
773
|
+
}
|
|
774
|
+
.cbh-chat .cbh-results-airline {
|
|
775
|
+
font-size: 13.5px;
|
|
776
|
+
font-weight: 600;
|
|
777
|
+
}
|
|
778
|
+
.cbh-chat .cbh-results-number {
|
|
779
|
+
font-size: 12px;
|
|
780
|
+
color: hsl(var(--muted-foreground));
|
|
781
|
+
font-variant-numeric: tabular-nums;
|
|
782
|
+
}
|
|
783
|
+
.cbh-chat .cbh-results-title-line {
|
|
784
|
+
display: -webkit-box;
|
|
785
|
+
-webkit-line-clamp: 2;
|
|
786
|
+
-webkit-box-orient: vertical;
|
|
787
|
+
overflow: hidden;
|
|
788
|
+
font-size: 13.5px;
|
|
789
|
+
font-weight: 600;
|
|
790
|
+
line-height: 1.35;
|
|
791
|
+
overflow-wrap: anywhere;
|
|
792
|
+
}
|
|
793
|
+
.cbh-chat .cbh-results-price {
|
|
794
|
+
display: flex;
|
|
795
|
+
flex-direction: column;
|
|
796
|
+
align-items: flex-end;
|
|
797
|
+
max-width: 34vw;
|
|
798
|
+
padding-top: 3px;
|
|
799
|
+
font-size: 15px;
|
|
800
|
+
font-weight: 700;
|
|
801
|
+
font-variant-numeric: tabular-nums;
|
|
802
|
+
text-align: right;
|
|
803
|
+
overflow-wrap: anywhere;
|
|
804
|
+
}
|
|
805
|
+
.cbh-chat .cbh-results-unit {
|
|
806
|
+
font-size: 11.5px;
|
|
807
|
+
font-weight: 500;
|
|
808
|
+
color: hsl(var(--muted-foreground));
|
|
809
|
+
white-space: nowrap;
|
|
810
|
+
}
|
|
811
|
+
.cbh-chat .cbh-results-was {
|
|
812
|
+
font-size: 12px;
|
|
813
|
+
font-weight: 500;
|
|
814
|
+
color: hsl(var(--muted-foreground));
|
|
815
|
+
}
|
|
816
|
+
.cbh-chat .cbh-results-meta {
|
|
817
|
+
grid-column: 2 / -1;
|
|
818
|
+
font-size: 12.5px;
|
|
819
|
+
color: hsl(var(--muted-foreground));
|
|
820
|
+
}
|
|
821
|
+
.cbh-chat .cbh-results-legs {
|
|
822
|
+
grid-column: 2 / -1;
|
|
823
|
+
display: flex;
|
|
824
|
+
flex-direction: column;
|
|
825
|
+
gap: 12px;
|
|
826
|
+
}
|
|
827
|
+
.cbh-chat .cbh-results-when {
|
|
828
|
+
margin-bottom: 3px;
|
|
829
|
+
font-size: 11px;
|
|
830
|
+
font-weight: 600;
|
|
831
|
+
letter-spacing: 0.04em;
|
|
832
|
+
text-transform: uppercase;
|
|
833
|
+
color: hsl(var(--muted-foreground));
|
|
834
|
+
}
|
|
835
|
+
.cbh-chat .cbh-results-times {
|
|
836
|
+
display: flex;
|
|
837
|
+
align-items: center;
|
|
838
|
+
gap: 10px;
|
|
839
|
+
}
|
|
840
|
+
.cbh-chat .cbh-results-time {
|
|
841
|
+
font-size: 15px;
|
|
842
|
+
font-weight: 600;
|
|
843
|
+
font-variant-numeric: tabular-nums;
|
|
844
|
+
white-space: nowrap;
|
|
845
|
+
}
|
|
846
|
+
.cbh-chat .cbh-results-next {
|
|
847
|
+
margin-left: 2px;
|
|
848
|
+
font-size: 10px;
|
|
849
|
+
font-weight: 700;
|
|
850
|
+
color: #b84100;
|
|
851
|
+
}
|
|
852
|
+
.cbh-chat .cbh-results-line {
|
|
853
|
+
position: relative;
|
|
854
|
+
flex: 1;
|
|
855
|
+
display: flex;
|
|
856
|
+
align-items: center;
|
|
857
|
+
justify-content: space-evenly;
|
|
858
|
+
min-width: 32px;
|
|
859
|
+
height: 2px;
|
|
860
|
+
border-radius: 1px;
|
|
861
|
+
background: hsl(var(--muted-foreground) / 0.35);
|
|
862
|
+
}
|
|
863
|
+
.cbh-chat .cbh-results-line::before,
|
|
864
|
+
.cbh-chat .cbh-results-line::after {
|
|
865
|
+
content: '';
|
|
866
|
+
position: absolute;
|
|
867
|
+
top: -2px;
|
|
868
|
+
width: 6px;
|
|
869
|
+
height: 6px;
|
|
870
|
+
border-radius: 50%;
|
|
871
|
+
background: hsl(var(--muted-foreground) / 0.7);
|
|
872
|
+
}
|
|
873
|
+
.cbh-chat .cbh-results-line::before {
|
|
874
|
+
left: -3px;
|
|
875
|
+
}
|
|
876
|
+
.cbh-chat .cbh-results-line::after {
|
|
877
|
+
right: -3px;
|
|
878
|
+
}
|
|
879
|
+
.cbh-chat .cbh-results-dot {
|
|
880
|
+
width: 8px;
|
|
881
|
+
height: 8px;
|
|
882
|
+
border-radius: 50%;
|
|
883
|
+
background: hsl(var(--card));
|
|
884
|
+
box-shadow: 0 0 0 2px #b84100;
|
|
885
|
+
}
|
|
886
|
+
.cbh-chat .cbh-results-places {
|
|
887
|
+
display: flex;
|
|
888
|
+
align-items: baseline;
|
|
889
|
+
justify-content: space-between;
|
|
890
|
+
gap: 8px;
|
|
891
|
+
margin-top: 4px;
|
|
892
|
+
font-size: 12px;
|
|
893
|
+
color: hsl(var(--muted-foreground));
|
|
894
|
+
font-variant-numeric: tabular-nums;
|
|
895
|
+
}
|
|
896
|
+
.cbh-chat .cbh-results-span {
|
|
897
|
+
flex: 1;
|
|
898
|
+
text-align: center;
|
|
899
|
+
}
|
|
900
|
+
.cbh-chat .cbh-results-via {
|
|
901
|
+
margin-top: 1px;
|
|
902
|
+
font-size: 12px;
|
|
903
|
+
text-align: center;
|
|
904
|
+
color: hsl(var(--muted-foreground));
|
|
905
|
+
}
|
|
906
|
+
.cbh-chat .cbh-results-badges {
|
|
907
|
+
display: inline-flex;
|
|
908
|
+
flex-wrap: wrap;
|
|
909
|
+
gap: 4px;
|
|
910
|
+
}
|
|
911
|
+
.cbh-chat .cbh-results-badge {
|
|
912
|
+
padding: 0 7px;
|
|
913
|
+
border-radius: 999px;
|
|
914
|
+
background: #fff1e6;
|
|
915
|
+
color: #b84100;
|
|
916
|
+
font-size: 11px;
|
|
917
|
+
font-weight: 600;
|
|
918
|
+
line-height: 19px;
|
|
919
|
+
white-space: nowrap;
|
|
920
|
+
}
|
|
921
|
+
.cbh-chat .cbh-results-badge[data-badge='cheapest'] {
|
|
922
|
+
background: #ecfdf5;
|
|
923
|
+
color: #047857;
|
|
924
|
+
}
|
|
925
|
+
.cbh-chat .cbh-results-badge[data-badge='fastest'] {
|
|
926
|
+
background: #f5f3ff;
|
|
927
|
+
color: #6d28d9;
|
|
928
|
+
}
|
|
929
|
+
.cbh-chat .cbh-results-foot-row {
|
|
930
|
+
display: flex;
|
|
931
|
+
align-items: center;
|
|
932
|
+
justify-content: space-between;
|
|
933
|
+
gap: 8px;
|
|
934
|
+
margin-top: 10px;
|
|
935
|
+
padding-left: 38px;
|
|
936
|
+
}
|
|
937
|
+
.cbh-chat .cbh-results-item .cbh-results-foot-row {
|
|
938
|
+
margin-top: 8px;
|
|
939
|
+
padding-left: 62px;
|
|
940
|
+
}
|
|
941
|
+
.cbh-chat .cbh-results-fare {
|
|
942
|
+
display: flex;
|
|
943
|
+
flex-wrap: wrap;
|
|
944
|
+
align-items: center;
|
|
945
|
+
gap: 4px 8px;
|
|
946
|
+
min-width: 0;
|
|
947
|
+
font-size: 12px;
|
|
948
|
+
color: hsl(var(--muted-foreground));
|
|
949
|
+
}
|
|
950
|
+
.cbh-chat .cbh-results-warn {
|
|
951
|
+
display: inline-flex;
|
|
952
|
+
align-items: center;
|
|
953
|
+
gap: 4px;
|
|
954
|
+
color: #b45309;
|
|
955
|
+
font-weight: 600;
|
|
956
|
+
}
|
|
957
|
+
.cbh-chat .cbh-results-actions {
|
|
958
|
+
flex: none;
|
|
959
|
+
display: inline-flex;
|
|
960
|
+
align-items: center;
|
|
961
|
+
gap: 6px;
|
|
962
|
+
}
|
|
963
|
+
.cbh-chat .cbh-results-reply {
|
|
964
|
+
display: inline-flex;
|
|
965
|
+
align-items: center;
|
|
966
|
+
gap: 4px;
|
|
967
|
+
height: 32px;
|
|
968
|
+
padding: 0 16px;
|
|
969
|
+
border: 0;
|
|
970
|
+
border-radius: 999px;
|
|
971
|
+
background: hsl(var(--primary));
|
|
972
|
+
color: hsl(var(--primary-foreground));
|
|
973
|
+
font-size: 13px;
|
|
974
|
+
font-weight: 600;
|
|
975
|
+
cursor: pointer;
|
|
976
|
+
}
|
|
977
|
+
.cbh-chat .cbh-results-reply:hover:not([aria-disabled='true']) {
|
|
978
|
+
opacity: 0.88;
|
|
979
|
+
}
|
|
980
|
+
.cbh-chat .cbh-results-reply[aria-disabled='true'] {
|
|
981
|
+
background: hsl(var(--muted));
|
|
982
|
+
color: hsl(var(--muted-foreground));
|
|
983
|
+
cursor: default;
|
|
984
|
+
}
|
|
985
|
+
.cbh-chat .cbh-results-reply[data-sent] {
|
|
986
|
+
background: #ecfdf5;
|
|
987
|
+
color: #047857;
|
|
988
|
+
}
|
|
989
|
+
.cbh-chat .cbh-results-out {
|
|
990
|
+
display: inline-flex;
|
|
991
|
+
align-items: center;
|
|
992
|
+
justify-content: center;
|
|
993
|
+
width: 32px;
|
|
994
|
+
height: 32px;
|
|
995
|
+
border: 1px solid hsl(var(--border));
|
|
996
|
+
border-radius: 999px;
|
|
997
|
+
background: hsl(var(--card));
|
|
998
|
+
color: hsl(var(--foreground));
|
|
999
|
+
}
|
|
1000
|
+
.cbh-chat .cbh-results-out:hover {
|
|
1001
|
+
background: hsl(var(--muted));
|
|
1002
|
+
}
|
|
1003
|
+
.cbh-chat .cbh-results-more {
|
|
1004
|
+
display: block;
|
|
1005
|
+
width: 100%;
|
|
1006
|
+
padding: 10px 12px;
|
|
1007
|
+
border: 0;
|
|
1008
|
+
border-top: 1px solid hsl(var(--border));
|
|
1009
|
+
background: transparent;
|
|
1010
|
+
color: #b84100;
|
|
1011
|
+
font-size: 13px;
|
|
1012
|
+
font-weight: 600;
|
|
1013
|
+
cursor: pointer;
|
|
1014
|
+
}
|
|
1015
|
+
.cbh-chat .cbh-results-more:hover {
|
|
1016
|
+
background: hsl(var(--muted));
|
|
1017
|
+
}
|
|
1018
|
+
.cbh-chat .cbh-results-foot {
|
|
1019
|
+
display: flex;
|
|
1020
|
+
flex-wrap: wrap;
|
|
1021
|
+
align-items: center;
|
|
1022
|
+
justify-content: space-between;
|
|
1023
|
+
gap: 6px 12px;
|
|
1024
|
+
padding: 9px 12px;
|
|
1025
|
+
border-top: 1px solid hsl(var(--border));
|
|
1026
|
+
background: hsl(var(--muted) / 0.5);
|
|
1027
|
+
font-size: 12px;
|
|
1028
|
+
color: hsl(var(--muted-foreground));
|
|
1029
|
+
}
|
|
1030
|
+
.cbh-chat .cbh-results-foot a {
|
|
1031
|
+
display: inline-flex;
|
|
1032
|
+
align-items: center;
|
|
1033
|
+
gap: 3px;
|
|
1034
|
+
color: #b84100;
|
|
1035
|
+
font-weight: 600;
|
|
1036
|
+
text-decoration: none;
|
|
1037
|
+
white-space: nowrap;
|
|
1038
|
+
}
|
|
1039
|
+
.cbh-chat .cbh-results-foot a:hover {
|
|
1040
|
+
text-decoration: underline;
|
|
1041
|
+
}
|
|
1042
|
+
.cbh-chat .cbh-results-reply:focus-visible,
|
|
1043
|
+
.cbh-chat .cbh-results-out:focus-visible,
|
|
1044
|
+
.cbh-chat .cbh-results-more:focus-visible,
|
|
1045
|
+
.cbh-chat .cbh-results-foot a:focus-visible {
|
|
1046
|
+
outline: 2px solid hsl(var(--ring));
|
|
1047
|
+
outline-offset: 2px;
|
|
1048
|
+
}
|
|
1049
|
+
@media (max-width: 420px) {
|
|
1050
|
+
.cbh-chat .cbh-results-legs {
|
|
1051
|
+
grid-column: 1 / -1;
|
|
1052
|
+
}
|
|
1053
|
+
.cbh-chat .cbh-results-foot-row,
|
|
1054
|
+
.cbh-chat .cbh-results-item .cbh-results-foot-row {
|
|
1055
|
+
padding-left: 0;
|
|
1056
|
+
}
|
|
1057
|
+
.cbh-chat .cbh-results-time {
|
|
1058
|
+
font-size: 14px;
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
|
|
631
1062
|
/* Lucy's chores (ChoresPanel): the header button's count, then the panel - a sheet from the bottom
|
|
632
1063
|
on a phone, a card hanging under its button on a wider screen (the button's place comes in as
|
|
633
1064
|
--cbh-chores-top / --cbh-chores-right). */
|
|
@@ -1090,9 +1521,13 @@ import {jsx}from'react/jsx-runtime';const CHAT_CSS = `
|
|
|
1090
1521
|
.cbh-chat .cbh-chores-spin,
|
|
1091
1522
|
.cbh-chat .cbh-chores-pulse,
|
|
1092
1523
|
.cbh-chat .cbh-calls,
|
|
1093
|
-
.cbh-chat .cbh-calls-dot
|
|
1524
|
+
.cbh-chat .cbh-calls-dot,
|
|
1525
|
+
.cbh-chat .cbh-results {
|
|
1094
1526
|
animation: none;
|
|
1095
1527
|
}
|
|
1528
|
+
.cbh-chat .cbh-results-row {
|
|
1529
|
+
transition: none;
|
|
1530
|
+
}
|
|
1096
1531
|
.cbh-chat .cbh-chat-starter,
|
|
1097
1532
|
.cbh-chat .cbh-chat-imsg {
|
|
1098
1533
|
transition: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatTheme.js","sources":["../../../../src/pages/Home/chat/chatTheme.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"oCASA,MAAM,QAAQ,GAAG
|
|
1
|
+
{"version":3,"file":"chatTheme.js","sources":["../../../../src/pages/Home/chat/chatTheme.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"oCASA,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+/ChB;SAEe,SAAS,GAAA;;SAEdA,GAAA,CAAA,OAAA,EAAA;AACX,IAAC,qBAAA,EAAA,IAAA;;;;;"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* records.
|
|
12
12
|
*/
|
|
13
13
|
import type { JobRecord, SurfaceTask } from '@yantra/surface-kit/tasks';
|
|
14
|
+
import type { QueuedMessage } from './queue';
|
|
14
15
|
/** The slug every Clockbook chore is recorded under, on the Task API too (`surface:clockbook`). */
|
|
15
16
|
export declare const CLOCKBOOK_SURFACE = "clockbook";
|
|
16
17
|
/** The lane a chore's turns are recorded in. */
|
|
@@ -68,6 +69,8 @@ export interface ChoreTurnsOptions {
|
|
|
68
69
|
* is that task, by its id or its server id.
|
|
69
70
|
*/
|
|
70
71
|
export declare function choreTurns(tasks: readonly SurfaceTask[], jobs: readonly JobRecord[], { isLive, owner }: ChoreTurnsOptions): ChoreTurn[];
|
|
72
|
+
/** The agent's own word that it holds a turn behind the one it is on ("Queued…"). */
|
|
73
|
+
export declare function isQueuedLine(line: string): boolean;
|
|
71
74
|
/** Where a chore stands, in the person's terms. */
|
|
72
75
|
export type ChoreStatus = 'asking' | 'working' | 'queued' | 'done' | 'failed';
|
|
73
76
|
export interface Chore {
|
|
@@ -111,15 +114,19 @@ export interface ChoreList {
|
|
|
111
114
|
export interface ChoreListOptions {
|
|
112
115
|
/** The turn whose reply holds the question still waiting for an answer (askingTurn). */
|
|
113
116
|
asking?: string;
|
|
117
|
+
/** Messages the page holds until Lucy is free (queue.ts), oldest first. */
|
|
118
|
+
waiting?: readonly QueuedMessage[];
|
|
114
119
|
now?: number;
|
|
115
120
|
}
|
|
116
121
|
/**
|
|
117
122
|
* The panel's chores from their turns.
|
|
118
123
|
*
|
|
119
124
|
* The agent runs one turn at a time, so a turn handed over while another of this browser's turns
|
|
120
|
-
* runs waits for it: until anything
|
|
121
|
-
*
|
|
122
|
-
*
|
|
125
|
+
* runs waits for it: until anything but the agent's own "Queued…" is heard of it, its chore is
|
|
126
|
+
* queued. A message the page holds until Lucy is free (`waiting`) is next after those, in the order
|
|
127
|
+
* it was sent. A question waiting for an answer puts its chore first, whatever else its turns are
|
|
128
|
+
* doing. A finished chore ended the way its last turn to end did: an answer can be done before the
|
|
129
|
+
* turn it let carry on.
|
|
123
130
|
*/
|
|
124
131
|
export declare function choreList(turns: readonly ChoreTurn[], options?: ChoreListOptions): ChoreList;
|
|
125
132
|
/** A chore's name in the list: the first line of what the person typed, kept short. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chores.d.ts","sourceRoot":"","sources":["../../../../src/pages/Home/chat/chores.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"chores.d.ts","sourceRoot":"","sources":["../../../../src/pages/Home/chat/chores.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,mGAAmG;AACnG,eAAO,MAAM,iBAAiB,cAAc,CAAC;AAC7C,gDAAgD;AAChD,eAAO,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E,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC7B,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAUD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,EAAE,OAAO,GAAE,gBAAqB,GAAG,SAAS,CA6EhG;AAaD,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAK,GAAG,MAAM,CAOzD;AAED,yEAAyE;AACzE,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAO/C;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,YAAY,CAAC;AAEjC,kFAAkF;AAClF,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,SAAa,GAAG,MAAM,CAiBhE;AAED,yFAAyF;AACzF,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,SAAa,GAAG,MAAM,CAQ7D;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,SAAM,GAAG,MAAM,CAW7D"}
|
|
@@ -105,6 +105,10 @@ function choreTurns(tasks, jobs, {
|
|
|
105
105
|
}
|
|
106
106
|
return turns;
|
|
107
107
|
}
|
|
108
|
+
/** The agent's own word that it holds a turn behind the one it is on ("Queued…"). */
|
|
109
|
+
function isQueuedLine(line) {
|
|
110
|
+
return /^queued\b/i.test(line.trim());
|
|
111
|
+
}
|
|
108
112
|
const byCreated = (a, b) => a.createdAt - b.createdAt;
|
|
109
113
|
const endOf = turn => turn.endedAt ?? turn.createdAt;
|
|
110
114
|
/** Running long past its deadline with nothing in this page streaming it. */
|
|
@@ -115,9 +119,11 @@ function isStale(turn, now) {
|
|
|
115
119
|
* The panel's chores from their turns.
|
|
116
120
|
*
|
|
117
121
|
* The agent runs one turn at a time, so a turn handed over while another of this browser's turns
|
|
118
|
-
* runs waits for it: until anything
|
|
119
|
-
*
|
|
120
|
-
*
|
|
122
|
+
* runs waits for it: until anything but the agent's own "Queued…" is heard of it, its chore is
|
|
123
|
+
* queued. A message the page holds until Lucy is free (`waiting`) is next after those, in the order
|
|
124
|
+
* it was sent. A question waiting for an answer puts its chore first, whatever else its turns are
|
|
125
|
+
* doing. A finished chore ended the way its last turn to end did: an answer can be done before the
|
|
126
|
+
* turn it let carry on.
|
|
121
127
|
*/
|
|
122
128
|
function choreList(turns, options = {}) {
|
|
123
129
|
const now = options.now ?? Date.now();
|
|
@@ -164,7 +170,7 @@ function choreList(turns, options = {}) {
|
|
|
164
170
|
}
|
|
165
171
|
const running = group.filter(t => t.state === 'running' && !isStale(t, now));
|
|
166
172
|
if (running.length) {
|
|
167
|
-
const waiting = running.every(t => t.live && !t.progress && t.id !== first);
|
|
173
|
+
const waiting = running.every(t => t.live && (!t.progress || isQueuedLine(t.progress)) && t.id !== first);
|
|
168
174
|
const progress = [...running].reverse().find(t => t.progress)?.progress;
|
|
169
175
|
const shown = {
|
|
170
176
|
...chore,
|
|
@@ -196,6 +202,17 @@ function choreList(turns, options = {}) {
|
|
|
196
202
|
list.asking.sort(byStart);
|
|
197
203
|
list.working.sort(byStart);
|
|
198
204
|
list.queued.sort(byStart);
|
|
205
|
+
// Held in the page: it goes to Lucy only once nothing of this chat is on her, so after all of the above.
|
|
206
|
+
for (const message of options.waiting ?? []) {
|
|
207
|
+
list.queued.push({
|
|
208
|
+
id: message.id,
|
|
209
|
+
title: choreTitle(message.text),
|
|
210
|
+
brief: message.text,
|
|
211
|
+
status: 'queued',
|
|
212
|
+
startedAt: message.at,
|
|
213
|
+
turns: []
|
|
214
|
+
});
|
|
215
|
+
}
|
|
199
216
|
list.done = list.done.filter(c => c.status === 'failed' || (c.endedAt ?? c.startedAt) - c.startedAt >= QUICK_ANSWER_MS).filter(c => now - (c.endedAt ?? c.startedAt) < DONE_FOR_MS).sort((a, b) => (b.endedAt ?? b.startedAt) - (a.endedAt ?? a.startedAt)).slice(0, DONE_SHOWN);
|
|
200
217
|
list.active = list.asking.length + list.working.length + list.queued.length;
|
|
201
218
|
return list;
|
|
@@ -266,4 +283,4 @@ function agoLabel(at, now = Date.now()) {
|
|
|
266
283
|
function plainText(markdown, max = 600) {
|
|
267
284
|
const text = markdown.replace(/!\[[^\]]*\]\([^)]*\)/g, '').replace(/\[([^\]]*)\]\([^)]*\)/g, '$1').replace(/^[ \t]{0,3}#{1,6}[ \t]+/gm, '').replace(/^[ \t]*[-*+][ \t]+/gm, '• ').replace(/\*|__|`/g, '').replace(/[ \t]+\n/g, '\n').replace(/\n{3,}/g, '\n\n').trim();
|
|
268
285
|
return shorten(text, max, 0.8);
|
|
269
|
-
}export{ANSWER_KEPT,CHORE_LANE,CHORE_TURN_BUDGET_MS,CLOCKBOOK_SURFACE,DONE_FOR_MS,DONE_SHOWN,QUICK_ANSWER_MS,STOPPED,agoLabel,choreLine,choreList,choreTitle,choreTurns,elapsedLabel,plainText,turnFromJob,turnFromTask};//# sourceMappingURL=chores.js.map
|
|
286
|
+
}export{ANSWER_KEPT,CHORE_LANE,CHORE_TURN_BUDGET_MS,CLOCKBOOK_SURFACE,DONE_FOR_MS,DONE_SHOWN,QUICK_ANSWER_MS,STOPPED,agoLabel,choreLine,choreList,choreTitle,choreTurns,elapsedLabel,isQueuedLine,plainText,turnFromJob,turnFromTask};//# sourceMappingURL=chores.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chores.js","sources":["../../../../src/pages/Home/chat/chores.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chores.js","sources":["../../../../src/pages/Home/chat/chores.ts"],"sourcesContent":[null],"names":[],"mappings":"AAeA;AACO,MAAM,iBAAiB,GAAG;AACjC;A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