@tangle-network/sandbox-ui 1.1.10 → 2.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 (34) hide show
  1. package/dist/{AgentGraph-DxAeQQch.d.ts → AgentGraph-B4uWLXlD.d.ts} +12 -17
  2. package/dist/AgentGraph-C1DsA-Rd.js +1369 -0
  3. package/dist/{AgentGraphCanvas-CMdOlSlh.js → AgentGraphCanvas-Bcxq-e6E.js} +557 -383
  4. package/dist/{WorkflowGraph-DZ3xejKE.js → WorkflowGraph-BDjc7V_U.js} +3 -2
  5. package/dist/canvas-theme-DGd0fm1H.js +58 -0
  6. package/dist/{chat-4OZD23RA.js → chat-BrlLa4rg.js} +2 -2
  7. package/dist/chat.d.ts +2 -2
  8. package/dist/chat.js +1 -1
  9. package/dist/{dashboard-DZ6FcC_Z.js → dashboard-FMrtIe9S.js} +1 -1
  10. package/dist/dashboard.js +1 -1
  11. package/dist/globals.css +404 -240
  12. package/dist/{index-ucJHuuVZ.d.ts → index-5zOVKgDT.d.ts} +2 -2
  13. package/dist/index-BK8KKLNY.d.ts +26 -0
  14. package/dist/{index-72uBu5lu.d.ts → index-D9-IiEpQ.d.ts} +21 -6
  15. package/dist/index.d.ts +4 -4
  16. package/dist/index.js +7 -6
  17. package/dist/latest-events-B34ElSTE.js +190 -0
  18. package/dist/{AgentGraph-DJEQrKTs.js → node-ui-Bfnh08U3.js} +40 -1194
  19. package/dist/primitives-CCdx5Hh_.js +23 -0
  20. package/dist/primitives.d.ts +2 -2
  21. package/dist/primitives.js +1 -1
  22. package/dist/{run-Qern6muT.js → run-BqpdpP1K.js} +161 -60
  23. package/dist/run.d.ts +2 -2
  24. package/dist/run.js +3 -1
  25. package/dist/styles.css +404 -240
  26. package/dist/tailwind.css +70 -43
  27. package/dist/{workbench-Ca6ZqAs5.js → workbench-BVnZNhP2.js} +1 -1
  28. package/dist/workbench.js +1 -1
  29. package/dist/workflows.d.ts +3 -7
  30. package/dist/workflows.js +2 -1
  31. package/package.json +9 -8
  32. package/dist/elk-loader-Dl9S7jQk.js +0 -12
  33. package/dist/index-CFJ1iJhu.d.ts +0 -26
  34. package/dist/primitives-B-76QdOU.js +0 -23
package/dist/styles.css CHANGED
@@ -97,6 +97,7 @@
97
97
  --shadow-card: 0 1px 2px hsl(var(--shadow-color) / 0.3);
98
98
  --shadow-dropdown: 0 8px 30px hsl(var(--shadow-color) / 0.45);
99
99
  --shadow-glow: none;
100
+ --shadow-overlay: 0 2px 6px hsl(var(--shadow-color) / 0.3), 0 16px 40px hsl(var(--shadow-color) / 0.5);
100
101
  --color-background: hsl(var(--background));
101
102
  --color-muted: hsl(var(--muted));
102
103
  }
@@ -790,10 +791,6 @@
790
791
  width: calc(var(--spacing) * 2);
791
792
  height: calc(var(--spacing) * 2);
792
793
  }
793
- .size-2\.5 {
794
- width: calc(var(--spacing) * 2.5);
795
- height: calc(var(--spacing) * 2.5);
796
- }
797
794
  .size-3 {
798
795
  width: calc(var(--spacing) * 3);
799
796
  height: calc(var(--spacing) * 3);
@@ -932,6 +929,9 @@
932
929
  .h-28 {
933
930
  height: calc(var(--spacing) * 28);
934
931
  }
932
+ .h-40 {
933
+ height: calc(var(--spacing) * 40);
934
+ }
935
935
  .h-48 {
936
936
  height: calc(var(--spacing) * 48);
937
937
  }
@@ -1070,6 +1070,9 @@
1070
1070
  .h-\[var\(--radix-select-trigger-height\)\] {
1071
1071
  height: var(--radix-select-trigger-height);
1072
1072
  }
1073
+ .h-\[var\(--shell-header-height\)\] {
1074
+ height: var(--shell-header-height);
1075
+ }
1073
1076
  .h-\[var\(--timeline-dot-size\,0\.5rem\)\] {
1074
1077
  height: var(--timeline-dot-size,0.5rem);
1075
1078
  }
@@ -1103,6 +1106,9 @@
1103
1106
  .max-h-96 {
1104
1107
  max-height: calc(var(--spacing) * 96);
1105
1108
  }
1109
+ .max-h-\[35vh\] {
1110
+ max-height: 35vh;
1111
+ }
1106
1112
  .max-h-\[40\%\] {
1107
1113
  max-height: 40%;
1108
1114
  }
@@ -1142,6 +1148,9 @@
1142
1148
  .min-h-0 {
1143
1149
  min-height: 0px;
1144
1150
  }
1151
+ .min-h-4 {
1152
+ min-height: calc(var(--spacing) * 4);
1153
+ }
1145
1154
  .min-h-5 {
1146
1155
  min-height: calc(var(--spacing) * 5);
1147
1156
  }
@@ -1649,6 +1658,9 @@
1649
1658
  .max-w-\[min\(640px\,calc\(100vw-2rem\)\)\] {
1650
1659
  max-width: min(640px, calc(100vw - 2rem));
1651
1660
  }
1661
+ .max-w-fit {
1662
+ max-width: fit-content;
1663
+ }
1652
1664
  .max-w-full {
1653
1665
  max-width: 100%;
1654
1666
  }
@@ -1841,6 +1853,9 @@
1841
1853
  .transform {
1842
1854
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
1843
1855
  }
1856
+ .animate-\[tangle-breathe_var\(--motion-ambient\)_infinite\] {
1857
+ animation: tangle-breathe var(--motion-ambient) infinite;
1858
+ }
1844
1859
  .animate-bounce {
1845
1860
  animation: var(--animate-bounce);
1846
1861
  }
@@ -2152,9 +2167,6 @@
2152
2167
  .self-center {
2153
2168
  align-self: center;
2154
2169
  }
2155
- .self-end {
2156
- align-self: flex-end;
2157
- }
2158
2170
  .self-start {
2159
2171
  align-self: flex-start;
2160
2172
  }
@@ -2220,6 +2232,15 @@
2220
2232
  .rounded-\[calc\(var\(--radius-xl\)\+2px\)\] {
2221
2233
  border-radius: calc(var(--radius-xl) + 2px);
2222
2234
  }
2235
+ .rounded-\[var\(--radius-card\)\] {
2236
+ border-radius: var(--radius-card);
2237
+ }
2238
+ .rounded-\[var\(--radius-container\)\] {
2239
+ border-radius: var(--radius-container);
2240
+ }
2241
+ .rounded-\[var\(--radius-control\)\] {
2242
+ border-radius: var(--radius-control);
2243
+ }
2223
2244
  .rounded-\[var\(--radius-full\)\] {
2224
2245
  border-radius: var(--radius-full);
2225
2246
  }
@@ -2775,9 +2796,6 @@
2775
2796
  .bg-\[var\(--status-running\)\] {
2776
2797
  background-color: var(--status-running);
2777
2798
  }
2778
- .bg-\[var\(--status-running\,\#34c48c\)\] {
2779
- background-color: var(--status-running,#34c48c);
2780
- }
2781
2799
  .bg-\[var\(--surface-danger-bg\)\] {
2782
2800
  background-color: var(--surface-danger-bg);
2783
2801
  }
@@ -2787,9 +2805,15 @@
2787
2805
  .bg-\[var\(--surface-info-bg\)\] {
2788
2806
  background-color: var(--surface-info-bg);
2789
2807
  }
2808
+ .bg-\[var\(--surface-info-text\)\] {
2809
+ background-color: var(--surface-info-text);
2810
+ }
2790
2811
  .bg-\[var\(--surface-neutral-bg\)\] {
2791
2812
  background-color: var(--surface-neutral-bg);
2792
2813
  }
2814
+ .bg-\[var\(--surface-neutral-text\)\] {
2815
+ background-color: var(--surface-neutral-text);
2816
+ }
2793
2817
  .bg-\[var\(--surface-success-bg\)\] {
2794
2818
  background-color: var(--surface-success-bg);
2795
2819
  }
@@ -3009,12 +3033,6 @@
3009
3033
  background-color: color-mix(in oklab, hsl(var(--muted-foreground)) 40%, transparent);
3010
3034
  }
3011
3035
  }
3012
- .bg-muted-foreground\/50 {
3013
- background-color: hsl(var(--muted-foreground));
3014
- @supports (color: color-mix(in lab, red, red)) {
3015
- background-color: color-mix(in oklab, hsl(var(--muted-foreground)) 50%, transparent);
3016
- }
3017
- }
3018
3036
  .bg-muted\/10 {
3019
3037
  background-color: hsl(var(--muted));
3020
3038
  @supports (color: color-mix(in lab, red, red)) {
@@ -3749,10 +3767,6 @@
3749
3767
  --tw-font-weight: var(--font-weight-semibold);
3750
3768
  font-weight: var(--font-weight-semibold);
3751
3769
  }
3752
- .tracking-\[-0\.01em\] {
3753
- --tw-tracking: -0.01em;
3754
- letter-spacing: -0.01em;
3755
- }
3756
3770
  .tracking-\[0\.1em\] {
3757
3771
  --tw-tracking: 0.1em;
3758
3772
  letter-spacing: 0.1em;
@@ -3839,6 +3853,9 @@
3839
3853
  .text-\[color\:var\(--surface-danger-text\)\] {
3840
3854
  color: var(--surface-danger-text);
3841
3855
  }
3856
+ .text-\[color\:var\(--surface-warning-text\)\] {
3857
+ color: var(--surface-warning-text);
3858
+ }
3842
3859
  .text-\[color\:var\(--text-dim\)\] {
3843
3860
  color: var(--text-dim);
3844
3861
  }
@@ -4170,6 +4187,9 @@
4170
4187
  .underline {
4171
4188
  text-decoration-line: underline;
4172
4189
  }
4190
+ .underline-offset-2 {
4191
+ text-underline-offset: 2px;
4192
+ }
4173
4193
  .underline-offset-4 {
4174
4194
  text-underline-offset: 4px;
4175
4195
  }
@@ -4358,6 +4378,10 @@
4358
4378
  --tw-blur: blur(8px);
4359
4379
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
4360
4380
  }
4381
+ .grayscale {
4382
+ --tw-grayscale: grayscale(100%);
4383
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
4384
+ }
4361
4385
  .filter {
4362
4386
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
4363
4387
  }
@@ -4514,8 +4538,8 @@
4514
4538
  .\[-webkit-mask-image\:linear-gradient\(to_right\,transparent\,black_16px\,black_calc\(100\%-16px\)\,transparent\)\] {
4515
4539
  -webkit-mask-image: linear-gradient(to right,transparent,black 16px,black calc(100% - 16px),transparent);
4516
4540
  }
4517
- .\[animation-duration\:1\.6s\] {
4518
- animation-duration: 1.6s;
4541
+ .\[text-decoration\:inherit\] {
4542
+ text-decoration: inherit;
4519
4543
  }
4520
4544
  .\[transition\:color_var\(--motion-control\)\,background-color_var\(--motion-control\)\,border-color_var\(--motion-control\)\,box-shadow_var\(--motion-control\)\,transform_var\(--motion-control\)\,scale_var\(--motion-control\)\,opacity_var\(--motion-control\)\] {
4521
4545
  transition: color var(--motion-control),background-color var(--motion-control),border-color var(--motion-control),box-shadow var(--motion-control),transform var(--motion-control),scale var(--motion-control),opacity var(--motion-control);
@@ -4594,16 +4618,6 @@
4594
4618
  .group-focus-visible\:bg-ring:is(:where(.group):focus-visible *) {
4595
4619
  background-color: hsl(var(--ring));
4596
4620
  }
4597
- .group-focus-visible\/agent\:outline-2:is(:where(.group\/agent):focus-visible *) {
4598
- outline-style: var(--tw-outline-style);
4599
- outline-width: 2px;
4600
- }
4601
- .group-focus-visible\/agent\:outline-offset-4:is(:where(.group\/agent):focus-visible *) {
4602
- outline-offset: 4px;
4603
- }
4604
- .group-focus-visible\/agent\:outline-ring:is(:where(.group\/agent):focus-visible *) {
4605
- outline-color: hsl(var(--ring));
4606
- }
4607
4621
  .group-data-\[state\=indeterminate\]\/checkbox\:block:is(:where(.group\/checkbox)[data-state="indeterminate"] *) {
4608
4622
  display: block;
4609
4623
  }
@@ -4656,66 +4670,54 @@
4656
4670
  --tw-content: '';
4657
4671
  content: var(--tw-content);
4658
4672
  }
4659
- .after\:pointer-events-none::after {
4660
- content: var(--tw-content);
4661
- pointer-events: none;
4662
- }
4663
4673
  .after\:absolute::after {
4664
4674
  content: var(--tw-content);
4665
4675
  position: absolute;
4666
4676
  }
4667
- .after\:inset-0::after {
4668
- content: var(--tw-content);
4669
- inset: 0px;
4670
- }
4671
4677
  .after\:top-0::after {
4672
4678
  content: var(--tw-content);
4673
4679
  top: 0px;
4674
4680
  }
4675
- .after\:right-0::after {
4681
+ .after\:top-1\/2::after {
4676
4682
  content: var(--tw-content);
4677
- right: 0px;
4683
+ top: calc(1 / 2 * 100%);
4678
4684
  }
4679
- .after\:left-0::after {
4685
+ .after\:-right-\[3px\]::after {
4680
4686
  content: var(--tw-content);
4681
- left: 0px;
4687
+ right: calc(3px * -1);
4682
4688
  }
4683
- .after\:h-\[2px\]::after {
4689
+ .after\:right-0::after {
4684
4690
  content: var(--tw-content);
4685
- height: 2px;
4691
+ right: 0px;
4686
4692
  }
4687
- .after\:rounded-xl::after {
4693
+ .after\:left-0::after {
4688
4694
  content: var(--tw-content);
4689
- border-radius: var(--radius-xl);
4695
+ left: 0px;
4690
4696
  }
4691
- .after\:bg-primary::after {
4697
+ .after\:h-4::after {
4692
4698
  content: var(--tw-content);
4693
- background-color: hsl(var(--primary));
4699
+ height: calc(var(--spacing) * 4);
4694
4700
  }
4695
- .after\:opacity-0::after {
4701
+ .after\:h-\[2px\]::after {
4696
4702
  content: var(--tw-content);
4697
- opacity: 0%;
4703
+ height: 2px;
4698
4704
  }
4699
- .after\:shadow-\[0_10px_28px_-10px_hsl\(var\(--foreground\)\/0\.45\)\]::after {
4705
+ .after\:w-px::after {
4700
4706
  content: var(--tw-content);
4701
- --tw-shadow: 0 10px 28px -10px var(--tw-shadow-color, hsl(var(--foreground)/0.45));
4702
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4707
+ width: 1px;
4703
4708
  }
4704
- .after\:transition-opacity::after {
4709
+ .after\:-translate-y-1\/2::after {
4705
4710
  content: var(--tw-content);
4706
- transition-property: opacity;
4707
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
4708
- transition-duration: var(--tw-duration, var(--default-transition-duration));
4711
+ --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
4712
+ translate: var(--tw-translate-x) var(--tw-translate-y);
4709
4713
  }
4710
- .after\:duration-150::after {
4714
+ .after\:bg-border::after {
4711
4715
  content: var(--tw-content);
4712
- --tw-duration: 150ms;
4713
- transition-duration: 150ms;
4716
+ background-color: hsl(var(--border));
4714
4717
  }
4715
- .after\:ease-out::after {
4718
+ .after\:bg-primary::after {
4716
4719
  content: var(--tw-content);
4717
- --tw-ease: var(--ease-out);
4718
- transition-timing-function: var(--ease-out);
4720
+ background-color: hsl(var(--primary));
4719
4721
  }
4720
4722
  .first\:pt-0:first-child {
4721
4723
  padding-top: 0px;
@@ -4742,10 +4744,6 @@
4742
4744
  --tw-translate-y: calc(var(--spacing) * -0.5);
4743
4745
  translate: var(--tw-translate-x) var(--tw-translate-y);
4744
4746
  }
4745
- .hover\:-translate-y-px:hover {
4746
- --tw-translate-y: -1px;
4747
- translate: var(--tw-translate-x) var(--tw-translate-y);
4748
- }
4749
4747
  .hover\:border-\[var\(--border-accent\)\]:hover {
4750
4748
  border-color: var(--border-accent);
4751
4749
  }
@@ -5176,9 +5174,9 @@
5176
5174
  --tw-brightness: brightness(110%);
5177
5175
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
5178
5176
  }
5179
- .hover\:after\:opacity-100:hover::after {
5180
- content: var(--tw-content);
5181
- opacity: 100%;
5177
+ .hover\:grayscale-0:hover {
5178
+ --tw-grayscale: grayscale(0%);
5179
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
5182
5180
  }
5183
5181
  }
5184
5182
  .focus\:border-\[var\(--focus-border\)\]:focus {
@@ -5454,9 +5452,6 @@
5454
5452
  .aria-pressed\:text-\[var\(--accent-text\)\][aria-pressed="true"] {
5455
5453
  color: var(--accent-text);
5456
5454
  }
5457
- .aria-pressed\:text-foreground[aria-pressed="true"] {
5458
- color: hsl(var(--foreground));
5459
- }
5460
5455
  .aria-pressed\:shadow-\[inset_0_0_0_1px_var\(--ix-sel-ring\)\][aria-pressed="true"] {
5461
5456
  --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, var(--ix-sel-ring));
5462
5457
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -5731,11 +5726,6 @@
5731
5726
  }
5732
5727
  }
5733
5728
  }
5734
- @media (prefers-reduced-motion: no-preference) {
5735
- .motion-safe\:animate-spin {
5736
- animation: var(--animate-spin);
5737
- }
5738
- }
5739
5729
  @media (prefers-reduced-motion: reduce) {
5740
5730
  .motion-reduce\:not-sr-only {
5741
5731
  position: static;
@@ -5756,16 +5746,6 @@
5756
5746
  .motion-reduce\:transition-none {
5757
5747
  transition-property: none;
5758
5748
  }
5759
- .motion-reduce\:after\:transition-none::after {
5760
- content: var(--tw-content);
5761
- transition-property: none;
5762
- }
5763
- @media (hover: hover) {
5764
- .motion-reduce\:hover\:translate-y-0:hover {
5765
- --tw-translate-y: 0px;
5766
- translate: var(--tw-translate-x) var(--tw-translate-y);
5767
- }
5768
- }
5769
5749
  .motion-reduce\:active\:scale-100:active {
5770
5750
  --tw-scale-x: 100%;
5771
5751
  --tw-scale-y: 100%;
@@ -5805,6 +5785,9 @@
5805
5785
  border-left-style: var(--tw-border-style) !important;
5806
5786
  border-left-width: 0px !important;
5807
5787
  }
5788
+ .max-sm\:p-4 {
5789
+ padding: calc(var(--spacing) * 4);
5790
+ }
5808
5791
  .max-sm\:pl-4 {
5809
5792
  padding-left: calc(var(--spacing) * 4);
5810
5793
  }
@@ -6017,6 +6000,9 @@
6017
6000
  .lg\:col-span-1 {
6018
6001
  grid-column: span 1 / span 1;
6019
6002
  }
6003
+ .lg\:mr-\[420px\] {
6004
+ margin-right: 420px;
6005
+ }
6020
6006
  .lg\:ml-\[var\(--sb-content-margin\,0px\)\] {
6021
6007
  margin-left: var(--sb-content-margin,0px);
6022
6008
  }
@@ -6301,6 +6287,16 @@
6301
6287
  .\[\&_a\:hover\]\:underline a:hover {
6302
6288
  text-decoration-line: underline;
6303
6289
  }
6290
+ .\[\&_blockquote_p\]\:before\:content-none blockquote p::before {
6291
+ content: var(--tw-content);
6292
+ --tw-content: none;
6293
+ content: none;
6294
+ }
6295
+ .\[\&_blockquote_p\]\:after\:content-none blockquote p::after {
6296
+ content: var(--tw-content);
6297
+ --tw-content: none;
6298
+ content: none;
6299
+ }
6304
6300
  .\[\&_h1\]\:text-2xl h1 {
6305
6301
  font-size: var(--text-2xl);
6306
6302
  line-height: var(--tw-leading, var(--text-2xl--line-height));
@@ -6466,12 +6462,20 @@
6466
6462
  padding-block: var(--spacing);
6467
6463
  }
6468
6464
  @media (width < 40rem) {
6465
+ .max-sm\:\[\&\>div\+div\]\:border-t > div + div {
6466
+ border-top-style: var(--tw-border-style);
6467
+ border-top-width: 1px;
6468
+ }
6469
6469
  .max-sm\:\[\&\>div\:not\(\:nth-child\(2n\+1\)\)\]\:border-l > div:not(:nth-child(2n+1)) {
6470
6470
  border-left-style: var(--tw-border-style);
6471
6471
  border-left-width: 1px;
6472
6472
  }
6473
6473
  }
6474
6474
  @media (width >= 40rem) {
6475
+ .sm\:\[\&\>div\:not\(\:nth-child\(2n\+1\)\)\]\:border-l > div:not(:nth-child(2n+1)) {
6476
+ border-left-style: var(--tw-border-style);
6477
+ border-left-width: 1px;
6478
+ }
6475
6479
  .sm\:\[\&\>div\:not\(\:nth-child\(3n\+1\)\)\]\:border-l > div:not(:nth-child(3n+1)) {
6476
6480
  border-left-style: var(--tw-border-style);
6477
6481
  border-left-width: 1px;
@@ -9112,105 +9116,109 @@
9112
9116
  .tangle-prose th:not(:first-child), .tangle-prose td:not(:first-child) {
9113
9117
  border-left: 1px solid var(--border-subtle);
9114
9118
  }
9119
+ .agent-graph {
9120
+ container-type: inline-size;
9121
+ }
9115
9122
  .ag-live {
9116
9123
  --ag-fg: hsl(var(--foreground));
9117
9124
  --ag-muted: hsl(var(--muted-foreground));
9118
9125
  --ag-surface: hsl(var(--card));
9119
9126
  --ag-border: hsl(var(--border));
9120
9127
  }
9121
- .ag-live .ag-live-card {
9128
+ .ag-live-slot {
9129
+ display: flex;
9130
+ align-items: center;
9131
+ width: 100%;
9132
+ height: 100%;
9133
+ }
9134
+ .ag-live-card {
9122
9135
  position: relative;
9123
9136
  display: flex;
9124
9137
  flex-direction: column;
9125
- gap: 8px;
9138
+ gap: 4px;
9139
+ box-sizing: border-box;
9126
9140
  width: 100%;
9127
9141
  height: 100%;
9128
- padding: 12px;
9142
+ padding: 10px;
9129
9143
  border: 1px solid var(--ag-border);
9130
- border-radius: 14px;
9144
+ border-radius: var(--radius-card);
9145
+ animation: agent-arrive var(--motion-arrive) both;
9131
9146
  background: var(--ag-surface);
9132
9147
  color: var(--ag-fg);
9133
- cursor: pointer;
9134
9148
  overflow: hidden;
9135
- animation: ag-live-grow 420ms cubic-bezier(.2,.8,.2,1) both;
9136
- transform-origin: 50% 0;
9137
- transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms cubic-bezier(.2,.8,.2,1);
9138
- }
9139
- .ag-live .ag-live-card:hover {
9140
- transform: translateY(-1px);
9141
- }
9142
- .ag-live .ag-live-card[data-status="running"]::before {
9143
- content: "";
9144
- position: absolute;
9145
- inset: 0 0 auto;
9146
- height: 2px;
9147
- background: linear-gradient(90deg, transparent, var(--ag-status), transparent);
9148
- background-size: 40% 100%;
9149
- background-repeat: no-repeat;
9150
- animation: ag-live-sheen 2.4s ease-in-out infinite;
9151
- }
9152
- .ag-live .ag-live-head {
9153
- display: flex;
9149
+ transition: height var(--motion-surface), border-radius var(--motion-surface), border-color var(--motion-control), box-shadow var(--motion-control);
9150
+ }
9151
+ .ag-live-head {
9152
+ display: grid;
9153
+ grid-template-columns: 18px minmax(0, 1fr) auto;
9154
9154
  align-items: center;
9155
- gap: 8px;
9155
+ column-gap: 8px;
9156
9156
  min-width: 0;
9157
9157
  }
9158
- .ag-live .ag-live-names {
9159
- display: flex;
9160
- flex-direction: column;
9161
- min-width: 0;
9162
- flex: 1;
9158
+ .ag-live-head > :first-child {
9159
+ grid-column: 1;
9160
+ grid-row: 1 / 3;
9163
9161
  }
9164
- .ag-live .ag-live-name {
9162
+ .ag-live-names, .ag-live-stats {
9163
+ display: contents;
9164
+ }
9165
+ .ag-live-name {
9166
+ grid-column: 2;
9167
+ grid-row: 1;
9165
9168
  font-size: 14px;
9166
9169
  line-height: 18px;
9167
9170
  font-weight: 600;
9168
- letter-spacing: -.01em;
9169
- white-space: nowrap;
9170
9171
  overflow: hidden;
9171
9172
  text-overflow: ellipsis;
9173
+ white-space: nowrap;
9172
9174
  }
9173
- .ag-live .ag-live-meta, .ag-live .ag-live-stats {
9174
- font-size: 11px;
9175
- line-height: 14px;
9175
+ .ag-live-meta, .ag-live-stats {
9176
+ font-size: 12px;
9177
+ line-height: 16px;
9176
9178
  color: var(--ag-muted);
9177
- white-space: nowrap;
9179
+ }
9180
+ .ag-live-meta {
9181
+ grid-column: 2 / -1;
9182
+ grid-row: 2;
9178
9183
  overflow: hidden;
9179
9184
  text-overflow: ellipsis;
9185
+ white-space: nowrap;
9180
9186
  }
9181
- .ag-live .ag-live-stats {
9182
- display: flex;
9183
- flex-direction: column;
9184
- align-items: flex-end;
9185
- gap: 2px;
9187
+ .ag-live-accounting {
9188
+ grid-column: 2 / -1;
9189
+ grid-row: 3;
9186
9190
  font-variant-numeric: tabular-nums;
9187
- flex: none;
9188
9191
  }
9189
- .ag-live .ag-live-pill {
9192
+ .ag-live-pill {
9193
+ grid-column: 3;
9194
+ grid-row: 1;
9195
+ justify-self: end;
9190
9196
  display: inline-flex;
9191
9197
  align-items: center;
9192
9198
  gap: 4px;
9193
- height: 16px;
9194
- padding: 0 6px;
9195
- border-radius: 8px;
9196
- font-weight: 600;
9197
9199
  color: var(--ag-status);
9198
- background: var(--ag-status);
9199
- @supports (color: color-mix(in lab, red, red)) {
9200
- background: color-mix(in oklab, var(--ag-status) 14%, transparent);
9201
- }
9202
9200
  }
9203
- .ag-live .ag-live-dot {
9201
+ .ag-running-dot {
9202
+ display: inline-block;
9203
+ flex: none;
9204
9204
  width: 6px;
9205
9205
  height: 6px;
9206
- border-radius: 50%;
9207
- background: var(--ag-status);
9206
+ border-radius: var(--radius-pill);
9207
+ background: var(--surface-info-text);
9208
9208
  }
9209
- .ag-live [data-status="running"] .ag-live-dot {
9210
- animation: ag-live-breathe 1.6s ease-in-out infinite;
9209
+ [data-activity="quiet"] .ag-running-dot {
9210
+ background: var(--surface-warning-text);
9211
+ animation: none !important;
9211
9212
  }
9212
- .ag-live .ag-live-thinking {
9213
- flex: none;
9213
+ .ag-live-thinking-row {
9214
+ display: flex;
9215
+ align-items: center;
9216
+ gap: 8px;
9217
+ min-width: 0;
9218
+ }
9219
+ .ag-live-thinking {
9220
+ flex: 1;
9221
+ min-width: 0;
9214
9222
  margin: 0;
9215
9223
  font-size: 13px;
9216
9224
  line-height: 17px;
@@ -9218,141 +9226,297 @@
9218
9226
  -webkit-line-clamp: 2;
9219
9227
  -webkit-box-orient: vertical;
9220
9228
  overflow: hidden;
9221
- animation: ag-live-in 260ms ease-out both;
9222
9229
  }
9223
- .ag-live .ag-live-quiet {
9224
- color: var(--ag-muted);
9230
+ .ag-live-failure {
9231
+ color: var(--surface-danger-text);
9225
9232
  }
9226
- .ag-live .ag-live-failure {
9227
- color: var(--ag-status);
9233
+ .ag-live-quiet {
9234
+ color: var(--surface-warning-text);
9235
+ font-size: 12px;
9236
+ line-height: 16px;
9237
+ }
9238
+ .ag-live-inspect {
9239
+ border: 0;
9240
+ padding: 0;
9241
+ background: transparent;
9242
+ font: inherit;
9243
+ cursor: pointer;
9244
+ }
9245
+ .ag-live-inspect > span:last-child {
9246
+ text-decoration: underline;
9228
9247
  }
9229
- .ag-live .ag-live-events {
9230
- margin: auto 0 0;
9248
+ .ag-live-respond {
9249
+ height: 28px;
9250
+ min-height: 28px;
9251
+ flex: none;
9252
+ border: 1px solid currentColor;
9253
+ border-radius: var(--radius-control);
9254
+ padding: 0 8px;
9255
+ color: var(--surface-warning-text);
9256
+ background: transparent;
9257
+ cursor: pointer;
9258
+ }
9259
+ .ag-live-events-clip {
9260
+ margin-top: auto;
9261
+ height: 48px;
9262
+ min-height: 48px;
9263
+ overflow: hidden;
9264
+ }
9265
+ .ag-live-events {
9266
+ margin: 0;
9231
9267
  padding: 0;
9232
9268
  list-style: none;
9269
+ min-height: 64px;
9233
9270
  display: flex;
9234
9271
  flex-direction: column;
9272
+ justify-content: flex-end;
9273
+ transform: translateY(-16px);
9235
9274
  }
9236
- .ag-live .ag-live-events li {
9275
+ .ag-live-events li {
9237
9276
  display: flex;
9238
9277
  align-items: center;
9239
9278
  gap: 6px;
9240
- height: 16px;
9241
- font: 11px/16px var(--font-mono, ui-monospace, monospace);
9279
+ min-height: 16px;
9280
+ font: 11px/16px var(--font-mono, monospace);
9242
9281
  color: var(--ag-muted);
9243
- animation: ag-live-in 260ms cubic-bezier(.2,.8,.2,1) both;
9282
+ transition: color var(--motion-stream);
9244
9283
  }
9245
- .ag-live .ag-live-events li svg {
9284
+ .ag-live-events li svg {
9246
9285
  flex: none;
9247
- opacity: .8;
9248
- }
9249
- .ag-live .ag-live-events li:nth-last-child(3) {
9250
- opacity: .55;
9251
- }
9252
- .ag-live .ag-live-events li:nth-last-child(2) {
9253
- opacity: .8;
9286
+ width: 12px;
9287
+ height: 12px;
9254
9288
  }
9255
- .ag-live .ag-live-events li:last-child {
9289
+ .ag-live-events li:last-child {
9256
9290
  color: var(--ag-fg);
9257
- animation: ag-live-in 260ms cubic-bezier(.2,.8,.2,1) both, ag-live-flash 1.2s ease-out both;
9258
9291
  }
9259
- .ag-live .ag-live-event-label {
9292
+ .ag-live-event-label {
9260
9293
  flex: 1;
9261
9294
  min-width: 0;
9262
- white-space: nowrap;
9263
9295
  overflow: hidden;
9264
9296
  text-overflow: ellipsis;
9297
+ white-space: nowrap;
9265
9298
  }
9266
- .ag-live .ag-live-event-at {
9299
+ .ag-live-event-at {
9267
9300
  flex: none;
9268
- font-family: inherit;
9269
- color: var(--ag-muted);
9301
+ min-width: 3ch;
9302
+ text-align: right;
9270
9303
  font-variant-numeric: tabular-nums;
9271
9304
  }
9272
- .ag-live .ag-live-slot {
9273
- display: flex;
9305
+ .ag-live-chip {
9306
+ height: 40px;
9307
+ flex-direction: row;
9274
9308
  align-items: center;
9275
- justify-content: center;
9309
+ gap: 8px;
9310
+ border-radius: var(--radius-pill);
9311
+ opacity: 1;
9312
+ }
9313
+ .ag-live-chip .ag-live-head {
9314
+ display: flex;
9315
+ flex: none;
9316
+ max-width: 45%;
9317
+ }
9318
+ .ag-live-chip .ag-live-names {
9319
+ display: flex;
9320
+ min-width: 0;
9321
+ }
9322
+ .ag-live-chip .ag-live-stats, .ag-live-chip .ag-live-head > :first-child {
9323
+ display: none;
9324
+ }
9325
+ .ag-live-chip-result {
9326
+ flex: 1;
9327
+ min-width: 0;
9328
+ overflow: hidden;
9329
+ text-overflow: ellipsis;
9330
+ white-space: nowrap;
9331
+ font-size: 12px;
9332
+ line-height: 16px;
9333
+ font-weight: 500;
9334
+ }
9335
+ .ag-phone-list {
9336
+ display: flex;
9337
+ flex-direction: column;
9338
+ gap: 12px;
9339
+ margin: 0;
9340
+ padding: 8px;
9341
+ list-style: none;
9342
+ }
9343
+ .ag-phone-list > li {
9344
+ min-width: 0;
9345
+ padding-left: min(calc(var(--depth) * 16px), 32px);
9346
+ border-left: 1px solid var(--ag-border);
9347
+ }
9348
+ .ag-phone-select {
9276
9349
  width: 100%;
9277
9350
  height: 100%;
9351
+ text-align: left;
9352
+ background: transparent;
9353
+ padding: 0;
9354
+ border: 0;
9355
+ color: inherit;
9356
+ cursor: pointer;
9278
9357
  }
9279
- .ag-live .ag-live-chip {
9280
- display: inline-flex;
9281
- align-items: center;
9282
- gap: 8px;
9358
+ .agent-graph .react-flow__node-liveAgent:focus-visible .ag-live-card, .agent-graph .react-flow__node-agent:focus-visible > div, .ag-phone-select:focus-visible {
9359
+ outline: 2px solid hsl(var(--foreground) / .7);
9360
+ outline-offset: 2px;
9361
+ }
9362
+ @media (prefers-reduced-motion: reduce) {
9363
+ .ag-live-card {
9364
+ animation: none;
9365
+ transition: opacity var(--duration-fast);
9366
+ }
9367
+ }
9368
+ @container (width < 600px) {
9369
+ .ag-live-card {
9370
+ height: auto;
9371
+ min-height: 164px;
9372
+ }
9373
+ .ag-live-card[data-sparse="true"] {
9374
+ min-height: 88px;
9375
+ }
9376
+ .ag-phone-select .ag-agent-card {
9377
+ height: auto;
9378
+ min-height: 88px;
9379
+ }
9380
+ .ag-caption-target {
9381
+ display: none;
9382
+ }
9383
+ .ag-live-card.ag-live-chip {
9384
+ min-height: 40px;
9385
+ height: 40px;
9386
+ }
9387
+ }
9388
+ .ag-live-accounting {
9389
+ overflow: hidden;
9390
+ text-overflow: ellipsis;
9391
+ white-space: nowrap;
9283
9392
  max-width: 100%;
9284
- height: 32px;
9285
- padding: 0 12px;
9286
- border: 1px solid var(--ag-border);
9287
- border-radius: 16px;
9288
- background: var(--ag-surface);
9393
+ }
9394
+ .ag-live-chip-status {
9395
+ flex: none;
9396
+ font-size: 12px;
9397
+ color: var(--ag-status);
9398
+ }
9399
+ .ag-live-chip-cost {
9400
+ flex: none;
9401
+ font-size: 12px;
9402
+ color: var(--ag-muted);
9403
+ font-variant-numeric: tabular-nums;
9404
+ }
9405
+ .ag-parent-label {
9289
9406
  color: var(--ag-muted);
9290
9407
  font-size: 12px;
9291
- cursor: pointer;
9292
- animation: ag-live-settle 320ms cubic-bezier(.2,.8,.2,1) both;
9408
+ font-weight: 400;
9293
9409
  }
9294
- .ag-live .ag-live-chip-name {
9295
- color: var(--ag-fg);
9296
- font-weight: 600;
9297
- white-space: nowrap;
9410
+ .ag-agent-card[data-status="needs-you"] p {
9411
+ -webkit-line-clamp: 1;
9412
+ }
9413
+ .ag-status-button {
9414
+ display: inline-flex;
9415
+ align-items: center;
9416
+ min-width: 0;
9417
+ gap: 6px;
9418
+ }
9419
+ .ag-caption-target {
9298
9420
  overflow: hidden;
9299
9421
  text-overflow: ellipsis;
9422
+ white-space: nowrap;
9423
+ font-weight: 600;
9300
9424
  }
9301
- .ag-live .ag-live-chip-result {
9302
- color: var(--ag-fg);
9303
- font-weight: 500;
9425
+ .ag-latest {
9426
+ flex: none;
9427
+ min-width: 0;
9428
+ border-bottom: 1px solid hsl(var(--border));
9429
+ padding: 8px 12px;
9430
+ color: hsl(var(--foreground));
9431
+ font-size: 12px;
9304
9432
  line-height: 16px;
9305
- white-space: nowrap;
9306
- overflow: hidden;
9307
- text-overflow: ellipsis;
9308
9433
  }
9309
- @keyframes ag-live-sheen {
9310
- from {
9311
- background-position: -40% 0;
9312
- }
9313
- to {
9314
- background-position: 140% 0;
9315
- }
9434
+ .ag-latest header {
9435
+ display: flex;
9436
+ align-items: center;
9437
+ min-height: 24px;
9438
+ gap: 8px;
9316
9439
  }
9317
- @keyframes ag-live-breathe {
9318
- 50% {
9319
- opacity: .35;
9320
- transform: scale(.8);
9321
- }
9440
+ .ag-latest header > span {
9441
+ color: hsl(var(--muted-foreground));
9322
9442
  }
9323
- @keyframes ag-live-flash {
9324
- from {
9325
- background: color-mix(in oklab, var(--ag-status) 16%, transparent);
9326
- }
9327
- to {
9328
- background: transparent;
9329
- }
9443
+ .ag-latest header > button {
9444
+ margin-left: auto;
9445
+ padding: 0;
9446
+ border: 0;
9447
+ background: transparent;
9448
+ text-decoration: underline;
9449
+ font: inherit;
9450
+ color: inherit;
9451
+ cursor: pointer;
9330
9452
  }
9331
- @keyframes ag-live-grow {
9332
- from {
9333
- opacity: 0;
9334
- transform: scale(.92) translateY(-8px);
9335
- }
9453
+ .ag-latest ol {
9454
+ list-style: none;
9455
+ margin: 0;
9456
+ padding: 0;
9457
+ overflow: auto;
9336
9458
  }
9337
- @keyframes ag-live-in {
9338
- from {
9339
- opacity: 0;
9340
- transform: translateY(6px);
9341
- }
9459
+ .ag-latest li {
9460
+ height: 28px;
9342
9461
  }
9343
- @keyframes ag-live-settle {
9344
- from {
9345
- opacity: 1;
9346
- transform: scale(1.08);
9347
- }
9462
+ .ag-latest li > button {
9463
+ display: flex;
9464
+ align-items: center;
9465
+ gap: 6px;
9466
+ width: 100%;
9467
+ height: 28px;
9468
+ padding: 0;
9469
+ border: 0;
9470
+ background: transparent;
9471
+ color: inherit;
9472
+ font: inherit;
9473
+ text-align: left;
9474
+ cursor: pointer;
9348
9475
  }
9349
- @media (prefers-reduced-motion: reduce) {
9350
- .ag-live *, .ag-live *::before {
9351
- animation: none !important;
9352
- }
9353
- .ag-live .ag-live-card:hover {
9354
- transform: none;
9355
- }
9476
+ .ag-latest li > button:disabled {
9477
+ cursor: default;
9478
+ }
9479
+ .ag-latest strong {
9480
+ font-weight: 600;
9481
+ }
9482
+ .ag-latest li strong {
9483
+ flex: none;
9484
+ max-width: 22%;
9485
+ overflow: hidden;
9486
+ text-overflow: ellipsis;
9487
+ white-space: nowrap;
9488
+ }
9489
+ .ag-latest-dot {
9490
+ box-sizing: border-box;
9491
+ width: 8px;
9492
+ height: 8px;
9493
+ flex: none;
9494
+ border-radius: var(--radius-pill);
9495
+ }
9496
+ .ag-latest-state {
9497
+ display: inline-flex;
9498
+ align-items: center;
9499
+ gap: 4px;
9500
+ flex: none;
9501
+ }
9502
+ .ag-latest-label {
9503
+ flex: 1;
9504
+ min-width: 0;
9505
+ overflow: hidden;
9506
+ text-overflow: ellipsis;
9507
+ white-space: nowrap;
9508
+ font: 11px/16px var(--font-mono, monospace);
9509
+ }
9510
+ .ag-latest time {
9511
+ flex: none;
9512
+ color: hsl(var(--muted-foreground));
9513
+ font: 11px/16px var(--font-mono, monospace);
9514
+ font-variant-numeric: tabular-nums;
9515
+ }
9516
+ .ag-latest-empty {
9517
+ display: flex;
9518
+ align-items: center;
9519
+ color: hsl(var(--muted-foreground));
9356
9520
  }
9357
9521
  @property --tw-translate-x {
9358
9522
  syntax: "*";